Bastian Bittorf | 19 Oct 08:49 2014

Re: OLSR1: sendto IPv4 Resource temporarily unavailable / affects other neighbours

* Weimarnetz e.V., Vorstand/Vereinsvorsitzender: Bastian Bittorf <bittorf <at> bluebottle.com>
[06.10.2014 20:23]:
> i debugged more: when this happens there is a storm of OLSR-packets
> on these nodes: 200 Kilobyte/s outgoing and 100 Kilobyte/s incoming
> UDP-traffic on port 698 - this explains the situation 8-). With tcpdump
> it looks like ...HNA-messages from a "weak" connected OLSR-cloud with
> ~150 nodes. i will debug further and keep the list informed...

it seems we have fixed the issue, i does not happen anymore.
it was _not_ caused be the daemon itself or a wrong configured
node, but a seldom error in our inner-city-vpn (tinc-tunnel).

See http://www.tinc-vpn.org/
"Fixed a potential routing loop when IndirectData or TCPOnly is used and
broadcast packets are being sent."

bye, bastian

--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-dev

Ferry Huberts | 1 Oct 16:53 2014

[PATCH v1 1/1] linux: olsr_if_isup: fix return code in error path

From: Ferry Huberts <ferry.huberts <at> pelagic.nl>

Now it really returns false when an interface does not exist.

Signed-off-by: Ferry Huberts <ferry.huberts <at> pelagic.nl>
---
 src/linux/net.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/linux/net.c b/src/linux/net.c
index 650773f..00f45fa 100644
--- a/src/linux/net.c
+++ b/src/linux/net.c
 <at>  <at>  -713,7 +713,7  <at>  <at>  bool olsr_if_isup(const char * dev)
   if (ioctl(olsr_cnf->ioctl_s, SIOCGIFFLAGS, &ifr) < 0) {
     OLSR_PRINTF(1, "ioctl SIOCGIFFLAGS (get flags) error on device %s: %s (%d)\n",
         dev, strerror(errno), errno);
-    return 1;
+    return 0;
   }
   return (ifr.ifr_flags & IFF_UP) != 0;
 }
-- 
1.9.3

--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-dev

(Continue reading)

cholin | 27 Sep 13:43 2014
Picon

[PATCH] dyn gw plugin - add PingCmd parameter

From: Nico Geyso <Nico.Geyso <at> FU-Berlin.de>

Add possibilty to set PingCmd by config. This is useful for instance
if you do want to set an interface or execute your own script. See
README_DYN_GW for an example. Branched of v0.6.6.2.
---
 lib/dyn_gw/README_DYN_GW      |  3 +++
 lib/dyn_gw/src/olsrd_dyn_gw.c | 25 ++++++++++++++++++++++---
 lib/dyn_gw/src/olsrd_dyn_gw.h |  2 ++
 3 files changed, 27 insertions(+), 3 deletions(-)

diff --git a/lib/dyn_gw/README_DYN_GW b/lib/dyn_gw/README_DYN_GW
index 0aea1f9..8f3e02d 100644
--- a/lib/dyn_gw/README_DYN_GW
+++ b/lib/dyn_gw/README_DYN_GW
 <at>  <at>  -87,6 +87,9  <at>  <at>  LoadPlugin "olsrd_dyn_gw.so.0.5"
     PlParam "HNA"    "192.168.200.0 255.255.255.0"
     PlParam "HNA"    "192.168.201.0 255.255.255.0"
     PlParam "HNA"    "192.168.202.0 255.255.255.0"
+
+    #   Set custom ping command - %s will be replaced with IP to ping
+    PlParam "PingCmd" "ping -c 1 -q -I vpn %s"
 }

 --------------------------------------------------------------------------------
diff --git a/lib/dyn_gw/src/olsrd_dyn_gw.c b/lib/dyn_gw/src/olsrd_dyn_gw.c
index 027863c..5df1039 100644
--- a/lib/dyn_gw/src/olsrd_dyn_gw.c
+++ b/lib/dyn_gw/src/olsrd_dyn_gw.c
 <at>  <at>  -128,6 +128,8  <at>  <at>  static bool check_gw(union olsr_ip_addr *, uint8_t, struct ping_list *);
(Continue reading)

Bastian Bittorf | 26 Sep 13:09 2014

OLSR1: sendto IPv4 Resource temporarily unavailable / affects other neighbours

We run recent (r42648) OpenWrt on a 5 Ghz longshot and have a lot of
'OLSR: sendto IPv4 Resource temporarily unavailable' messages in syslog.

The bad thing: even the neighbours on this link which are
connected via wire get very bad values if this state is triggered:

Table: Links
Local IP        Remote IP       Hyst.   LQ      NLQ     Cost
10.63.160.161   10.63.48.33     0.00    0.796   0.105   11.863
10.63.160.161   10.63.6.125     0.00    0.705   0.137   10.321
10.63.160.161   10.63.222.33    0.00    0.784   0.094   INFINITE
10.63.160.129   10.63.209.129   0.00    0.353   0.184   15.372

(the first 3 are wired links, the daemon up since >300 sec)
it can recover without interaction:

Table: Links
Local IP	Remote IP	Hyst.	LQ	NLQ	Cost
10.63.160.161	10.63.48.33	0.00	1.000	1.000	1.000	
10.63.160.161	10.63.6.125	0.00	1.000	1.000	1.000	
10.63.160.161	10.63.222.33	0.00	1.000	1.000	1.000	
10.63.160.129	10.63.209.129	0.00	1.000	1.000	1.000	

but it happens from time to time and lasts up to 20 minutes.
restarting the daemon or the wifi-interface or changing channel does not help.
note: we still use 'etx_ff' (instead of etx_ffeth).

OLSR-version is 0.6.6.2-git_2d4375e-hash_2327cc988bc51296b367208d8d3133f7

bye bastian / weimarnetz.de / wireless.subsignal.org
(Continue reading)

Vigneswaran R | 19 Sep 08:21 2014

olsrv2: 1-hop neighbors take more time to remove invalid route

Hello,

I am testing olsrv2 to see how much time it takes to remove stale route, 
when a node goes down.

What I observed is when node6 went down, its 1-hop neighbors (node3, 
node5) took more time (~40 sec) to remove the stale route than the other 
nodes (~25 sec). This behaviour is consistent most of the times.

I am using the latest OLSRv2 (commit e5728e, done on 18th Sept) in the 
following topology.

node1 --- node2 --- node3
|   \               |
|    \---\          |
|         \         |
node4 --- node5 --- node6

Could you please help me in debugging this? Thank you.

Vignesh

--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-dev

Vigneswaran R | 5 Sep 14:07 2014

olsrv2 test: handling change in link quality

Hello,

I am planning to test OLSRv2 to see how the change in link quality 
affects the route calculation.

1. Any suggestion on simulating a degraded link (using tools such as 
ethtool, iptables, tc etc)?

I am using qemu-kvm virtual machines with emulated e1000 NICs for 
testing. I use iptables to introduce packet loss for testing. However, I 
am not sure whether any better way to do this.

2. Below is the list of plugins currently being used (default ones) by 
OLSRv2. Anything else to be enabled?

Static plugin: auto_ll4
Static plugin: cfg_compact
Static plugin: eth_listener
Static plugin: ff_dat_metric
Static plugin: layer2info
Static plugin: mpr
Static plugin: neighbor_probing
Static plugin: nhdpinfo
Static plugin: nl80211_listener
Static plugin: olsrv2info

Thank you.

vignesh

(Continue reading)

Joe Ayers | 4 Sep 01:13 2014

broadband-hamnet.org users joining olsr-dev list

Hi all,

A couple of us from the http://broadband-hamnet.org group are joining this list.  We will be lurking and occasionally seeking to collaborate on issues we encounter.    olsr is a key feature that our community is using.   We are building meshes on top of http://www.openwrt.org and http://www.buildroot.org using Ubiquiti and Linksys hardware in the Amateur Radio community.   

The v1 secure plugin was recently included in our builds and we have run into a few showstopper type issues for which an overflow and uninitialized variable have so far been submitted bugs.   We're still working through stabilizing v1 for our needs.   The v2 effort is of much interest to us as well, so we'd like to be aware of this journey.   We are open to being early users/testers of olsr v2 on our live meshes sprouting up all over the world.  While there have been others in wave 1 you may have meet in the past, there are 2 of us joining this list from the wave 2 HamNet effort in our community:

1) Joe Ayers AE6XE (I joined HamNet more recently)
2) Conrad Lara  AG6JEI (principle developer implementing wave 2)

To give you an idea of what we're up to (in case you would like to expand your job/hobby :) ),  here's a picture of a couple of our mesh nodes (OK, so this pic is before I properly aligned the sector antenna):   https://drive.google.com/file/d/0B2bEy75HhwWhcWpsQlpEUmE4ckU/edit?usp=sharing  

Our nodes tend to be many kilometers apart.   We have meshes springing up around the world with conquer-the-world visions of interconnecting our meshes.  Today we have numerous individuals with ~3 nodes and many 10s of node clusters, Conrad and I will join our meshes at some point on the west coast to linkup San Diego area with Orange County.  We'll suddenly be 100s of nodes at that time and growing. 

Feel free to see the view and weather in Southern California from a node's ipCam shown in the attached pic. This is a tandem bridge on 5Ghz (sector panel) and 2.4Ghz (omni antenna).   You will be accessing the node over a ~10km RF 2.4gHz link.  http://68.4.133.158:8088    user=password="view".  requires windows only plugin.  Note IR mode to see at night (lamp icon).  click on screen to move the camera to look around.  

Regards, 
Joe AE6XE
--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-dev
Henning Rogge | 27 Aug 15:35 2014
Picon

MPR Plugin for OLSRv2

Hi,

after fixing a few small bugs (and a VM test) I have reactivated the
MPR calculation plugin again in the default settings.

I would like to ask people working with OLSRv2 to test the new
settings and report if they have a problem with it.

Henning Rogge

--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-dev

Philipp Borgers | 20 Aug 22:40 2014
Picon
Picon

new minor release

Hi,

at freifunk berlin we are working on a new firmware. We would profit from a new
minor release of olsr so we could update the openwrt routing feed and use it
without any patches. As far as I know we are not the only project that would
profit from a new release.

Is there anything I can do to help prepare a release?

Thanks a lot.

Best Regards
Philipp
--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-dev
Dahlberg, David | 19 Aug 13:53 2014
Picon

Patches for OpenBSD

Hi *,

I submitted a few patches for the OpenBSD build process to an "openbsd"
git branch. Please review and merge/cherry-pick as you like.

As I am no Makefile expert, I am not 100% sure about
f4beaa14cca66f9711f5707bcfb4b76b80500171. If there is 
a better way to "install -m 555 openbsd/olsrd.rcd /etc/rc.d/olsrd",
please do so.

A it is, the branch installs/deinstalls correctly on OpenBSD and Debian.

Cheers,

	David

-- 
David Dahlberg     

Fraunhofer FKIE, Dept. Communication Systems (KOM) | Tel: +49-228-9435-845
Fraunhoferstr. 20, 53343 Wachtberg, Germany        | Fax: +49-228-856277
--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-dev

L. Aaron Kaplan | 19 Aug 12:08 2014

test, please ignore

testing the mailing list...

--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-dev

Gmane