summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl
AgeCommit message (Collapse)Author
2014-01-19pppoe: fix typoDmitry Kozlov
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2014-01-19pppoe: handle TR-101 vs. RFC 4679 incompatibilitiesGuillaume Nault
There are a few inconsistencies between TR-101 and RFC 4679. Since RFC 4679 is only informational, prefer TR-101 in case of incompatibilities and explicitely document this choice. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2014-01-17pppoe: handle IFW-SESSION TR-101 sub-tagGuillaume Nault
This TR-101 sub-tag has no payload. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2014-01-17pppoe: add missing support for some TR-101 sub-tagsGuillaume Nault
These are all 4 bytes integer values, except ACCESS_LOOP_ENCAP which represents three independant values of one byte each. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2014-01-17pppoe: fix TR-101 tag length checkGuillaume Nault
The length field of PPPoE TR-101 sub-tags only takes the payload size into account (as opposed to its RADIUS counterpart that stores the full sub-tag length, including the 2 bytes long header). Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2014-01-17pppoe: fix TR-101 attribute filtering for RADIUS access requestsGuillaume Nault
When a sub-tags is skipped while parsing a TR-101 tag, the ptr variable must be updated to point to the next sub-tag, otherwise the next loop iteration erroneously interprets tag information. While here, fix the range of attribute that mustn't be present in RADIUS access requests (RFC 4679, section 4). Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2014-01-17pppoe: fix Minimum-Data-Rate-Downstream TR101 sub-tag handlingGuillaume Nault
As per TR-101 specifications and RFC 4679, 0x84 is the sub-tag number for Minimum-Data-Rate-Downstream (instead of Maximum-Data-Rate-Upstream). Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2014-01-17pppoe: check for tag format validity in PADR messagesGuillaume Nault
Avoid parsing inconsistent PPPoE tags when handling PADR. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2013-12-24ppp: don't unconditionaly load pppoe/pptp/l2tp modules, fixes false start ↵Vladislav Grishenko
warning if they're running already Signed-off-by: Vladislav Grishenko <themiron@mail.ru>
2013-12-24Revert "ppp: don't unconditionaly load pppoe/pptp/l2tp modules, fixes false ↵Dmitry Kozlov
start warning if they're running already" This reverts commit c4ddc0fe1f402f84b1bb01b9568e2294569d0d15.
2013-12-24ppp: don't unconditionaly load pppoe/pptp/l2tp modules, fixes false start ↵Vladislav Grishenko
warning if they're running already Signed-off-by: Vladislav Grishenko <themiron@mail.ru>
2013-12-12ipoe: fixed parsing 'range' optionDmitry Kozlov
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2013-11-06pppoe: add statistics for filtered packets (mac-filter)Dmitry Kozlov
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2013-11-05pppoe: show 'starting' in statisticsDmitry Kozlov
2013-10-30fix build with internal & tomcrypt crypto librariesDmitry Kozlov
Signed-off-by: Vladislav Grishenko <themiron@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-29l2tp: Don't send Assigned Sesssion ID in ICCNGuillaume Nault
The Assigned Session ID AVP should only be sent in ICRQ, ICRP, OCRQ, OCRP and CDN messages. An LNS receiving an ICCN with Assigned Session ID may reject the message because of this unexpected mandatory AVP. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2013-10-29l2tp: No iprange check for locally created tunnelsGuillaume Nault
There's no need to check for iprange when creating a new tunnel upon administrator's request. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
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-02l2tp: introduce data packet sequencing and reorder timeout supportVladislav Grishenko
Signed-off-by: Vladislav Grishenko <themiron@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
2013-09-05ipoe: various bug fixesDmitry Kozlov
2013-09-05ipoe: send DHCPNAK for DHCPREQUEST without Server-ID if session is not foundDmitry Kozlov
2013-09-05ipoe: delay vlan removingDmitry Kozlov
2013-09-04ipoe: stop virtual interfaces before stopping vlanDmitry Kozlov
2013-09-03ipoe: do proper loggin of interface optionsDmitry Kozlov
2013-09-02ipoe: another fix for race during receiving relay replyDmitry Kozlov
2013-09-01ipoe: implemented vlan monitorDmitry Kozlov
2013-08-31ipoe: fixed race during receiving relay replyDmitry Kozlov
2013-08-30ipoe: fixed race during session activationKozlov Dmitry
2013-08-28ipoe: add ipset support for l4 redirectKozlov Dmitry
2013-08-22ipoe: implemented offer delayingDmitry Kozlov
2013-07-31ipoe: use router option from upper dhcp replyDmitry Kozlov
2013-07-26ipoe: turn off kernel-mode proxy-arp on interfaces if proxy-arp=1|2Kozlov Dmitry
2013-07-26Merge branch 'master' of ssh://git.code.sf.net/p/accel-ppp/codeKozlov Dmitry
2013-07-26ipoe: fixed route deletion (pass proper proto)Kozlov Dmitry