<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=us-ascii">
<style>BODY{font:10pt Tahoma, Verdana, sans-serif}</style></head><body>
<DIV>The problem with that, is it's parsing the windows event log. You could add scripts/code to FS to write failures to the application event log (or a custom one), but that's a lot more work then just putting all the code to do it all in a managed DLL that can be invoked via mod_managed. No external processes, no invoking PowerShelll or WScript/CScript.</DIV>
<DIV> </DIV>
<DIV>On another note, if you want to do this w/ external scripts or other external methods of interfacing w/ freeswitch, you may want to play with the RC (RTM is about 60 days away) of Windows 8/Server 2012. WMF 3.0 (Windows Managment Framework 3.0) has been extended so that the HTTP interfaces which were only SOAP WS-Managment in v2, have been extended to more endpoints, including REST/XML and OData (<A href="http://www.odata.org">www.odata.org</A> like the google or Netflix APIs). This makes it easy to do directly from any scripting language or external system.</DIV>
<DIV> </DIV>
<DIV>--Dave</DIV><BR>
<BLOCKQUOTE style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<HR>
<B>From:</B> Andrew Cassidy [mailto:andrew@cassidywebservices.co.uk]<BR><B>To:</B> FreeSWITCH Users Help [mailto:freeswitch-users@lists.freeswitch.org]<BR><B>Sent:</B> Thu, 14 Jun 2012 04:29:23 -0700<BR><B>Subject:</B> Re: [Freeswitch-users] Brute-force attack<BR><BR>It IS possible to use windows 7 powershell scripts run on a schedule to dynamically add and remove firewall rules, it's something a firend and I did before for RDP. The RDP version is here: <A href="http://www.jonsdocs.org.uk/wiki/index.php/PSLogonFailures">http://www.jonsdocs.org.uk/wiki/index.php/PSLogonFailures</A>
<DIV><BR></DIV>
<DIV>I'm sure with a little tweaking it can be made to work with freeswitch log files.<BR><BR>
<DIV class=gmail_quote>On 14 June 2012 11:58, Anton Kvashenkin <SPAN><<A href="mailto:anton.jugatsu@gmail.com">anton.jugatsu@gmail.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class=gmail_quote>For example, you don't need to open 5060 port to a whole world, just 5090 (the port you use for connecting road warriors). <A href="http://wiki.freeswitch.org/wiki/Nat">http://wiki.freeswitch.org/wiki/Nat</A> <A href="http://wiki.freeswitch.org/wiki/External_profile">http://wiki.freeswitch.org/wiki/External_profile</A>
<DIV class=HOEnZb>
<DIV class=h5><BR><BR>
<DIV class=gmail_quote>2012/6/14 ocset <SPAN><<A href="mailto:ocset@the800group.com">ocset@the800group.com</A>></SPAN><BR>
<BLOCKQUOTE style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class=gmail_quote>
<DIV bgcolor="#FFFFFF" text="#000000">Anton<BR><BR>I know nothing about ext-rtp-ip and ext-sip-ip. Could you please explain how this will help in making the system more secure?<BR><BR>Thanks<SPAN><FONT color=#888888><BR>O <BR></FONT></SPAN>
<DIV>
<DIV><BR>On 14/06/12 16:27, Anton Kvashenkin wrote:
<BLOCKQUOTE type="cite">I would suggest to create separate profile for remote workers. For example, external-road-warrios. So you can play with ext-rtp-ip and ext-sip-ip.<BR><BR>
<DIV class=gmail_quote>2012/6/14 Peter Olsson <SPAN><<A href="mailto:peter.olsson@visionutveckling.se">peter.olsson@visionutveckling.se</A>></SPAN><BR>
<BLOCKQUOTE style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class=gmail_quote>I use both Windows and Linux systems. As long as you know how to manage both systems, there is not a big difference when it comes to exploits and general security (not anymore anyway, if you use current versions). I would say that the biggest issue here is the knowledge of the people managing the systems. And it's usually more secure to manage a system that you know, then a system you don't know much about, even though that system is considered to be more secure.<BR><BR>Lots has happened since Windows 95 :)<BR><BR>Anyway, for this kind of setup I would also prefer Linux, but mostly for the possibilites with fail2ban etc, which doesn't exist on Windows. I'm thinking of writiling something similar for Windows, hopefully I get som time for that soon...<BR><BR>/Peter<BR><BR>14 jun 2012 kl. 07:51 skrev "Muhammad Shahzad" <<A href="mailto:shaheryarkh@googlemail.com">shaheryarkh@googlemail.com</A><mailto:<A href="mailto:shaheryarkh@googlemail.com">shaheryarkh@googlemail.com</A>>>:<BR>
<DIV><BR>I would strongly suggest to move your production system to Linux, which is by far secure and controllable then Windows. Right now, if somebody does not breaks into your voip setup using some bruteforce / DOS attack, s/he can still exploit some hole in Windows to crack your security. Windows is simply not secure enough to production grade performance.<BR><BR>Thank you.<BR><BR><BR></DIV>
<DIV>On Thu, Jun 14, 2012 at 6:39 AM, Avi Marcus <<A href="mailto:avi@avimarcus.net">avi@avimarcus.net</A><mailto:<A href="mailto:avi@avimarcus.net">avi@avimarcus.net</A>>> wrote:<BR>That's not necessarily the best kind of password... see <A href="http://xkcd.com/936/">http://xkcd.com/936/</A> and then <A href="http://tech.dropbox.com/?p=165">http://tech.dropbox.com/?p=165</A><BR><BR>-Avi<BR><BR><BR><BR></DIV>
<DIV>On Thu, Jun 14, 2012 at 6:23 AM, jay binks <<A href="mailto:jaybinks@gmail.com">jaybinks@gmail.com</A><mailto:<A href="mailto:jaybinks@gmail.com">jaybinks@gmail.com</A>>> wrote:<BR>> Strong passwords are a great start, but fail2ban does a little more than<BR>> this.<BR>><BR>> you could move off port 5060 to something un-conventional, meaning your less<BR>> likely to get scanned / brute forced.<BR>><BR>> Jay<BR>><BR></DIV>
<DIV>> On 14 June 2012 12:27, ocset <<A href="mailto:ocset@the800group.com">ocset@the800group.com</A><mailto:<A href="mailto:ocset@the800group.com">ocset@the800group.com</A>>> wrote:<BR>>><BR>>> Hi<BR>>><BR>>> I have deployed Freeswiitch on windows 7 and since there is no fail2ban<BR>>> on windows, I was wondering what the real risk is with opening it up to<BR>>> the internet. If I was to ensure that all users and passwords were<BR>>> extremely difficult to guess (passwords like "2$53E_d7?^2!3s$"), what<BR>>> are the risks that I am exposing myself to? Is there a type of DoS for<BR>>> voip where hackers can just flood my system with requests simply to be<BR>>> malicious?<BR>>><BR>>> There are VB windows scripts available that emulate what fail2ban does<BR>>> on Linux but I was just wondering whether I really need to implement<BR>>> this level of security if I can control the password complexity in<BR>>> Freeswitch.<BR>>><BR>>> Thanks<BR>>> O<BR>>><BR>>><BR>>> _________________________________________________________________________<BR>>> Professional FreeSWITCH Consulting Services:<BR></DIV>>> <A href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</A><mailto:<A href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</A>><BR>
<DIV>>> <A href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</A><BR>>><BR>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>>> <A href="http://www.cudatel.com/">http://www.cudatel.com</A><BR>>><BR>>> Official FreeSWITCH Sites<BR>>> <A href="http://www.freeswitch.org/">http://www.freeswitch.org</A><BR>>> <A href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</A><BR>>> <A href="http://www.cluecon.com/">http://www.cluecon.com</A><BR>>><BR>>> Join Us At ClueCon - Aug 7-9, 2012<BR>>><BR>>> FreeSWITCH-users mailing list<BR></DIV>>> <A href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><mailto:<A href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A>><BR>
<DIV>>> <A href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>>> UNSUBSCRIBE:<A href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR>>> <A href="http://www.freeswitch.org/">http://www.freeswitch.org</A><BR>><BR>><BR>><BR>><BR>> --<BR>> Sincerely<BR>><BR>> Jay<BR>><BR>> _________________________________________________________________________<BR>> Professional FreeSWITCH Consulting Services:<BR></DIV>> <A href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</A><mailto:<A href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</A>><BR>
<DIV>> <A href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</A><BR>><BR>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>> <A href="http://www.cudatel.com/">http://www.cudatel.com</A><BR>><BR>> Official FreeSWITCH Sites<BR>> <A href="http://www.freeswitch.org/">http://www.freeswitch.org</A><BR>> <A href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</A><BR>> <A href="http://www.cluecon.com/">http://www.cluecon.com</A><BR>><BR>> Join Us At ClueCon - Aug 7-9, 2012<BR>><BR>> FreeSWITCH-users mailing list<BR></DIV>> <A href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><mailto:<A href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A>><BR>
<DIV>> <A href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>> UNSUBSCRIBE:<A href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR>> <A href="http://www.freeswitch.org/">http://www.freeswitch.org</A><BR>><BR><BR>_________________________________________________________________________<BR>Professional FreeSWITCH Consulting Services:<BR></DIV><A href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</A><mailto:<A href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</A>><BR>
<DIV><A href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</A><BR><BR>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR><A href="http://www.cudatel.com/">http://www.cudatel.com</A><BR><BR>Official FreeSWITCH Sites<BR><A href="http://www.freeswitch.org/">http://www.freeswitch.org</A><BR><A href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</A><BR><A href="http://www.cluecon.com/">http://www.cluecon.com</A><BR><BR>Join Us At ClueCon - Aug 7-9, 2012<BR><BR>FreeSWITCH-users mailing list<BR></DIV><A href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><mailto:<A href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A>><BR>
<DIV><A href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A href="http://www.freeswitch.org/">http://www.freeswitch.org</A><BR><BR><BR><BR><BR>--<BR>Muhammad Shahzad<BR>-----------------------------------<BR>CISCO Rich Media Communication Specialist (CRMCS)<BR>CISCO Certified Network Associate (CCNA)<BR>Cell: <A href="tel:%2B92%20334%20422%2040%2088">+92 334 422 40 88</A><BR></DIV>MSN: <A href="mailto:shari_786pk@hotmail.com">shari_786pk@hotmail.com</A><mailto:<A href="mailto:shari_786pk@hotmail.com">shari_786pk@hotmail.com</A>><BR>Email: <A href="mailto:shaheryarkh@googlemail.com">shaheryarkh@googlemail.com</A><mailto:<A href="mailto:shaheryarkh@googlemail.com">shaheryarkh@googlemail.com</A>><BR>!DSPAM:4fd978c432761360223007!<BR>
<DIV>_________________________________________________________________________<BR>Professional FreeSWITCH Consulting Services:<BR></DIV><A href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</A><mailto:<A href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</A>><BR>
<DIV><A href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</A><BR><BR>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR><A href="http://www.cudatel.com/">http://www.cudatel.com</A><BR><BR>Official FreeSWITCH Sites<BR><A href="http://www.freeswitch.org/">http://www.freeswitch.org</A><BR><A href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</A><BR><A href="http://www.cluecon.com/">http://www.cluecon.com</A><BR><BR>Join Us At ClueCon - Aug 7-9, 2012<BR><BR>FreeSWITCH-users mailing list<BR></DIV><A href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><mailto:<A href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A>><BR>
<DIV><A href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A href="http://www.freeswitch.org/">http://www.freeswitch.org</A><BR><BR><BR></DIV>!DSPAM:4fd978c432761360223007!<BR>
<DIV>
<DIV><BR>_________________________________________________________________________<BR>Professional FreeSWITCH Consulting Services:<BR><A href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</A><BR><A href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</A><BR><BR>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR><A href="http://www.cudatel.com/">http://www.cudatel.com</A><BR><BR>Official FreeSWITCH Sites<BR><A href="http://www.freeswitch.org/">http://www.freeswitch.org</A><BR><A href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</A><BR><A href="http://www.cluecon.com/">http://www.cluecon.com</A><BR><BR>Join Us At ClueCon - Aug 7-9, 2012<BR><BR>FreeSWITCH-users mailing list<BR><A href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><BR><A href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A href="http://www.freeswitch.org/">http://www.freeswitch.org</A><BR></DIV></DIV></BLOCKQUOTE></DIV><BR><BR>
<FIELDSET></FIELDSET> <BR><PRE>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<A href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</A>
<A href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</A>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<A href="http://www.cudatel.com/">http://www.cudatel.com</A>
Official FreeSWITCH Sites
<A href="http://www.freeswitch.org/">http://www.freeswitch.org</A>
<A href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</A>
<A href="http://www.cluecon.com/">http://www.cluecon.com</A>
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list
<A href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A>
<A href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A>
UNSUBSCRIBE:<A href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A>
<A href="http://www.freeswitch.org/">http://www.freeswitch.org</A>
</PRE></BLOCKQUOTE></DIV></DIV></DIV><BR>_________________________________________________________________________<BR>Professional FreeSWITCH Consulting Services:<BR><A href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</A><BR><A href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</A><BR><BR>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR><A href="http://www.cudatel.com/">http://www.cudatel.com</A><BR><BR>Official FreeSWITCH Sites<BR><A href="http://www.freeswitch.org/">http://www.freeswitch.org</A><BR><A href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</A><BR><A href="http://www.cluecon.com/">http://www.cluecon.com</A><BR><BR>Join Us At ClueCon - Aug 7-9, 2012<BR><BR>FreeSWITCH-users mailing list<BR><A href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><BR><A href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A href="http://www.freeswitch.org/">http://www.freeswitch.org</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></DIV><BR>_________________________________________________________________________<BR>Professional FreeSWITCH Consulting Services:<BR><A href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</A><BR><A href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</A><BR><BR>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR><A href="http://www.cudatel.com/">http://www.cudatel.com</A><BR><BR>Official FreeSWITCH Sites<BR><A href="http://www.freeswitch.org/">http://www.freeswitch.org</A><BR><A href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</A><BR><A href="http://www.cluecon.com/">http://www.cluecon.com</A><BR><BR>Join Us At ClueCon - Aug 7-9, 2012<BR><BR>FreeSWITCH-users mailing list<BR><A href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><BR><A href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A href="http://www.freeswitch.org/">http://www.freeswitch.org</A><BR><BR></BLOCKQUOTE></DIV><BR><BR clear=all>
<DIV><BR></DIV>-- <BR><B>Andrew Cassidy BSc (Hons) MBCS SSCA</B>
<DIV>Managing Director
<DIV>
<DIV><BR></DIV>
<DIV><BR>
<DIV><B style="FONT-FAMILY: sans-serif; COLOR: rgb(51,135,171); TEXT-DECORATION: none"><A style="FONT-FAMILY: sans-serif; COLOR: rgb(51,135,171); TEXT-DECORATION: none" href="mailto:info@cassidywebservices.co.uk">T</A> </B>03300 100 960 <B style="FONT-FAMILY: sans-serif; COLOR: rgb(51,135,171); TEXT-DECORATION: none"><A style="FONT-FAMILY: sans-serif; COLOR: rgb(51,135,171); TEXT-DECORATION: none" href="mailto:info@cassidywebservices.co.uk">F</A> </B>03300 100 961</DIV>
<DIV><B style="FONT-FAMILY: sans-serif; TEXT-DECORATION: none"><A style="FONT-FAMILY: sans-serif; COLOR: rgb(51,135,171); TEXT-DECORATION: none" href="mailto:info@cassidywebservices.co.uk">E</A> </B><A href="mailto:andrew@cassidywebservices.co.uk">andrew@cassidywebservices.co.uk</A></DIV>
<DIV><B style="FONT-FAMILY: sans-serif; TEXT-DECORATION: none"><A style="FONT-FAMILY: sans-serif; COLOR: rgb(51,135,171); TEXT-DECORATION: none" href="mailto:info@cassidywebservices.co.uk">W</A> </B><A href="http://www.cassidywebservices.co.uk/">www.cassidywebservices.co.uk</A></DIV></DIV></DIV></DIV><BR></DIV></BLOCKQUOTE>
<STYLE>
</STYLE>
<DIV> </DIV>
<DIV> </DIV></body></html>