leolewis / openvisualtraceroute

Open source cross-platform (Windows/Linux/Mac) Java Visual Traceroute, packet sniffer and Whois.
http://visualtraceroute.net/
GNU Lesser General Public License v3.0
153 stars 30 forks source link

Custom traceroute options #19

Open guyikcgg opened 1 year ago

guyikcgg commented 1 year ago

This tool is really awesome!

It would be great if there was a text input in the options to allow custom traceroute commands or at least custom additional flags. This would allow to use ICMP Echo Request packets (-I), or any arbitrary protocol (-P), for instance, and should not require great effort.

I've seen that the traceroute command is invoked from org.leo.traceroute/src/org/leo/traceroute/core/route/impl/OSTraceRoute.java, but I cannot figure out what would be the correct way to add the text input to the settings, and how to connect it to the traceroute call (I guess changes to org.leo.traceroute/src/org/leo/traceroute/ui/util/ConfigDialog.java will be necessary).

Please consider adding this feature!