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

    Packet capture doesn't work when specifying port

    pfSense Packages
    3
    6
    2.4k
    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.
    • D
      deejay2
      last edited by

      On 1.2.3 embedded, whenever I set a port (say 5060) with any interface other than WAN, I get this result:

      conf_mount_ro();

      instead of packets…

      I think it works once on WAN interface, but then, I must remove the port filter to be able to capture any more packets... Otherwise, I have to reboot.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Did you install the package to fix packet captures on embedded? It was broken at release time.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • D
          deejay2
          last edited by

          yes I already installed the fix.

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            I committed an updated version of the package. Since it's a patch package, it can't really be uninstalled though.

            If you switch to the alternate nanobsd slice or run a firmware update to the same version you're on now, it should reinstall the package properly.

            Or you could just hand edit the file and move that conf_mount_ro(); line down so it's after

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • E
              EddieA
              last edited by

              After updating to the new version of this, I noticed these in the log:

              Aug 21 13:05:58 	php: /pkg_mgr_install.php: Beginning package installation for Packet Capture Fix.
              Aug 21 13:05:56 	php: /pkg_mgr_install.php: XML error: not well-formed (invalid token) at line 1
              Aug 21 13:05:56 	php: /pkg_mgr_install.php: cd /var/db/pkg && pkg_delete ls | grep Packet Capture Fix
              Aug 21 13:05:56 	php: /pkg_mgr_install.php: cd /var/db/pkg && pkg_delete ls | grep
              Aug 21 13:05:56 	php: /pkg_mgr_install.php: XML error: not well-formed (invalid token) at line 1
              

              Not sure if it's an issue, or not.

              The capture appears to work though.

              Cheers.

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                I wouldn't worry about it too much. The package's xml passes lint, so it seems OK for me. If the fixed worked, it's probably fine.

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

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