[Olsr-users] olsrd txtinfo plugin

Lorenzo Salvatore (spam-protected)
Sun Feb 2 22:59:37 CET 2014


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: 4Plugin: /data/local/olsrd_secure.so.0.6Plugin param key:"Keyfile" val: "/data/local/secure_key"Plugin: /data/local/olsrd_txtinfo.so.0.1Plugin 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      : 3IpVersion        : 4No interfaces    : ALLOWEDTOS              : 0xc0OlsrPort          : 698RtTable          : 254RtTableDefault   : 254RtTableTunnel    : 254Willingness      : 3IPC connections  : 0Pollrate         : 0.05NIC ChangPollrate: 2.50TC redundancy    : 2MPR coverage     : 7LQ level         : 2LQ fish eye      : 1LQ aging factor  : 0.050000LQ algorithm name: defaultNAT threshold    : 1.000000Clear screen     : yesUse niit         : yesSmart Gateway    : noSmGw. Del Srv Tun: noSmGw. Use Count  : 1SmGw. Takedown%  : 25SmGw. Pol. Script: (null)SmGw. Egress I/Fs:SmGw. Mark Egress: 91SmGw. Mark Tunnel: 101SmGw. Allow NAT  : yesSmGw. period     : 10000SmGw. stablecount: 6SmGw. threshold  : 0%Smart Gw. Uplink : bothSmGw. Uplink NAT : yesSmart 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 hysteresisAdding OLSR socket entry 5Initializing parser...Parser: registering event for type 201Register parse function: Added function for type 201Parser: registering event for type 202Register parse function: Added function for type 202Parser: registering event for type 3Register parse function: Added function for type 3Parser: registering event for type 4Register parse function: Added function for type 4Added 0.0.0.0 to IP deny setAdded 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 995msSPF: insert candidate 192.168.10.10, cost 0.000SPF: exploring node 192.168.10.10, cost 0.000SPF: delete candidate 192.168.10.10, cost 0.000SPF: 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
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20140202/a7d72859/attachment.html>


More information about the Olsr-users mailing list