Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2009 03:15:31 +0100
From:      Mij <mij@bitchx.it>
To:        freebsd-net@freebsd.org
Subject:   SO_BINDANY in FreeBSD
Message-ID:  <7AB15D3E-5E8C-4FE9-873F-F8BAE72B8C6B@bitchx.it>

next in thread | raw e-mail | index | archive | help
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.

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)?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7AB15D3E-5E8C-4FE9-873F-F8BAE72B8C6B>