Hello! tc filter add [.. ]protocol ip prio 100 u32 match ip src 10.1.0.200 \ match ip sport 22 0xffff flowid 1:7 this line filter TCP only?, or TCP, UDP and ICMP? -- Best regards, Fabian mailto:fabian1@inter-k.com.ar
On Sat, Feb 09, 2002 at 03:01:32PM -0600, Fabian Gervan wrote:> Hello! > > tc filter add [.. ]protocol ip prio 100 u32 match ip src 10.1.0.200 \ > match ip sport 22 0xffff flowid 1:7 > > this line filter TCP only?, or TCP, UDP and ICMP?Both. -- http://www.PowerDNS.com Versatile DNS Software & Services http://www.tk the dot in .tk Netherlabs BV / Rent-a-Nerd.nl - Nerd Available - Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc
On Sun, Feb 10, 2002 at 12:13:25PM +0100, bert hubert wrote:> > tc filter add [.. ]protocol ip prio 100 u32 match ip src 10.1.0.200 \ > > match ip sport 22 0xffff flowid 1:7 > > > > this line filter TCP only?, or TCP, UDP and ICMP? > > Both.Not exactly for icmp, btw. -- Jasper Spaans http://jsp.ds9a.nl/contact/ Tel/Fax: +31-84-8749842 ``Got no clue? Too bad for you.''''