How can I configure tshark to display the OrgName of the source or destination IP?

This command produces empty lines

tshark -lq -T fields -e ip.geoip.src_org

and so does this command

tshark -lq -T fields -e whois.answer

The only solution found yet is to pipe IP to whois command:

jwhois is faster than whois (test it with time [cmd] )


tshark -T fields -e ip.addr -E aggregator=" " -l| |sed "s/;s/^[ ]*//" |  while read i
echo " "
echo "$i" 
jwhois $i | grep -i 'orgname\|country\|netrange' | sed 's/^[ ]*//' 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.