Comments (7)
Hi @thefinn93 ,
What command line arguments are you using? I found some crashes while parsing some non-SIP packets.
from sngrep.
no arguments
from sngrep.
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.
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.
Okey, Thanks for the testing :)
I'll try to get a crashing pcap file to properly test the fixes.
from sngrep.
Just confirming that that filter definitely fixes it. I left it running all night, has yet to crash.
from sngrep.
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)
- Match Expression Doesn't Work on Latest Version HOT 7
- tcpdump command corresponding to "sngrep - c" HOT 1
- Pressing the ESC key doesn't return to the Call List but exits HOT 2
- Please provide pre-compiled binaries (with embedded libraries) HOT 5
- Adding 64-bit ARM to packages HOT 4
- Steps for PgUp/PgDown 4 - Other values show no effect
- sngrep should not use SIGHUP for dump file rotation HOT 13
- ipv6 support HOT 1
- Starting sngrep with -F doesn't work HOT 2
- enhancement Identity Header HOT 1
- sngrep1.6.0 Display disorder HOT 4
- SNGREP to capture SIP packets based on file size
- Problems with Multiple SIP Packets in a TCP Stream HOT 1
- Display filter search stops working after a while (cannot type or delete multiple characters) HOT 1
- Ctrl-z (suspend) terminates sngrep HOT 1
- PgUp / PgDn steps not updating HOT 1
- HEP server not working properly HOT 6
- sngrep process still work in background in case i close ssh console. HOT 1
- Question on WSS support HOT 2
- GPG Key Error on Debian 12 (Bookworm) HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sngrep.