[Freeswitch-dev] Automatically don't respond to abnormal registrations

Sayyed Mohammad Emami Razavi emamirazavi at gmail.com
Sun Sep 29 14:44:48 MSD 2013

Can anyone describe a way in FS to get rid of crawlers and hackers testing
your PBX second by second on the internet?!
What is the problem? This is ls of my FS's sqlite db after some annoying
behaviours of hackers and crawlers violently done:
[root at freeswitch db]# ll
total 705580
-rw-r--r-- 1 root root      7168 Sep 29 13:20 callcenter.db
-rw-r--r-- 1 root root     14336 Sep 23 10:29 call_limit.db
-rw-r--r-- 1 root root    257024 Sep 29 13:56 core.db
-rw-r--r-- 1 root root      5120 Sep 29 13:20 fifo.db
-rw-r--r-- 1 root root     98304 Sep 24 11:34 sofia_reg_sipinterface_2.db
-rw-r--r-- 1 root root    367616 Sep 25 18:31 sofia_reg_sipinterface_3.db
-rw-r--r-- 1 root root 500726784 Sep 29 13:56 sofia_reg_sipinterface_5.db
-rw-r--r-- 1 root root 221003312 Sep 29 13:56
-rw-r--r-- 1 root root     16384 Sep 23 10:29 voicemail_default.db
[root at freeswitch db]#

sofia_reg_sipinterface_5.db belongs to the interface listening on 5060 port.

As you see sofia_reg_sipinterface_5.db exceed 500MB of size! and this db
has crashed!
and leads to drop port 5060 of interfaces.

when i ask fs_cli about profiles it tells me:
+OK log level  [7]
freeswitch at internal> sofia status
                     Name       Type
                                      Data    State
           sipinterface_3    profile
sip:mod_sofia at    RUNNING (0)
              voicemail_1      alias
sipinterface_2    ALIASED
              voicemail_2      alias
sipinterface_2    ALIASED
           sipinterface_2    profile
sip:mod_sofia at    RUNNING (0)
2 profiles 2 aliases

Which open source firewalls can handle automatically weird sip requests to

Sincerely yours,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130929/a5c1103c/attachment.html 

Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-dev mailing list