Comment 24 for bug 112248

Revision history for this message
Magnus Kulke (magnus-kulke) wrote : Re: [Bug 112248] Re: fields to set MTU and MSS missing

Hello Mathieu,

the options i added are merely arguments for the openvpn client (--mssfix). there is currently no way to query an openvpn-server for those options (it's on the openvpn wishlist, tho). while it seems plausible, that the mtu value could be calculated and applied to a running openvpn session, like described in that gnome bugreport, i don't think this can be done for the --fragment and the --mssfix option. I agree that crowding the dialog with options is not a good idea in general (altho it is in the advanced dialog, where options reside of which most ppl probably have no idea what they are about), maybe one could get rid of the tun-mtu option (as this functionality seems to be in network-manager yet) or add a generic lineedit to the dialog, in which users can put custom arguments ("--mssfix --tun-mtu 1500 --fragment 1300") which are then appended to the client call.

the gnome bugreport is about the vpnc-plugin, i don't think it makes sense posting the patch there, but i posted it to the nm mailinglist.

Am Feb 4, 2010 um 4:34 PM schrieb Mathieu Trudel:

> Magnus,
>
> Thanks for the patch! Unfortunately, this issue is still being discussed
> upstream (see https://bugzilla.gnome.org/show_bug.cgi?id=603575). I'd go
> on that aspect with the reporter for that bug and say that the best in
> all cases is to calculate an MTU (and MSS) from the route to the
> gateway, unless there is a value specified by the server. A pretty
> generic solution would be best as well, since this doesn't only affect
> the openvpn plugin.
>
> Unless you have a reason to believe it really should be available
> anyway? I just think it's something that would be best to have as
> automated as possible and not subject users to wondering "what is this
> fragmentation thing? what do I set there?"
>
> In any case, please do post your patch (cleaned up to exclude the
> changelog parts) on the above bug if possible, just in case :)
>
> ** Bug watch added: GNOME Bug Tracker #603575
> https://bugzilla.gnome.org/show_bug.cgi?id=603575
>
> --
> fields to set MTU and MSS missing
> https://bugs.launchpad.net/bugs/112248
> You received this bug notification because you are a direct subscriber
> of the bug.