pppoesk 1.0a reviewDownload
pppoesk is a PPPoE session killer. pppoesk is a small C program which goal is to terminate a bogus PPPoE session in an automatic w
pppoesk is a PPPoE session killer.
pppoesk is a small C program which goal is to terminate a bogus PPPoE session in an automatic way.
A PPPoE session is established this way :rfc2516
your network device send a PADI packet (PPPoE Active Discovery Initiation)
answer from one or several access concentrator with a PADO packet (PPPoE Active Discovery Offer)
selection of the concentrator with a PADR packet (PPPoE Active Discovery Request)
acknowledgement by the choosen concentrator with a PADS packet(PPPoE Active Discovery Session-confirmation) then a session's specific ID is created.
Now the connection is established and is uniquely identified by the 3 following parameters :
MAC address of the access concentrator
MAC addressof your network device
Terminate the session is possible at PPP layer or at PPPoE layer with a PADT packet, which must be send to the access concentrator.
How pppoesk works
A PPPoE PADT (Terminate) packet is forged with session's parameters :
MAC address client side
MAC address ISP side
then send the packet to close the session on the ISP's concentrator access
It's also possible to use the pppoe command with -p -e parameters like described in the manual page :
-k Causes pppoe to terminate an existing session by sending a PADT
frame, and then exit. You must use the -e option in conjunction
with this option to specify the session to kill. This may be
useful for killing sessions when a buggy peer does not realize
the session has ended
But you need to get MAC adresses and session ID (help to logs or tcpdump) then use them adequately with pppoe command :
pppoesk does this in an automatic way :
sniff traffic on ethernet interface connected to the DSL modem
search for MAC addresses and session ID
forge PPPoE PADT packet
send the packet
What's New in This Release:
Missing files in the archive were fixed.
pppoesk 1.0a keywords