iptables MARK
Hi,
Please help me. Does somebody know exactly which part of ip header carry iptables MARK?
I would like to mark packets on cisco router and shape it on a linux box. Sorry for the English :)))
Thanks a lot,
Blagovest Lazarov
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 3 lines · Blagovest Lazarov
Hi,
Please help me. Does somebody know exactly which part of ip header carry iptables MARK?
The MARKing is not done on the IP packet itself. It MARKs the internal IP data structure used by the kernel. If you want to mark (note the lower case notation here as opposed to MARK) you can use the TOS field.
Ramin
Quoted 4 lines
I would like to mark packets on cisco router and shape it on a linux box. Sorry for the English :)))
Thanks a lot,
Quoted 8 lines
Blagovest Lazarov
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Blagovest,
You are actually desiring to use ToS (Type of Service) markers on the IP packet itself. In order to set ToS, you'll use the -j TOS option to iptables.
http://iptables-tutorial.frozentux.net/iptables-tutorial.html#AEN2530
Good luck,
-Martin
On Thu, 3 Oct 2002, Blagovest Lazarov wrote:
: Hi,
: Please help me. Does somebody know exactly which part of ip header carry iptables : MARK?
: I would like to mark packets on cisco router and shape it on a linux box. : Sorry for the English :)))
: Thanks a lot,
:
: Blagovest Lazarov
:
:
:
:
: _______________________________________________
: LARTC mailing list / [email protected]
: http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
:
Signature · 6 lines
Martin A. Brown --- SecurePipe, Inc. --- [email protected] _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/