Commit Graph

4 Commits

Author SHA1 Message Date
Nikos Mavrogiannopoulos
982348df88 Reworked MTU discovery
Disable MTU discovery when not requested, set the minimum packet size
to 1280 for IPv6 and 800 bytes for IPv4. When MTU discovery fails to
calculate an MTU over the minimum, it disables itself and ocserv will rely
on packet fragmentation. This also enhances DTLS connection detection
(due to MTU issues), by setting the DPD packet size to equal to the current
data MTU.
2016-08-04 07:57:37 +02:00
Nikos Mavrogiannopoulos
029e42d07d moved human_addr2() to ip-util.c 2016-02-19 09:56:21 +01:00
Nikos Mavrogiannopoulos
411d9988e0 Introduced %{RI} macro for route-add/del-cmd to get route in CIDR format 2015-10-30 14:20:24 +01:00
Nikos Mavrogiannopoulos
7a4fc3b0aa moved ip-related macros to ip-util 2015-10-30 14:03:24 +01:00