Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > 29a493455bf13f179ce7e1966c93f83f > files > 19

aprsd-2.2.5-15.6.fc12.i686.rpm

<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>All packets</title>
<meta name="Microsoft Theme" content="none">
<meta name="Microsoft Border" content="none">
</head>

<body>

<span class="870525523-28072002">
<p dir="ltr" style="margin-right: 0px" align="center"><font size="5"><b>Q 
Algorithm<br>
</b></font>
<!--webbot bot="Navigation" S-Type="sequence" S-Orientation="horizontal" S-Rendering="graphics" B-Include-Home="FALSE" B-Include-Up="FALSE" U-Page="sid:1100" startspan --><nobr>[&nbsp;<a href="q.htm" target="">Construct</a>&nbsp;]</nobr> <nobr>[&nbsp;Algorithm&nbsp;]</nobr><!--webbot bot="Navigation" i-checksum="15504" endspan --></p>
<span class="120581313-31072002">
<p dir="ltr" style="MARGIN-RIGHT: 0px"><font face="Arial" size="2">All packets:<br>
{<br>
&nbsp;&nbsp;&nbsp; If there is a q construct in the path:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Skip to &quot;All packets with q constructs&quot;</font></p>
<p dir="ltr" style="MARGIN-RIGHT: 0px"><font face="Arial" size="2">&nbsp;&nbsp;&nbsp; If the 
packet entered the server from an UDP port:<br>
&nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Append ,qAU,SERVERLOGIN<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Quit q&nbsp;processing<br>
&nbsp;&nbsp;&nbsp; }</font></p>
<p dir="ltr" style="MARGIN-RIGHT: 0px"><font face="Arial" size="2">&nbsp;&nbsp;&nbsp; If the 
packet entered the server from an unverified connection and has been converted 
to TCPXX format (per current validation algorithm):<br>
&nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (All packets not deemed &quot;OK&quot; from an unverified connection should never 
make it here.)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Append ,qAX,FROMCALL<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Skip to &quot;All packets with q constructs&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;}</font></p>
<p dir="ltr" style="MARGIN-RIGHT: 0px"><font face="Arial"><font size="2">&nbsp;&nbsp;&nbsp; If 
packet entered the server from a verified connection:<br>
&nbsp;&nbsp;&nbsp; {<br>
<font color="#ff00ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If&nbsp;header is terminated&nbsp;with ,I:<br>
</font></font><font color="#ff00ff" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If&nbsp;the VIACALL preceding the ,I&nbsp;matches the login:</font></font><br>
<font size="2" face="Arial"><font color="#ff00ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Change from ,VIACALL,I 
to ,qAR,VIACALL<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Else<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Change from ,VIACALL,I to ,qAr,VIACALL<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else If the FROMCALL matches the login:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Append ,qAC,FROMCALL<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Append ,qAS,login<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Skip to &quot;All packets with q constructs&quot;<br>
&nbsp;&nbsp;&nbsp; }</font></p>
<p dir="ltr" style="MARGIN-RIGHT: 0px"><font face="Arial" size="2">&nbsp;&nbsp;&nbsp; If packet 
entered the server from an outbound connection (to another server's port 1313, 
for instance):<br>
&nbsp;&nbsp;&nbsp; {<br>
</font><font face="Arial" color="#ff00ff" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If&nbsp;header is 
terminated&nbsp;with ,I:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Change from ,VIACALL,I to ,qAr,VIACALL<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><font size="2" face="Arial"><font color="#ff00ff">Else<br>
</font><font color="#ff0000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><font color="#00FF00">Append ,qAS,IPADDR 
(IPADDR is an 8 character hex representation of the IP address of the remote 
server)<br>
</font>&nbsp;&nbsp;&nbsp; }<br>
}</font></p>
<p dir="ltr" style="MARGIN-RIGHT: 0px"><font face="Arial" size="2">All packets 
with q constructs:<br>
{<br>
&nbsp;&nbsp;&nbsp;&nbsp;if ,qAZ, is&nbsp;the q&nbsp;construct:<br>
&nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dump to the packet to the reject log<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Quit processing the packet<br>
&nbsp;&nbsp;&nbsp; }</font></p>
<p dir="ltr" style="MARGIN-RIGHT: 0px"><font face="Arial" size="2">&nbsp;&nbsp;&nbsp; If ,SERVERLOGIN or IGATECALL 
is found after the q construct:<br>
&nbsp;&nbsp;&nbsp; {</font><font size="+0"><br>
</font><font face="Arial" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dump to the loop log with the 
sender's IP address for identification<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Quit processing the packet<br>
&nbsp;&nbsp;&nbsp; }</font></p>
<p dir="ltr" style="MARGIN-RIGHT: 0px"><font face="Arial" size="2">&nbsp;&nbsp;&nbsp; If the 
packet is from a verified port and the login is found after the q construct but 
is not the LAST VIACALL:<br>
&nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dump to the loop log with the sender's IP address for identification<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Quit processing the packet<br>
&nbsp;&nbsp;&nbsp; }</font></p>
<p dir="ltr" style="MARGIN-RIGHT: 0px"><font size="2" face="Arial">&nbsp;&nbsp;&nbsp; If trace 
is on, the q construct is qAI<font color="#0000FF">, or the FROMCALL is on the 
server's trace list</font>:<br>
&nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If the packet is from a verified port where the login is not found after 
the q construct:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Append ,login<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Append ,SERVERLOGIN<br>
&nbsp;&nbsp;&nbsp; }<br>
}</font></p>
</span>
</span>

</body>

</html>