All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] combining fw and u32
@ 2005-02-01 14:49 richard lucassen
  2005-02-01 14:58 ` Catalin(ux aka Dino) BOIE
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: richard lucassen @ 2005-02-01 14:49 UTC (permalink / raw)
  To: lartc

Is it possible to create 1 filter rule using fw selectors AND u32
selectors?

Richard.

-- 
___________________________________________________________________
Recursion: see recursion

+------------------------------------------------------------------+
| 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/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] combining fw and u32
  2005-02-01 14:49 [LARTC] combining fw and u32 richard lucassen
@ 2005-02-01 14:58 ` Catalin(ux aka Dino) BOIE
  2005-02-01 15:11 ` richard lucassen
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Catalin(ux aka Dino) BOIE @ 2005-02-01 14:58 UTC (permalink / raw)
  To: lartc

On Tue, 1 Feb 2005, richard lucassen wrote:

> Is it possible to create 1 filter rule using fw selectors AND u32
> selectors?
>
> Richard.

http://kernel.umbrella.ro if you don't have 2.6.11-rc1.
If you have the latest iproute2 you can do:

# send a packet with mark 3 and tcp with dport >= 1024 to 1:50
tc filter add dev dummy0 \
 	protocol ip \
 	parent 1: prio 13 \
 	u32 \
 	match mark 0x0003 0xffff \
 	match ip dport 0x0400 0x0400 \
 	flowid 1:50

See this link for more examples:
http://kernel.umbrella.ro/net/mark_in_u32/examples.txt

>
> -- 
> ___________________________________________________________________
> Recursion: see recursion
>
> +------------------------------------------------------------------+
> | 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/mailman/listinfo/lartc HOWTO: http://lartc.org/
>

---
Catalin(ux aka Dino) BOIE
catab at deuroconsult.ro
http://kernel.umbrella.ro/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] combining fw and u32
  2005-02-01 14:49 [LARTC] combining fw and u32 richard lucassen
  2005-02-01 14:58 ` Catalin(ux aka Dino) BOIE
@ 2005-02-01 15:11 ` richard lucassen
  2005-02-01 15:18 ` Catalin(ux aka Dino) BOIE
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: richard lucassen @ 2005-02-01 15:11 UTC (permalink / raw)
  To: lartc

On Tue, 1 Feb 2005 16:58:46 +0200 (EET)
"Catalin(ux aka Dino) BOIE" <util@deuroconsult.ro> wrote:

> > Is it possible to create 1 filter rule using fw selectors AND u32
> > selectors?
> 
> http://kernel.umbrella.ro if you don't have 2.6.11-rc1.
> If you have the latest iproute2 you can do:
> 
> # send a packet with mark 3 and tcp with dport >= 1024 to 1:50
> tc filter add dev dummy0 \
>  	protocol ip \
>  	parent 1: prio 13 \
>  	u32 \
>  	match mark 0x0003 0xffff \
>  	match ip dport 0x0400 0x0400 \
>  	flowid 1:50
> 
> See this link for more examples:
> http://kernel.umbrella.ro/net/mark_in_u32/examples.txt

Ok, thnx, unfortunately it's a 2.4 machine. I just saw it in the
changelog of 2.6.11rc1. That's a good thing :-)

As this machine will be upgraded in the coming months, I'll put 2.6.11
on it. And which version do you call "new iproute2"?

R.

-- 
___________________________________________________________________
Recursion: see recursion

+------------------------------------------------------------------+
| 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/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] combining fw and u32
  2005-02-01 14:49 [LARTC] combining fw and u32 richard lucassen
  2005-02-01 14:58 ` Catalin(ux aka Dino) BOIE
  2005-02-01 15:11 ` richard lucassen
@ 2005-02-01 15:18 ` Catalin(ux aka Dino) BOIE
  2005-02-01 16:01 ` richard lucassen
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Catalin(ux aka Dino) BOIE @ 2005-02-01 15:18 UTC (permalink / raw)
  To: lartc

> As this machine will be upgraded in the coming months, I'll put 2.6.11
> on it. And which version do you call "new iproute2"?

If you download it _now_, you'll be ok. :)

>
> R.
>
> -- 
> ___________________________________________________________________
> Recursion: see recursion
>
> +------------------------------------------------------------------+
> | 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/mailman/listinfo/lartc HOWTO: http://lartc.org/
>

---
Catalin(ux aka Dino) BOIE
catab at deuroconsult.ro
http://kernel.umbrella.ro/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] combining fw and u32
  2005-02-01 14:49 [LARTC] combining fw and u32 richard lucassen
                   ` (2 preceding siblings ...)
  2005-02-01 15:18 ` Catalin(ux aka Dino) BOIE
@ 2005-02-01 16:01 ` richard lucassen
  2005-02-02 11:07 ` Catalin(ux aka Dino) BOIE
  2005-02-02 11:35 ` Adolf Nepolean Raj
  5 siblings, 0 replies; 7+ messages in thread
From: richard lucassen @ 2005-02-01 16:01 UTC (permalink / raw)
  To: lartc

On Tue, 1 Feb 2005 17:18:14 +0200 (EET)
"Catalin(ux aka Dino) BOIE" <util@deuroconsult.ro> wrote:

> > As this machine will be upgraded in the coming months, I'll put
> > 2.6.11 on it. And which version do you call "new iproute2"?
> 
> If you download it _now_, you'll be ok. :)

<lazy_mode>

Of course :-) But as I'm lazy I wondered if the Debian Sarge (20041019)
was new enough ;-)

</lazy_mode>

-- 
___________________________________________________________________
Recursion: see recursion

+------------------------------------------------------------------+
| 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/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] combining fw and u32
  2005-02-01 14:49 [LARTC] combining fw and u32 richard lucassen
                   ` (3 preceding siblings ...)
  2005-02-01 16:01 ` richard lucassen
@ 2005-02-02 11:07 ` Catalin(ux aka Dino) BOIE
  2005-02-02 11:35 ` Adolf Nepolean Raj
  5 siblings, 0 replies; 7+ messages in thread
From: Catalin(ux aka Dino) BOIE @ 2005-02-02 11:07 UTC (permalink / raw)
  To: lartc

On Tue, 1 Feb 2005, richard lucassen wrote:

> On Tue, 1 Feb 2005 17:18:14 +0200 (EET)
> "Catalin(ux aka Dino) BOIE" <util@deuroconsult.ro> wrote:
>
>>> As this machine will be upgraded in the coming months, I'll put
>>> 2.6.11 on it. And which version do you call "new iproute2"?
>>
>> If you download it _now_, you'll be ok. :)
>
> <lazy_mode>
>
> Of course :-) But as I'm lazy I wondered if the Debian Sarge (20041019)
> was new enough ;-)
>
> </lazy_mode>

Nope.

---
Catalin(ux aka Dino) BOIE
catab at deuroconsult.ro
http://kernel.umbrella.ro/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] combining fw and u32
  2005-02-01 14:49 [LARTC] combining fw and u32 richard lucassen
                   ` (4 preceding siblings ...)
  2005-02-02 11:07 ` Catalin(ux aka Dino) BOIE
@ 2005-02-02 11:35 ` Adolf Nepolean Raj
  5 siblings, 0 replies; 7+ messages in thread
From: Adolf Nepolean Raj @ 2005-02-02 11:35 UTC (permalink / raw)
  To: lartc

hai..
  I want to know about packer separation. Tell me the links and some
source codes. That will be helpful for my project.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2005-02-02 11:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-01 14:49 [LARTC] combining fw and u32 richard lucassen
2005-02-01 14:58 ` Catalin(ux aka Dino) BOIE
2005-02-01 15:11 ` richard lucassen
2005-02-01 15:18 ` Catalin(ux aka Dino) BOIE
2005-02-01 16:01 ` richard lucassen
2005-02-02 11:07 ` Catalin(ux aka Dino) BOIE
2005-02-02 11:35 ` Adolf Nepolean Raj

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.