[Freeswitch-users] stop unwanted registration attempts

Colin Morelli colin.morelli at gmail.com
Wed Aug 3 19:48:16 MSD 2016


For what it's worth, if you have a FS instance exposed to the world you're
almost certainly better off with something in front of it.

Even if you lock down your server in such a way that no unauthorized calls
can be made, the traffic is still going to make it to your freeswitch
instance. Generating enough bogus traffic could materially impact the
quality of active calls by wasting CPU cycles, disk I/O from logs, and
memory from the connections.

Whether the "something" you put in front of it is a firewall with
appropriate restrictions, a SIP proxy of some kind, or something else, is
up to you (depending on the amount of introspection to the request you
need). But I wouldn't recommend leaving it open.

Best,
Colin

On Wed, Aug 3, 2016 at 11:44 AM jungle Boogie <jungleboogie0 at gmail.com>
wrote:

> On 3 August 2016 at 01:12, Mirko Brankovic <mirkobrankovic at gmail.com>
> wrote:
> > Hi,
> > I guess you can set this to true on your profile:
> > https://wiki.freeswitch.org/wiki/Sofia.conf.xml#log-auth-failures
> >
> > and than fail2ban can pick it up from the log.
> >
>
> yes, that work's if the registration attempts are actually being
> picked up by freeswitch. I only see a register request and no reply
> from my side whatsoever.
>
> The IP address has been added to my iptables but the entries are still
> occurring.  As seen in the original email, I have iptables to block
> based on the useragent but I still see the scans.
>
>
>
> > Mirko
>
>
>
>
> --
> -------
> inum: 883510009027723
> sip: jungleboogie at sip2sip.info
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160803/4079831e/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list