hping wiki

outifname target

Returns the name of the outgoing interface to reach target.

NOTE: This command requires hpingstdlib.htcl.

The interface returned will match at least one of the interfaces returned with hping iflist.

hping3> source hpingstdlib.htcl
hping3> outifname www.google.com

As you can see, the interface eth0 is the interface that accessed the target, www.google.com.

See also, hping outifa.
Edit this page Upload file Page history - Page last update: Wed Nov 24 05:26:03 GMT 2004 by | Your address: | Admin