Menu

#1 Additional way to mark packets for

open
nobody
None
5
2004-01-25
2004-01-25
No

I found an interesting patch while evaluating frottle
and searching for further information in google. What
the patch does:

"In addition, you can mark with iptables rules to select
high priority packets, eg
# Specify the firewall mark you want to be high priority
himark 123

plus creating iptables rules for this purpose, eg:
bash# iptables -t mangle -I OUTPUT -p tcp -m length
--length 0:100 \ -j MARK --set-mark 123

this rule will priorize short TCP packets, in
particular it can help remote TCP
transmit logic by quickly getting ACKs and thus don't
incorrectly assume that
are lost segments in the stream (should help
downloads); recall that "queued" TCP
retransmited segments are a VERY bad thing."

Original URLs are:
http://www.lugmen.org.ar/pipermail/lug-wireless/2003-August/004786.html
http://www.lugmen.org.ar/pipermail/lug-wireless/2003-August/004787.html
(the first message has the original patch, the second
has a minor modification included)

Original author of this patch is Juan Jose Ciarlante
(JuanJo).

I think this is a very useful patch and should be
included to the next release of frottle.

Discussion

  • Michael Renzmann

    • summary: Additional way to mark packets for "high priority" --> Additional way to mark packets for
     
  • Michael Renzmann

    Logged In: YES
    user_id=1045

    Mhh, yes, that's typical (another law from Murphy?): just
    posted the link to patch #1, then found another version that
    improves the patch.

    So, the improved version from
    http://www.lugmen.org.ar/pipermail/lug-wireless/2003-August/004802.html
    allows to mark traffic for low or default priority. What one
    then has is a more flexible way to control what type of
    packets are priorised in which way.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.