From: "Fabiano Reis" <silos.reis@ig.com.br>
To: Chris Brenton <cbrenton@chrisbrenton.org>
Cc: netfilter@lists.netfilter.org
Subject: Re: differences between win and unix tcp clients.
Date: Tue, 16 Mar 2004 10:30:08 -0300 [thread overview]
Message-ID: <037801c40b5a$ccdbb710$3f32a8c0@ds.ig.com.br> (raw)
In-Reply-To: 1079440877.2021.71.camel@grendel
It worked. Thanks.
----- Original Message -----
From: "Chris Brenton" <cbrenton@chrisbrenton.org>
To: "Fabiano Reis" <silos.reis@ig.com.br>
Cc: <netfilter@lists.netfilter.org>
Sent: Tuesday, March 16, 2004 9:41 AM
Subject: Re: differences between win and unix tcp clients.
> On Tue, 2004-03-16 at 07:12, Fabiano Reis wrote:
> >
> > iptables -A INPUT -p tcp --source 192.168.0.2 --dport 23 -j REJECT
> > iptables -A INPUT -p tcp --source 192.168.0.3 --dport 23 -j REJECT
> >
> > On the Solaris machine: a very fast response that the connection was
> > refused.
> >
> > On the Windows 2000 machine: after for about 20 seconds I got the
> > message that the connect failed (I thing this is the same as
> > connection refused).
>
> If you don't specify a reject option, the default is an ICMP port
> unreachable. This is an odd thing to return for a closed TCP port, as
> normally it would be an ACK/RST.
>
> So I'm guessing that Solaris handles this like an ACK/RST while Windows
> handles this like any generic type 3 error. Doing a:
>
> -J REJECT --reject-with tcp-reset
>
> would produce more consistent results, however you are running such an
> old version of iptables I *think* that version was still returning bad
> sequence numbers on the RST's. It might work for you, it might not. You
> should really upgrade.
>
> HTH,
> C
>
>
>
>
next prev parent reply other threads:[~2004-03-16 13:30 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 [this message]
2004-03-16 15:07 ` Joshua Goodall
2004-03-17 21:13 ` Nuutti Kotivuori
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='037801c40b5a$ccdbb710$3f32a8c0@ds.ig.com.br' \
--to=silos.reis@ig.com.br \
--cc=cbrenton@chrisbrenton.org \
--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