- 05 12月, 2017 1 次提交
-
-
由 Vladislav Grishenko 提交于
-
- 01 12月, 2017 1 次提交
-
-
由 Dmitry Kozlov 提交于
-
- 29 11月, 2017 1 次提交
-
-
由 Dmitry Kozlov 提交于
-
- 25 10月, 2017 1 次提交
-
-
由 Dmitry Kozlov 提交于
Assign opt82_ses=ses if shared=0
-
- 23 10月, 2017 1 次提交
-
-
由 Dmitry Kozlov 提交于
-
- 18 10月, 2017 2 次提交
-
-
由 Dmitry Kozlov 提交于
to get radius object use session:module("radius") function radius object provides flollowing functions: radius:attrs() - returns array of attributes {"name" = NAME, "vendor" = VENDOR|nil} radius:attr(name[,vendor]) - returns value of attribute (may return multiple results) Example: function ip_up(ses) rad = ses:module("radius") attrs = rad:attrs() if attrs then print("attrs:") for _,a in pairs(attrs) do io.write("\t") if a.vendor then io.write(a.vendor..":") end io.write(a.name.."=") print(rad:attr(a.name, a.vendor)) end end end
-
由 Dmitry Kozlov 提交于
to access module specific object introduced new function session:module(NAME)
-
- 16 10月, 2017 6 次提交
-
-
-
由 Dmitry Kozlov 提交于
session object consists of following functions: ifname() - interface name ifindex() - interface ifindex sid() - Acct-Session-ID uptime() - session uptime in seconds username() ctrl_type() - type of session (pppt/pppoe/l2tp/ipoe) calling_sid() - Calling-Station-ID called_sid() - Called-Station-ID ipv4() - retuns pair (peer address, local address) ipv6() - ipv6 address or nil rx_bytes() tx_bytes()
-
由 Dmitry Kozlov 提交于
-
-
由 Dmitry Kozlov 提交于
-
由 Dmitry Kozlov 提交于
-
- 14 10月, 2017 2 次提交
-
-
由 Dmitry Kozlov 提交于
Implemented support for lua 5.2/5.3. To build accel-ppp with exact lua version pass it in -DLUA=x.y, for example -DLUA=5.2 (cmake 3.0 is required for this). Old style -DLUA=TRUE supports only 5.1 and does not require cmake 3.0. Also extra lua modules (lua_lpack, lua_bit) took out into separated library luasupp.
-
由 Dmitry Kozlov 提交于
-
- 12 10月, 2017 3 次提交
-
-
由 Dmitry Kozlov 提交于
[ppppd-compat] fork-limit=N Specifies number of simultaneously running background processes.
-
由 Dmitry 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.
-
由 Dmitry Kozlov 提交于
implemented coinfig reload changed default value of ip-xxx scripts to be NULL (disabled)
-
- 09 10月, 2017 4 次提交
-
-
由 Dmitry 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.
-
由 Dmitry 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.
-
由 Dmitry Kozlov 提交于
-
由 Dmitry Kozlov 提交于
-
- 25 9月, 2017 3 次提交
-
-
由 Dmitry Kozlov 提交于
-
由 Dmitry Kozlov 提交于
-
由 Dmitry Kozlov 提交于
-
- 21 8月, 2017 1 次提交
-
-
由 Dmitry Kozlov 提交于
-
- 09 8月, 2017 1 次提交
-
-
由 Dmitry Kozlov 提交于
-
- 08 8月, 2017 3 次提交
-
-
由 Dmitry Kozlov 提交于
-
由 xebd 提交于
fix: connection problem with clients having nomru option
-
由 Dmitry Kozlov 提交于
-
- 27 7月, 2017 1 次提交
-
-
由 rabhis 提交于
Fixed problem while connecting with clients in which mru not negotiating lcp option is set
-
- 13 7月, 2017 1 次提交
-
-
由 Dmitry Kozlov 提交于
-
- 04 7月, 2017 1 次提交
-
-
由 Dmitry Kozlov 提交于
-
- 09 5月, 2017 1 次提交
-
-
由 Dmitry Kozlov 提交于
introduced new config option: [ipoe] vendor=Name this affects to all attributes specified in attr-xxx options
-
- 19 4月, 2017 4 次提交
-
-
由 Dmitry 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.
-
由 Dmitry Kozlov 提交于
This reverts commit 88a90897.
-
由 Dmitry 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.
-
由 Dmitry Kozlov 提交于
This reverts commit 9ea88bac.
-
- 18 4月, 2017 2 次提交
-
-
由 Dmitry Kozlov 提交于
this is related only for htb
-
由 Dmitry 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.
-