Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-05-31 | ipoe: use lua function to generate username for UP sessions too | Dmitry Kozlov | |
2018-05-31 | ipoe: lua: introduced hwaddr field to session object | Dmitry Kozlov | |
example function to use mac address as username: function username(ses) return ses:hwaddr() end | |||
2018-05-28 | ipoe: do not bring interface down on session termination in shared=0 mode | Dmitry Kozlov | |
2018-05-25 | ipoe: introduced ip-unnumbered per-interface option | Dmitry Kozlov | |
2018-05-25 | ipoe: do not remove address on session finish if ifcfg=1 | Dmitry Kozlov | |
2018-05-25 | ipoe: small fix for previous commit | Dmitry Kozlov | |
2018-05-25 | ipoe: improved mac change detection | Dmitry Kozlov | |
2018-05-25 | ipoe: do not wait packet from ipoe kernel module in "shared=0,start=up" mode | Dmitry Kozlov | |
ipoe: pass mask to ifcfg in ip unnumbered mode | |||
2018-04-03 | ipoe: assign default values to verbose and unit-cache if not specified on ↵ | Dmitry Kozlov | |
config reload | |||
2018-03-04 | fix possible null pointer dereferences | Vladislav Grishenko | |
2018-02-21 | radius: add support for route priority (metric) in Framed-Route | Guillaume Nault | |
Let an optional route priority (aka metric) be defined in RADIUS Framed-Route attributes. The priority is an integer placed at the end of the route string. This is backward compatible with the previous format and also conforms with the recommended format defined by RFC 2865 (although we don't allow multiple metrics). Framed-Route format is: <network> [<gateway> [<priority>]] For example, 'Framed-Route = "192.0.2.0/24 203.0.113.1 8"' will let the following route be installed (assuming 203.0.113.1 is routed through eth0): $ ip route show [...] 192.0.2.0/24 via 203.0.113.1 dev eth0 metric 8 It's possible to use the unspecified gateway (0.0.0.0) if one wants to set a priority without specifying a gateway address. Finally, route deletion now also takes the priority into account, in order to avoid removing a different route accidentally. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> | |||
2018-01-25 | ipoe: use DHCP-Server-Identifier attribute as siaddr if ↵ | Dmitry Kozlov | |
DHCP-Server-IP-Address is not supplied | |||
2018-01-25 | ipoe: improved handling of DHCP Request for nonexistent sessions | Dmitry Kozlov | |
Send NAK only to unicast requests or if requested Server-ID matches one of gw-ip-address | |||
2018-01-22 | ipoe: ipv6: generate intf_id only if not set by upper layer | Dmitry Kozlov | |
2018-01-09 | ipoe: do not create ipoe interface with server's ifindex | Dmitry Kozlov | |
2018-01-05 | ipoe: implemented ipv6 in shared mode | Dmitry Kozlov | |
2017-12-28 | ipoe: check noauth option in [auth] section too | Dmitry Kozlov | |
2017-12-27 | ipoe: include server's mac into weight notify packet to be used as ↵ | Dmitry Kozlov | |
additional key when weights are equal | |||
2017-12-27 | ipoe: implemented new load balancing mechanism | Dmitry Kozlov | |
new config options: [ipoe] weight=N - global weight interface=ethX,weight=N - per-interface weight How it works: On reception of DHCPDISCOVER accel-ppp sends broadcast DHCP message to port 67 with same xid and add special vendor-specific option where encodes its current session count multipled by weight. On reception of such message accel-ppp searches session with same xid and compares weight. If received weight is less than session's weight then it terminates this session. per-interface weight=0 has special meaning as backup (fail-over) interface, f.e. it terminates session on any received weight. By default weight based load balancing is disabled. To enable need to specify global or/and per-interface weight. | |||
2017-12-19 | ipoe: arp: do not reply on requests from 0.0.0.0 | Dmitry Kozlov | |
2017-12-19 | ipoe: fixed memory leak | Dmitry Kozlov | |
2017-12-05 | ipoe: fixed mutex deadlock | Dmitry Kozlov | |
2017-12-01 | ipoe: check connlimit for UP sessions | Dmitry Kozlov | |
2017-11-29 | ipoe: fixed handling DHCP vendor-specific attributes | Dmitry Kozlov | |
2017-10-25 | ipoe: fixed bug | Dmitry Kozlov | |
Assign opt82_ses=ses if shared=0 | |||
2017-10-13 | improved lua support | 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. | |||
2017-10-09 | ipoe: more verbose netlink errors | Dmitry Kozlov | |
2017-09-25 | ipoe: introduced interface option mtu=N | Dmitry Kozlov | |
2017-08-08 | ipoe: add client ip (second ip) as route when nat=1 (make quagga happy) | Dmitry Kozlov | |
2017-05-08 | ipoe: implemented support for vendor specific attrbiutes | Dmitry Kozlov | |
introduced new config option: [ipoe] vendor=Name this affects to all attributes specified in attr-xxx options | |||
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 88a908974b0b2e9c7eee8ad9a8b0b4432e95d167. | |||
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 | 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 | 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-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) |