Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] U32 filter for IPSEC (ESP)
@ 2003-01-05 23:49 Gilles Douillet
  2003-01-08 18:29 ` bert hubert
  0 siblings, 1 reply; 2+ messages in thread
From: Gilles Douillet @ 2003-01-05 23:49 UTC (permalink / raw)
  To: lartc


Hi all,

After reading a lot and searching on the INternet, I want to filter ASP
and/or AH traffic

According to /etc/protocols ESP and AH are IP protos 50 and 51

so this u32 filter should work ? (I can use fw filter because the
firewall/VPN can't mark pakets :-(

tc filter add dev ethX parent X:0 protocol ip prio X u32 match ip protocol
50 0xff flowid X:XX ?

Can someone confirm this ?

Many thanks

G.



_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] U32 filter for IPSEC (ESP)
  2003-01-05 23:49 [LARTC] U32 filter for IPSEC (ESP) Gilles Douillet
@ 2003-01-08 18:29 ` bert hubert
  0 siblings, 0 replies; 2+ messages in thread
From: bert hubert @ 2003-01-08 18:29 UTC (permalink / raw)
  To: lartc

On Mon, Jan 06, 2003 at 12:49:54AM +0100, Gilles Douillet wrote:

> so this u32 filter should work ? (I can use fw filter because the
> firewall/VPN can't mark pakets :-(
> 
> tc filter add dev ethX parent X:0 protocol ip prio X u32 match ip protocol
> 50 0xff flowid X:XX ?

Looks fine, but try proving it - just send this traffic to anotherwise empty
class and run 'tc -s qdisc ls dev eth0' and 'tc -s class ls dev eth0' to see
if the counters change.

Regards,

bert

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
http://netherlabs.nl                         Consulting
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2003-01-08 18:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-05 23:49 [LARTC] U32 filter for IPSEC (ESP) Gilles Douillet
2003-01-08 18:29 ` bert hubert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox