python - Interface name of router -


i want sniff interface of router traffic (packets) thats going on network. how can find it's interface name ?

install tcpdump if can, do:

[root@b6leb1 tools]# tcpdump -d 

then result like:

1.eth0 2.nflog (linux netfilter log (nflog) interface) 3.nfqueue (linux netfilter queue (nfqueue) interface) 4.eth1 5.usbmon1 (usb bus number 1) 6.eth2 7.usbmon2 (usb bus number 2) 8.any (pseudo-device captures on interfaces) 9.lo 

Comments

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -