summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/ipoe/ipoe.c
AgeCommit message (Collapse)Author
2015-11-24Merge branch 'master' of /home/dima/Projects/accel-ppp into vlanmonDmitry Kozlov
2015-11-21move parse_vlan_mon function to vlan-mon moduleDmitry Kozlov
2015-11-21split ipoe driver to ipoe and vlan_monDmitry Kozlov
introduced new module "vlan-mon"
2015-11-20ipoe: implemented interface renaming by NAS-Port-IdDmitry Kozlov
2015-11-18ipoe: for vlan name pattern implemented %P argument - VID of parent interfaceDmitry Kozlov
2015-11-18ipoe: do not apply "soft terminate" to UP sessionsDmitry Kozlov
2015-11-18ipoe: fixed detection for exceeding of maximum interface name in ↵Dmitry Kozlov
make_vlan_name function
2015-11-18ipoe: fixed double route insertionDmitry Kozlov
2015-11-18ipoe: add route to client only in L3 modeDmitry Kozlov
2015-11-18ipoe: do not send immediate Accounting Stop in soft terminate modeDmitry Kozlov
2015-11-17ipoe: implemented dhcp option 58Dmitry Kozlov
2015-11-02ipoe: implemented username=ifname for UP sessionsDmitry Kozlov
2015-08-19ipoe: fixed condition to register radius pluginDmitry Kozlov
2015-08-19ipoe: send client IP address in Framed-IP-Address for UP sessionsDmitry Kozlov
2015-08-17ipoe: introduced 'calling-sid' optionDmitry Kozlov
This option specifies value of Calling-Station-Id value. Available options are 'mac' and 'ip'.
2015-07-07fixed check for interface name lengthDmitry Kozlov
2015-07-02ipoe: introduced option "check-mac-change"Dmitry Kozlov
Default behaviour of accel-ppp when it receives DHCP request with same Option 82 but different MAC address is termination of old session (with previous MAC address). This option can turn off such behaviour, so multiple sessions with same Option 82 but different MAC may coesist.
2015-04-20ipoe: changed behavior of agent-remote-id optionDmitry Kozlov
Before this patch if agent-remote-id is not specified in config it get default value "accel-pppd". Now if agent-remote-id is not specified then accel-ppp will not insert his Option 82 into relayed DHCP requests
2015-04-18ipoe: implemneted passing DHCP Option 82 to Radius as two separated attributesDmitry Kozlov
Introducesed 2 new options: [ipoe] attr-dhcp-opt82-remote-id= attr-dhcp-opt82-circuit-id=
2015-04-18ipoe: implemented soft session terminationDmitry Kozlov
Soft termination means that session won't be terminated immediately, but marked as terminated and when client will request for lease renewal it will be NAKed and session will be terminated at this time. By default soft termination is turned off, to enable it introduces new option 'soft-terminate=1'. Also cli command 'terminate <session> hard' terminates session immediatly regardless of 'soft-terminate' option.
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-20ipoe: set Calling-Station-Id to client mac address for UP sessionsDmitry Kozlov
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
2014-12-30ipoe: fixed incorrect timer deletionDmitry Kozlov
2014-12-30ipoe: fixed mask calculation from ipaddr radius attributeDmitry Kozlov
2014-12-04ipoe: send DHCP reply to sessions's dhcp socket if existsDmitry Kozlov
2014-11-22remove trailing whitespacesDmitry Kozlov
2014-11-06release IP addresses before fire EV_SESSION_FINISHED (fixes segfault when ↵Dmitry Kozlov
using IPoE)
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-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-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)