I have recently become fond of basic networking and the OSI protocol and decided to write a program to send raw packets in python. I have been sniffing the packets with wire shark to make sure everything is working as planned. Ethernet frame works. IPv4 Works. TCP Header is always interpreted as padding and a VSS-Monitoring ethernet trailer is added. What am I doing wrong?
main.py: https://pastebin.com/1Q6FCPe9
ethernet_frame.py: https://pastebin.com/ruKNaxvr
ipv4_header.py: https://pastebin.com/GkQvCmmn
tcp_header.py: https://pastebin.com/MRnGt4hJ
Thank you to anyone who can help.
No comments:
Post a Comment