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

    Image magic

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 1.7k 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.
    • S
      senser
      last edited by

      I have tried some stream analysers on tcpdumps from my pfSense box (like chaosreader or driftnet) and found that the extracted images are corrupt. I was wondering if that could be a feature of pfSense, some tricky security thing thats going on?

      $  (ssh root@pfSense tcpdump -i bridge0 -U -w - not tcp port 22 ) > /tmp/dump
      $  ../chaosreader -ve /tmp/dump

      We use the mighty pf, we cannot be fooled.

      1 Reply Last reply Reply Quote 0
      • S
        senser
        last edited by

        Got it. tcpdump needs -s9999.

        Please respect the privacy of others!
        This is only for my own education.

        We use the mighty pf, we cannot be fooled.

        1 Reply Last reply Reply Quote 0
        • D
          doktornotor Banned
          last edited by

          @senser:

          Please respect the privacy of others!

          Huh?

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            9999 would set snaplen to 9999 bytes would it not.. Wouldn't you rather just use -s 0, this should set it to what use to be the default of 65535 bytes.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • S
              senser
              last edited by

              I have taken the -s9999 from the chaosreader script. It uses -s9999 when run in standalone mode. It seems to work fine, though -s0 seems more optimal.

              We use the mighty pf, we cannot be fooled.

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