hhmmmm… ??? when I enter what you said it doesn’t show anything. Not in the session without firewall and not in the session with firewall. I found the port number using the “follow tcp stream” as that shows exactly what the cmd window showed before… Also looking at the IP’s I now realize that the reconnection stuff was from another service and didn’t connect to the same IP as the server’s, I actually think it was no reconnection event, but just something that happened 3 times during the time I ran the test.
This is what the “folllow tcp stream” displays:
220---------- Welcome to Pure-FTPd [TLS] ----------
220-You are user number 14 of 50 allowed.
220-Local time is now 11:23. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 3 minutes of inactivity.
USER jvport
331 User jvport OK. Password required
PASS <removed for privacy>
230-User jvport has group access to: jvport
230 OK. Current restricted directory is /
PORT 192,168,1,160,19,137
200 PORT command successful
STOR test.txt
425 Could not open data connection to port 33452: Connection timed out
QUIT
221-Goodbye. You uploaded 0 and downloaded 0 kbytes.
221 Logout.
Edit: After some fiddling with filters I filter all events on the servers IP, that gave me some interesting new stuff and also the SYN requests you’re talking about
This is what it says right after the 200 PORT command successful with firewall:
ftp > glishd [ACK] Seq=472 Ack=73 Win=5840 Len=0
ftp-data > commplex-link [SYN] Seq=0 Win=5840 Len=0 MSS=1460
ftp-data > commplex-link [SYN] Seq=0 Win=5840 Len=0 MSS=1460
ftp-data > commplex-link [SYN] Seq=0 Win=5840 Len=0 MSS=1460
ftp-data > commplex-link [SYN] Seq=0 Win=5840 Len=0 MSS=1460
and then it says that the connection to port xxxxx has timed out. So it tried to reconnect 4 times but gets no response it seems to me, or at least not the desired response.
Without firewall it looks like this after the 200 PORT command succesful:
ftp-data > rfe [SYN] Seq=0 Win=5840 Len=0 MSS=1460
ftp > nmsigport [ACK] Seq=471 Ack=73 Win=5840 Len=0
Response: 150 Connecting to port 33440
ftp-data > rfe [ACK] Seq=1 Ack=1 Win=5840 Len=0
ftp-data > rfe [ACK] Seq=1 Ack=27 Win=5840 Len=0
Response: 226-File successfully transferred
ftp-data > rfe [FIN, ACK] Seq=1 Ack=28 Win=5840 Len=0
ftp > nmsigport [ACK] Seq=596 Ack=79 Win=5840 Len=0
Response: 221-Goodbye. You uploaded 1 and downloaded 0 kbytes.
ftp > nmsigport [FIN, ACK] Seq=663 Ack=79 Win=5840 Len=0
I hope all this makes some sense to you, because to me it really doesn’t xD But it seems the ftp doesn’t connect in the right way with the firewall on. As everything after PORT 200 is different, while I would expect the first things to look the same and then a error somewhere.
Edit2: put the stuff in code tags, hopefully that makes it a bit easier to read.