Library pppoe

A minimalistic PPPoE (Point-to-point protocol over Ethernet) library, implementing basic support for PPPoE Discovery and Configuration requests. The PPPoE protocol is ethernet based and hence does not use any IPs or port numbers.

The library contains a number of classes to support packet creation, parsing and sending/receiving responses. The classes are: o LCP - Contains classes to build and parse PPPoE LCP requests and responses.

o PPPoE - Contains classes to build and parse PPPoE requests and responses.

o Comm - Contains some basic functions for sending and receiving LCP and PPPoE requests and responses.

o Helper- The Helper class serves as the main interface between scripts and the library.

Author:

  • Patrik Karlsson <patrik@cqure.net>

Source: https://svn.nmap.org/nmap/nselib/pppoe.lua