[Olsr-dev] olsr / txtinfo-plugin / broken selective section-fetching

Ferry Huberts (spam-protected)
Wed Feb 3 22:44:13 CET 2016


That is quite strange.

echo "/lin" | nc 127.0.0.1 2006

works just fine

I'll take a look tomorrow


On 03/02/16 12:14, Bastian Bittorf wrote:
> * Ferry Huberts <(spam-protected)> [14.01.2016 17:35]:
>>
>>
>> On 14/01/16 13:58, Bastian Bittorf wrote:
>>> while digging deeper into the crash-on-shutdown problem
>>> i recognized that olsr-git has a changed/broken behaviour
>>> when fetching e.g.
>>>
>>> wget -qO - http://127.0.0.1:2006/Links
>>> wget -qO - http://127.0.0.1:2006/links
>>> wget -qO - http://127.0.0.1:2006/Neighbours
>>> wget -qO - http://127.0.0.1:2006/neighs
>>
>> This is in preparation for 404 and other error codes
>
> today i checked again after your explanations in
> http://www.olsr.org/git/?p=olsrd.git;a=commitdiff;h=2211ad9d69390fe42f273a14015288cd1d139e12
> but without luck. i compiled a fresh daemon on a x86_64
> (without any neighs...) and fetched /lin always results
> in /all ... see:
>
>
> (spam-protected):~ wget -O - http://127.0.0.1:2006/lin
> --2016-02-03 12:10:37--  http://127.0.0.1:2006/lin
> Connecting to 127.0.0.1:2006... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 793 [text/plain]
> Saving to: `STDOUT'
>
>   0% [
> ] 0           --.-K/s              Table: Neighbors
> IP address	SYM	MPR	MPRS	Will.	2 Hop Neighbors
>
> Table: Links
> Local IP	Remote IP	Hyst.	LQ	NLQ	Cost
>
> Table: Routes
> Destination	Gateway IP	Metric	ETX	Interface
>
> Table: HNA
> Destination	Gateway
> 0.0.0.0/0	0.0.0.0
>
> Table: MID
> IP address	Aliases
>
> Table: Topology
> Dest. IP	Last hop IP	LQ	NLQ	Cost
>
> Table: Gateways
> Status Gateway IP                                    ETX
> Hopcnt Uplink    Downlnk   IPv4    IPv6 Prefix
> Table: Interfaces
> Name	State	MTU	WLAN	Src-Adress	Mask	Dst-Adress
> lo	DOWN
>
> # Table: Smart Gateway IPv4
> #Originator      Prefix                          Uplink    Downlink
> PathCost   IPv4 IPv4-NAT IPv6 Tunnel-Name     Destination     Cost
>
> Version: olsr.org -
> pre-0.9.1-git_6a09616-hash_7b40ccb34671c463b7fd6e0c6a9dc522 (built on
> 2016-02-03 12:00:01 on bb)
> 100%[==================================================================================================================================================================>]
> 793         --.-K/s   in 0s
>
> 2016-02-03 12:10:37 (110 MB/s) - written to stdout [793/793]
>
> bye, bastian
>

-- 
Ferry Huberts



More information about the Olsr-dev mailing list