Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-04-18 | implemented session count limiting | 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. | |||
2017-04-18 | Revert "implemented session count limiting" | Dmitry Kozlov | |
This reverts commit 9ea88bac7d5bf8fc5cf2d5f7d0a734ec7a9e6df6. | |||
2017-04-18 | shaper: fixed bug in class id allocation procedure | Dmitry Kozlov | |
this is related only for htb | |||
2017-04-18 | implemented session count limiting | 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. | |||
2017-04-04 | ipoe: included lua bitop library | Dmitry 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-04 | ipoe: implemented ability to change ipset by CoA | Dmitry Kozlov | |
For this need to send 2 attributes: L4-Redirect=1,L4-Redirect-Ipset=new-set | |||
2017-03-28 | Revert "ipoe: fix lua 5.3 support" | Dmitry Kozlov | |
This reverts commit b72efa378b32980f2114bcb8081fafbd93096aa0. | |||
2017-03-27 | ipoe: fixed bug (unexpected session start in UP mode) | Dmitry Kozlov | |
2017-03-27 | ipoe: fix lua 5.3 support | Dmitry Kozlov | |
2017-03-27 | net-snmp: add definition for U64 (if not set) | Dmitry Kozlov | |
2017-03-27 | ipoe: fixed prefix calculation from ipaddr | Dmitry Kozlov | |
2017-02-15 | ipoe: fixed conditions to turn on arp handling | Dmitry Kozlov | |
2016-12-10 | ipoe: implemented support for freeradius dhcp attributes | Dmitry Kozlov | |
2016-12-10 | radius: extended support for freeradius dictionaries | Dmitry Kozlov | |
2016-12-09 | shaper: fixed conditions to install limiter (may install only up or only ↵ | Dmitry Kozlov | |
down limiter) | |||
2016-12-09 | ipoe: assign 2 ptp address to interface for sessions with nat | Dmitry Kozlov | |
2016-12-08 | ipoe: fixed nat support | Dmitry Kozlov | |
2016-12-07 | ipoe: lua: add "vlan" field to session object | Dmitry Kozlov | |
resulting value is vlan | (parent_vlan << 16) | |||
2016-12-06 | ipoe,pppoe: do not check for vlan-mon module is loaded | Dmitry Kozlov | |
2016-11-29 | ipoe: apply offer-delay rules to arp initiated sessions | Dmitry Kozlov | |
2016-11-29 | ipoe: do not start UP session by arp request immediately (wait for IP packet) | Dmitry Kozlov | |
2016-11-29 | ipoe: assign point-to-point addresses to non-shared physical interface ↵ | Dmitry Kozlov | |
(prevents route cleaning by interface renaming) | |||
2016-11-28 | ipoe: swtich netlink context to default net | Dmitry Kozlov | |
2016-11-28 | ipoe: fixed typo (incorrect assignment) | Dmitry Kozlov | |
2016-11-28 | ipoe: bug fix | Dmitry Kozlov | |
2016-11-28 | vlan_mon: switch context to default net | Dmitry Kozlov | |
2016-11-12 | ipoe: add support for peer-to-peer client interfaces | Michael Furmur | |
2016-11-12 | pppd-compat: move computation of tx_bytes and rx_bytes | Guillaume 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> | |||
2016-11-12 | pppd-compat: check available memory before setting environment variables | Guillaume Nault | |
Use snprintf() to ensure fill_env() isn't going to overflow 'mem'. Environment variables are either completely set or not defined at all (but are never truncated). For the ipv6 and ipv6_dp cases, the environment variable is now fully generated with a single format string for simplicity. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> | |||
2016-11-12 | l2tp: fix l2tp_ctx_switch() | Guillaume Nault | |
There are three different triton contexts that use l2tp_ctx_switch() as their ->before_switch callback (main UDP server, L2TP control and L2TP data). In UDP server and L2TP control contexts, l2tp_ctx_switch() is called with 'arg' == NULL. Only L2TP data contexts pass an ap_session pointer. So we have to check 'arg' before setting 'net' or accel-ppp would segfaults. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> | |||
2016-07-19 | ipoe: switch session net | Dmitry Kozlov | |
2016-07-19 | check for setns availability | Dmitry Kozlov | |
2016-07-14 | ppp: code simplification | Dmitry Kozlov | |
2016-07-14 | ppp: fix bug when using unit cache with interfaces in another netns | François Cachereul | |
Signed-off-by: François Cachereul <f.cachereul@alphalink.fr> | |||
2016-07-14 | Revert "ppp: futher improvement of distablish_ppp function" | François Cachereul | |
This reverts commit 07ca3acb40df7668cfd0c6abbdcefc21d944d993. Signed-off-by: François Cachereul <f.cachereul@alphalink.fr> | |||
2016-07-14 | net: code cleanup | Dmitry Kozlov | |
2016-07-14 | fix def_move_link | François Cachereul | |
Do not know how this could work. It make more sense to move an interface from its original namespace not from its destination. Signed-off-by: François Cachereul <f.cachereul@alphalink.fr> | |||
2016-07-11 | implemented support for network namespace | Dmitry Kozlov | |
This is done using radius attribute NAS-Port-Id. The new format of this attribute is NAS-Port-Id=[ns/][name]. Namespaces must be created malually by "ip netns add ..." command | |||
2016-07-09 | removed accel-dp related files | Dmitry Kozlov | |
accel-dp will be continued in separated branch | |||
2016-07-09 | radius: do not execute interface rename immediately, store new name for ↵ | Dmitry Kozlov | |
later use Bacause interface may not still exists in authentication phase | |||
2016-07-09 | ppp: ignore zero read on chan fd | Dmitry Kozlov | |
2016-07-04 | ppp: ignore zero read on unit fd | Dmitry Kozlov | |
2016-06-25 | radius: do not send NAS-Port and NAS-Port-Id if they are undefined | Dmitry Kozlov | |
2016-06-25 | ppp: introduced unit-preallocate option | Dmitry Kozlov | |
If set to 1 then allocate unit (interface) before authorization, so Nas-Port and Nas-Port-Id would be defined in Access-Request phase | |||
2016-06-08 | ipoe: fixed incorrect arp reply (reply for request which started session) | Dmitry Kozlov | |
2016-06-08 | ipoe: fixed incorrect initialization of interface's hwaddr in internal structure | Dmitry Kozlov | |
2016-06-07 | Merge branch 'master' of ssh://git.code.sf.net/p/accel-ppp/code | Dmitry Kozlov | |
2016-06-07 | radius: update Session-Timeout by CoA | Dmitry Kozlov | |
2016-06-02 | radius: initialise ipv6db addresses completely | Guillaume Nault | |
The 'installed' bit of the allocated ipv6db_addr_t structure needs to be initialised. This is because ap_session_ifdown() reads this bit to know if the address or route needs to be removed from the kernel. The 'installed' bit is set by ap_session_accounting_started() and the ND and DHCPV6 protocol handlers, but disconnection could happen before these steps. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> | |||
2016-06-02 | ppp: remove obsolete files | Guillaume Nault | |
This files aren't used (and aren't even compiled) anymore. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> |