All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Prioritize SSH and telnet
@ 2001-01-07  1:16 Patrik
  2001-01-07 16:08 ` bert
  2001-01-08 19:38 ` Junus
  0 siblings, 2 replies; 3+ messages in thread
From: Patrik @ 2001-01-07  1:16 UTC (permalink / raw)
  To: lartc

<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>

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

* [LARTC] Prioritize SSH and telnet
  2001-01-07  1:16 [LARTC] Prioritize SSH and telnet Patrik
@ 2001-01-07 16:08 ` bert
  2001-01-08 19:38 ` Junus
  1 sibling, 0 replies; 3+ messages in thread
From: bert @ 2001-01-07 16:08 UTC (permalink / raw)
  To: lartc

<PRE>On Sun, Jan 07, 2001 at 10:30:25PM +0700, Junus Junarto D wrote:
&gt;<i> You can use prio qdisc.
</I>&gt;<i> It has 3 bands.
</I>&gt;<i> If there are packets waiting in band 0, band 1 won't be processed. It's same
</I>&gt;<i> for band 1 and 2.
</I>&gt;<i> The syntax is: ... prio bands NUMBER priomap P1 P2 ...
</I>&gt;<i> I have not ever used this qdisc, maybey anybody know how to use this ?
</I>
I received one report of it not working as expected. I studied the code, and
it looks sound. So Junus, give it a try and let us know if it works! The
HOWTO mentions how to configure this tri-band fifo.

Regards,

bert hubert

-- 
PowerDNS                     Versatile DNS Services  
Trilab                       The Technology People   
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet


</PRE>

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

* [LARTC] Prioritize SSH and telnet
  2001-01-07  1:16 [LARTC] Prioritize SSH and telnet Patrik
  2001-01-07 16:08 ` bert
@ 2001-01-08 19:38 ` Junus
  1 sibling, 0 replies; 3+ messages in thread
From: Junus @ 2001-01-08 19:38 UTC (permalink / raw)
  To: lartc

<PRE>Hi Bert Hubert,

&gt;<i> I received one report of it not working as expected. I studied the code,
</I>and
&gt;<i> it looks sound. So Junus, give it a try and let us know if it works! The
</I>&gt;<i> HOWTO mentions how to configure this tri-band fifo.
</I>Where is the location of exampe how to using prio qdisc?
I can't find the example of prior qdisc at Linux advanced Networking HowTo.
When I looked at section 9.1 &quot;pfifo_fast&quot; and 14.4.  &quot;Prioritizing
interactive traffic&quot;, they never give an example how to using it.
Now I am still learning the source code sch_prio.c, maybe it will be help.

Regards,
Junus Junarto D




</PRE>

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

end of thread, other threads:[~2001-01-08 19:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-07  1:16 [LARTC] Prioritize SSH and telnet Patrik
2001-01-07 16:08 ` bert
2001-01-08 19:38 ` Junus

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.