Skip to content

srp is missing response (Centos 5.11) #2447

@goldbaum

Description

@goldbaum

Brief description

Sending a simple TCP SYN packet results in no response according to scapy.

How is decided if a packet is a response to another?

Environment

How to reproduce

>>> tcp_packet = Ether(src="00:50:56:AF:A8:83", dst="00:50:56:AF:2F:87")/IP(src="101.100.100.66", dst="201.200.0.64")/TCP(sport=333, dport=12345, flags="S")
>>> ans, no_ans = srp(tcp_packet, iface="eth1", timeout=5)
Begin emission:
Finished sending 1 packets.

Received 0 packets, got 0 answers, remaining 1 packets
>>> ans.show()
>>> no_ans.show()
0000 Ether / IP / TCP 101.100.100.66:texar > 201.200.0.64:italk S
>>>

Actual result

  • No Answer

Expected result

  • Answer

Related resources
scapy_srp_missing_response.pcap.zip

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions