SipBomber 0.8

By Alexey Gavrilov on September 21, 2006

What is it

SipBomber is sip-protocol testing tool for Linux originally developed by Metalink in 2003 for internal use and released later as GPL open source product.

SipBomber screenshot

What’s new in 0.8

Although we knew it was downloaded and used by thousands of developers, we received very little feedback on it and ceased support for this software. The old version (ie 0.7) can be found here. After the launch of this new website I found by looking into server log files that many people still want to download it. Therefore here it is again. The version is 0.8 and now it compiles fine with the latest gcc (tested with Fedora Core 4). If you managed to build 0.7 yourself you don’t need to download 0.8! Here are few links for those who know what to do:

Quick links

Download SipBomber 0.8 source code
View Readme file

Instructions

Readme is highly recommended for those who want to use all features. If you don’t want long reading here is the shorter version:

1. Download sources
2. Do the magic

tar -xzf sipbomber_0.8.tar.gz
cd sipbomber
make
./sipb_main

3. Click “Run”

Why use it

We created it during sip-server development to have the automated testing tool which would verify our sip-implementation througout the development process. If you are working on sip implementation and didn’t test it with SipBomber yet, you should probably do it now as in 8 of 10 cases intital tests lead to server crashes. This is probably the reason why security people like to use SipBomber in penetartion tests of networks running sip-servers or devices.

If you use this software, please take a moment to leave a comment to this post!

Share this!
These icons link to social bookmarking sites where readers can share and discover new web pages.

32 Comments »

  1. Please continue support of this tool. It is great! It would be nice to build in new test cases.

    Comment by Terron Williams — October 3, 2006 @ 11:19 pm

  2. Note about QT

    QT is GUI library from Trolltech, which SipBomber uses. You need it installed along with development headers to build SipBomber. If you are under RedHat or Fedora then you should see something like that:

    [root@tear ~]# rpm -qa | grep ‘qt’
    qt-designer-3.3.4-14
    qt-3.3.4-14
    qt-devel-3.3.4-14
    [root@tear ~]#

    Also ‘env’ command should show you QTDIR value set to the folder where QT is installed. If you don’t see it there then you need to install QT first.

    Please note that SipBomber is not compatible with Qt 4.x branch yet.

    Comment by alex — October 10, 2006 @ 12:21 am

  3. I am running Fedora Core 5 and would like to try this new version (0.8). I shall post my experimental result after my success/failure.

    By the way, did anyone successfully compile it on FreeBSD?

    Comment by Solomon — October 18, 2006 @ 6:51 pm

  4. HOW TO START DOING TEST CASES?

    Comment by shakthi — December 16, 2006 @ 9:04 am

  5. Shakthi, take a look at the screenshot at this page. This is what you’ll see after clicking Run button. On that dialog you should move the tests you want to run from the left list box to the right one and click either Run Serial or Run Parallel button. Hope this helps.

    Comment by alex — December 16, 2006 @ 5:29 pm

  6. hi,
    i cant run it on win32. please provide win32 support also!

    Comment by sriharsha — January 5, 2007 @ 11:24 am

  7. hi,
    a question: SipBomber could run on Ubuntu linux distribution?
    thank you!

    Comment by nar-con — February 11, 2007 @ 8:49 pm

  8. We didn’t try it on Ubuntu but it should run there as long as you have QT 3.x installed along with development headers.

    Comment by Alexey Gavrilov — February 13, 2007 @ 5:43 pm

  9. Cannot compile the source package on ubuntu6.06,
    I pasted the error message here:

    ../sipb_stpacket.h:13:23: error: qdatetime.h: No such file or directory
    In file included from sipb_stest.h:10,
    from sipb_stest.cpp:6:
    ../sipb_paramlist.h:9:24: error: qvalidator.h: No such file or directory
    ../sipb_stpacket.h:20: error: ‘QTime’ does not name a type
    ../sipb_stpacket.h: In constructor ‘sipb_stpacket::sipb_stpacket()’:
    ../sipb_stpacket.h:34: error: ‘t’ was not declared in this scope
    ../sipb_paramlist.h: At global scope:
    ../sipb_paramlist.h:24: error: ISO C++ forbids declaration of ‘QValidator’ with no type
    ../sipb_paramlist.h:24: error: expected ‘;’ before ‘*’ token
    ../sipb_paramlist.h:59: error: ISO C++ forbids declaration of ‘QValidator’ with no type
    ../sipb_paramlist.h:59: error: expected ‘;’ before ‘*’ token
    make[1]: *** [sipb_stest.o] Error 1
    make[1]: Leaving directory `/home/luom/Desktop/sipbomber/stests’
    make: *** [subdirs] Error 2

    Comment by bill luo — March 8, 2007 @ 10:47 am

  10. I get the following error when i run. pls help
    General Error: Can’t read test=/usr/share/sipbomber

    Comment by Ravi — March 8, 2007 @ 1:17 pm

  11. @bill luo:
    Apparently you don’t have Qt installed. Try:
    apt-get install qt3
    apt-get install libqt3-mt-dev
    apt-get install libqt3-headers

    (I don’t have Ubuntu so can’t tell exact list of packages you need)

    @Ravi:
    Do you have a sub-folder (in the folder holding sipb_main) named ‘testcases’ with files like ‘0000000′, ‘0000001′ etc inside ?

    If you do but it still doesn’t work you can try setting “testcases dir” value to test cases folder.

    Comment by Alexey Gavrilov — March 8, 2007 @ 11:43 pm

  12. Hi,

    I am new to sipbomber , is there forum of this?

    Comment by santhohs — April 10, 2007 @ 2:22 pm

  13. There is no forum for sipbomber but you can ask your questions here.

    Comment by Alexey Gavrilov — April 12, 2007 @ 1:57 pm

  14. This is the error I am getting: Any suggestions? I am using ubuntu 7.0.4. Thanks,
    Sparky

    make
    cd stests;make all
    make[1]: Entering directory `/home/mmullen/tools/voip/sipbomber/stests’
    c++ -O -Wall -W -Wno-long-long -Wno-unused -ansi -DQT_THREAD_SUPPORT -D_REENTRANT -I../ -I/include -I../bnf -I./ -I../cert_test -c sipb_stest.cpp -o sipb_stest.o
    In file included from ../sipb_stestinfo.h:10,
    from sipb_stest.h:9,
    from sipb_stest.cpp:6:
    ../sipb_stpacket.h:13:23: error: qdatetime.h: No such file or directory
    In file included from sipb_stest.h:10,
    from sipb_stest.cpp:6:
    ../sipb_paramlist.h:9:24: error: qvalidator.h: No such file or directory
    ../sipb_stpacket.h:20: error: ‘QTime’ does not name a type
    ../sipb_stpacket.h: In constructor ‘sipb_stpacket::sipb_stpacket()’:
    ../sipb_stpacket.h:34: error: ‘t’ was not declared in this scope
    ../sipb_paramlist.h: At global scope:
    ../sipb_paramlist.h:24: error: ISO C++ forbids declaration of ‘QValidator’ with no type
    ../sipb_paramlist.h:24: error: expected ‘;’ before ‘*’ token
    ../sipb_paramlist.h:59: error: ISO C++ forbids declaration of ‘QValidator’ with no type
    ../sipb_paramlist.h:59: error: expected ‘;’ before ‘*’ token
    make[1]: *** [sipb_stest.o] Error 1
    make[1]: Leaving directory `/home/mmullen/tools/voip/sipbomber/stests’
    make: *** [subdirs] Error 2

    Comment by Mark — July 12, 2007 @ 10:33 pm

  15. Mark, it seems that you don’t have Qt and/or Qt development headers installed. You may try something like:

    apt-get install qt3
    apt-get install libqt3-mt-dev
    apt-get install libqt3-headers

    Comment by Alexey Gavrilov — July 17, 2007 @ 11:46 am

  16. Hi fellows

    I have successfully installed this software on Linux (Fedora 7 - Moonshine). Well at the moment i am learning how to penetrate into SIP server..

    Hope this will work.

    bye

    Comment by Ali — August 7, 2007 @ 11:39 pm

  17. Hi,

    >>> I ran make on fedora 7 machine and got this error. Don’t know what library I am missing.

    make
    cd stests;make all
    make[1]: Entering directory `/opt/sipbomber/stests’
    c++ -O -Wall -W -Wno-long-long -Wno-unused -ansi -DQT_THREAD_SUPPORT -D_REENTRANT -I../ -I/include -I../bnf -I./ -I../cert_test -c sipb_stest.cpp -o sipb_stest.o
    In file included from ../sipb_stestinfo.h:10,
    from sipb_stest.h:9,
    from sipb_stest.cpp:6:
    ../sipb_stpacket.h:13:23: error: qdatetime.h: No such file or directory
    In file included from sipb_stest.h:10,
    from sipb_stest.cpp:6:
    ../sipb_paramlist.h:9:24: error: qvalidator.h: No such file or directory
    ../sipb_stpacket.h:20: error: âQTimeâ does not name a type
    ../sipb_stpacket.h: In constructor âsipb_stpacket::sipb_stpacket()â:
    ../sipb_stpacket.h:34: error: âtâ was not declared in this scope
    ../sipb_paramlist.h: At global scope:
    ../sipb_paramlist.h:24: error: ISO C++ forbids declaration of âQValidatorâ with no type
    ../sipb_paramlist.h:24: error: expected â;â before â*â token
    ../sipb_paramlist.h:59: error: ISO C++ forbids declaration of âQValidatorâ with no type
    ../sipb_paramlist.h:59: error: expected â;â before â*â token
    make[1]: *** [sipb_stest.o] Error 1
    make[1]: Leaving directory `/opt/sipbomber/stests’
    make: *** [subdirs] Error 2

    >>> Do I miss any of the qt library ?
    rpm -qa | grep ‘qt’

    dbus-qt-0.70-1.fc7
    qt-devel-3.3.8-4.fc7
    avahi-qt3-0.6.17-1.fc7
    qt-3.3.8-4.fc7
    qt-designer-3.3.8-4.fc7
    qt-3.3.8-4.fc7
    qt-devel-3.3.8-4.fc7
    dbus-qt-0.70-1.fc7

    >>> Last question that I have is,
    my company is implemting a SIP routing proxy server,
    I would like to know if it’s possible
    to use sip bomber as a load client to send in
    sip requests with different CALL-ID

    Thanks

    Comment by vinh — August 8, 2007 @ 5:28 pm

  18. Hi Vinh

    I had install Sipbomber on Fedora 7 (Moonshine) and the out is as followed.

    [root@asteriskserver alisendme]# rpm -qa |grep ‘gt’

    GConf2-gtk-2.18.0.1-2.fc7
    pygtk2-libglade-2.10.6-1.fc7
    libgtop2-2.14.8-1.fc7
    gtk-sharp2-2.10.0-4.fc7
    gthumb-2.10.5-1.fc7
    libgtop2-devel-2.14.8-1.fc7
    xdg-user-dirs-gtk-0.5-1.fc7
    gtkhtml2-2.11.0-4
    gnome-python2-gtksourceview-2.18.0-1.fc7
    gtk2-devel-2.10.14-3.fc7
    pygtk2-codegen-2.10.6-1.fc7
    gnome-python2-gtkhtml2-2.14.3-4.fc7
    gtkspell-2.0.11-3.fc7
    gtk-doc-1.8-2.fc7
    pygtk2-2.10.6-1.fc7
    gtkhtml3-3.14.3-1.fc7
    usermode-gtk-1.92-0.fc7
    authconfig-gtk-5.3.15-1.fc7
    scim-bridge-gtk-0.4.10-1.fc7
    gtk2-engines-2.10.2-2.fc7
    gtksourceview-1.8.5-1.fc7
    gtk2-2.10.14-3.fc7
    pygtk2-devel-2.10.6-1.fc7

    if you are missing some package you may download them accordingly. Hope this will help you.

    Note: Although i am having the same errors in Debian as you have in Fedora…

    Bye

    Comment by Ali — August 8, 2007 @ 8:50 pm

  19. Hi

    On Fedora 7 (Moonshine) output is as followed.

    [root@asteriskserver alisendme]# rpm -qa | grep ‘qt’

    qt-devel-3.3.8-4.fc7
    qt-3.3.8-4.fc7
    qt-designer-3.3.8-4.fc7

    Comment by Ali — August 8, 2007 @ 8:58 pm

  20. Hi Ali,

    Thanks for the help.
    After I did a yum to update all the packages in my fedora7 machine I was able to do a make without any errors. And I was able to run sipbomber successfully.

    Question for you:
    It seems like sipbomber only run data files
    from oulu, if I have my own test data (i.e, INVITE text files), how can I run them with sipbomber, any ideas ? I read the README file but it did not say how to do that .

    Comment by vinh — August 9, 2007 @ 5:45 pm

  21. Hi Vinh

    I am afraid i don’t know about this at the moment.

    Ha ha, i tell you about a funny story. I had spent my 3 days to install Sipbomber on another PC running the same version of Fedora7……

    Oh thank God, following your advice i did ran ‘yum update’ and its working..lol

    Comment by Ali — August 13, 2007 @ 5:14 pm

  22. Hello Vinh

    Yes, you can use your own testfile. What i know that your own file only be used during CERT_TEST.

    INSTRUCTIONS:

    Click RUN button in SIPBOMBER
    Select CERT_TEST
    You will find a “testcaseses dir” input box on your right. Put there the path of your own testcase file i.e. [yourpath/your_testcase_dir/*

    I hope this may help you. Secondly i ran this tool many times and i get this error.

    For example if i run REGISTER_valid
    i get message: “Packet Error: No reply for this packet”

    Did you find any positive results out of this tool?

    Regards…

    Comment by Ali — August 16, 2007 @ 7:24 pm

  23. Interesting tool. I’m doing some SIP testing and was wondering if there is any documentation on the test cases. There’s 4527 test files but I don’t know what they test.

    Comment by Louis — October 3, 2007 @ 1:09 am

  24. Interesting tool. I’m doing some SIP testing and was wondering if there is any documentation on the test cases. There’s 4527 test files but I don’t know what they test.

    Sent twice wrong e-mail first time.

    Comment by Louis — October 3, 2007 @ 1:09 am

  25. Hello,

    you can compile SipBomber on Ubuntu (Gusty Gibbon) this way:
    - add qt3 lib and headers: apt-get install libqt3-mt-dev
    - in the three following makefiles ./Makefile ./cert_test/Makefile ./stests/Makefile , add -I/usr/include/qt3/ at the end of the INC line.
    - Modifiy the ./Makefile and modify the MOC line this way: MOC=/usr/bin/moc

    Comment by Mathieu Dessus — November 15, 2007 @ 2:07 pm

  26. ok thank you, i’ll get it on my debian box.
    but could this tools use as DoS tools againts a sip server ?

    Comment by katiamong — November 18, 2007 @ 6:33 am

  27. Hello!
    I have a question about SIP Bomber. I get this error for most of the test: “Packet Error: No reply for this packet”! What can I do? Please help me!Thanks!

    Comment by minyuta — November 22, 2007 @ 5:47 pm

  28. “Packet Error: No reply for this packet”

    For some tests this is a normal behavior. It means the server didn’t reply to some packet, which is fine for penetration tests (as long as the server didn’t crash)

    Comment by Alexey Gavrilov — November 23, 2007 @ 7:15 pm

  29. Is this the same suite of SIP tests as the PROTOS SIP Test Suite (INVITE Torture Test)? Someone above mentioned 4527 test cases, which is the same number as in PROTOS (http://www.ee.oulu.fi/research/ouspg/protos/testing/c07/sip/index.html).

    Comment by Jeff — November 27, 2007 @ 11:06 pm

  30. Yes, it includes PROTOS tests

    Comment by Alexey Gavrilov — November 27, 2007 @ 11:57 pm

  31. Hello,
    I have a problem with this tool. I’m trying to do a valid register requests, but it seems to be impossible. Every time I tried I get “Packet error:no replay for this packet”.I’ve already read that it could be a normal behaviour, but how to get a different replay? And how to send standard sip registration messages?
    Thanks

    Comment by elisa — April 23, 2008 @ 1:42 pm

  32. zubavina-psihicheskie-bolezni

    Comment by Dan — May 8, 2008 @ 12:57 pm