I am trying to establish ftp connection to test.rebex.net with scapy.
Three way handshake used to work completely fine. Then some days ago they somewhy started to send 2 or 3 greeting packets (it’s really random) instead of one “FTP server ready”. And it wouldn’t be a problem if they had equal seq numbers. But they are all different.
I assume that scapy only captures the answer with seq equal to ack of the package I sent. It only captures the first one, to be precise. But I need the last one for the next ack of my package to be correct.
Setting multi=True and timeout=1.0 doesn’t do anything, scapy still captures only one packet.
Is there a way to get all responses despite the seq number matching ack number?
Doritos Chili is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.