aMule Forum

English => en_Linux => Topic started by: PetraPan on June 26, 2005, 04:28:49 AM

Title: How to set ToS Bits?
Post by: PetraPan on June 26, 2005, 04:28:49 AM
HI there,

oki, i wanna set the ToS bit, default all packets are tagged 0x00 and i wanna have something like 0x02, so any advice where this is handled in the code would be great :)

cheers :)
Title: Re: How to set ToS Bits?
Post by: lfroen on June 26, 2005, 05:19:00 AM
ToS is something handled inside kernel.
Quote
so any advice where this is handled in the code would be great

/usr/sr/linux_/net/ipv4/ or ipv6

RTFM about iptables and tc.
Title: Re: How to set ToS Bits?
Post by: PetraPan on June 26, 2005, 01:43:39 PM
first of all thx for your answer, and is see that i must mispelled my question. The point is not where ToS is handeld by the kernel, but by amule. Amule is responsibile for tagging his ip packets! And amule does not set the ToS bit, so my question is, where in amule-sources is the ip header handled. The point i have an extra routing linux system... and there i wanna filter and prioritise my traffic based on the ToS bit and NOT ports!

cheers :)
Title: Re: How to set ToS Bits?
Post by: lfroen on June 26, 2005, 04:43:04 PM
Quote
Amule is responsibile for tagging his ip packets!

Quote
where in amule-sources is the ip header handled.

I think that you don't quite understand what "RTFM" mean. It mean, (in this context)  that you talking complete nonsense. You indicate lack of basic understanding about IP network.
Go and "Read The Fucking Manual" as I already suggested. Some information about OSI network model will not hurt also.
Title: Re: How to set ToS Bits?
Post by: deltaHF on June 26, 2005, 05:07:35 PM
calm down lfroen..... X(
Title: Re: How to set ToS Bits?
Post by: phoenix on June 27, 2005, 02:33:42 AM
Quote
Originally posted by lfroen

Go and "Read The Fucking Manual" as I already suggested. Some information about OSI network model will not hurt also.
Well, in spite of the original rudeness of the expression, when someone says RTFM, he is not necessarily beeing rude. The expression has been so used that it has lost the rudeness character. Unless you explicitly name the words :P

Anyway, lfroen has a point. RTFM, please :D

Cheers!