Re: Binding a socket with a local address NOT of my machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jun 03, 2001 at 02:02:17PM +0300, Talmon_Reiss wrote:
> Hi
> 
> I need to send packets with a local IP address which is not one of my
> interface addresses. The "bind" call on the socket will fail if I try this.
> Is it possible at all? Does the kernel code need to be changed to not return
> an error on the "bind" in order to do this? Or is it not as simple as that?

In 2.4 echo 1 > /proc/sys/net/ipv4/ip_nonlocal_bind


-Andi
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux