Welcome! Log In Create A New Profile

Advanced

Re: SO_BINDTODEVICE

Ted Lemon
May 10, 2016 11:18AM
SO_BINDTODEVICE was originally put in to allow the DHCP server to tell on
which interface a packet had arrived. I don't see any reason why it
couldn't be used the way you describe, but I am under the impression that
it is somewhat deprecated, and that may be why there was no action on that
patch. Your best bet would be to ask the Linux network folks.

On Tue, May 10, 2016 at 11:13 AM, Danomi Czaski <djczaski@gmail.com> wrote:

> My device has multiple interfaces and supports dynamic ips.
> SO_BINDTODEVICE looks like it would be used to specify a device in the
> listen statement instead of having to update every IP change.
>
> I see someone submitted a patch years ago that wasn't accepted and
> there was no follow on. Is there any particular reason other than this
> probably isn't a common use case? Is this something that could be
> added in the future?
>
> https://forum.nginx.org/read.php?29,234862
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

SO_BINDTODEVICE

djczaski May 10, 2016 11:14AM

Re: SO_BINDTODEVICE

Ted Lemon May 10, 2016 11:18AM

Re: SO_BINDTODEVICE

orgads August 02, 2020 07:00AM

Re: SO_BINDTODEVICE

Emeric February 01, 2024 11:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 186
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready