summaryrefslogtreecommitdiff
path: root/accel-pppd
AgeCommit message (Collapse)Author
2019-07-26Merge pull request #89 from themiron/dp-route-fixxebd
dhcpv6: fix delegated prefix routes
2019-07-12dhcpv6: fix delegated prefix routesVladislav Grishenko
older api causes "none" rtm type
2019-07-09fix warnings with openssl 1.1.0+Vladislav Grishenko
openssl's thread locking/calbacks is noop since 1.1.0, internal locking is used automagically.
2019-06-28Merge pull request #84 from DmitriyEshenko/patch-6xebd
Change variable name sid_in_auth radius.c
2019-06-27Update accel-ppp.conf.5Eshenko Dmitriy
2019-06-27Update radius.cEshenko Dmitriy
2019-06-20Merge pull request #81 from DmitriyEshenko/patch-5xebd
Add info [ipoe]session-timeout and [ipoe]idle-timeout to accel-ppp.conf.5
2019-06-20Merge pull request #80 from DmitriyEshenko/patch-4xebd
Add info [modules]connlimit to accel-ppp.conf.5
2019-06-20Merge pull request #79 from DmitriyEshenko/patch-3xebd
Fix: ipv6-dns accel-ppp.conf.5
2019-06-20Merge pull request #78 from DmitriyEshenko/patch-2xebd
Fix typos accel-ppp.conf.5
2019-06-20Merge pull request #77 from DmitriyEshenko/patch-1xebd
shaper: fix fq_codel
2019-06-18Update accel-ppp.conf.5Eshenko Dmitriy
2019-06-18Update accel-ppp.conf.5Eshenko Dmitriy
2019-06-14Update accel-ppp.conf.5Eshenko Dmitriy
2019-06-14Update accel-ppp.conf.5Eshenko Dmitriy
2019-06-13Update leaf_qdisc.cEshenko Dmitriy
2019-05-29Added extra AVP to SCCCN as known to allow MPD5 tunnelsPedro don't want to be here
original commit author is @dyangol
2019-05-15ippool: exclude gw-ip-address from address poolDmitry Kozlov
2019-05-15pppd_compat: write human readable values of IPv6 address to radattr fileDmitry Kozlov
2019-05-13ipoe: restored max-lease-time functionalityDmitry Kozlov
2019-05-13Revert "ipoe: restored max-lease-time functionality"Dmitry Kozlov
This reverts commit 6f433706a152ea987899fd830ff399e257b0f2a6.
2019-05-13Merge branch 'master' of github.com:xebd/accel-pppDmitry Kozlov
2019-05-13ipoe: restored max-lease-time functionalityDmitry Kozlov
2019-05-10Fix bug after radius server recoveryroot
2019-05-09ipoe: Fix send NAK for REQUEST with 3 same XID for not existing sessionsDmitriyEshenko
2019-05-09Add information about [common] sectionDmitriyEshenko
2019-05-09Add information [modules]log_syslog and [ipoe]offer-timeoutDmitriyEshenko
2019-03-08initialize ssl_halen = ETH_ALEN in sockaddr_ll structuresDmitry Kozlov
2019-03-08ippool: always initialize mask = 0Dmitry Kozlov
2019-03-08radius: fixed bug (inserting empty Class)Dmitry Kozlov
2019-02-12ipoe: always ignore Gratoitous ARPDmitry Kozlov
2019-02-02ipoe: dhcpv4: add wins1/wins2 config options supportVladislav Grishenko
2019-02-02ipoe: dhcpv4: fix dhcp reply with dns1 unset, dns2 setVladislav Grishenko
2019-02-02ipoe: dhcpv4: group radius array attrs into one dhcp optionVladislav Grishenko
2019-01-27ipoe: fix start=up not work if set not per-interfaceDmitriyEshenko
2019-01-23ipoe: log invalid start values and fix dist configVladislav Grishenko
2019-01-22shaper: small fix for previous commitDmitry Kozlov
2019-01-21shaper: ignore radius CoA request if shaper attributes are absentDmitry Kozlov
2019-01-21Merge pull request #65 from themiron/sstpxebd
sstp: fix proxy-protocol-v2 sanity checks
2019-01-19sstp: fix proxy-protocol-v2 sanity checksVladislav Grishenko
2019-01-19ipoe/vlan_mon: add check for already loaded moduleVladislav Grishenko
2019-01-19ipoe/cli: fix build warningsVladislav Grishenko
2018-12-20ipoe: stricter route deletionGuillaume Nault
Rework the conditionals to make __ipoe_session_activate() and ipoe_session_finished() follow the same logic: * Drop the second '!serv->opt_ifcfg' test in __ipoe_session_activate(), which is is already checked by the parent conditional. * Invert the order of the tests in ipoe_session_finished(), so that it uses the same conditions as __ipoe_session_activate(). Finally, set the 'src' parameter in iproute_del(), so that we can be sure that the deleted route matches the one added by __ipoe_session_activate(). Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2018-12-20iputils: remove unnecessary NLM_F_ACKGuillaume Nault
Using NLM_F_ACK in these functions is confusing because they don't parse any netlink response. In fact, NLM_F_ACK is only required internally by rtnl_talk(), which already adds it when its 'answer' parameter is NULL. Therefore it's useless to manually set it in functions that don't set 'answer'. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2018-12-20iputils: remove NLM_F_CREATE flag from ip6{route,addr}_del()Guillaume Nault
These are deletion requests. NLM_F_CREATE is confusing for readers and ignored by kernel. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2018-12-20iputils: always set scope to RT_SCOPE_UNIVERSE in ip6route_{add,del}()Guillaume Nault
No need to be clever here. All IPv6 routes have global scope (kernel ignores rtm_scope for IPv6 and always reports RT_SCOPE_UNIVERSE when dumping such routes). Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2018-12-20iputils: set scope depending on gateway in iproute_{add,del}()Guillaume Nault
From a logical point of view, we have link scope if no gateway is present, and global scope otherwise. Therefore it makes more sense to set rtm_scope depending on 'gw' rather than on 'ifindex'. Currently, callers of iproute_add() and iproute_del() either set 'ifindex' or 'gw', but never both. So even if confusing, the current code results in right scope selection. However one can't figure this out without analysing every caller. We should set rtm_scope based on the presence of the gateway instead. Given the current code base, that doesn't change the end result, but that better maches the scope concept. Also, that's the way iproute2 does its selection. Furthermore, it'd be perfectly valid to have both 'iface' and 'gw' set. In that case, scope should be RT_SCOPE_UNIVERSE instead of RT_SCOPE_LINK. Basing scope selection on 'gw' makes this case work correctly. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2018-12-20radius: specify gateway in iproute_del()Guillaume Nault
Be more specific about which route we want to remove. By not specifying the gateway we could remove a different route than the one we originally inserted. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2018-12-20iputils: add 'src' and 'gw' parameters to iproute_del()Guillaume Nault
Rework iproute_del() to have the same parameters as iproute_add(). This will allow callers to specify more precisely the route they want to delete. Callers will later be converted to make use of these parameters to ensure that the removed route precisely matches the one that was originaly inserted. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2018-12-08iprange: rework range parsing using u_parse_*() functionsGuillaume Nault
Now that we have primitives for parsing IPv4 ranges, let's use them to simplify parse_iprange(). Try u_parse_ip4cidr() first. In case of failure, try u_parse_ip4range(). If any of them succeeds, verify that there aren't spurious data following the range definition. If everything is valid, either load the range or disable the module (if the range is 0.0.0.0/0). The diff is a bit ugly, but the implementation should be much clearer. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>