From: Paul Date: Fri, 23 Jun 2006 08:01:45 +0000 Subject: [LARTC] TCNG question Message-Id: MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============0797452638==" List-Id: To: lartc@vger.kernel.org --===============0797452638== Content-Type: multipart/alternative; boundary="----=_Part_18172_8258027.1151049705556" ------=_Part_18172_8258027.1151049705556 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hey all, i have a class. class ( <$call1> ) if ip_dst == 10.100.1.6 && tcp_dport == 22 if ip_src == 10.100.1.4 && tcp_sport == 22 ; Now when i apply this traffic TO 6 on port 22 is indeed limited to the speed i specify BUT it doesn't seem to take the src into account at all. If i change the src to anything, even an address that doesn't exist it still limits the speed. I need this class to only apply is both source and destination ips are satisfied. Anyone know whats going on ? ------=_Part_18172_8258027.1151049705556 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hey all, i have a class.

class ( <$call1> ) if ip_dst == 10.100.1.6 && tcp_dport == 22
                  if ip_src == 10.100.1.4 && tcp_sport == 22
            ;

Now when i apply this traffic TO 6 on port 22 is indeed limited to the speed i specify BUT it doesn't seem to take the src into account at all. If i change the src to anything, even an address that doesn't exist it still limits the speed.

I need this class to only apply is both source and destination ips are satisfied.

Anyone know whats going on ?
------=_Part_18172_8258027.1151049705556-- --===============0797452638== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============0797452638==--