[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] Using differrent source ip while making web session
From: |
Ivan Shmakov |
Subject: |
Re: [Lynx-dev] Using differrent source ip while making web session |
Date: |
Tue, 25 Oct 2011 13:00:51 +0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
>>>>> Thorsten Glaser <address@hidden> writes:
>>>>> Thomas Dickey dixit:
>>> We have a machine with multiple NICs.
>> I don't think you can, without some modification. Recently someone
>> was asking how to select a specific network interface (no patch
>> provided).
JFTR:
http://permalink.gmane.org/gmane.comp.web.lynx.devel/7048
nntp://news.gmane.org/gmane.comp.web.lynx.devel/7048
> That’s way too OS specific, anyway.
This should be a matter of a single bind () call. Which is
sufficiently cross-platform [1].
[1] http://pubs.opengroup.org/onlinepubs/9699919799/functions/bind.html
> It’s better to use the OS-provided multihoming mechanisms, such as
> policy routing (this is a keyword, just duckduckgo (or google) for
> it).
This doesn't help in the case when one wants just Lynx to use
this specific interface, or when the user in question has no
superuser privileges.
Honestly, this one is in my TODO list, but I cannot make any
promises regarding when I could start actually working on it.
(Though it seems like a single rainy afternoon task.)
--
FSF associate member #7257