nils-ohlmeier / sipsak

SIP swiss army knife
GNU General Public License v2.0
140 stars 37 forks source link

Flood without -f #43

Open akam-it opened 6 years ago

akam-it commented 6 years ago

Sometimes sipsak make flood without -f flag. For 30 seconds it send 30-60k options.

/usr/local/bin/sipsak -s sip:IP -v 2018-08-16 16-28-32 2018-08-16 16-18-39 2018-08-16 16-05-32

nils-ohlmeier commented 5 years ago

Thanks for the report. In issue #50 the same thing got reported. And the fix for it makes sense. I just merged a fix for it and I'm planing on shipping a new release soon which will contain the fix.

akam-it commented 5 years ago

is issue #50 about TCP only? because my traffic was UDP

nils-ohlmeier commented 5 years ago

Well the not properly initialized socket is taken into account for the select loop and could result in the select call return early. So this could be the reason, but it's also possible there is another problem.