Opened 7 years ago
Last modified 7 years ago
#871 new Bug / Defect
DHCP gateway stripping does not remove DHCP option 121 0.0.0.0 routes
Reported by: | roobre | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Networking | Version: | OpenVPN 2.2.2 (Community Ed) |
Severity: | Not set (select this one, unless your'e a OpenVPN developer) | Keywords: | dhcp, 121 |
Cc: |
Description
DHCP allows defining classless static routes using option 121. However, according to [RFC 3442](https://tools.ietf.org/html/rfc3442), if a route is defined using this option, option 3 (default gateway) must be ignored. Instead, the default gateway must be defined as the route for 0.0.0.0/0, using the same 121 option.
OpenVPN doesn't seem to strip this route from option 121 when server-bridge with dhcp gateway stripping is enabled.
Note: See
TracTickets for help on using
tickets.
Sorry to bump this, but I'd be happy to contribute with a patch if you point me in the right direction (like where can the latest source be downloaded, and how to send the patch itself (pull request, email address, etc).
Regards, Roobre.