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

    New Packet Capture Interface not acting as expected.

    CE 2.7.0 Development Snapshots (Retired)
    2
    3
    472
    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.
    • N8LBVN
      N8LBV
      last edited by

      I'm having difficulty figuring this out.
      So far I have not been able to get it to filter anything.
      It always seems to add "or ((not vlan))"
      To any attempt I make to do anything.
      And that clearly just captures "everything"
      Even though I have exclude all selected for TAGGED PACKETS

      /usr/sbin/tcpdump -ni hn0 -c 1000 -U -w - '((port 25)) or ((not vlan))'

      I feel stupid for having to ask but how do I get it to not add this to the end?
      Any pointers appreciated.
      Thanks!

      I feel more like I do now.

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

        That was a bug. It's fixed in current snapshots. As you stated it should filter for 'and' not 'or'.

        Steve

        N8LBVN 1 Reply Last reply Reply Quote 1
        • N8LBVN
          N8LBV @stephenw10
          last edited by

          @stephenw10 Yep just saw that...
          It's working on the latest build!
          Very cool!

          /usr/sbin/tcpdump -ni bge0.5 -c 1000 -U -w - '((port 25)) and ((not vlan))'

          I feel more like I do now.

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