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

Tcpdump interfaces

Scheduled Pinned Locked Moved General pfSense Questions
2 Posts 2 Posters 3.6k 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.
  • R
    rubenc
    last edited by Oct 11, 2016, 9:25 PM

    Hi,

    Would it be possible having a tcpdump version so we can specify "any" as interface? It comes handy sometimes…

    Latest pfsense:

    [2.3.2-RELEASE][root@xxxxxx.xxx.xxx]/root: tcpdump –version
    tcpdump: illegal option -- -
    tcpdump version 4.4.0
    libpcap version 1.4.0
    [2.3.2-RELEASE][root@xxxxxx.xxx.xxx]/root: tcpdump -i any icmp
    tcpdump: any: No such device exists

    against

    $ tcpdump –version
    tcpdump version 4.7.4
    libpcap version 1.7.4
    OpenSSL 1.0.2g  1 Mar 2016

    $ sudo tcpdump -i any icmp
    tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
    listening on any, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes

    Thanks,

    Rubén.
    +

    Hardware: SC1935 | WAN: em (PCIe) | LAN: bge (onboard) | RAM: 2Gb
    2.0-RC2-IPv6 (i386)
    built on Sat May 21 21:38:32 EDT 2011

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Oct 12, 2016, 12:39 PM

      It's a limitation of tcpdump on FreeBSD, nothing we can do about that.

      Even on FreeBSD 11 with the latest tcpdump it does not work.

      root@doctor:~ # /usr/local/sbin/tcpdump -i any
      tcpdump: any: No such device exists
      (BIOCSETIF failed: Device not configured)
      root@doctor:~ # /usr/local/sbin/tcpdump --version
      tcpdump version 4.8.0
      libpcap version 1.8.0
      OpenSSL 1.0.2j-freebsd  26 Sep 2016
      root@doctor:~ # uname -a
      FreeBSD doctor.dw.example.com 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016     root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
      
      

      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
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received