CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2026/11/26 15:34:18

Modified files:
        sys/net        : if_pppoe.c 

Log message:
pppoe(4): match peer MAC address in session lookups

Per RFC 2516, a PPPoE session is identified by its session ID and both
Ethernet endpoint addresses. Require sc_dest to match the packets source
MAC in pppoe_find_softc_by_session() and pppoe_smr_find_by_session() to
prevent session hijacking, forged LCP termination, and session ID
collisions on a shared segment.

Reported by Acts1631, who also provided a reproducer, and this diff.

OK gnezdo@, dlg@

Reply via email to