之前用GoPacket去抓device name 為 "any" device interface (Pseudo-device that captures on all interfaces),"any"可以透過 tcpdump -D 查看到:
"any"這個device interface可以抓到經過所有interfaces的封包,部分程式碼如下:
之前用GoPacket去抓device name 為 "any" device interface (Pseudo-device that captures on all interfaces),"any"可以透過 tcpdump -D 查看到:
"any"這個device interface可以抓到經過所有interfaces的封包,部分程式碼如下:
前陣子花了一些時間在找一種方式,可以透過寫程式的方式抓取進出於任何device interfaces on Linux主機上的封包,目前主要是有這兩大作法: Raw Socket v.s. libpcap
Use rsync on my Windows 10 D:\SourceCode to sync folder from Linux's ~/SourceCode
liudanny@Debian7 x64_lsb $ ll /lib64/
total 8
drwxr-xr-x 2 root root 4096 Aug 2 20:49 .
drwxr-xr-x 24 root root 4096 Jun 20 18:14 ..
lrwxrwxrwx 1 root root 32 Feb 22 06:41 ld-linux-x86-64.so.2 -> /lib/x86_64-linux-gnu/ld-2.13.so
lrwxrwxrwx 1 root root 20 Aug 2 20:49 ld-lsb-x86-64.so.3 -> ld-linux-x86-64.so.2
file
output indicates), looking for the 32-bit loader /lib/ld-linux.so.2
, and you've presumably only installed the 64-bit loader /lib64/ld-linux-x86-64.so.2
in the chroot."dpkg --add-architecture i386
apt-get update
apt-get install libc6:i386
or:sudo dpkg --add-architecture i386
sudo apt-get update
sudo aptitude install ia32-libs