This is the purpose of the fail2ban system that was already mentioned.<div><br></div><div>-Steve</div><div><br><div><br><br><div class="gmail_quote">On 13 May 2013 15:52, Telecube - John <span dir="ltr">&lt;<a href="mailto:john@telecube.com.au" target="_blank">john@telecube.com.au</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    You can install a log watching program that looks out for specific
    log entries and can take action. Eg; writing a firewall rule to ban
    the ip address of the system trying to make unauthorised calls.<br>
    <br>
    &#39;swatch&#39; is a good tool for this in linux systems.<br>
    <br>
    <a href="http://sourceforge.net/projects/swatch/" target="_blank">http://sourceforge.net/projects/swatch/</a><span class="HOEnZb"><font color="#888888"><br>
    <br>
    John <br></font></span><div><div class="h5">
    <br>
    <div>On 14/05/13 12:35 AM, Ken Rice wrote:<br>
    </div>
    <blockquote type="cite">
      
      <font face="Monaco, Courier New"><span style="font-size:11pt">Ok
          look at the 3rd column... This is someone trying to figure out
          how to get calls thru your public context with various prefix
          codexs... Notices how all the calls end with 972598371070
          &lt;-- that’s the intl destination umber probably a phone in
          gaza (definitely in Isreali controlled areas, but I think I
          looked up this number or similar number in the past)<br>
          <br>
          To protect yourself, only allow calls to local extentsions
          from the public context... <br>
           <br>
          <br>
          On 5/13/13 2:49 AM, &quot;Steven Ayre&quot; &lt;<a href="http://steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;
          wrote:<br>
          <br>
        </span></font>
      <blockquote><font face="Monaco, Courier New"><span style="font-size:11pt">The call duration is 0 seconds so no
            they didn&#39;t get in. Any accepted call attempt will generate
            a CDR even if it was not answered.<br>
            <br>
            They&#39;re coming in on the &#39;public&#39; context which&#39;ll mean an
            unauthenticated call on the external profile. That would be
            the context allowing you to receive calls from strangers.
            Providing that context doesn&#39;t allow them to dial out via
            providers that charge you this isn&#39;t an issue.<br>
            <br>
            -Steve<br>
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
            On 13 May 2013 07:17, Bala Murugan Mahendran &lt;<a href="http://b2m@a-cti.com" target="_blank">b2m@a-cti.com</a>&gt;
            wrote:<br>
          </span></font>
        <blockquote><font face="Monaco, Courier New"><span style="font-size:11pt">I have lot of entries like
              1000,1001,1002 and so on, Is someone trying to get inside?
              I believe they didn&#39;t in yet but how come we have cdr log
              like this?<br>
              <br>
              &quot;1004&quot;,&quot;1004&quot;,&quot;012972598371070&quot;,&quot;public&quot;,&quot;2013-05-12
              07:30:07&quot;,&quot;&quot;,&quot;2013-05-12
07:30:07&quot;,&quot;0&quot;,&quot;0&quot;,&quot;NORMAL_CLEARING&quot;,&quot;c522fb02-bad5-11e2-8eaf-7bfd76dfd5d7&quot;,&quot;&quot;,&quot;&quot;,&quot;G729&quot;,&quot;G729&quot;<br>
              &quot;1004&quot;,&quot;1004&quot;,&quot;013972598371070&quot;,&quot;public&quot;,&quot;2013-05-12
              07:30:07&quot;,&quot;&quot;,&quot;2013-05-12
07:30:07&quot;,&quot;0&quot;,&quot;0&quot;,&quot;NORMAL_CLEARING&quot;,&quot;c5571b44-bad5-11e2-8eb3-7bfd76dfd5d7&quot;,&quot;&quot;,&quot;&quot;,&quot;G729&quot;,&quot;G729&quot;<br>
              &quot;1004&quot;,&quot;1004&quot;,&quot;014972598371070&quot;,&quot;public&quot;,&quot;2013-05-12
              07:30:07&quot;,&quot;&quot;,&quot;2013-05-12
07:30:07&quot;,&quot;0&quot;,&quot;0&quot;,&quot;NORMAL_CLEARING&quot;,&quot;c58eb428-bad5-11e2-8eb7-7bfd76dfd5d7&quot;,&quot;&quot;,&quot;&quot;,&quot;G729&quot;,&quot;G729&quot;<br>
              &quot;1004&quot;,&quot;1004&quot;,&quot;010972598371070&quot;,&quot;public&quot;,&quot;2013-05-12
              07:30:08&quot;,&quot;&quot;,&quot;2013-05-12
07:30:08&quot;,&quot;0&quot;,&quot;0&quot;,&quot;NORMAL_CLEARING&quot;,&quot;c5c42d4c-bad5-11e2-8ebb-7bfd76dfd5d7&quot;,&quot;&quot;,&quot;&quot;,&quot;G729&quot;,&quot;G729&quot;<br>
              &quot;1004&quot;,&quot;1004&quot;,&quot;0061972598371070&quot;,&quot;public&quot;,&quot;2013-05-12
              07:30:08&quot;,&quot;&quot;,&quot;2013-05-12
07:30:08&quot;,&quot;0&quot;,&quot;0&quot;,&quot;NORMAL_CLEARING&quot;,&quot;c5fe993c-bad5-11e2-8ebf-7bfd76dfd5d7&quot;,&quot;&quot;,&quot;&quot;,&quot;G729&quot;,&quot;G729&quot;<br>
              &quot;1004&quot;,&quot;1004&quot;,&quot;0041972598371070&quot;,&quot;public&quot;,&quot;2013-05-12
              07:30:09&quot;,&quot;&quot;,&quot;2013-05-12
07:30:09&quot;,&quot;0&quot;,&quot;0&quot;,&quot;NORMAL_CLEARING&quot;,&quot;c63f939c-bad5-11e2-8ec3-7bfd76dfd5d7&quot;,&quot;&quot;,&quot;&quot;,&quot;G729&quot;,&quot;G729&quot;<br>
              &quot;1004&quot;,&quot;1004&quot;,&quot;000972598371070&quot;,&quot;public&quot;,&quot;2013-05-12
              07:30:09&quot;,&quot;&quot;,&quot;2013-05-12
07:30:09&quot;,&quot;0&quot;,&quot;0&quot;,&quot;NORMAL_CLEARING&quot;,&quot;c67a9f5a-bad5-11e2-8ec7-7bfd76dfd5d7&quot;,&quot;&quot;,&quot;&quot;,&quot;G729&quot;,&quot;G729&quot;<br>
              &quot;1004&quot;,&quot;1004&quot;,&quot;006972598371070&quot;,&quot;public&quot;,&quot;2013-05-12
              07:30:09&quot;,&quot;&quot;,&quot;2013-05-12
07:30:09&quot;,&quot;0&quot;,&quot;0&quot;,&quot;NORMAL_CLEARING&quot;,&quot;c6afc2fc-bad5-11e2-8ecb-7bfd76dfd5d7&quot;,&quot;&quot;,&quot;&quot;,&quot;G729&quot;,&quot;G729&quot;<br>
              &quot;1004&quot;,&quot;1004&quot;,&quot;002972598371070&quot;,&quot;public&quot;,&quot;2013-05-12
              07:30:10&quot;,&quot;&quot;,&quot;2013-05-12
07:30:10&quot;,&quot;0&quot;,&quot;0&quot;,&quot;NORMAL_CLEARING&quot;,&quot;c6ec0b5e-bad5-11e2-8ecf-7bfd76dfd5d7&quot;,&quot;&quot;,&quot;&quot;,&quot;G729&quot;,&quot;G729&quot;<br>
              &quot;1004&quot;,&quot;1004&quot;,&quot;810972598371070&quot;,&quot;public&quot;,&quot;2013-05-12
              07:29:49&quot;,&quot;&quot;,&quot;2013-05-12
07:29:49&quot;,&quot;0&quot;,&quot;0&quot;,&quot;NORMAL_CLEARING&quot;,&quot;ba7999a4-bad5-11e2-8b6f-7bfd76dfd5d7&quot;,&quot;&quot;,&quot;&quot;,&quot;G729&quot;,&quot;G729&quot;<br>
              <br>
              <br>
              Thanks,<br>
              Bala<br>
              <br>
_________________________________________________________________________<br>
              Professional FreeSWITCH Consulting Services:<br>
              <a href="http://consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
              <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
              <br>
              FreeSWITCH-powered IP PBX: The CudaTel Communication
              Server<br>
              <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
              <br>
              Official FreeSWITCH Sites<br>
              <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
              <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
              <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
              <br>
              FreeSWITCH-users mailing list<br>
              <a href="http://FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
              <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
              <br>
            </span></font></blockquote>
        <font face="Monaco, Courier New"><span style="font-size:11pt"><br>
            <br>
            <hr size="3" width="95%" align="CENTER"></span></font><font><font face="Consolas, Courier New, Courier"><span style="font-size:10pt">_________________________________________________________________________<br>


              Professional FreeSWITCH Consulting Services:<br>
              <a href="http://consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
              <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
              <br>
              FreeSWITCH-powered IP PBX: The CudaTel Communication
              Server<br>
              <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
              <br>
              Official FreeSWITCH Sites<br>
              <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
              <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
              <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
              <br>
              FreeSWITCH-users mailing list<br>
              <a href="http://FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
              <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
            </span></font></font></blockquote>
      <font><font face="Consolas, Courier New, Courier"><span style="font-size:10pt"><br>
          </span></font></font><font face="Monaco, Courier New"><span style="font-size:11pt">-- <br>
          Ken<br>
          <font color="#0000FF"><u><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
              <a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
              <a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br>
            </u></font><a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
        </span></font>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>