From: Jaco van der Schyff <jvds@netgroup.co.za>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Marking packets for shaping
Date: Wed, 16 May 2001 14:52:30 +0000 [thread overview]
Message-ID: <marc-lartc-99002466513181@msgid-missing> (raw)
In-Reply-To: <marc-lartc-99002340108447@msgid-missing>
I removed the comments from the file below, also this isnt the
complete file, but it should be enough to give you an idea what
I want to acheive.
iptables -A PREROUTING -t mangle -p tcp -s 0/0 -d 192.168.62.0/24 -j
MARK \
--set-mark 1
tc qdisc add dev eth1 root handle 10: cbq bandwidth 64Kbit avpkt 1000
tc class add dev eth1 parent 10:0 classid 10:1 cbq bandwidth 64Kbit rate
\
64Kbit allot 1514 weight 6Kbit prio 8 maxburst 20 avpkt 1000
tc class add dev eth1 parent 10:1 classid 10:100 cbq bandwidth 64Kbit
rate \
32Kbit allot 1514 weight 3Kbit prio 5 maxburst 20 avpkt 100 bounded
tc qdisc add dev eth1 parent 10:100 sfq quantum 1514b perturb 15
tc filter add dev eth1 protocol ip parent 10:1 prio 100 handle 1 fw
classid 1:100
Regards
- Jaco van der Schyff
jvds@netgroup.co.za
+27 12 803 7591
+27 12 803 7285 (f)
+27 83 680 4922 (mobile)
f6e2eb48937f22e159a408c84533cdcb
Ramin Alidousti wrote:
>
> what is/are your setup/rules? It should work just fine.
>
> Ramin
>
> On Wed, May 16, 2001 at 04:32:00PM +0200, Jaco van der Schyff wrote:
>
> > Greetings earthlings,
> >
> > I am batteling to get NATted packets marked with iptables,
> > to shape them later using the fw filter.
> >
> > Has anyone tried to mark packets that are masqueraded, or
> > to shape masqueraded connections?
> >
> > It doesn't seem to work.
> >
> > If any knows what to do, please help.
> >
> > Regards
> >
> > - Jaco van der Schyff
> > jvds@netgroup.co.za
> >
> > +27 12 803 7591
> > +27 12 803 7285 (f)
> > +27 83 680 4922 (mobile)
> >
> > f6e2eb48937f22e159a408c84533cdcb
> >
> > _______________________________________________
> > LARTC mailing list / LARTC@mailman.ds9a.nl
> > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
next prev parent reply other threads:[~2001-05-16 14:52 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-16 14:32 [LARTC] Marking packets for shaping Jaco van der Schyff
2001-05-16 14:40 ` Ramin Alidousti
2001-05-16 14:52 ` Jaco van der Schyff [this message]
2001-05-16 15:07 ` Ramin Alidousti
2001-05-16 22:23 ` Ramin Alidousti
2001-05-16 23:19 ` johan
2001-05-16 23:30 ` Ramin Alidousti
2001-05-17 10:44 ` johan
2001-05-17 10:47 ` johan
2001-05-17 11:24 ` Ramin Alidousti
2001-05-17 12:41 ` johan
2001-05-17 12:52 ` Ramin Alidousti
2001-05-17 20:04 ` Rodrigo Goya
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-99002466513181@msgid-missing \
--to=jvds@netgroup.co.za \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.