On Tue, 2007-11-13 at 10:44 +0100, Bernd Petrovitsch wrote:
> On Die, 2007-11-13 at 15:32 +0900, David Murray wrote:
[...]
> > 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.

Bad news: It works for me (VIA-C2 CPU - i.e. i386, CentOS-5.0) on
CVS-HEAD. Looking into the source doesn't reveal anything to me - not
even if we have a big vs little endian bug.

Hmm, `strace -o file.txt -p $PID" just around the `wget` may show more
details (in file.txt!) - especially IP address etc. seen by olsrd after
the accept() sys-call.

> [...]
> > 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;-).

Ah I forgot: It's probably much easier to copy from the existing plugins.

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



