problems interacting on TCP level with K5JB
Oliver Lehmann
oliver at FreeBSD.org
Sun Apr 20 18:06:06 UTC 2008
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 at 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 at kartoffel olivleh1>
--
Oliver Lehmann
http://www.pofo.de/
http://wishlist.ans-netz.de/
More information about the freebsd-net
mailing list