summaryrefslogtreecommitdiff
path: root/accel-pppd
AgeCommit message (Collapse)Author
2014-07-17radius: check for reply id is equal request id in interim requestsDmitry Kozlov
2014-07-17ipoe: fixed passing packets in 'redirect on reject' modeDmitry Kozlov
2014-07-17improved 'single session' mechanismDmitry Kozlov
2014-07-11terminate session if interface rename failsDmitry Kozlov
2014-07-11radius: fixed handling socket errors during interim updatesDmitry Kozlov
2014-07-11auth: do not decrement id on retransmitDmitry Kozlov
2014-07-09ppp: auth: answer "Success" to retrasmitted messages if auth layer is ↵Dmitry Kozlov
already started
2014-07-09ipv6_nd: retry to start ND later if bind failedDmitry Kozlov
There is some issue on binding raw ICMPv6 socket immediately after assigning address on 3.14 (and probably later) kernel. This causes ipv6_nd to fail to start. This patch makes ipv6_nd to try to bind later if bind fails.
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-27log_file: block all signals in log threadDmitry Kozlov
With unblocked signals log thread may catch SIGCHLD which causes zombie process.
2014-06-17radius: introduced attr-tunnel-type optionDmitry Kozlov
If specified then accel-ppp will send tunnel type as string (pppoe,pptp,l2tp,ipoe).
2014-06-17auth_mschap,radius: fixed improper passing MS-CHAP-Error, Reply-Message to ↵Dmitry Kozlov
auth modules Passed strings was not nullterminated
2014-06-17log_file: fixed early message freeDmitry Kozlov
2014-06-16log_pgsql: update calls to new triton interfaceDmitry Kozlov
2014-06-16shaper: apply rate multiplier to integer valuesDmitry Kozlov
2014-06-03Merge branch 'master' of ssh://git.code.sf.net/p/accel-ppp/codeDmitry Kozlov
2014-06-03get out of SPINLOCK_INITIALIZER as it is not cross-platform compatibleDmitry 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-20log_file: restore write message timestampsDmitry Kozlov
2014-05-20triton: fix possible raceDmitry Kozlov
2014-05-20ipoe: add messages to know parent interface when creating vlan or virtual ↵Dmitry Kozlov
interface
2014-05-18triton: fix possible raceDmitry Kozlov
2014-05-18ipoe: use ifindex as connlimit key for non-shared interfacesDmitry Kozlov
2014-05-182-way interface renamingDmitry Kozlov
First try to rename interface immediately and if it fails then do second try later just before bring interface up. In case single-session=replace first try to rename interface may fail because first session may be active
2014-05-18Merge branch 'master' of ssh://git.code.sf.net/p/accel-ppp/codeDmitry Kozlov
2014-05-18log_file: rewrited file write procedureDmitry Kozlov
Use separated thread to write messages to file instead of async io. On mips platform async io does not work properly by some reason and may stuck logging
2014-05-18log: append data to previous chunkDmitry Kozlov
Check if there is space in previous chunk and append log data there. This reduces memory usage and message fragmentation
2014-05-18improved single-session=replace handlingDmitry Kozlov
Wait for previous session completely terminated before continuing authorization new session.
2014-05-15triton: close file descriptors immediately in triton_unregister_handlerDmitry Kozlov
2014-05-13radius: introduced weight and backup per-server optionsDmitry Kozlov
New options are applied to server option as server=...[,weight=x][,backup] Weight is used for multi-server configurations (larger weight takes more users). Backup is used to mark backup server f.e. server which will be used only if all other servers are failed.
2014-05-12ippool: introduced shuffle optionDmitry Kozlov
By default list of IP address is serial at startup. This option shuffles initial IP list so it becomes more random.
2014-05-12radius: use NAS-Port-Id in Access-Accept for interface renamingDmitry Kozlov
2014-05-12radius: add support for Nas-Port-Id attribute (interface name)Dmitry Kozlov
2014-05-12pppoe: introduced called-sid option.Dmitry Kozlov
This new option will control how to represent Called-Station-ID. Its value maybe ifname,mac or ifname:mac. By default mac is used to keep compatibility with old versions. Also old option ifname-in-sid is removed from documentation, but is still supported for compatibility.
2014-05-12radius: close socket after receiving accounting replyDmitry Kozlov
2014-05-12radius: release auth request immediatly after get responceDmitry Kozlov
There is no need to keep auth request structure in memory during whole session life time. It wastes memory and file descriptors
2014-05-12triton: improved epoll events handlingDmitry Kozlov
2014-04-30net-snmp: add missing memdebug.h includeDmitry Kozlov
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2014-04-30net-snmp: fiexed improper handling of empty username when requesting session ↵Dmitry Kozlov
table Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
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-29net-snmp: unshare file descriptors namespaceGuillaume Nault
Use unshare(CLONE_FILES) to create a local file descriptors namespace for the SNMP thread. This is similar to what was done in bf5340 'net-snmp: run snmp in "special" thread', but without calling clone() directly. So the net-snmp plugin keeps running in a regular pthread. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2014-04-29Revert "net-snmp: run snmp in "special" thread"Guillaume Nault
This reverts commit bf5340291badcc631bd855bb924593cd445ecd26. snmp_thread() needs to be run as regular thread to allow Valgrind analysis. Using a different namespace for file desciptors will be done later on using unshare(). Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2014-04-24ppp: ipv6: check that ipv6 was not closed in NDDmitry Kozlov
2014-04-14Merge branch 'master' of ssh://git.code.sf.net/p/accel-ppp/codeDmitry Kozlov