Genymobile / gnirehtet

Gnirehtet provides reverse tethering for Android
Apache License 2.0
6.23k stars 571 forks source link

Implement IPv6 support #285

Open erkinalp opened 4 years ago

erkinalp commented 4 years ago

gnirehteT currently only supports IPv4. IPv6 is becoming increasingly commoner.

rom1v commented 4 years ago

Yes, but that's a huge work, and I have absolutely no time to do that. :/

yezhengli-Mr9 commented 2 years ago

TO DO for java part

yezhengli-Mr9 commented 2 years ago

TO DO for rust part

brew install gnirehtet is rust version according to README.md.

yezhengli-Mr9 commented 2 years ago

gnirehteT currently only supports IPv4. IPv6 is becoming increasingly commoner.

Hi @rom1v , any reference code for IPv4Packet.java? Maybe original reference has IPv6Packet as well.

rom1v commented 2 years ago

Any reference code for IPv4Packet.java?

This is the original code. Also, adding IPv6 support requires more than just some renaming :wink:

yezhengli-Mr9 commented 2 years ago

TO DO for java part

For java

  1. TODOs for IPv6 headers and Tests as well as new classes. Pay attention to IPv6 format.

  2. Packetizer and their tests (messed up one file with 1, one file with 3).

  3. Connection (TCP, UDP) and their tests. UDP seems easier than TCP.

  4. Other codes and more tests.