* [LARTC] <OT>
@ 2001-01-09 20:34 hesselsp
2001-01-09 21:02 ` hesselsp
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: hesselsp @ 2001-01-09 20:34 UTC (permalink / raw)
To: lartc
<PRE>Sorry for the off-topic question.
I want to set the type of service (ToS) for all the traffic leaving my
machine. All out going traffic.
How can I do this?
ipchains?
Thanks in advance,
--
--Paul
</PRE>
^ permalink raw reply [flat|nested] 4+ messages in thread* [LARTC] <OT>
2001-01-09 20:34 [LARTC] <OT> hesselsp
@ 2001-01-09 21:02 ` hesselsp
2001-01-09 21:04 ` Arthur
2001-01-09 21:08 ` Arthur
2 siblings, 0 replies; 4+ messages in thread
From: hesselsp @ 2001-01-09 21:02 UTC (permalink / raw)
To: lartc
<PRE>Sorry for the silly question. I was missing CONFIG_IP_ROUTE_TOS in my
kernel, and possibly another thing.
Thanks,
Paul
On Tue, 9 Jan 2001 <A HREF="mailto:hesselsp@ashaman.dhs.org">hesselsp@ashaman.dhs.org</A> wrote:
><i> Sorry for the off-topic question.
</I>><i>
</I>><i> I want to set the type of service (ToS) for all the traffic leaving my
</I>><i> machine. All out going traffic.
</I>><i>
</I>><i> How can I do this?
</I>><i>
</I>><i> ipchains?
</I>><i>
</I>><i> Thanks in advance,
</I>><i>
</I>><i>
</I>
--
--Paul
</PRE>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [LARTC] <OT>
2001-01-09 20:34 [LARTC] <OT> hesselsp
2001-01-09 21:02 ` hesselsp
@ 2001-01-09 21:04 ` Arthur
2001-01-09 21:08 ` Arthur
2 siblings, 0 replies; 4+ messages in thread
From: Arthur @ 2001-01-09 21:04 UTC (permalink / raw)
To: lartc
<PRE>On Tue, 9 Jan 2001 <A HREF="mailto:hesselsp@ashaman.dhs.org">hesselsp@ashaman.dhs.org</A> wrote:
><i> Sorry for the off-topic question.
</I>><i>
</I>><i> I want to set the type of service (ToS) for all the traffic leaving my
</I>><i> machine. All out going traffic.
</I>><i>
</I>><i> How can I do this?
</I>><i>
</I>><i> ipchains?
</I>
Or even ipfwadm, if you're still at 2.0. Something like
/sbin/ipchains -A output -t 0x01 0x10
will set the minimum delay flag on every outgoing packet.
See also the (quite excellent) IPchains HOWTO by Rusty Russell.
Note: the question isn't all that off-topic. The route-cache Linux uses
is keyed on the triple <source address, destination address, type of service>.
I've already encountered a situation in which I *had* to whack the TOS bits
into submission in order to let connections be routed somewhat sanely.
Doei, Arthur. (And yes, that will end up in the FAQ, but not quite yet)
--
/\ / | <A HREF="mailto:arthurvl@sci.kun.nl">arthurvl@sci.kun.nl</A> | Work like you don't need the money
/__\ / | A friend is someone with whom | Love like you have never been hurt
/ \/__ | you can dare to be yourself | Dance like there's nobody watching
</PRE>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [LARTC] <OT>
2001-01-09 20:34 [LARTC] <OT> hesselsp
2001-01-09 21:02 ` hesselsp
2001-01-09 21:04 ` Arthur
@ 2001-01-09 21:08 ` Arthur
2 siblings, 0 replies; 4+ messages in thread
From: Arthur @ 2001-01-09 21:08 UTC (permalink / raw)
To: lartc
<PRE>On Tue, 9 Jan 2001 <A HREF="mailto:hesselsp@ashaman.dhs.org">hesselsp@ashaman.dhs.org</A> wrote:
><i> Sorry for the silly question.
</I>
Now you're considering yourself silly for a very silly reason,
><i> I was missing CONFIG_IP_ROUTE_TOS in my
</I>><i> kernel, and possibly another thing.
</I>
as the CONFIG_IP_ROUTE_TOS flag does *not* have anything to do
with setting TOS flags, only with specifying routing policies
keyed on TOS flags.
And yes, my previous remark that the route cache is keyed on the
tripel <src, dst, tos> still holds, even if you *haven't* set the
CONFIG_IP_ROUTE_TOS option on when compiling the kernel. If you
don't believe me, just check the code for route_output() in
net/ipv4/route.c in your favourite kernel source tree.
Doei, Arthur.
--
/\ / | <A HREF="mailto:arthurvl@sci.kun.nl">arthurvl@sci.kun.nl</A> | Work like you don't need the money
/__\ / | A friend is someone with whom | Love like you have never been hurt
/ \/__ | you can dare to be yourself | Dance like there's nobody watching
</PRE>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-01-09 21:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-09 20:34 [LARTC] <OT> hesselsp
2001-01-09 21:02 ` hesselsp
2001-01-09 21:04 ` Arthur
2001-01-09 21:08 ` Arthur
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.