Age | Commit message (Collapse) | Author |
|
accept-any-service to provide backward compatibility with old accel-ppp
|
|
|
|
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>
|
|
|
|
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
|
|
|
|
|
|
|
|
Move warning messages to PPTP and L2TP modules. No other module
actually uses iprange, so it's perfectly valid to disable it, or at
least to not configure any range, when PPTP and L2TP aren't used.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
|
|
|
|
|
|
|
|
This reverts commit fc098b3062badfd802f91241533069cad4886b6f.
|
|
|
|
|
|
|
|
soft" is active
|
|
|
|
|
|
|
|
|
|
|
|
on same interfaces (started by vlan_mon)
|
|
|
|
|
|
|
|
|
|
occurs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
shared=0 interfaces)
|
|
If start=auto is specified then accel-pppd automatically starts session with username = interface name on shared=0 interfaces.
Use it with conjuction vlan_mon. So any packet may start session.
|
|
reload)
|
|
|
|
local-net is used to filter incomming packets which may start UP session
|
|
|
|
|
|
|
|
|
|
condition)
|
|
|
|
|
|
|
|
|