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

    Packet Capture with pfsync protocol - Warning: filesize(): stat failed for /root/packetcapture.cap

    Scheduled Pinned Locked Moved 2.5 Development Snapshots (Retired)
    4 Posts 2 Posters 333 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.
    • Raul RamosR
      Raul Ramos
      last edited by Raul Ramos

      Hi,

      Capturing sync interface with pfsync protocol i get the error:

      Warning: filesize(): stat failed for /root/packetcapture.cap in /usr/local/www/diag_packet_capture.php on line 588
      

      Other protocols seems working fine.

      pfSense: .5.0-DEVELOPMENT (amd64) - built on Fri Jan 10 18:23:55 EST 2020

      Thanks,

      pfSense:
      ASRock -> Wolfdale1333-D667 (2GB TeamElite Ram)
      Marvell 88SA8040 Sata to CF(Sandisk 4GB) Controller
      NIC's: RTL8100E (Internal ) and Intel® PRO/1000 PT Dual (Intel 82571GB)

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

        I'm seeing that here as well. It also fails on 2.4.4-p3 just silently -- it never captures anything because the tcpdump syntax is invalid.

        I'm working on a fix: https://redmine.pfsense.org/issues/10183

        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 1
        • Raul RamosR
          Raul Ramos
          last edited by Raul Ramos

          Hi,

          In the version of pfSense below, With the combination Address family: IPv4 and ARP protocol i have the same warning as above. Sorry i do not have tested that combination.

          The protocol pfsync is OK with the IPV4 or any (earlierversion with ipv4 fails).

          pfSense: 2.5.0-DEVELOPMENT (amd64) - built on Mon Jan 13 15:47:12 EST 2020

          Cya

          pfSense:
          ASRock -> Wolfdale1333-D667 (2GB TeamElite Ram)
          Marvell 88SA8040 Sata to CF(Sandisk 4GB) Controller
          NIC's: RTL8100E (Internal ) and Intel® PRO/1000 PT Dual (Intel 82571GB)

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

            That's an invalid selection, though input validation isn't checking for it and it should. It rejects IPv6 and ARP but not IPv4 and ARP. (ARP is neither, technically)

            I did also find a way to eliminate that PHP error, though.

            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 1
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.