On Die, 2007-11-13 at 15:32 +0900, David Murray wrote:
> Bernd,
> 
> I am quite sure that the plugin is installed correctly as it is telling 
> me the plugin and the parameters when I start olsr. Output:

OK.

> ---------- LOADING LIBRARY olsrd_txtinfo.so.0.1 ----------
> OLSRD txtinfo plugin 0.1 by Lorenz Schori
> Checking plugin interface version:  5 - OK
> Trying to fetch plugin init function: OK
> Trying to fetch parameter table and it's size...
> Sending parameters...
> "accept"/"10.173.54.111"... Got IP address 10.173.54.111
> accept: OK
> Running plugin_init function...
> ---------- LIBRARY olsrd_txtinfo.so.0.1 LOADED ----------

[...]
> wget localhost:2006
> --23:21:58--  http://localhost:2006/
>            => `index.html'
> Resolving localhost... 127.0.0.1
> Connecting to localhost|127.0.0.1|:2006... connected.
> HTTP request sent, awaiting response... Read error (Connection reset by 
> peer) in headers.
> Retrying.
> 
> So it looks to me like there is something there to at least reject my 
> connection. Do you think it is still rejecting the connection based on 

Yup. Most probably the plugin. We/I have to look into the source.

> the Ip address? Surely if I am using wget on my localhost then this 
> will bypass IP addressing filters. I have also tried using wildcast 
> parameters like 0.0.0.0 for PlParam "accept" but this has not helped.

You can comment that line out and should be able to connect from
localhost.

[...]
> PS: Another question, I have been thinking of starting from scratch 
> writing a plugin starting with the tutorial here 
> http://www.olsr.org/docs/olsrd-plugin-howto.html
> however I am little unnerved by the warning saying that it is outdated 
> since 0.4.10. Is this tutorial no longer helpful?

Hmm, it needs some updating here and there. It is not that wrong IMHO,
just outdated, but some data structures and functions look now somewhat
different and the API with respect to parameters has changed (but
compile errors will tell you;-).

Hmm, Andreas, how can we update it?
Download the HTML, fix it and send it to you?

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




