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

    Little TCPDump frontend

    Development
    2
    2
    4.1k
    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
      rcasas
      last edited by

      Hi,

      I've developped a little frontend to interact with command line sniffer TCPDump.

      It's very simple:

      diag_tcpdump_start_stop.php: Page to Stop/Start/Restart tcpdump, it's similar to pfSense Status>Services page
      diag_tcpdump_start.php: Page that starts tcpdump and returns to diag_tcpdump_start_stop.php
      diag_tcpdump_stop.php: Page that stops tcpdump and returns to diag_tcpdump_start_stop.php
      diag_tcpdump_restart.php: Page that restarts tcpdump and returns to diag_tcpdump_start_stop.php
      diag_tcpdump.php: shows a listing of the files dumped by tcpdump, if you click any it downloads the file to the PC (if you have ethereal configured, it starts and loads the dumped file), Here, you could also delete unnecessary files

      Also, I've modified fbegin.inc to add a link in the menu to the file listing.

      By the moment, you can't tell options to tcpdump execution, but I have plans to include the options to select an interface and a filter.

      If anyone is interested, I can send the files.

      Greetings

      Roberto

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

        Send them over as attachments to coreteam@pfsense.com and I'll check it out.  Thanks

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