All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrik ph@kurd.nu
To: lartc@vger.kernel.org
Subject: [LARTC] Prioritize SSH and telnet
Date: Sun, 07 Jan 2001 01:16:20 +0000	[thread overview]
Message-ID: <marc-lartc-98373940416827@msgid-missing> (raw)

<PRE>Hi routing-experts !

If I want to prioritize up ssh and telnet traffic with Linux 2.4 netfilter
and iproute2. I've set outbound tcp 22, 23 and 21 TOSbits to minimize delay,
but this doesn't seem to be enough to prioritize ssh over for example
http-traffic.

I'm using modem to connect to Internet and got an entire LAN behind the
Linux router/firewall. Well, I think most of you get my point...

---snap---
#mark ssh packets
iptables -t mangle -A PREROUTING -p tcp --sport 22 -d
host-that-receives-inbound-traffic -j MARK --set-mark 1

tc qdisc add dev eth0 root handle 1: prio
tc filter add dev eth0 parent 1:0 proto ip prio 1 handle 1 fw classid 1:1
---snap---

I'm very new and unfamiliar with the iproute2. Having read the manuals and
faq, still there are many questionmarks running through my head :-)

Help will be appreciated, and rewarded :)

Sincerely Patrik



</PRE>

             reply	other threads:[~2001-01-07  1:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-07  1:16 Patrik [this message]
2001-01-07 16:08 ` [LARTC] Prioritize SSH and telnet bert
2001-01-08 19:38 ` Junus

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-98373940416827@msgid-missing \
    --to=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.