Code Monkey home page Code Monkey logo

Comments (7)

Kaian avatar Kaian commented on May 19, 2024

Hi @thefinn93 ,

What command line arguments are you using? I found some crashes while parsing some non-SIP packets.

from sngrep.

thefinn93 avatar thefinn93 commented on May 19, 2024

no arguments

from sngrep.

Kaian avatar Kaian commented on May 19, 2024

As a temporal fix you can filter traffic by port (usually 5060), just to check that is not a problem with SIP packets.

sngrep port 5060

I think I can reproduce the problem. What version are you using? Binary or compiled?

Thanks a lot for the feedback!!

from sngrep.

thefinn93 avatar thefinn93 commented on May 19, 2024
sngrep - 0.3.1
Copyright (C) 2013-2015 Irontec S.L.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
 * Compiled with OpenSSL support.
 * Compiled with Wide-character support.
 * Compiled with Perl Compatible regular expressions support.
 * Compiled with IPv6 support.

Binary from the debian (wheezy) packages. I'll see if it crashes when I use those arguments, so far it hasn't

from sngrep.

Kaian avatar Kaian commented on May 19, 2024

Okey, Thanks for the testing :)

I'll try to get a crashing pcap file to properly test the fixes.

from sngrep.

thefinn93 avatar thefinn93 commented on May 19, 2024

Just confirming that that filter definitely fixes it. I left it running all night, has yet to crash.

from sngrep.

Kaian avatar Kaian commented on May 19, 2024

I still haven't make it crash, but most of the times it happened, was related with packets that are not SIP but still captured because no bpf filter was applied.

Beware! sngrep stores all packet payload in memory! It can eat all of it if letf alone!
That's why capture.limit setting exists (default to 50000 dialogs).

Thanks a lot for the feedback!

from sngrep.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.