On Don, 2007-11-15 at 11:01 +0900, David Murray wrote:
> Mr Bernd, your sir, are a genius.

Not really, I have just too much experience;-)

> Turns out it was quite a simple problem. As soon as I used strace I got 
> the following error message "(TXTINFO) From host(127.0.0.1) not 
> allowed!". It never occurred to me that I would have to allow the 
> localhost IP address. So I configured 127.0.0.1 as an allowed IP and 
> bingo!

Actually I consider it a fault in the other plugins which allow
127.0.0.1 hard-coded in thew source.

> While I don't think that I will be trying to collect this information 
> from another PC, I am interested to find out why it was not working 
> when I was explicitly allowing the IP addresses on connected PC's. My 

The txtinfo plugin allows at most one IP address (contrary to other
plugins).
So if you connect from another host, you have to make sure it arrives
always with the same source address.

And while I'm at it: Basically the above can also be solved
via /etc/hosts.{allow,deny} using libtcpwrap (oder whatever it is really
called) avoiding the n+1 (inconsistent) implementation of "which IP
address is allowed to connect" problem.
Can we assume that it exists everywhere?

> testbed nodes have two wireless interfaces. It seems that OLSR works a 
> little like OSPF in that it picks the highest IP for its identifier. 
> This is the address that I always configured as allowed. Nonetheless, I 
> will have a bit more of a play around with it.

> Thanks again for your time and effort Bernd

De nada.

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services




