From: Nuutti Kotivuori <naked@iki.fi>
To: netfilter@lists.netfilter.org
Subject: Re: differences between win and unix tcp clients.
Date: Wed, 17 Mar 2004 23:13:39 +0200 [thread overview]
Message-ID: <871xnrnpmk.fsf@aka.i.naked.iki.fi> (raw)
In-Reply-To: 20040316150746.GA8506@myinternet.com.au
Joshua Goodall wrote:
> On Tue, Mar 16, 2004 at 09:12:01AM -0300, Fabiano Reis wrote:
>> Conclusion: I think this was because the Windows implementation of
>> TCP detects something different on this connection, maybe it
>> detects in some way that there is a filter on the server side and
>> this is why the time for the error message take so long to appear.
>
> Basically yes. I wouldn't say that Windows "detects something
> different". I would say that the Windows client isn't properly
> interpretating the ICMP Port Unreachable message.
Incorrect. Receiving an ICMP port unreachable message should not cause
a break in the connection attempt - it should be retried until SYN
timeout, at which point it can be informed that there was an ICMP port
unreachamble message received during the period.
So Windows is acting properly.
>> Am I right? Is there a workaround for this problem? I need to make
>> windows think that the server is really "down" and that is why i?m
>> writting to you people.
>
> try extending your REJECT option:
>
> -j REJECT --reject-with tcp-reset
>
> which should give you the desired result, in exchange for being
> a crude pseudo-rejection.
If you wish to get immediate reject responses, TCP reset is the only
way. It has nothing more or less crude than sending an ICMP.
-- Naked
next prev parent reply other threads:[~2004-03-17 21:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-16 12:12 differences between win and unix tcp clients Fabiano Reis
2004-03-16 12:41 ` Chris Brenton
2004-03-16 13:30 ` Fabiano Reis
2004-03-16 15:07 ` Joshua Goodall
2004-03-17 21:13 ` Nuutti Kotivuori [this message]
2004-03-16 16:20 ` netfilter-devel
2004-03-17 3:31 ` Nuutti Kotivuori
2004-03-17 7:19 ` Henrik Nordstrom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871xnrnpmk.fsf@aka.i.naked.iki.fi \
--to=naked@iki.fi \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox