GNOME Bugzilla – Bug 739087
openvpn option --mssfix needs a numeric value
Last modified: 2016-11-08 15:48:02 UTC
According the man page of openvpn, --mssfix needs a numeric parameter limiting the packet size, e. g. --mssfix 1300.
any news?
mssfix can be used without a parameter, then a default value of 1450 is used. Unless it is used together with --fragment in which case it inherits the value from it. And the usage together with --fragment is recommended. So I think there is no real problem. man openvpn says: --mssfix and --fragment can be ideally used together, where --mssfix will try to keep TCP from needing packet fragmentation in the first place, and if big packets come through anyhow (from protocols other than TCP), --fragment will internally fragment them. Both --fragment and --mssfix are designed to work around cases where Path MTU discovery is broken on the network path between OpenVPN peers. If --fragment and --mssfix are used together, --mssfix will take its default max parameter from the --fragment max option.
Created attachment 339259 [details] [review] support numeric argument to mssfix
(In reply to Thomas Haller from comment #3) > Created attachment 339259 [details] [review] [review] > support numeric argument to mssfix LGTM
thanks. merged as https://git.gnome.org/browse/network-manager-openvpn/commit/?id=22c4851312788e43a326810def79e57dab6d808b