Xymon Mailing List Archive search

Bind Hobbit to Specific IP Address

6 messages in this thread

list Takeshi Nishioka · Fri, 03 Jun 2005 17:59:06 +0900 ·
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 · Fri, 3 Jun 2005 11:26:32 +0200 ·
quoted from Takeshi Nishioka
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 · Fri, 03 Jun 2005 14:10:26 +0200 ·
Would it be simple to implement the same setting for bbtest-net ?
quoted from Henrik Størner

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 · Fri, 3 Jun 2005 14:42:10 +0200 ·
quoted from Thomas Pedersen
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 · Fri, 03 Jun 2005 14:53:20 +0200 ·
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
quoted from Henrik Størner

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 · Thu, 09 Jun 2005 15:20:39 +0900 ·
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
quoted from Thomas Pedersen
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