Neat! Great Idea. I hate ALGs. BTW, Does anyone know of an ALG that actually works?<div><br><br><div class="gmail_quote">On Sat, Jun 13, 2009 at 7:19 PM, Iņaki Baz Castillo <span dir="ltr">&lt;<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi, as part of my personal battle against SIP ALG routers, I&#39;ve created an<br>
utility to detect such routers:<br>
<br>
  <a href="http://dev.sipdoc.net/wiki/sip-stuff/SIP-ALG-Detector" target="_blank">http://dev.sipdoc.net/wiki/sip-stuff/SIP-ALG-Detector</a><br>
<br>
It has two parts: client and server:<br>
<br>
Basically, the client node running into the LAN sends an INVITE to the server<br>
node (running in a host with public IP).<br>
The request could be modified by the LAN router if SIP ALG is enabled.<br>
The server encodes the received request in Base64 and appends it to the SIP<br>
response.<br>
The client receives the response, decodes the body and gets the request as it<br>
arrived to the server.<br>
Then it creates a diff between the original request and the the request the<br>
server node received. These differences are displayed in the screen.<br>
<br>
Both, UDP and TCP, tests are performed.<br>
<br>
<br>
The client node is coded in Ruby and should work in any operating system (if<br>
Ruby is installed).<br>
<br>
The server node is also coded in Ruby.<br>
<br>
<br>
For those interested in trying it, I have a server node running in my personal<br>
server:<br>
  <a href="http://87.98.230.161:5060" target="_blank">87.98.230.161:5060</a><br>
You can test the client against my server.<br>
<br>
<br>
Feedback is welcome :)<br>
Regards.<br>
<font color="#888888"><br>
<br>
--<br>
Iņaki Baz Castillo &lt;<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>&gt;<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</font></blockquote></div><br></div>