All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] invert u32 match selector
@ 2006-02-21 16:25 richard lucassen
  2006-02-22  9:43 ` Vaidas
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: richard lucassen @ 2006-02-21 16:25 UTC (permalink / raw)
  To: lartc

Is it possible to negate the "match" to the ip? I want to match all
traffic to dport 80 NOT going to dst 1.2.3.4:

$TC filter add dev ${DEV_IFB} parent 1:0 prio 2 protocol ip u32 \
  match ip protocol 0x6 0xff \
  match ip dport 80 0xffff \
  match ip dst 1.2.3.4/32 \
  classid 1:14

I can't find it in the docs. I tried "!" "\!" and "not" in several
places, but always resulting in a "illegal match".

R.

-- 
___________________________________________________________________
It is better to remain silent and be thought a fool, than to speak
aloud and remove all doubt.

+------------------------------------------------------------------+
| Richard Lucassen, Utrecht                                        |
| Public key and email address:                                    |
| http://www.lucassen.org/mail-pubkey.html                         |
+------------------------------------------------------------------+
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-03-01 15:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-21 16:25 [LARTC] invert u32 match selector richard lucassen
2006-02-22  9:43 ` Vaidas
2006-02-22 10:35 ` richard lucassen
2006-02-22 11:04 ` Anton Glinkov
2006-02-25 16:04 ` Andy Furniss
2006-02-26 17:38 ` richard lucassen
2006-03-01 15:01 ` Andy Furniss

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.