Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Best way to capture PPPoE control packets

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 1.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      motific
      last edited by

      Under some very specific circumstances, something somewhere drops the PPP session. When I look in the logs I see...

      Jan 11 10:15:16	ppp	24596	[wan_link0] LCP: rec'd Terminate Request #3 (Opened)
      

      and this looks like the ISP end closing the connection to me, not pfSense but I need the evidence before bending some lowly support tech's ear.

      The vdsl bridge is reporting a lot of errors which persist under a range of conditions, but only these specific conditions cause the ppp session to be reset. I need to be able to understand what is the nature of this specific traffic that is leading to an unexpected excrement / fan interface and who is actually dropping the connection.

      To do that I want to packet capture on the interface that the pppoe connection sits on (re0 - yes, I know... realtek) to pull out data and control messaging - but it's not listed in packet capture on the interface.

      Is there a 'best' way to do it, or should I SSH in and do it from there?

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        If you use tcpdump from the command line you can just use re0 directly.

        But you can also assign and enable re0 in the webgui, but leave the IP type as none, and it will be available in the pcap menu.

        Steve

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.