From: Anthony Minessale <anthony.minessale@gmail.com>Subject: Re: [Freeswitch-users] Security issueDate: August 15, 2015 at 5:12:55 PM GMT+3To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>Reply-To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
The public context is unauthentecared that is why its called public. Only public facing extensions should be defined there.The example configs are only a suggestion on how to run your server. The best approach is to learn how the sofia profiles and contexts work to configure it to your needs.
On Saturday, August 15, 2015, Sergey Safarov <s.safarov@gmail.com> wrote:1) Output network_ip of received INVITE with appropriate comment like "Block for one day ip x.x.x.x"2) Add fail2ban rule to search strings like "Block for one day ip x.x.x.x" and block ipOn Sat, Aug 15, 2015 at 12:18 PM, Nikolay Zaytsev <nzaytsevc@gmail.com> wrote:Hi,all)I have the freeswitch on public ip with set up fail2ban.However, there is an external invites which proceed to dialplan's context public.How can I defend my freeswitch from such attaks?The log of such attack is in the attachment.Bets Regards,Nikolay Zaytsev
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬
From: Giovanni Maruzzelli <gmaruzz@gmail.com>Subject: Re: [Freeswitch-users] Security issueDate: August 15, 2015 at 5:22:47 PM GMT+3To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>Reply-To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>An external invite in default config go to the public context. That is the expected and correct behavior, in default config.
Eg: is where the incoming did calls would go, and then (in default config) are dispatched to local extensions (1000...1020).
Obviously, you can change the config to fit your needs.
-giovanni
sent from my mobile,
Giovanni Maruzzelli
cell: +39 347 266 56 18On Aug 15, 2015 4:14 PM, "Anthony Minessale" <anthony.minessale@gmail.com> wrote:The public context is unauthentecared that is why its called public. Only public facing extensions should be defined there.The example configs are only a suggestion on how to run your server. The best approach is to learn how the sofia profiles and contexts work to configure it to your needs.
On Saturday, August 15, 2015, Sergey Safarov <s.safarov@gmail.com> wrote:1) Output network_ip of received INVITE with appropriate comment like "Block for one day ip x.x.x.x"2) Add fail2ban rule to search strings like "Block for one day ip x.x.x.x" and block ipOn Sat, Aug 15, 2015 at 12:18 PM, Nikolay Zaytsev <nzaytsevc@gmail.com> wrote:Hi,all)I have the freeswitch on public ip with set up fail2ban.However, there is an external invites which proceed to dialplan's context public.How can I defend my freeswitch from such attaks?The log of such attack is in the attachment.Bets Regards,Nikolay Zaytsev
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬ClueCon Weekly Development Call
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org