Dear GNU-NET,
Experiment1.java measures changes in port # with one outgoing address. Experiment2.java measures changes in port # across two different outgoing addresses. Run these two files and save the output. I need people to run these files on different large scale NATs, especially 2/3/4G.
There's also a C file (nat depth measurer). The code is based off traceroute / tracepath - it sends UDP packets and gets back ICMP replies. It should estimate how many layers of NAT//router/ISP you have to hop through before reaching the public internet. If you could ignore the commented out stuff and review the code I would appreciate it.
Thank you!
Appendix:
With Experiment1.java, if your port and ip do not change based on outgoing port #, terminal output will look like this...
$ java Experiment1
...
With Experiment2.java, if your port and ip do not change based on outgoing address, terminal output will look like this...
$ java Experiment2
...
...