xebd / accel-ppp

High performance PPTP/L2TP/PPPoE/IPoE server for Linux
GNU General Public License v2.0
296 stars 108 forks source link

Max Connections on incoming interface (vlan) - ppppoe #36

Open alexmontoanelli opened 6 years ago

alexmontoanelli commented 6 years ago

show sessions ifname | origin | username | calling-sid | ip | ip6 | ip6-dp | state | uptime
--------+--------+----------+-------------------+-------------+-----------------+-------------+--------+---------- ppp0 | wlp4s0 | | 00:0c:42:af:8b:bf | 192.168.3.1 | fc00:0:1::17/64 | fc00:1::/48 | active | 00:08:41

alexmontoanelli commented 6 years ago

Allow to specify max connections allowed on a interface. We can put max-connections=10 on interface section of pppoe module,

Or adjust via cli with pppoe interface limit

gustavoghpf commented 5 years ago

@xebd Could you take look at this? It is useful for managing PPPOE sessions

hashbangtech commented 4 years ago

+1

svlobanov commented 4 years ago

You can limit session count using pado-delay (-1 value for specific count)

hashbangtech commented 4 years ago

You can limit session count using pado-delay (-1 value for specific count)

is it possible on per interface ? thnx