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

Packet capture doesn't work when specifying port

Scheduled Pinned Locked Moved pfSense Packages
6 Posts 3 Posters 2.4k 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.
  • D
    deejay2
    last edited by Jul 12, 2010, 6:45 PM

    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
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Jul 13, 2010, 12:48 PM

      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 Jul 28, 2010, 4:12 PM

        yes I already installed the fix.

        1 Reply Last reply Reply Quote 0
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by Aug 5, 2010, 6:44 PM

          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 Aug 23, 2010, 11:38 AM

            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
            • J
              jimp Rebel Alliance Developer Netgate
              last edited by Aug 23, 2010, 7:06 PM

              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.
                This community forum collects and processes your personal information.
                consent.not_received