Skip to content

enhancment of PPPoED class #1496

@lidllohntsich

Description

@lidllohntsich

Scapy does not support proper handling of PPPoE tags, neither setting nor desecting is
supported. Instead hex data has to be used. (PPPoE tags are handled as raw data)

I tried to enhance the class PPPoED() in scapy.layers.ppp.py at least for the PPPoE tags
'Service Name' and 'Host Unique'. Unfortunately it's not fully working. (see attached
PADI.txt)
PADI.txt

Neither the 'Service Name' nor the 'Host Unique' classes are handled correctly. (i tried to use the same mechanism which is already used in the IPCP option handling). But the respective classes are not detected properly.

It would great if you could help me to make it work. (updated in attachement)

ppp.py.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions