[lkml]   [2003]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: RFC3168, section - ECN and retransmit of SYN
    On Fri, 21 Feb 2003 23:43:58 +0200, Mika Liljeberg said:

    > That's right. Unfortunately, the way most people *will* deal with it is
    > by turning ECN off permanently and forgetting about it. That won't help
    > ECN become widely adopted.

    That's what I'm trying to avoid doing. ;)

    (As an aside, yes, the URL to the previous marc.theaimsgroup thread *is*
    what I'm talking about).

    It turns out that I *CAN* do it all with iptables *IF* the following
    untested code actually works (this assumes that mangle is re-called on
    a retransmit)

    # If we've already marked this packet, strip/log/send...
    iptables -t mangle -A OUTPUT -p tcp --syn -m mark --mark 99 --ecn-tcp-remove
    iptables -t mangle -A OUTPUT -p tcp --syn -m mark --mark 99 -j LOG
    iptables -t mangle -A OUTPUT -p tcp --syn -m mark --mark 99 -j ACCEPT
    # Else tag it - if it makes it on the first try, good. If not, re-enter above
    iptables -t mangle -A OUTPUT -p tcp --syn -m mark --set-mark 99

    Does the mangle/output chain get called again for a retransmitted
    packet, or only once?


    [unhandled content-type:application/pgp-signature]
     \ /
      Last update: 2005-03-22 13:33    [W:0.026 / U:16.020 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site