From owner-freebsd-net Wed Apr 10 2: 6:50 2002 Delivered-To: freebsd-net@freebsd.org Received: from noname.csdl.lt (noname.csdl.lt [194.176.40.182]) by hub.freebsd.org (Postfix) with SMTP id 2DEB337B416 for ; Wed, 10 Apr 2002 02:06:46 -0700 (PDT) Received: (qmail 9591 invoked by uid 1000); 10 Apr 2002 09:06:44 -0000 Date: Wed, 10 Apr 2002 11:06:44 +0200 From: Paulius Bulotas To: freebsd-net@freebsd.org Subject: strange network conversation Message-ID: <20020410090644.GB8914@kaktusas.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello list, I'm seeing strange? networking behaviour with my FreeBSD server, and it seems that this list is tne right to ask ;) Suppose, there is outgoing connection for whom dynamic rule is created (that's how I noticed it - ipfw logs denied packets). My 4.4-Release FreeBSD is hostA, something on the next end is hostB - smtp server. That's how the end of smtp session looks: _Host tcpflags seq nseq ack data_ hostA ( [PSH,ACK], seq1, nseq1, ack1, "QUIT" ) hostA ( [FIN,ACK], nseq1, -- , ack1 ) hostB ( [[ACK], ack1, -- , nseq1) hostB ( [PSH,ACK], ack1, nseq2, nseq1, "221 Bye") hostA ( [RST], nseq1, -- , -- ) hostB ( [FIN,ACK], nseq2, -- , nseq1) hostB ( [ACK], nseq2+1, -- , nseq1+1) hostB ( [FIN,PSH,ACK], ack1, nseq2, nseq1+1) ... I'm wondering, why FreeBSD sends RST so early and hostB tries to send something back (and that didn't match dynamic rule, which is destroyed upon RST (I suspect))? Is it possible to change this? (so that conversation between hostA and hostB ended normally) TIA Paulius To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message