• RAW socket ETH_P_PPP_SES (0x8864)

    From Mokhtar BEN MESSAOUD@1:0/0 to All on Sun Sep 29 19:46:50 2013
    Hi

    I need to detect pppoe session packet ( 0x8864)

    I define a raw socket : socket(AF_PACKET, SOCK_RAW, htons(ETH_P_PPP_SES))

    but noting is received !!

    I receive all packet including pppoe session packet when I use socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL))

    How to filter using protocol parameter in socket system call ?

    Any comment is welcome

    --- MBSE BBS v1.0.0 (GNU/Linux-i386)
    * Origin: The Kofo System II BBS telnet://fido2.kofobb