After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 739087 - openvpn option --mssfix needs a numeric value
openvpn option --mssfix needs a numeric value
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: VPN: openvpn
unspecified
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-10-23 19:20 UTC by Jura
Modified: 2016-11-08 15:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
support numeric argument to mssfix (3.90 KB, patch)
2016-11-07 16:21 UTC, Thomas Haller
none Details | Review

Description Jura 2014-10-23 19:20:16 UTC
According the man page of openvpn, --mssfix needs a numeric parameter limiting the packet size, e. g. --mssfix 1300.
Comment 1 Jura 2014-11-26 18:29:19 UTC
any news?
Comment 2 Jiri Klimes 2015-10-09 10:24:11 UTC
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.
Comment 3 Thomas Haller 2016-11-07 16:21:34 UTC
Created attachment 339259 [details] [review]
support numeric argument to mssfix
Comment 4 Beniamino Galvani 2016-11-08 15:24:08 UTC
(In reply to Thomas Haller from comment #3)
> Created attachment 339259 [details] [review] [review]
> support numeric argument to mssfix

LGTM