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

Re: [hobbit] Bind Hobbit to Specific IP Address



I would like to have a --bind-address option to bbtest-net since this is an option I often need when running my bbtest-net server in a cluster. Currently I have to do src NATing with iptables for the resulting test to come from the right address.

Thomas

Henrik Stoerner wrote:

On Fri, Jun 03, 2005 at 02:10:26PM +0200, Thomas wrote:


Would it be simple to implement the same setting for bbtest-net ?



What do you mean, exactly ? bbtest-net doesn't listen for incoming connections, it only establishes outbound connections.

If your Hobbit server has multiple IP's, the choice of which IP to use
for an outbound connection is usually best done by the OS, which is what
happens currently.

(It's not difficult to bind() a socket to a particular local address,
the real problem is figuring out how to define a configuration syntax
for it).


Henrik


To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe (at) hswn.dk