Bind Hobbit to Specific IP Address
list Takeshi Nishioka
I've installed this nice program on FreeBSD, and it seems to be working properly. But I am wondering if I can bind Hobbit to a specific IP address because my server has more than 10 IP addresses and Hobbit now listens to all the IP addresses.
list Henrik Størner
▸
On Fri, Jun 03, 2005 at 05:59:06PM +0900, Takeshi Nishioka wrote:
But I am wondering if I can bind Hobbit to a specific IP address because my server has more than 10 IP addresses and Hobbit now listens to all the IP addresses.
"man hobbitd", the "--listen" option. Goes in hobbitlaunch.cfg Henrik
list Thomas Pedersen
Would it be simple to implement the same setting for bbtest-net ?
▸
Henrik Stoerner wrote:
On Fri, Jun 03, 2005 at 05:59:06PM +0900, Takeshi Nishioka wrote:But I am wondering if I can bind Hobbit to a specific IP address because my server has more than 10 IP addresses and Hobbit now listens to all the IP addresses."man hobbitd", the "--listen" option. Goes in hobbitlaunch.cfg Henrik
list Henrik Størner
▸
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
list Thomas Pedersen
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
list Takeshi Nishioka
Thank you for the exact reply. Please let me know if Hobbit binded to "127.0.0.1" can does well without any problems. I want to use this program only as an SSL validation checker. As you mentioned, I added the entry of "--listen=127.0.0.1" in hobbitlaunch.cfg, but something seems to be wrong. Do I have to perform any additonal tasks to operate it on 127.0.0.1? Regards On Fri, 3 Jun 2005 11:26:32 +0200
▸
user-ce4a2c883f75@xymon.invalid (Henrik Stoerner) wrote:
On Fri, Jun 03, 2005 at 05:59:06PM +0900, Takeshi Nishioka wrote:But I am wondering if I can bind Hobbit to a specific IP address because my server has more than 10 IP addresses and Hobbit now listens to all the IP addresses."man hobbitd", the "--listen" option. Goes in hobbitlaunch.cfg Henrik