summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-22Small IPv6 fixes for PPPCesar Fazan
2015-02-21ipoe: change l4-redirect-ipset/l4-redirect-table by CoADmitry Kozlov
2015-02-21ipoe: for option password implemented special value "csid"Dmitry Kozlov
If password=csid then password will we same as Calling-Station-Id.
2015-02-21ipoe: introduced "idle-timeout" and "session-timeout" optionsDmitry Kozlov
2015-02-21radius: override session's idle and timeout timers values by Idle-Timeout ↵Dmitry Kozlov
and Session-Timeout attributes
2015-02-21session: implemented idle and timeout timersDmitry Kozlov
2015-02-20ipoe: set Calling-Station-Id to client mac address for UP sessionsDmitry Kozlov
2015-02-20ppp: set unit_idx from NAS_Port attribute if presentFrançois Cachereul
Signed-off-by: François Cachereul <f.cachereul@alphalink.fr>
2015-02-20ppp: create ppp units after authenticationFrançois Cachereul
This avaid allocating a ppp unit when authentication failed Split establish_ppp in two functions estabish_ppp and connect_ppp_channel. The fist one connect the channel on an instance of /dev/ppp, allocate channel resources and start first ppp layer. The second functions create ppp unit and connect the channel to this unit. It is called after authentication. destablish_ppp is also split in two function for symmetry and ppp_terminate is adapted to handle the case when the unit is not created. Signed-off-by: François Cachereul <f.cachereul@alphalink.fr>
2015-02-20ppp: set mtu and mru after unit creationFrançois Cachereul
In the following patch PPP unit will be created after MRU negotation. Signed-off-by: François Cachereul <f.cachereul@alphalink.fr>
2015-01-29ipv6: don't send NotOnLink for hint address (f.e. for address in Solicit ↵Dmitry Kozlov
message)
2015-01-28ipoe: fixed bug (v2)Dmitry Kozlov
2015-01-28Revert "ipoe: fixed bug"Dmitry Kozlov
This reverts commit c362f0d1dc4b3feef318233007999db206dc3b1a.
2015-01-28ipoe: fixed bugDmitry Kozlov
2015-01-23ipoe: fixed authentication with chap-secretsDmitry Kozlov
2015-01-13shaper: fixed parsing ecn/noecn for fq_codelDmitry Kozlov
2015-01-09pppoe: check for tag length in print_packet function (fixes sigsegv)Dmitry Kozlov
2014-12-30ipoe: fixed incorrect timer deletionDmitry Kozlov
2014-12-30ipoe: fixed mask calculation from ipaddr radius attributeDmitry Kozlov
2014-12-091.9.0 release1.9Dmitry Kozlov
* radius: major improvments * radius: use NAS-Port-Id in Access-Accept for interface renaming * radius: introduced "weight" and "backup" per-server options * radius: introduced "attr-tunnel-type" option * radius: introduced "max-fail" option * ipoe: introduced "ip-unnumbered" option * ipoe: improved vlan monitor * ipoe: introduced "attr-dhcp-lease-time" option * ipoe: send option 82 from DHCP request to radius * ipoe: fixed passing packets in 'redirect on reject' mode * ipoe: implemented handling relayed DHCP clients * ipoe: implemented "L4 redirect on reject" for DHCP sessions * ipoe: implemneted ability to send L4 redirect table/L4 redirect ipset via radius attributes * pppoe: introduced "called-sid" option * pppoe: improved AC-Cookie mechanism * ippool: introduced "shuffle" option * core: improved "single-session=replace" handling * shaper: apply rate multiplier to integer values * shaper: implemented fq_codel leaf qdisc * shaper: fixed passing quantum parameter to kernel * shaper: introduced "moderate-quantum" option * shaper: introduced "fwmark" option * ipv6: add support for prefixes greater than 64 * ppp: make LCP magic number negotiation not mandatory * ppp: implement address/control and protocol field compression * ppp: implemented delayed unit close via unit cache * pppd_compat: pass IPV6_PREFIX and IPV6_DELEGATED_PREFIX to ip-up/ip-down scripts * cli: introduced verbose option
2014-12-09ipoe: support for kernels 3.16-3.18Dmitry Kozlov
2014-12-04ipoe: send DHCP reply to sessions's dhcp socket if existsDmitry Kozlov
2014-12-01Merge branch 'master' of ssh://git.code.sf.net/p/accel-ppp/codeDmitry Kozlov
2014-12-01ipv6: if assigned prefix is <= 64 add it as address else add it as routeDmitry Kozlov
2014-11-22shaper: fixed parsing rate as single stringDmitry Kozlov
2014-11-22Merge branch 'master' of ssh://git.code.sf.net/p/accel-ppp/codeDmitry Kozlov
2014-11-22remove trailing whitespacesDmitry Kozlov
2014-11-22shaper: fixed installing fw filterDmitry Kozlov
2014-11-21dhcpv6: do not answer to REBIND if client did not get address yetDmitry Kozlov
2014-11-17shaper: simplified parsing Cisco-AVPairDmitry Kozlov
2014-11-17shaper: introduce "fwmark" optionDmitry Kozlov
If specified then fwmark filters will be installed to bypass shaper
2014-11-17triton: lock pending calls list in triton_cancel_call()Guillaume Nault
The pending_calls field of struct _triton_context_t can be concurrently used by other contexts. So it must only be accessed or modified under protection of the context's lock (like in triton_context_call() or ctx_thread()). Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2014-11-17accel-cmd: improve help messageGuillaume Nault
New users typically use the -h or --help parameters to figure out how to use accel-cmd. But this only displays accel-cmd options, so users have no way to learn which accel-ppp commands are available. This patch improves the help message to introduce the "help" command which users can use to learn about other accel-ppp commands. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2014-11-11radius: add missing log_switchDmitry Kozlov
2014-11-10radius: disable read handler when put req into wait queue (fixes race ↵Dmitry Kozlov
conditions)
2014-11-10radius: fixed bugDmitry Kozlov
2014-11-10shaper: fixed passing quantum parameter to kernelDmitry Kozlov
shaper: introduced moderate-quantum option If fixed quantum is not specified and moderate-quantum is specified then shaper module will check for quantum value to be in valid range (1000-200000). This suppresses annoying kernel messages. Remark: quantum is rate/r2q, rate is in bytes/sec.
2014-11-06release IP addresses before fire EV_SESSION_FINISHED (fixes segfault when ↵Dmitry Kozlov
using IPoE)
2014-11-05shaper: set filter priority 100 for ifbDmitry Kozlov
2014-11-05pppd_compat: pass IPV6_PREFIX and IPV6_DELEGATED_PREFIX to ip-up/ip-down scriptsDmitry Kozlov
2014-11-05radius: early ipv6_dp assignmentDmitry Kozlov
2014-11-05ipv6: move ipv6_dp from dhcpv6 private data to ap_sessionDmitry Kozlov
2014-10-29Merge branch 'master' of ssh://git.code.sf.net/p/accel-ppp/codeDmitry Kozlov
2014-10-29ipoe: implemneted ability to send L4 redirect table/L4 redirect ipset via ↵Dmitry Kozlov
radius attributes Introduced following options: attr-l4-redirect-table (type integer) attr-l4-redirect-ipset (type string) Please note, to enable L4 redirect attr-l4-redirect must be specified and sent
2014-10-29radius: fix call to memset on rdp->auth_ctxFrançois Cachereul
The mistake was revealed by gcc 4.9.0 Signed-off-by: François Cachereul <f.cachereul@alphalink.fr> Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2014-10-29ppp: replace ppp_chan_send by ppp_unit_send in ppp_ccp.cFrançois Cachereul
ppp compression is for now only handle on the bundle, thus should not use ppp_chan_send Signed-off-by: François Cachereul <f.cachereul@alphalink.fr> Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2014-10-29ppp: improve establish_ppp() exit on errorFrançois Cachereul
Signed-off-by: François Cachereul <f.cachereul@alphalink.fr> Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2014-10-29ppp: fix indent and remove unnecessary tabs and braces in ppp.cFrançois Cachereul
Signed-off-by: François Cachereul <f.cachereul@alphalink.fr> Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2014-10-29ppp: cleanning of ppp.hFrançois Cachereul
removes no longer used structures and prototypes. Signed-off-by: François Cachereul <f.cachereul@alphalink.fr> Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2014-10-28Merge branch 'master' of ssh://git.code.sf.net/p/accel-ppp/codeDmitry Kozlov