https://bugs.kde.org/show_bug.cgi?id=404614

            Bug ID: 404614
           Summary: OpenVPN reneg-sec option max arbitrarily set to 604800
                    seconds
           Product: plasma-nm
           Version: 5.14.90
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jgrul...@redhat.com
          Reporter: spa...@gmail.com
  Target Milestone: ---

SUMMARY

https://github.com/KDE/plasma-nm/blob/b7ac6986190443a47f583bea1084e25075a0cdc6/vpn/openvpn/openvpn.cpp#L305-L308

I cannot find documentation supporting this upper limit. The standard openvpn
client accepts much larger values (at least 2**31-1, I think).


STEPS TO REPRODUCE
1. install network-manager-openvpn
2. attempt to import a .ovpn configuration with "reneg-sec 2592000"

OBSERVED RESULT

error dialog "Invalid size (should be between 0 and 604800) in option:
reneg-sec 2592000"

EXPECTED RESULT

connection successfully imported

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 19.04
(available in About System)
KDE Plasma Version: 5.14.90
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION

The limit is also enforced in the Network Manager GUI:

https://bazaar.launchpad.net/~network-manager/network-manager-openvpn/trunk/view/903/properties/nm-openvpn-dialog.ui#L13

Previous discussion of this limit in the Gnome bug tracker:

https://bugzilla.gnome.org/show_bug.cgi?id=639560

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to