-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Max Connections on incoming interface (vlan) - ppppoe #36
base: master
Are you sure you want to change the base?
Conversation
This commit add a new collum to show-sessions, allowing see from what interface/vlan the connection has been estabilhed
On interface at ppppoe section you can add this: interface=eth0.10,max_connections=10 This will limit this interface at 10 clients, discarding new padi If you set to 0, the interface will no accept new connections If you set to -1, there will be no limit ( default )
add new command to set interface max_connection limit on the fly pppoe interface limit <ifname> max_connections
Allow to specify max connections allowed on a interface. Or adjust via cli with |
@xebd Could you take look at this? It is useful for managing PPPOE sessions |
+1 |
You can limit session count using pado-delay (-1 value for specific count) |
is it possible on per interface ? |
Dear @alexmontoanelli, Can you open a PR at "good" place: Thanks in advance. |
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