From: "Matus Petrulak" <matis@bonet.sk>
To: lartc@vger.kernel.org
Subject: [LARTC] prioritizing traffic using PRIO qdisc
Date: Sat, 06 Sep 2003 09:03:28 +0000 [thread overview]
Message-ID: <marc-lartc-106283920702927@msgid-missing> (raw)
i am connected to internet through linux router.
I want to prioritize all SSH traffic over other traffic.
I tried to do this using:
iptables -t mangle -A PREROUTING -i eth0 -p tcp --sport ssh -j TOS
--set-tos Minimize-Delay
but it was not effective at all.
so i tried this:
# i think this creates 3 bands (1,2,3) and band 1 has the highets priority
# and i think than every normal packet go to band 2
tc qdisc add dev eth1 root handle 1: prio
# marked SSH packets with 1
iptables -t mangle -A OUTPUT -i eth1 -p tcp --sport ssh -j MARK --set-mark 1
# all packets with mark 1 goes to band with highest priority
tc filter add dev eth1 parent 1: protocol ip prio 1 handle 1 fw classid 1:1
but the ssh connection was not interactive. My bandwidth is 256kbit.
Please can someone help me?
Best regards
Matis
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next reply other threads:[~2003-09-06 9:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-06 9:03 Matus Petrulak [this message]
2003-09-07 23:22 ` [LARTC] prioritizing traffic using PRIO qdisc Damion de Soto
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-106283920702927@msgid-missing \
--to=matis@bonet.sk \
--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.