Samuel Thibault
8c04e26f3f
Consolidate adding/removing routes
...
into routesset and routes6set.
2024-05-13 20:14:38 +02:00
Samuel Thibault
c7853de428
Consolidate stat update code
...
into
update_session_in_stat
update_session_out_stat
2024-05-13 20:14:38 +02:00
Samuel Thibault
5db476bb6e
Add generic netlink infrastructure
2024-05-13 20:14:38 +02:00
Samuel Thibault
60329986b2
Rename netlink infrastructure to rtnetlink
...
We will introduce genetlink infrastructure just after this.
2024-05-13 20:14:38 +02:00
Samuel Thibault
fdf19f5467
cli: Fix missing closing file descriptors
2024-05-13 20:14:38 +02:00
Samuel Thibault
05772e2295
Add periodic RA sends
...
The RFC indeed say that we should send them periodically. We were
previously only sending them along LCP echo replies, but echo requests
are typically sent only when there is no trafic, which RA need to be
sent even when there is trafic.
2023-12-04 19:41:57 +01:00
Samuel Thibault
3be9b1657a
Note what changed in versions 8, 9 and 10
2023-12-03 21:24:54 +01:00
Samuel Thibault
3667bdfe80
Also clamp MSS on IPv6
...
Some routers erratically drop "Packet too big" icmp messages, and PMTU
discovery then doesn't work. We can however easily clamp MSS on IPv6 too.
2023-11-05 17:21:14 +01:00
Samuel Thibault
8e7bfa9a77
Add mp_mrru option
...
Some equipments seem not able to actually put options in Configure-Reject
messages, so we then have to disable MRRU by hand.
2023-02-07 12:45:29 +01:00
Samuel Thibault
7623522726
Avoid warning
...
The restart code is indeed only needed for reset cases, any other case
doesn't need anything there.
2022-11-03 11:51:43 +01:00
Samuel Thibault
fbf0c191e1
Fix operator priority
...
(notably ternary ?: is less prioritized than <=)
2022-11-03 11:50:04 +01:00
Sebastien Badia
d1536bdcfb
New release: 2.4.1
2022-09-03 01:10:37 +02:00
sebian
40a02aa8d5
Merge branch '64bit' into 'master'
...
Use 64bit counters for accounting
Closes #12
See merge request l2tpns/l2tpns!13
2022-07-02 12:16:54 +00:00
Samuel Thibault
71a60411a1
Use newer radius port 1812 by default
...
1645 has been marked as "old-radius" for a long time.
2022-05-28 09:33:05 +02:00
Samuel Thibault
31dedbbe66
Use 64bit counters for accounting
...
Otherwise with 5-minute reporting we overflow with >= ~100Mbps.
Fixes #12
2022-01-24 00:40:26 +01:00
Baptiste Jonglez
832945bb4b
Fix reported l2tpns version number
2021-10-15 21:55:31 +02:00
Julien Rabier
bc2d55725b
New release: 2.3.2
2021-01-31 17:35:36 +01:00
Julien Rabier
4824735794
New release: 2.3.1
2020-11-07 15:11:48 +01:00
Julien Rabier
cff4a52c50
New release: 2.3.0
2020-11-05 18:31:52 +01:00
Sebastien Badia
745de1082a
(maint) Fixes common spelling error
...
* minumum minimum
* remaing remaining
* Mismaching Mismatching
2020-04-28 10:53:18 +02:00
fendo
84082b35b1
Fix: mismatch variable type (cluster_port).
2017-05-27 11:13:58 +02:00
fendo
0f20bfda6a
Add cluster_port parameter for Multiple clusters
2017-05-27 00:09:19 +02:00
fendo
7034e6a018
Sending IPv6_ra more often.
2017-01-14 14:03:34 +01:00
fendo
07e1df5b92
Add of the ppp_keepalive option.
2015-09-22 23:19:01 +02:00
fendo
9c77145f71
Add of the RDNSS option to ICMPv6 Router Advertisement (RA).
2014-10-02 00:28:57 +02:00
fendo
8d94f2020d
new feature: If the user attribute "Framed-IPv6-Address" is defined then the ICMPv6_RA advertise this IPv6 address.
...
Fix: Incorrect delegation of IPv6 prefixes when multiple of 4 bits (nibble) (eg: /44, /52 ...).
2014-09-18 18:16:21 +02:00
fendo
e98fe68174
Added ability to define up to 5 IPv6 prefix delegation by user
2014-09-16 17:34:39 +02:00
fendo
b3f40f41f7
Add DHCPv6 functionality.
2014-09-11 16:19:57 +02:00
fendo
6b70732490
add attribut >no_throttle_local_IP
2013-11-12 21:33:42 +01:00
fendo
26a2025a1b
Fix: wheezy warning compilation
2013-09-16 15:01:04 +02:00
fendo
9c1869ccb1
Adding the possibility to set multiple hostname.
2013-05-21 11:42:48 +02:00
fendo
7fd4346bbb
add accounting parameter account_all_origin
2013-04-24 22:29:36 +02:00
fendo
1e722029bc
Fix service_name management and add pppoe_only_equal_svc_name parameter
2013-04-09 17:03:00 +02:00
fendo
137bcc9981
Adding the possibility to listening multiple IP L2TP tunnels.
2013-03-06 22:18:32 +01:00
fendo
9e78f1af54
Fix: Tunnel creation does not work when the length of the hostname is odd. (revert fix: Add a uint16_t control buffer type, as a union)
2013-02-26 00:28:43 +01:00
fendo
ec1507a6c2
Add param disable no spoof
2013-02-11 00:15:36 +01:00
fendo
f5354e1754
Update debian/changelog
2013-02-10 23:43:53 +01:00
fendo
b85ea86670
small performance improvement in download (internet -> customer)
2013-02-07 00:00:37 +01:00
fendo
9fb78ffe6a
Disable sending HELLO message for Apple compatibility
2013-01-15 15:22:43 +01:00
fendo
d547c00f76
rename attribut interface pppoe to bind
2013-01-08 23:24:31 +01:00
fendo
11996ba414
Add PPPOE-SERVER functionality
2013-01-08 10:50:57 +01:00
fendo
ddffeb1ceb
Authorize to change the source IP of the tunnels l2tp
2012-12-26 11:13:09 +01:00
fendo
f9243ffec5
Add tundevicename configuration option
2012-12-21 14:13:00 +01:00
fendo
35f10d93f4
Final development LAC functionality.
...
Fix Possible ring buffer overflow.
2012-12-15 00:00:13 +01:00
fendo
bcc2c7408b
Fix LAC functionnality
2012-12-07 23:42:44 +01:00
fendo
5e65215ed4
Following development LAC functionality
2012-12-06 01:40:12 +01:00
fendo
4df24fd868
first version of the LAC functionality
2012-11-28 23:43:33 +01:00
fendo
ce928583b4
MLPPP not working in cluster mode.
2012-10-28 22:39:23 +01:00
Fernando Alves
76ae461853
Add a echo_timeout configuration option.
...
Add a idle_echo_timeout configuration option.
2012-02-20 20:50:57 +01:00
Fernando Alves
81ca38323a
Fix: Sends small packets in the MPPPP frame (for reorder).
...
Fix: Calculates jitter and jitter traces for analysis.
2012-02-15 14:23:12 +01:00