Navigation

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

    Remove old packet capture files?

    General pfSense Questions
    3
    4
    1187
    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.
    • V
      verta last edited by

      Hi all,

      Hope fully this is a simple question to answer. Is there any way to remove old packet capture files created via the GUI? I have a 1GB capture just sitting in flash on a SG-3100 which is filling up a lot of the limited space.

      Thanks,
      Verta

      1 Reply Last reply Reply Quote 0
      • NogBadTheBad
        NogBadTheBad last edited by

        NB The capabilities offered here can be dangerous. No support is available. Use them at your own risk!

        Diagnostics -> Command Prompt

        If you do a ls ~ you'll see packetcapture.cap

        Then do a rm  ~/packetcapture.cap I'd have rather told you to do a rm -i ~/packetcapture.cap, but the command prompt isn't interactive.

        You could also ssh to the device and do the rm from the shell.

        Andy

        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

        1 Reply Last reply Reply Quote 1
        • Derelict
          Derelict LAYER 8 Netgate last edited by

          Or just start and stop another capture. Set number of packets to 1 or something or capture on an interface with insignificant traffic.

          Chattanooga, Tennessee, USA
          The pfSense Book is free of charge!
          DO NOT set a source port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply Reply Quote 1
          • V
            verta last edited by

            Thanks both. I feel so silly for not thinking of starting a new pcap with a small count  :o

            1 Reply Last reply Reply Quote 0
            • First post
              Last post