<div><div dir="auto">Can you share your potables? Might be interesting for the the community.</div></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 29 Jan 2020 at 10:32, António Silva via FreeSWITCH-users <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><br><br><br>---------- Forwarded message ----------<br>From: "António Silva" <<a href="mailto:asilva@wirelessmundi.com" target="_blank">asilva@wirelessmundi.com</a>><br>To: Mickael Hubert <<a href="mailto:mickael@winlux.fr" target="_blank">mickael@winlux.fr</a>>, FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>Cc: <br>Bcc: <br>Date: Wed, 29 Jan 2020 11:09:37 +0100<br>Subject: Re: [Freeswitch-users] Limit cps per source IP and port<br>
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>Hi Michael,</p>
    <p>Thanks a lot for the reply.  I was searching of something at
      sofia level, before it  enters the xml routing decision. </p>
    <p>We already have the parameters sessions-per-second and
      max-sessions, but is for the entire switch, my idea has to have
      the same type of parameters per account/source ip, but i is not
      implemented. i've a draft on a lab machine where i'm trying to
      implement this but for now is not good...<br>
    </p>
    <p>Right now I'm using iptables to limit the maximum of new invites
      to FS, and it keeps me "safe" and i can limit resources per source
      IP. <br>
    </p></div><div text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <div>On 29/01/2020 10:15, Mickael Hubert
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div>Maybe it's very late,</div>
        <div>but I use this: <a href="https://github.com/Mickaelh51/freeswitch/blob/master/pingcalls_limit.xml" target="_blank">https://github.com/Mickaelh51/freeswitch/blob/master/pingcalls_limit.xml</a></div>
        <div>it's not per IP, but it's easy to change this code<br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">Le lun. 22 juil. 2019 à 23:03,
          António Silva via FreeSWITCH-users <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>>
          a écrit :<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><br>
          <br>
          <br>
          ---------- Forwarded message ----------<br>
          From: "António Silva" <<a href="mailto:asilva@wirelessmundi.com" target="_blank">asilva@wirelessmundi.com</a>><br>
          To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>
          Cc: <br>
          Bcc: <br>
          Date: Thu, 18 Jul 2019 10:52:14 +0200<br>
          Subject: Limit cps per source IP and port<br>
          Hi,<br>
          <br>
          is it possible to limit the number of calls per source ip and
          port <br>
          before the dialplan?<br>
          <br>
          I know that this can be done using mod_limit in the dialplan,
          i was <br>
          thinking of a limit like the sessions-per-second global limit,
          this way <br>
          less resources are used if some ip/port is flooding our
          machine.<br>
          <br>
          Another possibility is using the firewall... but i like this
          option less <br>
          because i wont know of the drop calls.<br>
          <br>
          Thanks,<br>
          <br>
          -- <br>
          Saludos / Regards / Cumprimentos<br>
          António Silva<br>
          <br>
          <br>
          <br>
          <br>
          <br>
          ---------- Forwarded message ----------<br>
          From: "António Silva via FreeSWITCH-users" <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>
          To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>
          Cc: <br>
          Bcc: <br>
          Date: Mon, 22 Jul 2019 14:03:23 -0700 (PDT)<br>
          Subject: [Freeswitch-users] Limit cps per source IP and port<br>
_________________________________________________________________________<br>
          <br>
          The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
          Enhance your FreeSWITCH install with disruptive priced SMS and
          PSTN services.<br>
          Build your next product on our scalable cloud platform.<br>
          <br>
          Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
          <br>
          Professional FreeSWITCH Services<br>
          <a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
          <a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
          <br>
          Official FreeSWITCH Sites<br>
          <a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
          <a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
          <a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
          <br>
          FreeSWITCH-users mailing list<br>
          <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
          <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
          UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
          <a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote>
      </div>
    </blockquote>
    <pre cols="72" style="font-family:monospace">-- 
Saludos / Regards / Cumprimentos
António Silva</pre>
  </div>

<br><br><br>---------- Forwarded message ----------<br>From: "António Silva via FreeSWITCH-users" <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>To: Mickael Hubert <<a href="mailto:mickael@winlux.fr" target="_blank">mickael@winlux.fr</a>>, FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>Cc: <br>Bcc: <br>Date: Wed, 29 Jan 2020 02:32:08 -0800 (PST)<br>Subject: Re: [Freeswitch-users] Limit cps per source IP and port<br>_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div>