From owner-freebsd-net@FreeBSD.ORG Sun Apr 20 18:06:06 2008 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7FFD106566C for ; Sun, 20 Apr 2008 18:06:06 +0000 (UTC) (envelope-from oliver@FreeBSD.org) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [83.136.81.184]) by mx1.freebsd.org (Postfix) with SMTP id 1BC1E8FC16 for ; Sun, 20 Apr 2008 18:06:05 +0000 (UTC) (envelope-from oliver@FreeBSD.org) Received: (qmail 21487 invoked by uid 89); 20 Apr 2008 18:06:03 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (83.136.81.185) by avocado.salatschuessel.net with SMTP; 20 Apr 2008 18:06:03 -0000 Date: Sun, 20 Apr 2008 20:06:12 +0200 From: Oliver Lehmann To: David DeSimone Message-Id: <20080420200612.d8315aea.oliver@FreeBSD.org> In-Reply-To: <20080420033322.GA16657@verio.net> References: <20080419195643.a5187267.oliver@FreeBSD.org> <20080420033322.GA16657@verio.net> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; amd64-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: net@freebsd.org Subject: Re: problems interacting on TCP level with K5JB X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2008 18:06:06 -0000 Hi David, David DeSimone wrote: > The SYN-ACK packet in response contains an ACK for sequence 4294967213, > but that was not the sequence sent by the initial SYN (it was 1217851052). Yeah, this was the error - fixed the 32bit-pulling function in K5JB which pulls out the sequence of the TCP header to work correctly on my ZEUS-clone UNIX and here we go... attention - some leet spamming below: olivleh1@kartoffel olivleh1> ftp 10.1.1.2 Connected to 10.1.1.2. 220 FTP version K5JB.k31 ready at Fri Apr 19 10:08:17 1991 Name (10.1.1.2:root): test 331 Enter PASS command Password: 230 Logged in ftp> ls 500 Unknown command "epsv" 500 Unknown command "pasv" 200 Port command okay 150 Opening data connection for LIST / total 362 -rw-r----- 1 wega system 745 Apr 21 1990 .cshrc drwxrwxr-x 2 bin system 1824 Apr 29 1990 bin -r--r--r-- 1 wega system 6798 Jan 1 1990 boot drwxrwxr-x 2 bin system 1184 Apr 22 1990 dev drwxr-xr-x 3 bin system 1136 Apr 4 22:16 etc drwxr-xr-x 2 wega system 32 Jan 1 1990 fd0 drwxr-xr-x 2 wega system 32 Jan 1 1990 fd1 -rw-rw-rw- 1 wega system 14 Apr 19 00:35 ftpusers -rw-rw-rw- 1 wega system 34 Apr 19 00:42 hosts.net drwxrwxr-x 2 bin system 528 Apr 13 16:17 lib drwxr-x--- 2 wega system 2560 Jan 1 1990 lost+found -rwx------ 1 wega system 172 Apr 16 00:03 mount_fs -r-------- 1 wega system 464 Jan 1 1990 pb.image -r--r--r-- 1 wega system 1036 Jan 1 1990 sa.cat -r--r--r-- 1 wega system 28962 Jan 1 1990 sa.diags -r--r--r-- 1 wega system 10204 Jan 1 1990 sa.format -r--r--r-- 1 wega system 7122 Jan 1 1990 sa.install -r--r--r-- 1 wega system 4260 Jan 1 1990 sa.mkfs -r--r--r-- 1 wega system 2464 Jan 1 1990 sa.shipdisk -r--r--r-- 1 wega system 2568 Jan 1 1990 sa.timer -r--r--r-- 1 wega system 5162 Jan 1 1990 sa.verify -rw-rw-rw- 1 wega system 107 Apr 19 08:26 startup.net drwxrwxrwx 4 wega system 576 Apr 19 10:06 tmp drwxrwxrwx16 wega system 288 Apr 3 21:06 usr -r-------- 1 wega system 98548 May 1 1990 wega drwxrwxrwx13 wega system 224 Apr 19 03:06 z 226 File sent OK ftp> cd /z/src/k5jb.k31 257 "/z/src/k5jb.k31" is current directory ftp> get tcpin.c local: tcpin.c remote: tcpin.c 200 Port command okay 150 Opening data connection for RETR tcpin.c 23096 0.23 KB/s 226 File sent OK 23096 bytes received in 01:36 (0.23 KB/s) ftp> exit 221 Goodbye! olivleh1@kartoffel olivleh1> -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/