[Olsr-users] olsrd txtinfo plugin

Lorenzo Salvatore (spam-protected)
Tue Feb 4 00:10:35 CET 2014


Thanks for the advice. Httpinfo runs perfectly on android, giving also a more user friendly environment.
Anyway, the behaviour of txtinfo could be a bug that must be reported?
________________________________
> Date: Sun, 2 Feb 2014 23:57:33 -0500 
> Subject: Re: [Olsr-users] olsrd txtinfo plugin 
> From: (spam-protected) 
> To: (spam-protected); (spam-protected) 
> 
> Add httpinfo instead for access via à browser‎. txtinfo is for use with 
> CLI tool like nc or telnet. 
> 
> De: Lorenzo Salvatore 
> Envoyé: dimanche 2 février 2014 17:03 
> À: (spam-protected) 
> Objet: [Olsr-users] olsrd txtinfo plugin 
> 
> 
> Hi, 
> I'm running olsrd, the stable 0.6.6.1 version, on a Nexus 7. I'm 
> interested in trying to simply extending the secure plugin in a way I'm 
> still deciding for my thesis. I've cross compiled olsrd on linux for 
> android os, I've added secure plugin, transferred everything on the 
> Nexus 7 and it worked perfectly also in communicating with another 
> secure device. For a better understanding I've decided to add also the 
> TXTINFO plugin. Builded, transferred, putted in the conf file and it 
> runs. The problem is that when I try to connect to TXTINFO with my 
> browser i get this error 
> 
> (TXTINFO) Connect from 127.0.0.1 
> Aborted 
> 
> It's a well known problem on android, nexus 7 or in combo with secure 
> plugin, is a bug or is my fault? 
> 
> Here the conf file. Here you can see static port and address, but I've 
> tried also with no parameter and 0.0.0.0 address. 
> 
> 
> IpVersion 4 
> 
> LoadPlugin "/data/local/olsrd_secure.so.0.6" 
> { 
> PlParam "Keyfile" "/data/local/secure_key" 
> } 
> 
> LoadPlugin "/data/local/olsrd_txtinfo.so.0.1" 
> { 
> PlParam "port" "2006" 
> PlParam "accept" "127.0.0.1" 
> } 
> 
> Interface "wlan0" { 
> } 
> 
> 
> 
> And here the starting of olsrd on android shell 
> 
> 
> 
> *** olsr.org - 
> 0.6.6.1-git_0000000-hash_b9921fd17fb79767a975de65021f4157 *** 
> Build date: 2014-01-18 17:46:01 on assembler 
> http://www.olsr.org 
> 
> Parsing file: "/data/local/olsrd.conf" 
> IpVersion: 4 
> Plugin: /data/local/olsrd_secure.so.0.6 
> Plugin param key:"Keyfile" val: "/data/local/secure_key" 
> Plugin: /data/local/olsrd_txtinfo.so.0.1 
> Plugin param key:"port" val: "2006" 
> Plugin param key:"accept" val: "127.0.0.1" 
> setting ifs_in_curr_cfg = 0 
> IPv4 broadcast/multicast : AUTO 
> Mode : mesh 
> IPv6 multicast : :: 
> HELLO emission/validity : 0.00/0.00 
> TC emission/validity : 0.00/0.00 
> MID emission/validity : 0.00/0.00 
> HNA emission/validity : 0.00/0.00 
> Autodetect changes : no 
> *** olsrd configuration *** 
> Debug Level : 3 
> IpVersion : 4 
> No interfaces : ALLOWED 
> TOS : 0xc0 
> OlsrPort : 698 
> RtTable : 254 
> RtTableDefault : 254 
> RtTableTunnel : 254 
> Willingness : 3 
> IPC connections : 0 
> Pollrate : 0.05 
> NIC ChangPollrate: 2.50 
> TC redundancy : 2 
> MPR coverage : 7 
> LQ level : 2 
> LQ fish eye : 1 
> LQ aging factor : 0.050000 
> LQ algorithm name: default 
> NAT threshold : 1.000000 
> Clear screen : yes 
> Use niit : yes 
> Smart Gateway : no 
> SmGw. Del Srv Tun: no 
> SmGw. Use Count : 1 
> SmGw. Takedown% : 25 
> SmGw. Pol. Script: (null) 
> SmGw. Egress I/Fs: 
> SmGw. Mark Egress: 91 
> SmGw. Mark Tunnel: 101 
> SmGw. Allow NAT : yes 
> SmGw. period : 10000 
> SmGw. stablecount: 6 
> SmGw. threshold : 0% 
> Smart Gw. Uplink : both 
> SmGw. Uplink NAT : yes 
> Smart Gw. speed : 128 kbit/s up, 1024 kbit/s down 
> # Smart Gw. prefix : ::/0 
> InterfaceDefaults: 
> IPv4 broadcast/multicast : AUTO 
> Mode : mesh 
> IPv6 multicast : ff02::6d 
> HELLO emission/validity : 2.00/20.00 
> TC emission/validity : 5.00/300.00 
> MID emission/validity : 5.00/300.00 
> HNA emission/validity : 5.00/300.00 
> Autodetect changes : yes 
> dev: "wlan0" 
> IPv4 broadcast/multicast : AUTO (d) 
> Mode : mesh (d) 
> IPv6 multicast : ff02::6d (d) 
> HELLO emission/validity : 2.00 (d)/20.00 (d) 
> TC emission/validity : 5.00 (d)/300.00 (d) 
> MID emission/validity : 5.00 (d)/300.00 (d) 
> HNA emission/validity : 5.00 (d)/300.00 (d) 
> Autodetect changes : yes (d) 
> Plugins: 
> Name: "/data/local/olsrd_txtinfo.so.0.1" 
> Name: "/data/local/olsrd_secure.so.0.6" 
> Not using hysteresis 
> Adding OLSR socket entry 5 
> Initializing parser... 
> Parser: registering event for type 201 
> Register parse function: Added function for type 201 
> Parser: registering event for type 202 
> Register parse function: Added function for type 202 
> Parser: registering event for type 3 
> Register parse function: Added function for type 3 
> Parser: registering event for type 4 
> Register parse function: Added function for type 4 
> Added 0.0.0.0 to IP deny set 
> Added 127.0.0.1 to IP deny set 
> 
> ---- Interface configuration ---- 
> 
> Checking wlan0: 
> Wireless interface detected 
> Metric: 1 
> MTU - IPhdr: 1472 
> Index 6 
> Address:192.168.10.10 
> Netmask:255.255.255.0 
> *** olsr.org - 
> 0.6.6.1-git_0000000-hash_b9921fd17fb79767a975de65021f4157 (2014-01-18 
> 17:46:01 on assembler) *** 
> TIMER: jitter 5% rel_time 1000ms to 995ms 
> SPF: insert candidate 192.168.10.10, cost 0.000 
> SPF: exploring node 192.168.10.10, cost 0.000 
> SPF: delete candidate 192.168.10.10, cost 0.000 
> SPF: append path 192.168.10.10, cost 0.000, via - 
> 
> --- 18:28:15.742607 ------------------------------------------------- 
> DIJKSTRA 
> 
> Updating kernel routes... 
> 
> --- 18:28:15.744009 ------------------------------------------------- MID 
> 
> 
> --- 18:28:15.744107 
> ---------------------------------------------------- GATEWAYS 
> 
> IP address Type Uplink Downlink 
> 
> --- 18:28:15.744228 
> ---------------------------------------------------- LINKS 
> 
> IP address hyst LQ ETX 
> 
> --- 18:28:15.74 ------------------------------------------------ NEIGHBORS 
> 
> IP address LQ NLQ SYM MPR MPRS will 
> 
> --- 18:28:15.744472 ----------------------- TWO-HOP NEIGHBORS 
> 
> 		 	   		  


More information about the Olsr-users mailing list