summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-01Merge pull request #50 from themiron/sstpxebd
sstp: allow custom http server response & other fixes
2018-06-01sstp: fix proxy proto v1 over ipv6Vladislav Grishenko
2018-06-01sstp: implement configurable http error response incl. redirectVladislav Grishenko
2018-06-01sstp: http: add verbose response loggingVladislav Grishenko
2018-05-31ipoe: use lua function to generate username for UP sessions tooDmitry Kozlov
2018-05-31ipoe: lua: introduced hwaddr field to session objectDmitry Kozlov
example function to use mac address as username: function username(ses) return ses:hwaddr() end
2018-05-28triton: fixed improper lockingDmitry Kozlov
2018-05-28ipoe: do not bring interface down on session termination in shared=0 modeDmitry Kozlov
2018-05-25man: fixed typoDmitry Kozlov
2018-05-25ipoe: introduced ip-unnumbered per-interface optionDmitry Kozlov
2018-05-25ipoe: do not remove address on session finish if ifcfg=1Dmitry Kozlov
2018-05-25ifcfg: assign p-t-p address if mask=32 and regular address in other casesDmitry Kozlov
2018-05-25ipoe: small fix for previous commitDmitry Kozlov
2018-05-25ipoe: improved mac change detectionDmitry Kozlov
2018-05-25ipoe: do not wait packet from ipoe kernel module in "shared=0,start=up" modeDmitry Kozlov
ipoe: pass mask to ifcfg in ip unnumbered mode
2018-05-25ifcfg: assign address using ipaddr_add_peer instead SIOCSIFADDR/SIOCSIFDSTADDRDmitry Kozlov
2018-04-28move contrib/centos/centos.cmake -> cmake/centos/centos.cmakeDmitry Kozlov
2018-04-21shaper: "change" command: consider value to be in simple formatDmitry Kozlov
2018-04-20Merge pull request #48 from themiron/sstpxebd
sstp: fix mppe, non-standard port and hostname checking issues
2018-04-19sstp: fix connection drop with global mppe=required optionVladislav Grishenko
2018-04-19sstp: fix coexistance of host-name= & port= optionsVladislav Grishenko
2018-04-12radius: initialize rad_attr_t::raw field on newly inserted attributesDmitry Kozlov
2018-04-06radius: allow CoA/DM by single username attributeDmitry Kozlov
2018-04-03ipoe: assign default values to verbose and unit-cache if not specified on ↵Dmitry Kozlov
config reload
2018-04-03ppp: move call connect_ppp_channel to appropriate place (when noauth=1)Dmitry Kozlov
2018-03-24auth: fix re-authentication of peer in all chap modulesGuillaume 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-24auth: avoid sending duplicate CHAP Failure messages in mschap-v1 and mschap-v2Guillaume 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-24auth: fix missing CHAP Success message in chap-md5Guillaume 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-20ipoe_mod: fixed ipv6 from non-shared mode (v2)Dmitry Kozlov
2018-03-20Merge branch 'master' of https://github.com/xebd/accel-pppDmitry Kozlov
2018-03-20Merge pull request #46 from nuclearcat/masterxebd
Compiling fix for 4.15+ kernels
2018-03-20Compiling fix for 4.15+ kernelsDenys Fedoryshchenko
2018-03-19ipoe_mod: fixed ipv6 from non-shared modeDmitry Kozlov
2018-03-14ipoe_mod: accept ipv6 packets from link-local address if session does not existsDmitry Kozlov
2018-03-06terminate program gracefully by SIGINTDmitry Kozlov
2018-03-06Merge pull request #43 from themiron/sstpxebd
sstp: ipv6/unix sock & proxy protocol support
2018-03-06triton: prevent alloc_context function to be inlined (fixes improper stack ↵Dmitry Kozlov
size calculation)
2018-03-06pppoe: fixed invalid behaviour after changing pado-delayDmitry Kozlov
2018-03-06Merge branch 'master' of github.com:xebd/accel-pppDmitry Kozlov
2018-03-04Merge pull request #45 from themiron/cppcheck-fixesxebd
cppcheck fixes
2018-03-04fix build error with VALGRIND definedVladislav Grishenko
2018-03-04fix possible null pointer dereferencesVladislav Grishenko
2018-03-03removed accel-dp mentioning from config fileDmitry Kozlov
2018-03-03Merge pull request #44 from themiron/alloca-crashxebd
triton: more general fix of thread wake up crash
2018-03-03ppp: 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-03pppoe: fixed PADO delaying functionDmitry Kozlov
2018-03-02triton: more general fix of thread wake up crashVladislav Grishenko
after commit 287adbfc205c02eac375f55fb94f13c073faec97 gcc still may reorder alloca() and memset() calls. fix that with volatile access & memory barrier.
2018-02-28sstp: http: improve http detectionVladislav Grishenko
no need to wait until timeout for non-http data (i.e https)
2018-02-28sstp: http: change method error from 501 to 405Vladislav Grishenko
2018-02-28sstp: fix proxy-protocol support in ssl modeVladislav Grishenko