-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tunnel mtu problems #30
Comments
The problem is that BMX7 by default uses a faked outer-ip-in-ip6 tunnel source address which prevents ICMPv6 Packet Too Big messages to reach the intended origin of the MTU-exceeding packet. The problem need fixes on two sides:
@aparcar |
Am I missing something? It's freshly compiled |
I setup the following:
After all, I can't seem to start BMX7 accepting the |
TunAnySrc parameter is only give with bmx7_tun.so plugin. So try bmx7 plugin=bmx7_tun.so tunAnySrc=1
Am 25. Mai 2018 19:55:17 MESZ schrieb Paul Spooren <[email protected]>:
…```
***@***.***:/etc/tinc/librenet6/hosts# bmx7 --tunAnySrc=1
[27585 8] ERROR apply_stream_opts: invalid argument: tunAnySrc=1
```
Am I missing something? It's freshly compiled
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#30 (comment)
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
|
This works:
|
here testing the code with @G10h4ck, here is our result: the "old" bmx7 (without tunAnySrc commit, or also with tunAnySrc commit included but without specifying tunAnySrc=1) produces these tunnel interfaces:
X7main with source (real) fd70: and peer (fake) fd71: the "new" bmx7 (after applying tunAnySrc=1 like this in two nodes of different LibreMesh clouds):
(regarding the killall bmx7: if bmx7 is not fully restarted, the new X7Out interfaces will use real addresses but the X7main is not recreated and will still have a fake "peer") successfully can ping to the other node over the tunnel!!!
and this created tunnel X7Out is using real source addresses, and the X7main has an "empty"
so, we have just reproduced independently @axn test, and it looks great! thanks a lot what's pending is to test this "in the real world" (or at least with a reduced MTU segment in the middle of the path) and see if it allows PMTUD to work correctly, finally ending the infamous "dead" tunnels in particular, we could not compile bmx6 at this particular commit bmx-routing/bmx6@5dc6678 on top of current openwrt, understandably since it's old code. But this means someone should port this tunAnySrc=1 patch to bmx6 as @pedro-nonfree suggested, so that we can compile a "fixed" bmx6 and test it in quintanalibre for example |
I added d854135 plus another cc245a2 patch to testing https://github.com/bmx-routing/bmx7/commits/testing branch. The latter commit replaces tunAnySrc=<0|1> with tunRealSrc=<0|1|2> parameter which should be used as follows:
In the long term I'll make tunRealSrc=1 and later tunRealSrc=2 the default... Hope this helps to smoothly get away with asymmetric tunnels and faked tunIps Please @altergui use and report |
Just updated the PR for openwrt-routing/packages.git after some testing: |
MTU discovery does NOT work with bmx7 tunnels on openwrt devices
The text was updated successfully, but these errors were encountered: