summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/ipoe
AgeCommit message (Collapse)Author
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-28ipoe: implemented "L4 redirect on reject" for DHCP sessionsDmitry Kozlov
If authentication rejects session, but l4-redirect-on-reject is specified in config then temporary session will be created and l4 redirect rule will be applied to IP of that session. Session will be terminated after specified number of seconds. Also if l4-redirect-ip-pool option is specified then IP will be allocated from that special pool.
2014-10-27ipoe: implemented handling relayed DHCP clientsDmitry Kozlov
2014-10-20ipoe: handle dhcp requests in session context if existsDmitry Kozlov
2014-10-17ipoe: initialize before_switch function for server contextsDmitry Kozlov
2014-10-08ipoe: fixed handling of mac address changeDmitry Kozlov
2014-09-20rewrite of authentication/accounting proceduresDmitry Kozlov
This patch gets rid of synchronuos style of authentication/accounting. Synchronous style of authentication/accounting produced sleeping threads which becomes a problem when lots of sessions started/stopped and all they want authorization/accounting.
2014-09-04ipoe: send option 82 from DHCP request to radiusDmitry Kozlov
To enable this specify attr-opt82 option in [ipoe] section. Attribute must be octet type.
2014-08-26ipoe: introduced attr-dhcp-lease-time option to specify radius attribute to ↵Dmitry Kozlov
pass dhcp lease time (attribute must be integer)
2014-08-26ipoe: implemneted proxy-arp=3 mode (always reply by interface mac address)Dmitry Kozlov
2014-08-25ipoe: add route to interface in mode "start=up,shared=0"Dmitry Kozlov
2014-07-24radius: exit from active interim request when termination event occuresDmitry Kozlov
2014-07-17ipoe: fixed passing packets in 'redirect on reject' modeDmitry Kozlov
2014-07-17improved 'single session' mechanismDmitry Kozlov
2014-06-27ipoe: improved vlan monitorDmitry Kozlov
Previous version used linear list of vlan monitor enabled interfaces, this caused huge overhead in packet receive path because for each received packet it performed search on linear list to check if vlan monitor is enabled on input device. Current version binds internal structure to net_device->ml_priv so search is not performed more.
2014-06-03Merge branch 'master' of ssh://git.code.sf.net/p/accel-ppp/codeDmitry Kozlov
2014-06-03make IPv4 address to string conversions endian friendlyDmitry Kozlov
2014-05-28ipoe: dhcp: fixed incorrect parsing empty optionsDmitry Kozlov
2014-05-26ipoe: introduced "ip-unnumbered" optionDmitry Kozlov
Before this time accel-ppp always worked in "ip unnumbered" mode. This option may turn this mode off (default is on)
2014-05-26ipoe: send NAK after number of unreplied REQUESTsDmitry Kozlov
After introduction offer-delay accel-ppp stopped to answer NAK for REQUESTs if requested session is not existing to give chance other servers to reply. But this causes that some broken clients enter to infinite REQUEST loop. This patch corrects this issue, so if offer-delay is not configured (means that this is only server in the net) or after receiving few REQUESTs accel-ppp send NAK for non-existing sessions.
2014-05-20ipoe: set initial session interface name to parent interface name (for ↵Dmitry Kozlov
logging purpose)
2014-05-20ipoe: add messages to know parent interface when creating vlan or virtual ↵Dmitry Kozlov
interface
2014-05-18ipoe: use ifindex as connlimit key for non-shared interfacesDmitry Kozlov
2014-05-18improved single-session=replace handlingDmitry Kozlov
Wait for previous session completely terminated before continuing authorization new session.
2014-05-12triton: improved epoll events handlingDmitry Kozlov
2014-04-29ipoe: limit only DHCPDISCOVER by connlimitDmitry Kozlov
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2014-04-29ipoe: add support for connlimit moduleDmitry Kozlov
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2014-04-29ipoe: implemented per-interface username optionDmitry Kozlov
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2014-04-11ipoe: early allocate interface for shared vlans (prevents different values ↵Dmitry Kozlov
of NAS-Port in Access-Request and Account-Request) Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2014-04-11ipoe:lua: update thread-specific value when updating L (fixes segfault)Dmitry Kozlov
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2014-02-07ipoe: fixed session lookup without option 82 (continue)Dmitry Kozlov
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2014-02-07ipoe: fixed session lookup without option 82Dmitry Kozlov
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2013-12-12ipoe: fixed parsing 'range' optionDmitry Kozlov
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2013-10-30Merge branch 'master' of ssh://git.code.sf.net/p/accel-ppp/codeDmitry Kozlov
2013-10-30ipoe: implemented source/local address detection for up sessionsDmitry Kozlov
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2013-10-30ipoe: check for assigned ipv4 address has owner before put it (fixes sigsegv)Dmitry Kozlov
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2013-10-29ipoe: introduce 'vlan-name' option.Dmitry Kozlov
This new option is pattern for naming newly created vlans. Pattern may contain following macros: %I - name of parent interface %N - number of vlan By default vlan-name=%I.%N Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2013-10-24ipoe: update xid of sessionDmitry Kozlov
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2013-10-14ipoe: add missing put of allocated ipv4 addressDmitry Kozlov
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2013-10-13ipoe: add missing local IP address assignmentDmitry Kozlov
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2013-10-10Merge branch 'master' of ssh://git.code.sf.net/p/accel-ppp/codeDmitry Kozlov
2013-10-10ipoe: optimize use of raw socketsDmitry Kozlov
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2013-10-03Introduce per-ctrl 'ip-pool' option to be used as default IP pool name which ↵Dmitry Kozlov
may be overrided by radius Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2013-10-02ipoe: intoduced 'password' option to control password generationDmitry Kozlov
2013-10-02ipoe: make it possible to use 'username=ifname' for UP sessionsDmitry Kozlov
2013-10-02ipoe: lua: check for session is dhcpDmitry Kozlov
2013-09-16ipoe: use proper address for L4-redirectDmitry Kozlov
2013-09-09ipoe: fixed sigsegv when interface is without additional optionsDmitry Kozlov
2013-09-06ipoe: send broadcast DHCP packets if BROADCAST flag is setDmitry Kozlov
2013-09-06ipoe: various fixes in relay operationDmitry Kozlov