From owner-freebsd-net@FreeBSD.ORG Tue Feb 10 08:06:11 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEEDC1065674 for ; Tue, 10 Feb 2009 08:06:11 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outW.internet-mail-service.net (outw.internet-mail-service.net [216.240.47.246]) by mx1.freebsd.org (Postfix) with ESMTP id 96F918FC0A for ; Tue, 10 Feb 2009 08:06:11 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id DEA7B2495; Tue, 10 Feb 2009 00:06:11 -0800 (PST) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (rrcs-76-79-243-146.west.biz.rr.com [76.79.243.146]) by idiom.com (Postfix) with ESMTP id E46AC2D600E; Tue, 10 Feb 2009 00:06:10 -0800 (PST) Message-ID: <49913577.8020605@elischer.org> Date: Tue, 10 Feb 2009 00:06:15 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Mij References: <7AB15D3E-5E8C-4FE9-873F-F8BAE72B8C6B@bitchx.it> In-Reply-To: <7AB15D3E-5E8C-4FE9-873F-F8BAE72B8C6B@bitchx.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: SO_BINDANY in FreeBSD X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2009 08:06:12 -0000 Mij wrote: > Hello folks, > > OpenBSD provides a SO_BINDANY socket option that allows an > application to produce traffic from an IP address which is not configured > on the host: > > http://www.openbsd.org/cgi-bin/man.cgi?query=setsockopt > > This is useful to run a transparent proxy which receives connections from > X and wants to connect to the real destination pretending to be X. we have a similar functionality in beta. teh big holdup right now is we discovered the OpenBSD version and are thinking about how compatible to make our code. > > Is there any possibility to see this option implemented in FreeBSD? Do > you otherwise have workarounds for getting the same behavior with > reasonable complexity (eg, avoiding handling raw frames with bpf)? > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"