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

    SNGREP would be a great tool to have!

    Scheduled Pinned Locked Moved Traffic Monitoring
    9 Posts 5 Posters 2.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.
    • T
      thoxle
      last edited by

      Hello all,
      I was wondering if SNGrep or something similar is available on pfsense.
      This would be amazingly helpful when trying to troubleshoot VOIP issues without needing to download a PCAP.

      luckman212L 1 Reply Last reply Reply Quote 0
      • luckman212L
        luckman212 LAYER 8 @thoxle
        last edited by

        @thoxle Yes.

        It's in the FreeBSD package tree...
        https://www.freshports.org/net/sngrep/

        caveat: Install things like this at your own risk!

        e.g. amd64 (or aarch64, etc)

        fetch https://pkg.freebsd.org/FreeBSD:12:amd64/quarterly/All/sngrep-1.4.8.txz
        pkg add ./sngrep-1.4.8.txz
        

        Remember, if you get this error:

        Couldn't activate capture: BIOCSETIF failed: Device not configured
        

        It's because FreeBSD doesn't support 'any' for capture interface the way Linux does.
        Use the -d flag and pass an interface name, e.g.

        sngrep -d mvneta1
        

        Here it is running on an SG-2100... 😊
        e94f286a-6363-456e-90ea-45a8f41180d0-image.png

        cyber7C 1 Reply Last reply Reply Quote 0
        • cyber7C
          cyber7 @luckman212
          last edited by

          @luckman212 said in SNGREP would be a great tool to have!:

          fetch https://pkg.freebsd.org/FreeBSD:12:amd64/quarterly/All/sngrep-1.4.8.txz

          Trying to fetch this file comes up with not found. Could you assist at all?

          regards
          cyber7 (aka Aubrey)

          When you pause to think, do you start again?

          2.2.4-RELEASE (amd64)
          built on Sat Jul 25 19:57:37 CDT 2015
          FreeBSD 10.1-RELEASE-p15
          and
          pfSense 2.3.2-RELEASE-p1 (amd64 full-install) on pfSense

          T 1 Reply Last reply Reply Quote 0
          • T
            thogan32 @cyber7
            last edited by

            @cyber7 Did you ever find a fix to the repository?

            cyber7C 1 Reply Last reply Reply Quote 0
            • cyber7C
              cyber7 @thogan32
              last edited by

              @thogan32 nope, not any...

              When you pause to think, do you start again?

              2.2.4-RELEASE (amd64)
              built on Sat Jul 25 19:57:37 CDT 2015
              FreeBSD 10.1-RELEASE-p15
              and
              pfSense 2.3.2-RELEASE-p1 (amd64 full-install) on pfSense

              kiokomanK 1 Reply Last reply Reply Quote 0
              • kiokomanK
                kiokoman LAYER 8 @cyber7
                last edited by

                https://pkg.freebsd.org/FreeBSD:12:amd64/quarterly/All/sngrep-1.6.0.pkg
                as always at your own risk

                ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                Please do not use chat/PM to ask for help
                we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                T 1 Reply Last reply Reply Quote 0
                • T
                  thogan32 @kiokoman
                  last edited by

                  @kiokoman Do you have a link fo FreeBSD 14? Your link was able to fetch but unable to install because it is the wrong architecture "pkg: wrong architecture: FreeBSD:12:amd64 instead of FreeBSD:14:amd64"

                  kiokomanK 1 Reply Last reply Reply Quote 0
                  • kiokomanK
                    kiokoman LAYER 8 @thogan32
                    last edited by

                    @thogan32
                    https://pkg.freebsd.org/FreeBSD:14:amd64/latest/All/sngrep-1.6.0.pkg

                    ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                    Please do not use chat/PM to ask for help
                    we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                    Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                    luckman212L 1 Reply Last reply Reply Quote 1
                    • luckman212L
                      luckman212 LAYER 8 @kiokoman
                      last edited by

                      Latest as of 2024-Aug is 1.7.0_1 (although the upstream github is at 1.8.2).

                      Link: https://pkg.freebsd.org/FreeBSD:14:amd64/latest/All/sngrep-1.7.0_1.pkg

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