Re: Forcing a connection from a particular NIC

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

 



Hi,

Is the setsockopt you have given in the link specific to TCP sockets?
This is because we tried using it with UDP sockets and it is not
setting the socket options correctly. Is there anything that can be
changed to make it work for UDP sockets also.

Thanks,

Ronak


On Thu, 26 Aug 2004 15:07:41 +0300, Gilad Ben-Yossef
<gilad@codefidence.com> wrote:
> 
> 
> Henrik Nordstrom wrote:
> > On Thu, 26 Aug 2004, Anupam Kapoor wrote:
> >
> >> how about limiting the packet through a specific interface via the
> >> SO_BINDTODEVICE socket
> >> option ? i guess that's what you (henrik) means. right ?
> >
> >
> > That is one way of many. I was responding to the specific issue of being
> > able to do this without modifying the applicatio.
> >
> 
> No need to nodify the app. See:
> http://www.uwsg.iu.edu/hypermail/linux/net/0401.3/0009.html
> 
> PS. I keep reposting the same link in response to this kind of question
> every couple od weeks. If there's some sort of linux-net FAQ, I think
> this should on it.
> 
> Gilad
> 
> --
> Gilad Ben-Yossef <gilad@codefidence.com>
> Codefidence. A name you can trust(TM)
> Tel: +972.9.8650475 ext. 201, Fax: +972.9.8850643
> http://www.codefidence.com
> 
>
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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