ZegJoker / PacketCapture

This project is used to learn TCPIP and VpnService
7 stars 0 forks source link

TCP/IP #1

Open Yamen-Alazzam opened 1 year ago

Yamen-Alazzam commented 1 year ago

Hey there , I'm new in networks in mobile development , and regarding to this Android project , I just wanna ask , is that possible to change the TCP/IP HEADER parameters and then send the packet to the network ? I mean , for example if we want to change the TTL parameter of the IP HEADER , is that possible ? if yes , can you give me a simple code of how to change it in this project ? and one more thing , if we changed the HEADER parameters , is the packet will be dropped !!

ZegJoker commented 12 months ago

If you want to change/add headers, you'll need to re-calculate the checksum after the modification.