On Tuesday 24 January 2012, Daniel-Constantine Mierla wrote:
> I haven't checked ncat capabilities to see equivalences, this tool was in
> test directory (Andrei wrote iirc) and I use it quite a lot for doing
> various tests.
>
> One thing coming in my mind now, this tool supports sending over SCTP, does
> ncat as well?
Hi Daniel,
ah, i was not aware of ncat as well, only nc. ;-) I think at least in the
available versions nc or ncat does not support SCTP.
But they are some patches available, e.g.:
http://seclists.org/nmap-dev/2009/q2/609 and some more, i think.
Viele Grüße/ best regards,
Henning Westerholt
On Monday 23 January 2012, Daniel-Constantin Mierla wrote:
> test/udp_flood.c moved to utils.protoshoot
>
> - tool for sending file content over network
> - useful to re/send SIP messages stored in files
Hello Daniel,
interesting tool. :-) How does it releate to e.g. netcat? Does it provide more
than: cat $file | nc -u $target 5060
Viele Grüße/ best regards,
Henning Westerholt
Hello,
I haven't checked ncat capabilities to see equivalences, this tool was in test directory (Andrei wrote iirc) and I use it quite a lot for doing various tests.
One thing coming in my mind now, this tool supports sending over SCTP, does ncat as well?
Cheers,
Daniel
On Jan 24, 2012, at 12:50 PM, Henning Westerholt <henning.westerholt(a)1und1.de> wrote:
> On Monday 23 January 2012, Daniel-Constantin Mierla wrote:
>> test/udp_flood.c moved to utils.protoshoot
>>
>> - tool for sending file content over network
>> - useful to re/send SIP messages stored in files
>
> Hello Daniel,
>
> interesting, how does it release to e.g. netcat? E.g.
>
> cat $file | nc -u $target 5060
>
> Viele Grüße/ best regards,
>
> Henning Westerholt
Hi, I would like to share some experience using LCR under Kamailio 3.X
in which there is no longer OPTIONS-based gateways monitorization.
Now, the way to dissable a gateway is by calling defunct_gw() in a
failure_route block (i.e. when there is no response for a request and
fr_timer fires). So it's based on a single request processing. This is
dangerous and I will put a real example:
An ugly client sends us a request with a malformed P-Asserted-Identity
as follows:
P-Asserted-Identity(sip(a)domain.com
Note that it's an *invalid* header. But Kamailio "allows" it and the
request arrives to the GW. But the GW drops the request due to the
malformed header so it sends NO reply at all. Then timeout occurs in
the client transaction and failure_route block is called in which I
call to defunct_gw().
Conclusion: an attacker could dissable my gws just by sending a simple
malformed request. I strongly miss the monitorization feature in the
old LCR module. And ever worse, I could make my own monitorization
client by sending OPTIONS to all the gateways, but LCR module does not
include a simple MI command to enable/dissable a gw so, what should I
do? re-populate all the LCR tables and invoke LCR reload() MI command
every time I detect a gw is offline/online?
Regards.
--
Iñaki Baz Castillo
<ibc(a)aliax.net>
Hi,
The commit 6aaba8e96fc87e1938b7abfdb5964714e4adfa3c messed up a little with the license in atomic/atomic_alpha.h
The attached patch is intended to fix this.
More details on the original commit:
"""
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6aaba8e…
Author: Henning Westerholt <henning.westerholt at 1und1.de>
Committer: Henning Westerholt <henning.westerholt at 1und1.de>
Date: Thu Jun 23 23:39:01 2011 +0200
doxygen: convert existing docs to use proper doxygen structures and groups, small cleanups
"""
--
Andrey Mazo.
Module: sip-router
Branch: master
Commit: 1db6c72af33b20234cc16483dc8dd56a83f514a2
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1db6c72…
Author: Andrey Mazo <ahippo(a)yandex.ru>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: Mon Jan 23 15:20:22 2012 +0400
Fix license in atomic_alpha.h
This reverts an accidental change from 6aaba8e96fc87e1938b7abfdb5964714e4adfa3c.
---
atomic/atomic_alpha.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/atomic/atomic_alpha.h b/atomic/atomic_alpha.h
index fa94d85..598fb23 100644
--- a/atomic/atomic_alpha.h
+++ b/atomic/atomic_alpha.h
@@ -10,7 +10,7 @@
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCEAtomic operations and memory barriers (alpha specific)
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/