summaryrefslogtreecommitdiff
path: root/accel-pppd
AgeCommit message (Collapse)Author
2017-10-16pppd_compat: do not call ip-down if session was not startedDmitry Kozlov
2017-10-12pppd-compat: implemented fork-limitDmitry Kozlov
[ppppd-compat] fork-limit=N Specifies number of simultaneously running background processes.
2017-10-12triton: rewrited context sleeping implementationDmitry Kozlov
Instead of entering working thread into sleep triton saves machine context and stack on sleep and restores context/stack on wakeup. This saves costly new thread allocation.
2017-10-11pppd_compat: various improvemmentsDmitry Kozlov
implemented coinfig reload changed default value of ip-xxx scripts to be NULL (disabled)
2017-10-09radius: split request queue to 2 subqueuesDmitry Kozlov
1 - is high priority queue for Access-Request and Account-Request(Start) 2 - is low priority queue for Account-Request(Alive) and Account-Request(Stop) This patch intended to prioritize sessions connecting requests over disconnects and interim updates.
2017-10-09ppp: changed behaviour of lcp-echo-timeoutDmitry Kozlov
Now, if lcp-echo-timeout is specified this is considered as idle timeout. So if link is idling (no any packet was received) in specified interval accel-ppp starts to send LCP Echo-Request with lcp-echo-interval period. If peer responds to echo request new idle period is being started. If peer does not responds to lcp-echo-failure attempts accel-ppp terminates session with Acct-Terminate-Cause Lost-Carrier. If lcp-echo-timeout is not specified or equals zero accel-ppp works in old behaviour (unconditionally sends LCP Echo-Request with lcp-echo-interval period). This patch intended to prevent unexpected sessions termination due to lcp echo loses.
2017-10-09ipoe: more verbose netlink errorsDmitry Kozlov
2017-10-09ppp_lcp: fixed missing braces (possible bug)Dmitry Kozlov
2017-09-25cli: introduced ip6 and ip6-dp fields in "show sessions" commandDmitry Kozlov
2017-09-25ipoe: introduced interface option mtu=NDmitry Kozlov
2017-09-25libnetlink: added function iplink_set_mtuDmitry Kozlov
2017-08-21dhcpv6: check if prefix_len equals 0, if so do not start dhcpv6 for this ↵Dmitry Kozlov
sessions
2017-08-08Merge branch 'master' of github.com:xebd/accel-pppDmitry Kozlov
2017-08-08ipoe: add client ip (second ip) as route when nat=1 (make quagga happy)Dmitry Kozlov
2017-07-26fix: connection problem with clients having nomru optionrabhis
Fixed problem while connecting with clients in which mru not negotiating lcp option is set
2017-07-13improved SIGSEGV handlerDmitry Kozlov
2017-07-04support for openssl-1.1Dmitry Kozlov
2017-05-08ipoe: implemented support for vendor specific attrbiutesDmitry Kozlov
introduced new config option: [ipoe] vendor=Name this affects to all attributes specified in attr-xxx options
2017-04-18implemented session count limitingDmitry Kozlov
new config option: [common] max-sessions=N If set then accel-pppd stops reply to new connection requests if total number of sessions (active and starting) is reached specified limit.
2017-04-18Revert "implemented session count limiting"Dmitry Kozlov
This reverts commit 88a908974b0b2e9c7eee8ad9a8b0b4432e95d167.
2017-04-18implemented session count limitingDmitry Kozlov
new config option: [common] max-sessions=N If set then accel-pppd stops reply to new connection requests if total number of sessions (active and starting) is reached specified limit.
2017-04-18Revert "implemented session count limiting"Dmitry Kozlov
This reverts commit 9ea88bac7d5bf8fc5cf2d5f7d0a734ec7a9e6df6.
2017-04-18shaper: fixed bug in class id allocation procedureDmitry Kozlov
this is related only for htb
2017-04-18implemented session count limitingDmitry Kozlov
new config option: [common] max-sessions=N If set then accel-pppd stops reply to new connection requests if total number of sessions (active and starting) is reached specified limit.
2017-04-04ipoe: included lua bitop libraryDmitry Kozlov
Included bitop library http://bitop.luajit.org/index.html It may be used to extract vlan components in username function: function username(ses) vid=ses:vlan() svid=bit.rshift(vid,16) cvid=bit.band(vid,0xffff) ... end
2017-04-04ipoe: implemented ability to change ipset by CoADmitry Kozlov
For this need to send 2 attributes: L4-Redirect=1,L4-Redirect-Ipset=new-set
2017-03-28Revert "ipoe: fix lua 5.3 support"Dmitry Kozlov
This reverts commit b72efa378b32980f2114bcb8081fafbd93096aa0.
2017-03-27ipoe: fixed bug (unexpected session start in UP mode)Dmitry Kozlov
2017-03-27ipoe: fix lua 5.3 supportDmitry Kozlov
2017-03-27net-snmp: add definition for U64 (if not set)Dmitry Kozlov
2017-03-27ipoe: fixed prefix calculation from ipaddrDmitry Kozlov
2017-02-15ipoe: fixed conditions to turn on arp handlingDmitry Kozlov
2016-12-10ipoe: implemented support for freeradius dhcp attributesDmitry Kozlov
2016-12-10radius: extended support for freeradius dictionariesDmitry Kozlov
2016-12-09shaper: fixed conditions to install limiter (may install only up or only ↵Dmitry Kozlov
down limiter)
2016-12-09ipoe: assign 2 ptp address to interface for sessions with natDmitry Kozlov
2016-12-08ipoe: fixed nat supportDmitry Kozlov
2016-12-07ipoe: lua: add "vlan" field to session objectDmitry Kozlov
resulting value is vlan | (parent_vlan << 16)
2016-12-06ipoe,pppoe: do not check for vlan-mon module is loadedDmitry Kozlov
2016-11-29ipoe: apply offer-delay rules to arp initiated sessionsDmitry Kozlov
2016-11-29ipoe: do not start UP session by arp request immediately (wait for IP packet)Dmitry Kozlov
2016-11-29ipoe: assign point-to-point addresses to non-shared physical interface ↵Dmitry Kozlov
(prevents route cleaning by interface renaming)
2016-11-28ipoe: swtich netlink context to default netDmitry Kozlov
2016-11-28ipoe: fixed typo (incorrect assignment)Dmitry Kozlov
2016-11-28ipoe: bug fixDmitry Kozlov
2016-11-28vlan_mon: switch context to default netDmitry Kozlov
2016-11-13Bugfix for sending service name tagsroot
2016-11-13Add possibility to specify multiple service names, add option ↵root
accept-any-service to provide backward compatibility with old accel-ppp
2016-11-12ipoe: add support for peer-to-peer client interfacesMichael Furmur
2016-11-12pppd-compat: move computation of tx_bytes and rx_bytesGuillaume Nault
tx_bytes and rx_bytes are only used in the ->stop_time branch, so let's compute them here rather than at the top of the function. Also, let's replace '4294967296llu' by 'UINT32_MAX + 1', to make it clear that a gigaword equals 2^32 bytes and is used to keep track of how many times the 32 bits tx and rx counters have overflowed. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>