Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-05-25 | ifcfg: assign address using ipaddr_add_peer instead SIOCSIFADDR/SIOCSIFDSTADDR | Dmitry Kozlov | |
2018-04-21 | shaper: "change" command: consider value to be in simple format | Dmitry Kozlov | |
2018-04-19 | sstp: fix connection drop with global mppe=required option | Vladislav Grishenko | |
2018-04-19 | sstp: fix coexistance of host-name= & port= options | Vladislav Grishenko | |
2018-04-12 | radius: initialize rad_attr_t::raw field on newly inserted attributes | Dmitry Kozlov | |
2018-04-06 | radius: allow CoA/DM by single username attribute | Dmitry Kozlov | |
2018-04-03 | ipoe: assign default values to verbose and unit-cache if not specified on ↵ | Dmitry Kozlov | |
config reload | |||
2018-04-03 | ppp: move call connect_ppp_channel to appropriate place (when noauth=1) | Dmitry Kozlov | |
2018-03-24 | auth: fix re-authentication of peer in all chap modules | Guillaume Nault | |
If the peer re-authenticates (because of option conf_interval) and pwdb calls auth_result(), we may add the interval timer again to the session context. This crashes accel-ppp when deleting the session, because the interval timer is removed only once and the superfluous timers are still running. Therefore, when removing the context, triton detects this issue and calls abort(). To fix this, we need to detect if the session is already started and just send a CHAP Success message in this case. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> | |||
2018-03-24 | auth: avoid sending duplicate CHAP Failure messages in mschap-v1 and mschap-v2 | Guillaume Nault | |
When pwdb returns PWDB_NO_IMPL and chap_recv_response() performs the authentication itself, it delegates this task to chap_check_response(). This function sends a CHAP Failure message if it can't retrieve the password, but not in case of password mismatch. Since chap_recv_response() already sends a CHAP Failure message on error, the one sent by chap_check_response() is useless. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> | |||
2018-03-24 | auth: fix missing CHAP Success message in chap-md5 | Guillaume Nault | |
When pwdb returns PWDB_NO_IMPL, then chap_recv_response() tries to authenticate the peer itself. If this authentication succeeds but the session is already started (in case of re-authentication, with option conf_interval), no CHAP Success is sent. This patch sends the missing CHAP Success message in this case, so that the peer knows that its response has been received and accepted, and that no retransmission is required. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> | |||
2018-03-06 | terminate program gracefully by SIGINT | Dmitry Kozlov | |
2018-03-06 | Merge pull request #43 from themiron/sstp | xebd | |
sstp: ipv6/unix sock & proxy protocol support | |||
2018-03-06 | triton: prevent alloc_context function to be inlined (fixes improper stack ↵ | Dmitry Kozlov | |
size calculation) | |||
2018-03-06 | pppoe: fixed invalid behaviour after changing pado-delay | Dmitry Kozlov | |
2018-03-04 | fix build error with VALGRIND defined | Vladislav Grishenko | |
2018-03-04 | fix possible null pointer dereferences | Vladislav Grishenko | |
2018-03-03 | removed accel-dp mentioning from config file | Dmitry Kozlov | |
2018-03-03 | Merge pull request #44 from themiron/alloca-crash | xebd | |
triton: more general fix of thread wake up crash | |||
2018-03-03 | ppp: fix use-after-free in ppp_auth_failed() | Guillaume Nault | |
The 'username' variable can be freed at the beginning of the function. We have to use ppp->ses.username instead. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> | |||
2018-03-03 | pppoe: fixed PADO delaying function | Dmitry Kozlov | |
2018-03-02 | triton: more general fix of thread wake up crash | Vladislav Grishenko | |
after commit 287adbfc205c02eac375f55fb94f13c073faec97 gcc still may reorder alloca() and memset() calls. fix that with volatile access & memory barrier. | |||
2018-02-28 | sstp: http: improve http detection | Vladislav Grishenko | |
no need to wait until timeout for non-http data (i.e https) | |||
2018-02-28 | sstp: http: change method error from 501 to 405 | Vladislav Grishenko | |
2018-02-28 | sstp: fix proxy-protocol support in ssl mode | Vladislav Grishenko | |
2018-02-27 | sstp: allow access to unix socket to anyone | Vladislav Grishenko | |
almost the same as ipv4/ipv6 is accessible by anyone for easier access under multiple proxy effective users. | |||
2018-02-27 | sstp: fix crash with no any accept option specified | Vladislav Grishenko | |
2018-02-27 | sstp: unlink stray unix socket on init/bind error | Vladislav Grishenko | |
2018-02-27 | sstp: implement proxy-protocol 1 & 2 support | Vladislav Grishenko | |
2018-02-27 | sstp: implement ipv6 & unix socket support | Vladislav Grishenko | |
following bind option formats are valid: bind=x.x.x.x bind=2001:db8::1 bind=unix:/var/run/sstp.socket bind=unix:@sstp port option is meaningful for ipv4 and ipv6 only | |||
2018-02-27 | sstp: implement accept list option | Vladislav Grishenko | |
currently the only ssl value is supported | |||
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-02-19 | radius: fixed invalid behaviour when route to radius server is not existing | Dmitry Kozlov | |
2018-02-19 | Merge branch 'master' of github.com:xebd/accel-ppp | Dmitry Kozlov | |
2018-02-15 | Merge pull request #39 from themiron/pptp-max-mtu | xebd | |
pptp: add the ppp-max-mtu option to match l2tp & sstp | |||
2018-02-08 | pptp: add the ppp-max-mtu option to match l2tp & sstp | Vladislav Grishenko | |
2018-02-08 | ipv6: dhcpv6: fix PD linklocal route for ipoe clients | Vladislav Grishenko | |
peer linklocal address can't be negotiated in ipoe mode unlike ppp, so route may lead to nowhere with non-working PD routing as result. so, instead of guessing peer link-local address, use dhcpv6 client src address as the gateway. since dhcpv6 clients are onlink and there's no dhcpv6 relay support (yet), dhcpv6 source would be exactly final linklocal address, no matter ppp or ipoe is in use. fine tune commit abaa43a307fa7a790dd34034c5fd8013dbd0488c | |||
2018-02-05 | pppd_compat: call ip-down even if ip-up is not specified | Dmitry Kozlov | |
2018-01-31 | ppp: fix mtu/mru negotiation in preallocate/unit-cache modes | Vladislav Grishenko | |
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-24 | ppp: fixed bug in ppp_terminate | Dmitry Kozlov | |
2018-01-22 | ipoe: ipv6: generate intf_id only if not set by upper layer | Dmitry Kozlov | |
2018-01-15 | cmake: add error messages if postgresql or snmp libraries not found | Dmitry Kozlov | |
2018-01-13 | Merge branch 'master' of https://github.com/xebd/accel-ppp | Dmitry Kozlov | |
2018-01-13 | updated default config file | Dmitry Kozlov | |
2018-01-13 | cli: show sessions: added uptime-raw columnt to print uptime in seconds | Dmitry Kozlov | |