From owner-freebsd-net@freebsd.org Sat Oct 31 20:34:27 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3787EA22BFA for ; Sat, 31 Oct 2015 20:34:27 +0000 (UTC) (envelope-from iankronquist@gmail.com) Received: from mail-yk0-x22c.google.com (mail-yk0-x22c.google.com [IPv6:2607:f8b0:4002:c07::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EFD07142B for ; Sat, 31 Oct 2015 20:34:26 +0000 (UTC) (envelope-from iankronquist@gmail.com) Received: by ykba4 with SMTP id a4so106654924ykb.3 for ; Sat, 31 Oct 2015 13:34:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=jNPpvJetWrD0pNaMU6fUK9QfXIrxiG/DMb1opX2tGP0=; b=EQmSKKT5xigD+53OIH5eBEJrsbFR7seVsVLFr4FxqdJGGZjYVLYUjjbIQmZkVE85sB ikbdRhz4GL1ps1SUGMYAp2waXGkuqdax0WnEldWLta5l1J3UXRRxxx0DrWQQYhGNA6rV o7RXGjUE3EXgg81yZIGn80LRdBzqnRjVEls6UveWu7sVa1IUUcI0EHrPzPWPrbvRQ96T z64LLFROHqIs6qWR3P/sHBxXa77vGbNMLr1hZQd+Cp5yeI0QG3/zLhkTFmDO0v4ZgKy8 tx5ccq1/apwN/2VqPfDAOypg7HFzSeCp4XPzPoo7SRiuwCSlxVuUnafZc94k+5ZLZOMe lhiA== MIME-Version: 1.0 X-Received: by 10.129.4.197 with SMTP id 188mr11210284ywe.243.1446323665625; Sat, 31 Oct 2015 13:34:25 -0700 (PDT) Received: by 10.129.55.9 with HTTP; Sat, 31 Oct 2015 13:34:25 -0700 (PDT) Date: Sat, 31 Oct 2015 13:34:25 -0700 Message-ID: Subject: Low Hanging Kernel Fruit on Networking Wiki From: Ian Kronquist To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Oct 2015 20:34:27 -0000 Hello, I'd like to get my feet wet contributing to the FreeBSD Kernel's networking stack. The wiki has a section titled Low Hanging Kernel Fruit. I found something in there which isn't ticketed but looks like something I might be able to write. * Reject non-broadcast destinations passed to IP_ONESBCAST with a meaningful error. However, I also noticed this comment further down the page "Deprecate hacks like IP_ONESBCAST as they will then no longer be needed." This comment is a little odd because that symbol is mentioned in the man page and is kind of part of the public API. Would this be an appropriate issue to try and solve? If so, can I get more details on exactly where these IP destinations would be passed in? Are we looking at a check in the plumbing supporting sendto and similar socket syscalls? Thanks, Ian Kronquist