Closed torte71 closed 5 years ago
I assume you are aware, that you use an outdated and unreleased firmware-version. I assume you are aware, that such "converted" VPN-setups are unsupported.
But your openvpn-file looks like concated multiple times together; probably a race-condition?
I know that it's outdated. :)
The config file is not simply concated, it is mixed: The stuff got inserted into each other (that's why I mentioned lines 17+18 and 29+30). This looks to me, as if two instances of openvpn got started at once and simultaneously wrote to that config file (or a very strange caching problem). As I don't have any duplicate openvpn config files on that router (backups, etc.), I wonder how this (assumed duplicate openvpn process) should happen.
About the "converted setup": These were three changes. 1. Replaced certificates - it is very unlikely to be the cause. 2. Modified openvpn config - this is now identical to that of the vanilla vpn03 flavor. 3. Replaced openvpn - if this is the cause, then this might be interesting for those, that want to use e.g. the tunnel-berlin flavour together with bbb-vpn.
Is this still an issue? Can this be closed?
As I didn't find a way to reproduce it yet, I can't tell if this is an upstream problem (quite probable) or not.
Device: RPi3 Firmware: Freifunk Berlin Hedy 1.0.0-alpha-SAm0815 1f0e9de Flavour: tunnel-berlin Setup/noteworthy changes:
Symptom: OpenVPN can't be started, "logread" complains about an incorrect parameter:
Mon Apr 30 11:45:27 2018 daemon.err openvpn(ffuplink)[4715]: Options error: Unrecognized option or missing or extra parameter(s) in openvpn-ffuplink.conf:17: cipherproto (2.4.4)
This is the config file, that was autogenerated from /etc/config/openvpn and logread complained about:
This file is a mix of two files. E.g. lines 17+18 read
but should read
The same kind of mix can be seen in lines 29+30
And you can see, that this file is twice as long as in the default case and has almost every setting twice (except
client
andpersist-key
).