scapy icon indicating copy to clipboard operation
scapy copied to clipboard

Scapy: the Python-based interactive packet manipulation program & library.

Results 304 scapy issues
Sort by recently updated
recently updated
newest added

This PR fixes issues discovered by oss-fuzz.

### Brief description The following issue occurs sometimes in the CI pipeline: ``` Regression tests for the DoIP layer ━ Run at 15:14:56 from [test/contrib/automotive/doip.uts] by UTscapy in 1.744396448135376 └...

When having nat_header, encrypted.underlayer will return UDP/ESP, so when decrypting IPv6 packet, the decrypt packet will be return with nat_header (UDP), which will return a corrupted packet. Example: original packet:...

bug

### Brief description ![image](https://github.com/secdev/scapy/assets/49949784/87508878-ecf9-4d8b-a178-56af0701d038) should be clienthello not padding ### Scapy version 2.6.0rc1 ### Python version 3.10 ### Operating system windows11 ### Additional environment information _No response_ ### How to...

This PR update the ISOTPNativeSocket to store all arguments as internal variables for easier serialization. Also some docstrings to SuperSockets are added

### Brief description when decrypt ipv6 packet using decrypt_esp for NAT-Traversal, the packet is returned with nat_header if you check _decrypt_esp in ipsec.py: When having nat_header, encrypted.underlayer will return UDP/ESP,...

### Brief description When dumping packets with random bytes the following happens: ``` Traceback (most recent call last): File "/home/user/test2.py", line 10, in packet.pdfdump("test.pdf") File "/home/user/.local/lib/python3.10/site-packages/scapy/base_classes.py", line 474, in pdfdump...

### Brief description When running Scapy on IPv6-only host, it produces warnings every time it sends any data despite working normally. ### Scapy version 2.5.0 ### Python version 3.10.12 ###...

### Brief description The DHCP "option overload" option isn't supported so it's necessary to parse DHCP options stuffed into the "file" and "sname" fields manually. ### Scapy version 2b58b51d ###...

enhancement

### Brief description sndrcv related functions (sr, sr1, srp...) do not return control to the user after a KeyboardInterrupt. ### Scapy version 2.5.0 ### Python version 3.12.2 ### Operating system...