Commit graph

497 commits

Author SHA1 Message Date
Samuel Thibault
7bf791816c Fix the password used when acting as LAC
When acting as LNS, we have to answer challenges with our own secret, but
when acting as LAC, we have to answer challenges with the LNS secret, not
ours.
2023-03-26 18:01:00 +02: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
Dominique Martinet
af92de5eeb processudp: fix memory leak
send/recvchalresponse should be freed before early returns in the function,
as there are code paths where they would be allocated before these.

Note free is no-op on null pointer so checking for non-null value is useless.

Reported-by: Coverity#375342
2022-11-05 21:18:36 +09:00
Samuel Thibault
4d906e595d Fix liveness of buf
So that domain can point to it.
2022-11-03 13:27:54 +01:00
Samuel Thibault
233f7e8526 Drop useless test 2022-11-03 11:49:48 +01: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
Dominique Rousseau
7c715f16fc fix bgp_add_route with bind_address ( fix #9 ) 2021-10-15 21:55:31 +02:00
Fernando ALVES
2d6fe53a7a Fix infinite loop error 'Unknown AVP vendor' 2021-01-17 22:19:01 +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
0f20bfda6a Add cluster_port parameter for Multiple clusters 2017-05-27 00:09:19 +02: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
97bada26aa Fix: IPv6 prefix routing on slave cluster 2014-09-21 13:59:08 +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
2a385573a6 Fix cluster slave; no add the ipv6 route address (/128) if included in the delegated prefix. 2014-09-12 18:21:26 +02:00
fendo
b3f40f41f7 Add DHCPv6 functionality. 2014-09-11 16:19:57 +02:00
fendo
786a8c4546 Fix: remove old IPV6 routes on master 2013-12-10 23:17:21 +01:00
fendo
6b70732490 add attribut >no_throttle_local_IP 2013-11-12 21:33:42 +01:00
fendo
20ca0ebdd3 Fix: throttle ipv6 out. 2013-09-21 14:36:07 +02:00
fendo
aa737c197c Fix: remove old IPV6 routes on slave 2013-09-21 12:51:32 +02:00
fendo
f4e05b93e0 Fix: compiling Warning, dpkg-buildflags ... 2013-09-17 00:04:00 +02:00
fendo
ecdddd6065 * Enabled hardened build flags, thanks Moritz Muehlenhoff (closes: #657846)
* Packaging updates
  * Move to 3.0 (native) source format
  * Bump DH compat level to 8
* Fix ordering of stdio.h/syslog.h includes (closes: #707385)
* Create accounting_dir in init script if necessary (closes: #418156)
* Bump Standards-Version to 3.9.4.0
  * Add build-arch/build-indep targets to debian/rules
* Fix: compiling Warning
2013-09-16 18:22:57 +02:00
fendo
26a2025a1b Fix: wheezy warning compilation 2013-09-16 15:01:04 +02:00
fendo
959cce2660 Fixing of the Endpoint-Discriminator has a unique value. 2013-06-05 17:00:52 +02:00
fendo
91fc2ec13b Fix: loop parse multi_hostanme 2013-05-22 22:23:56 +02:00
fendo
fa1972a645 Fix: loop parse multi_hostanme 2013-05-22 20:49:17 +02:00
fendo
9c1869ccb1 Adding the possibility to set multiple hostname. 2013-05-21 11:42:48 +02:00
fendo
8c6b4f04b0 Fix: send SCCCN requested challenge response 2013-04-29 17:13:42 +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
ec4f5a95de Fix Warning: dereferencing type-punned pointer will break strict... 2013-02-26 01:00:46 +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
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
1f48c2907f Fix: No RADIUS Stop message sent (regression due to the patch to avoid sending multiple CDNs) 2013-01-14 00:04:56 +01:00
fendo
caa9662496 Fix: inverted delete/add routes in cluster mode 2013-01-13 23:08:38 +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
699dd8b571 Fix: last_packet no updated in cluster mode 2012-12-20 23:44:21 +01:00
fendo
35f10d93f4 Final development LAC functionality.
Fix Possible ring buffer overflow.
2012-12-15 00:00:13 +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
7fd68b1dae Fix the inverted "delete/add" of the routes, in cluster mode. 2012-11-18 16:04:06 +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