Ettercap / ettercap

Ettercap Project
http://www.ettercap-project.org
GNU General Public License v2.0
2.32k stars 487 forks source link

unknown records #216

Closed reaperz73 closed 11 years ago

reaperz73 commented 11 years ago

Compiled fine on Kali Linux but getting this error version ettercap 0.76

etter.dns:69 Unknown record type AAAA etter.dns:78 Invalid ip address etter.dns:84 Unknown record type MX etter.dns:85 Unknown record type MX etter.dns:86 Unknown record type MX etter.dns:87 Unknown record type MX etter.dns:94 Unknown record type WINS

Thanks, Reaperz73

LocutusOfBorg commented 11 years ago

how do you build ettercap? could you please send the entire log?

reaperz73 commented 11 years ago

Installed with these Commands:

apt-get install debhelper cmake bison flex libgtk2.0-dev libltdl3-dev libncurses-dev libncurses5-dev libnet1-dev libpcap-dev libpcre3-dev libssl-dev ghostscript python-gtk2-dev libpcap0.8-dev git clone https://github.com/Ettercap/ettercap.git cd ettercap mkdir build cd build cmake ../ make make install

Here is the CMakeError.log:

Determining if the system is big endian passed with the following output: Change Dir: /root/ettercap/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec1630926231/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec1630926231.dir/build.make CMakeFiles/cmTryCompileExec1630926231.dir/build make[1]: Entering directory /root/ettercap/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /root/ettercap/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1630926231.dir/TestEndianess.c.o /usr/bin/gcc -o CMakeFiles/cmTryCompileExec1630926231.dir/TestEndianess.c.o -c /root/ettercap/build/CMakeFiles/CMakeTmp/TestEndianess.c Linking C executable cmTryCompileExec1630926231 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1630926231.dir/link.txt --verbose=1 /usr/bin/gcc CMakeFiles/cmTryCompileExec1630926231.dir/TestEndianess.c.o -o cmTryCompileExec1630926231 -rdynamic make[1]: Leaving directory/root/ettercap/build/CMakeFiles/CMakeTmp'

TestEndianess.c: /* A 16 bit integer is required. */ typedef unsigned short cmakeint16;

/* On a little endian machine, these 16bit ints will give "THIS IS LITTLE ENDIAN." On a big endian machine the characters will be exchanged pairwise. */ const cmakeint16 info_little[] = {0x4854, 0x5349, 0x4920, 0x2053, 0x494c, 0x5454, 0x454c, 0x4520, 0x444e, 0x4149, 0x2e4e, 0x0000};

/* on a big endian machine, these 16bit ints will give "THIS IS BIG ENDIAN." On a little endian machine the characters will be exchanged pairwise. */ const cmakeint16 info_big[] = {0x5448, 0x4953, 0x2049, 0x5320, 0x4249, 0x4720, 0x454e, 0x4449, 0x414e, 0x2e2e, 0x0000};

ifdef CLASSIC_C

int main(argc, argv) int argc; char *argv[];

else

int main(int argc, char *argv[])

endif

{ int require = 0; require += info_little[argc]; require += info_big[argc]; (void)argv; return require; }

Determining if the pthread_create exist failed with the following output: Change Dir: /root/ettercap/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec1284363180/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec1284363180.dir/build.make CMakeFiles/cmTryCompileExec1284363180.dir/build make[1]: Entering directory /root/ettercap/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /root/ettercap/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1284363180.dir/CheckSymbolExists.c.o /usr/bin/gcc -o CMakeFiles/cmTryCompileExec1284363180.dir/CheckSymbolExists.c.o -c /root/ettercap/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec1284363180 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1284363180.dir/link.txt --verbose=1 /usr/bin/gcc CMakeFiles/cmTryCompileExec1284363180.dir/CheckSymbolExists.c.o -o cmTryCompileExec1284363180 -rdynamic CMakeFiles/cmTryCompileExec1284363180.dir/CheckSymbolExists.c.o:CheckSymbolExists.c:function main: error: undefined reference to 'pthread_create' collect2: error: ld returned 1 exit status make[1]: *** [cmTryCompileExec1284363180] Error 1 make[1]: Leaving directory/root/ettercap/build/CMakeFiles/CMakeTmp' make: *\ [cmTryCompileExec1284363180/fast] Error 2

File /root/ettercap/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */

include

int main(int argc, char\ argv) { (void)argv;

ifndef pthread_create

return ((int*)(&pthread_create))[argc];

else

(void)argc; return 0;

endif

}

Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /root/ettercap/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec4119649255/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec4119649255.dir/build.make CMakeFiles/cmTryCompileExec4119649255.dir/build make[1]: Entering directory /root/ettercap/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /root/ettercap/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4119649255.dir/CheckFunctionExists.c.o /usr/bin/gcc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec4119649255.dir/CheckFunctionExists.c.o -c /usr/share/cmake-2.8/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec4119649255 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4119649255.dir/link.txt --verbose=1 /usr/bin/gcc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec4119649255.dir/CheckFunctionExists.c.o -o cmTryCompileExec4119649255 -rdynamic -lpthreads /usr/bin/ld: error: cannot find -lpthreads CMakeFiles/cmTryCompileExec4119649255.dir/CheckFunctionExists.c.o:CheckFunctionExists.c:function main: error: undefined reference to 'pthread_create' collect2: error: ld returned 1 exit status make[1]: Leaving directory/root/ettercap/build/CMakeFiles/CMakeTmp' make[1]: * [cmTryCompileExec4119649255] Error 1 make: * [cmTryCompileExec4119649255/fast] Error 2

Determining if the function dlopen exists failed with the following output: Change Dir: /root/ettercap/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec2788627711/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec2788627711.dir/build.make CMakeFiles/cmTryCompileExec2788627711.dir/build make[1]: Entering directory /root/ettercap/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /root/ettercap/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2788627711.dir/CheckFunctionExists.c.o /usr/bin/gcc -DCHECK_FUNCTION_EXISTS=dlopen -o CMakeFiles/cmTryCompileExec2788627711.dir/CheckFunctionExists.c.o -c /usr/share/cmake-2.8/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec2788627711 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2788627711.dir/link.txt --verbose=1 /usr/bin/gcc -DCHECK_FUNCTION_EXISTS=dlopen CMakeFiles/cmTryCompileExec2788627711.dir/CheckFunctionExists.c.o -o cmTryCompileExec2788627711 -rdynamic CMakeFiles/cmTryCompileExec2788627711.dir/CheckFunctionExists.c.o:CheckFunctionExists.c:function main: error: undefined reference to 'dlopen' collect2: error: ld returned 1 exit status make[1]: *** [cmTryCompileExec2788627711] Error 1 make[1]: Leaving directory/root/ettercap/build/CMakeFiles/CMakeTmp' make: *\ [cmTryCompileExec2788627711/fast] Error 2

Determining if the function strlcat exists failed with the following output: Change Dir: /root/ettercap/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec869944808/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec869944808.dir/build.make CMakeFiles/cmTryCompileExec869944808.dir/build make[1]: Entering directory /root/ettercap/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /root/ettercap/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec869944808.dir/CheckFunctionExists.c.o /usr/bin/gcc -DCHECK_FUNCTION_EXISTS=strlcat -o CMakeFiles/cmTryCompileExec869944808.dir/CheckFunctionExists.c.o -c /usr/share/cmake-2.8/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec869944808 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec869944808.dir/link.txt --verbose=1 /usr/bin/gcc -DCHECK_FUNCTION_EXISTS=strlcat CMakeFiles/cmTryCompileExec869944808.dir/CheckFunctionExists.c.o -o cmTryCompileExec869944808 -rdynamic CMakeFiles/cmTryCompileExec869944808.dir/CheckFunctionExists.c.o:CheckFunctionExists.c:function main: error: undefined reference to 'strlcat' collect2: error: ld returned 1 exit status make[1]: *** [cmTryCompileExec869944808] Error 1 make[1]: Leaving directory/root/ettercap/build/CMakeFiles/CMakeTmp' make: *\ [cmTryCompileExec869944808/fast] Error 2

Determining if the function strlcpy exists failed with the following output: Change Dir: /root/ettercap/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec1724636666/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec1724636666.dir/build.make CMakeFiles/cmTryCompileExec1724636666.dir/build make[1]: Entering directory /root/ettercap/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /root/ettercap/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1724636666.dir/CheckFunctionExists.c.o /usr/bin/gcc -DCHECK_FUNCTION_EXISTS=strlcpy -o CMakeFiles/cmTryCompileExec1724636666.dir/CheckFunctionExists.c.o -c /usr/share/cmake-2.8/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec1724636666 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1724636666.dir/link.txt --verbose=1 /usr/bin/gcc -DCHECK_FUNCTION_EXISTS=strlcpy CMakeFiles/cmTryCompileExec1724636666.dir/CheckFunctionExists.c.o -o cmTryCompileExec1724636666 -rdynamic CMakeFiles/cmTryCompileExec1724636666.dir/CheckFunctionExists.c.o:CheckFunctionExists.c:function main: error: undefined reference to 'strlcpy' collect2: error: ld returned 1 exit status make[1]: *** [cmTryCompileExec1724636666] Error 1 make[1]: Leaving directory/root/ettercap/build/CMakeFiles/CMakeTmp' make: *\ [cmTryCompileExec1724636666/fast] Error 2

Here is the console output from the build:

root@kali:~# apt-get install debhelper cmake bison flex libgtk2.0-dev libltdl3-dev libncurses-dev libncurses5-dev libnet1-dev libpcap-dev libpcre3-dev libssl-dev ghostscript python-gtk2-dev libpcap0.8-dev Reading package lists... Done Building dependency tree
Reading state information... Done Note, selecting 'libltdl-dev' instead of 'libltdl3-dev' Note, selecting 'libncurses5-dev' instead of 'libncurses-dev' bison is already the newest version. cmake is already the newest version. debhelper is already the newest version. flex is already the newest version. ghostscript is already the newest version. libgtk2.0-dev is already the newest version. libltdl-dev is already the newest version. libncurses5-dev is already the newest version. libnet1-dev is already the newest version. libpcap-dev is already the newest version. libpcap0.8-dev is already the newest version. libpcre3-dev is already the newest version. libssl-dev is already the newest version. python-gtk2-dev is already the newest version. The following packages were automatically installed and are no longer required: libavcodec54 libavutil52 libx264-129 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@kali:~# git clone https://github.com/Ettercap/ettercap.git Cloning into 'ettercap'... remote: Counting objects: 14945, done. remote: Compressing objects: 100% (3541/3541), done. remote: Total 14945 (delta 11601), reused 14414 (delta 11134) Receiving objects: 100% (14945/14945), 12.70 MiB | 283 KiB/s, done. Resolving deltas: 100% (11601/11601), done. root@kali:~# cd ettercap root@kali:~/ettercap# mkdir build root@kali:~/ettercap# cd build root@kali:~/ettercap/build# cmake ../ -- The C compiler identification is GNU 4.7.2 -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Looking for sys/poll.h -- Looking for sys/poll.h - found -- Looking for sys/select.h -- Looking for sys/select.h - found -- Looking for sys/utsname.h -- Looking for sys/utsname.h - found -- Looking for getopt.h -- Looking for getopt.h - found -- Looking for ctype.h -- Looking for ctype.h - found -- Looking for arpa/nameser.h -- Looking for arpa/nameser.h - found -- Looking for ltdl.h -- Looking for ltdl.h - found -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for wsyncup in /usr/lib/i386-linux-gnu/libcurses.so -- Looking for wsyncup in /usr/lib/i386-linux-gnu/libcurses.so - found -- Found Curses: /usr/lib/i386-linux-gnu/libcurses.so
-- Found Freetype: /usr/lib/i386-linux-gnu/libfreetype.so (found version "2.4.9") -- Found GTK2_GTK: /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so
-- Found OpenSSL: /usr/lib/i386-linux-gnu/libssl.so;/usr/lib/i386-linux-gnu/libcrypto.so (found version "1.0.1e") -- Found ZLIB: /usr/lib/i386-linux-gnu/libz.so (found version "1.2.7") -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found. -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
-- Looking for iconv -- Looking for iconv - found -- Looking for dlopen -- Looking for dlopen - not found -- Found CURL: /usr/lib/i386-linux-gnu/libcurl.so (Required is at least version "7.26.0") -- Looking for poll -- Looking for poll - found -- Looking for strtok_r -- Looking for strtok_r - found -- Looking for select -- Looking for select - found -- Looking for scandir -- Looking for scandir - found -- Looking for strlcat -- Looking for strlcat - not found -- Looking for strlcpy -- Looking for strlcpy - not found -- Looking for strsep -- Looking for strsep - found -- Looking for strcasestr -- Looking for strcasestr - found -- Looking for memmem -- Looking for memmem - found -- Looking for basename -- Looking for basename - found -- Looking for strndup -- Looking for strndup - found -- Found LIBNET: /usr/lib/libnet.so
-- Found PCRE: /usr/lib/i386-linux-gnu/libpcre.so
-- Performing Test HAVE_MUTEX_RECURSIVE_NP -- Performing Test HAVE_MUTEX_RECURSIVE_NP - Success -- Found BISON: /usr/bin/bison (found version "2.5") -- Found FLEX: /usr/bin/flex (found version "2.5.35") -- Configuring done -- Generating done -- Build files have been written to: /root/ettercap/build root@kali:~/ettercap/build# make Scanning dependencies of target ec_interfaces [ 0%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/text/ec_text.c.o [ 1%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/text/ec_text_conn.c.o [ 1%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/text/ec_text_display.c.o [ 1%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/text/ec_text_plugin.c.o [ 2%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/text/ec_text_profile.c.o [ 2%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/daemon/ec_daemon.c.o [ 3%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg.c.o [ 3%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_compound.c.o [ 3%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_debug.c.o [ 4%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_dialog.c.o [ 4%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_dynlist.c.o [ 4%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_error.c.o [ 5%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_file.c.o [ 5%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_input.c.o [ 6%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_list.c.o [ 6%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_menu.c.o [ 6%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_panel.c.o [ 7%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_percentage.c.o [ 7%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_scroll.c.o [ 8%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_window.c.o [ 8%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses.c.o [ 8%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_filters.c.o [ 9%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_help.c.o [ 9%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_hosts.c.o [ 9%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_live.c.o [ 10%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_logging.c.o [ 10%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_mitm.c.o [ 11%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_offline.c.o [ 11%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_plugins.c.o [ 11%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_start.c.o [ 12%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_targets.c.o [ 12%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_view.c.o [ 13%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_view_connections.c.o [ 13%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_view_profiles.c.o [ 13%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk.c.o [ 14%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_conf.c.o [ 14%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_filters.c.o [ 14%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_help.c.o [ 15%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_hosts.c.o [ 15%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_live.c.o [ 16%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_logging.c.o [ 16%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_menus.c.o [ 16%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_mitm.c.o [ 17%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_offline.c.o [ 17%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_plugins.c.o [ 18%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_start.c.o [ 18%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_targets.c.o [ 18%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_view.c.o [ 19%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_view_connections.c.o [ 19%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_view_profiles.c.o Linking C static library libec_interfaces.a [ 19%] Built target ec_interfaces Scanning dependencies of target libnet [ 19%] Built target libnet Scanning dependencies of target lib_ettercap [ 19%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_capture.c.o [ 20%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_checksum.c.o [ 20%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_conf.c.o [ 21%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_connbuf.c.o [ 21%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_conntrack.c.o [ 21%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_debug.c.o [ 22%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_decode.c.o [ 22%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_dispatcher.c.o [ 22%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_dissect.c.o [ 23%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_encryption_ccmp.c.o [ 23%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_encryption_tkip.c.o [ 24%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_encryption.c.o [ 24%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_error.c.o [ 24%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_exit.c.o [ 25%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_file.c.o [ 25%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_filter.c.o [ 26%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_fingerprint.c.o [ 26%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_format.c.o [ 26%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_globals.c.o [ 27%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_hash.c.o [ 27%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_hook.c.o [ 27%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_inet.c.o [ 28%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_inject.c.o [ 28%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_interfaces.c.o [ 29%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_log.c.o [ 29%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_manuf.c.o [ 29%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_mitm.c.o [ 30%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_network.c.o [ 30%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_packet.c.o [ 31%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_parser.c.o [ 31%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_passive.c.o [ 31%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_plugins.c.o [ 32%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_poll.c.o [ 32%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_profiles.c.o [ 33%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_resolv.c.o [ 33%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_scan.c.o [ 33%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_send.c.o [ 34%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_services.c.o [ 34%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_session.c.o [ 34%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_signals.c.o [ 35%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_sniff_bridge.c.o [ 35%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_sniff.c.o [ 36%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_sniff_unified.c.o [ 36%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_socket.c.o [ 36%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_sslwrap.c.o [ 37%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_stats.c.o [ 37%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_streambuf.c.o [ 38%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_strings.c.o [ 38%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_threads.c.o [ 38%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_ui.c.o [ 39%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_bgp.c.o [ 39%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_cvs.c.o [ 39%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_dhcp.c.o [ 40%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_ftp.c.o [ 40%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_http.c.o [ 41%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_icq.c.o [ 41%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_imap.c.o [ 41%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_irc.c.o [ 42%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_iscsi.c.o [ 42%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_ldap.c.o [ 43%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_mdns.c.o [ 43%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_mongodb.c.o [ 43%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_mountd.c.o [ 44%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_msn.c.o [ 44%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_mysql.c.o [ 44%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_nbns.c.o [ 45%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_nntp.c.o [ 45%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_o5logon.c.o [ 46%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_ospf.c.o [ 46%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_pop.c.o [ 46%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_postgresql.c.o [ 47%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_portmap.c.o [ 47%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_radius.c.o [ 48%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_rcon.c.o [ 48%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_rip.c.o [ 48%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_rlogin.c.o [ 49%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_smb.c.o [ 49%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_smtp.c.o [ 49%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_snmp.c.o [ 50%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_socks.c.o [ 50%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_telnet.c.o [ 51%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_TN3270.c.o [ 51%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_vnc.c.o [ 51%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_vrrp.c.o [ 52%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_x11.c.o [ 52%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_ymsg.c.o [ 53%] Building C object src/CMakeFiles/lib_ettercap.dir/mitm/ec_arp_poisoning.c.o [ 53%] Building C object src/CMakeFiles/lib_ettercap.dir/mitm/ec_dhcp_spoofing.c.o [ 53%] Building C object src/CMakeFiles/lib_ettercap.dir/mitm/ec_icmp_redirect.c.o [ 54%] Building C object src/CMakeFiles/lib_ettercap.dir/mitm/ec_port_stealing.c.o [ 54%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_arp.c.o [ 55%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_cooked.c.o [ 55%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_erf.c.o [ 55%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_eth.c.o [ 56%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_fddi.c.o [ 56%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_gre.c.o [ 56%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_icmp.c.o [ 57%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_ip.c.o [ 57%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_mpls.c.o [ 58%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_pap.c.o [ 58%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_ppi.c.o [ 58%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_ppp.c.o [ 59%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_pppoe.c.o [ 59%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_rawip.c.o [ 60%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_tcp.c.o [ 60%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_tr.c.o [ 60%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_udp.c.o [ 61%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_vlan.c.o [ 61%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_wifi.c.o [ 61%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_wifi_eapol.c.o [ 62%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_wifi_prism.c.o [ 62%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_wifi_radiotap.c.o [ 63%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_dns.c.o [ 63%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_ssh.c.o [ 63%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_gg.c.o [ 64%] Building C object src/CMakeFiles/lib_ettercap.dir/os/ec_linux.c.o [ 64%] Building C object src/CMakeFiles/lib_ettercap.dir/missing/strlcat.c.o [ 65%] Building C object src/CMakeFiles/lib_ettercap.dir/missing/strlcpy.c.o Linking C shared library libettercap.so [ 65%] Built target lib_ettercap Scanning dependencies of target ettercap [ 65%] Building C object src/CMakeFiles/ettercap.dir/ec_main.c.o Linking C executable ettercap [ 65%] Built target ettercap Scanning dependencies of target ec_wdg [ 66%] Building C object src/interfaces/CMakeFiles/ec_wdg.dir/curses/widgets/wdg.c.o [ 66%] Building C object src/interfaces/CMakeFiles/ec_wdg.dir/curses/widgets/wdg_compound.c.o [ 66%] Building C object src/interfaces/CMakeFiles/ec_wdg.dir/curses/widgets/wdg_debug.c.o [ 67%] Building C object src/interfaces/CMakeFiles/ec_wdg.dir/curses/widgets/wdg_dialog.c.o [ 67%] Building C object src/interfaces/CMakeFiles/ec_wdg.dir/curses/widgets/wdg_dynlist.c.o [ 67%] Building C object src/interfaces/CMakeFiles/ec_wdg.dir/curses/widgets/wdg_error.c.o [ 68%] Building C object src/interfaces/CMakeFiles/ec_wdg.dir/curses/widgets/wdg_file.c.o [ 68%] Building C object src/interfaces/CMakeFiles/ec_wdg.dir/curses/widgets/wdg_input.c.o [ 69%] Building C object src/interfaces/CMakeFiles/ec_wdg.dir/curses/widgets/wdg_list.c.o [ 69%] Building C object src/interfaces/CMakeFiles/ec_wdg.dir/curses/widgets/wdg_menu.c.o [ 69%] Building C object src/interfaces/CMakeFiles/ec_wdg.dir/curses/widgets/wdg_panel.c.o [ 70%] Building C object src/interfaces/CMakeFiles/ec_wdg.dir/curses/widgets/wdg_percentage.c.o [ 70%] Building C object src/interfaces/CMakeFiles/ec_wdg.dir/curses/widgets/wdg_scroll.c.o [ 71%] Building C object src/interfaces/CMakeFiles/ec_wdg.dir/curses/widgets/wdg_window.c.o Linking C static library libec_wdg.a [ 71%] Built target ec_wdg Scanning dependencies of target arp_cop [ 71%] Building C object plug-ins/CMakeFiles/arp_cop.dir/arp_cop/arp_cop.c.o Linking C shared module ec_arp_cop.so [ 71%] Built target arp_cop Scanning dependencies of target autoadd [ 71%] Building C object plug-ins/CMakeFiles/autoadd.dir/autoadd/autoadd.c.o Linking C shared module ec_autoadd.so [ 71%] Built target autoadd Scanning dependencies of target chk_poison [ 72%] Building C object plug-ins/CMakeFiles/chk_poison.dir/chk_poison/chk_poison.c.o Linking C shared module ec_chk_poison.so [ 72%] Built target chk_poison Scanning dependencies of target dns_spoof [ 72%] Building C object plug-ins/CMakeFiles/dns_spoof.dir/dns_spoof/dns_spoof.c.o Linking C shared module ec_dns_spoof.so [ 72%] Built target dns_spoof Scanning dependencies of target dos_attack [ 72%] Building C object plug-ins/CMakeFiles/dos_attack.dir/dos_attack/dos_attack.c.o Linking C shared module ec_dos_attack.so [ 72%] Built target dos_attack Scanning dependencies of target dummy [ 73%] Building C object plug-ins/CMakeFiles/dummy.dir/dummy/dummy.c.o Linking C shared module ec_dummy.so [ 73%] Built target dummy Scanning dependencies of target find_conn [ 73%] Building C object plug-ins/CMakeFiles/find_conn.dir/find_conn/find_conn.c.o Linking C shared module ec_find_conn.so [ 73%] Built target find_conn Scanning dependencies of target find_ettercap [ 74%] Building C object plug-ins/CMakeFiles/find_ettercap.dir/find_ettercap/find_ettercap.c.o Linking C shared module ec_find_ettercap.so [ 74%] Built target find_ettercap Scanning dependencies of target find_ip [ 74%] Building C object plug-ins/CMakeFiles/find_ip.dir/find_ip/find_ip.c.o Linking C shared module ec_find_ip.so [ 74%] Built target find_ip Scanning dependencies of target finger [ 74%] Building C object plug-ins/CMakeFiles/finger.dir/finger/finger.c.o Linking C shared module ec_finger.so [ 74%] Built target finger Scanning dependencies of target finger_submit [ 75%] Building C object plug-ins/CMakeFiles/finger_submit.dir/finger_submit/finger_submit.c.o Linking C shared module ec_finger_submit.so [ 75%] Built target finger_submit Scanning dependencies of target gre_relay [ 75%] Building C object plug-ins/CMakeFiles/gre_relay.dir/gre_relay/gre_relay.c.o Linking C shared module ec_gre_relay.so [ 75%] Built target gre_relay Scanning dependencies of target gw_discover [ 76%] Building C object plug-ins/CMakeFiles/gw_discover.dir/gw_discover/gw_discover.c.o Linking C shared module ec_gw_discover.so [ 76%] Built target gw_discover Scanning dependencies of target isolate [ 76%] Building C object plug-ins/CMakeFiles/isolate.dir/isolate/isolate.c.o Linking C shared module ec_isolate.so [ 76%] Built target isolate Scanning dependencies of target link_type [ 76%] Building C object plug-ins/CMakeFiles/link_type.dir/link_type/link_type.c.o Linking C shared module ec_link_type.so [ 76%] Built target link_type Scanning dependencies of target mdns_spoof [ 76%] Building C object plug-ins/CMakeFiles/mdns_spoof.dir/mdns_spoof/mdns_spoof.c.o Linking C shared module ec_mdns_spoof.so [ 76%] Built target mdns_spoof Scanning dependencies of target nbns_spoof [ 77%] Building C object plug-ins/CMakeFiles/nbns_spoof.dir/nbns_spoof/nbns_spoof.c.o Linking C shared module ec_nbns_spoof.so [ 77%] Built target nbns_spoof Scanning dependencies of target pptp_chapms1 [ 77%] Building C object plug-ins/CMakeFiles/pptp_chapms1.dir/pptp_chapms1/pptp_chapms1.c.o Linking C shared module ec_pptp_chapms1.so [ 77%] Built target pptp_chapms1 Scanning dependencies of target pptp_clear [ 77%] Building C object plug-ins/CMakeFiles/pptp_clear.dir/pptp_clear/pptp_clear.c.o Linking C shared module ec_pptp_clear.so [ 77%] Built target pptp_clear Scanning dependencies of target pptp_pap [ 78%] Building C object plug-ins/CMakeFiles/pptp_pap.dir/pptp_pap/pptp_pap.c.o Linking C shared module ec_pptp_pap.so [ 78%] Built target pptp_pap Scanning dependencies of target pptp_reneg [ 78%] Building C object plug-ins/CMakeFiles/pptp_reneg.dir/pptp_reneg/pptp_reneg.c.o Linking C shared module ec_pptp_reneg.so [ 78%] Built target pptp_reneg Scanning dependencies of target rand_flood [ 79%] Building C object plug-ins/CMakeFiles/rand_flood.dir/rand_flood/rand_flood.c.o Linking C shared module ec_rand_flood.so [ 79%] Built target rand_flood Scanning dependencies of target remote_browser [ 79%] Building C object plug-ins/CMakeFiles/remote_browser.dir/remote_browser/remote_browser.c.o Linking C shared module ec_remote_browser.so [ 79%] Built target remote_browser Scanning dependencies of target reply_arp [ 79%] Building C object plug-ins/CMakeFiles/reply_arp.dir/reply_arp/reply_arp.c.o Linking C shared module ec_reply_arp.so [ 79%] Built target reply_arp Scanning dependencies of target repoison_arp [ 80%] Building C object plug-ins/CMakeFiles/repoison_arp.dir/repoison_arp/repoison_arp.c.o Linking C shared module ec_repoison_arp.so [ 80%] Built target repoison_arp Scanning dependencies of target scan_poisoner [ 80%] Building C object plug-ins/CMakeFiles/scan_poisoner.dir/scan_poisoner/scan_poisoner.c.o Linking C shared module ec_scan_poisoner.so [ 80%] Built target scan_poisoner Scanning dependencies of target search_promisc [ 81%] Building C object plug-ins/CMakeFiles/search_promisc.dir/search_promisc/search_promisc.c.o Linking C shared module ec_search_promisc.so [ 81%] Built target search_promisc Scanning dependencies of target smb_clear [ 81%] Building C object plug-ins/CMakeFiles/smb_clear.dir/smb_clear/smb_clear.c.o Linking C shared module ec_smb_clear.so [ 81%] Built target smb_clear Scanning dependencies of target smb_down [ 81%] Building C object plug-ins/CMakeFiles/smb_down.dir/smb_down/smb_down.c.o Linking C shared module ec_smb_down.so [ 81%] Built target smb_down Scanning dependencies of target smurf_attack [ 82%] Building C object plug-ins/CMakeFiles/smurf_attack.dir/smurf_attack/smurf_attack.c.o Linking C shared module ec_smurf_attack.so [ 82%] Built target smurf_attack Scanning dependencies of target curl [ 82%] Built target curl Scanning dependencies of target sslstrip [ 82%] Building C object plug-ins/CMakeFiles/sslstrip.dir/sslstrip/sslstrip.c.o Linking C shared module ec_sslstrip.so [ 82%] Built target sslstrip Scanning dependencies of target stp_mangler [ 83%] Building C object plug-ins/CMakeFiles/stp_mangler.dir/stp_mangler/stp_mangler.c.o Linking C shared module ec_stp_mangler.so [ 83%] Built target stp_mangler [ 84%] [FLEX][EF_SCANNER] Building scanner with flex 2.5.35 [ 84%] [BISON][EF_PARSER] Building parser with bison 2.5 etterfilter/ef_grammar.y: conflicts: 17 shift/reduce Scanning dependencies of target etterfilter [ 84%] Building C object utils/CMakeFiles/etterfilter.dir/etterfilter/ef_compiler.c.o [ 84%] Building C object utils/CMakeFiles/etterfilter.dir/etterfilter/ef_ec_compat.c.o [ 85%] Building C object utils/CMakeFiles/etterfilter.dir/etterfilter/ef_encode.c.o [ 85%] Building C object utils/CMakeFiles/etterfilter.dir/etterfilter/ef_main.c.o [ 86%] Building C object utils/CMakeFiles/etterfilter.dir/etterfilter/ef_output.c.o [ 86%] Building C object utils/CMakeFiles/etterfilter.dir/etterfilter/ef_parser.c.o [ 86%] Building C object utils/CMakeFiles/etterfilter.dir/etterfilter/ef_tables.c.o [ 87%] Building C object utils/CMakeFiles/etterfilter.dir/etterfilter/ef_test.c.o [ 87%] Building C object utils/CMakeFiles/etterfilter.dir//src/ec_error.c.o [ 88%] Building C object utils/CMakeFiles/etterfilter.dir//src/ec_file.c.o [ 88%] Building C object utils/CMakeFiles/etterfilter.dir//src/ec_filter.c.o [ 88%] Building C object utils/CMakeFiles/etterfilter.dir//src/ec_strings.c.o [ 89%] Building C object utils/CMakeFiles/etterfilter.dir//src/missing/strlcpy.c.o [ 89%] Building C object utils/CMakeFiles/etterfilter.dir//src/missing/inet_aton.c.o [ 89%] Building C object utils/CMakeFiles/etterfilter.dir//src/missing/getopt.c.o [ 90%] Building C object utils/CMakeFiles/etterfilter.dir/ef_syntax.c.o [ 90%] Building C object utils/CMakeFiles/etterfilter.dir/ef_grammar.c.o Linking C executable etterfilter [ 90%] Built target etterfilter Scanning dependencies of target etterlog [ 91%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_analyze.c.o [ 91%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_conn.c.o [ 91%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_decode.c.o [ 92%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_decode_http.c.o [ 92%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_display.c.o [ 93%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_ec_compat.c.o [ 93%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_log.c.o [ 93%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_main.c.o [ 94%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_parser.c.o [ 94%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_profiles.c.o [ 94%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_stream.c.o [ 95%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_target.c.o [ 95%] Building C object utils/CMakeFiles/etterlog.dir//src/ec_error.c.o [ 96%] Building C object utils/CMakeFiles/etterlog.dir//src/ec_fingerprint.c.o [ 96%] Building C object utils/CMakeFiles/etterlog.dir//src/ec_manuf.c.o [ 96%] Building C object utils/CMakeFiles/etterlog.dir//src/ec_services.c.o [ 97%] Building C object utils/CMakeFiles/etterlog.dir//src/ec_hash.c.o [ 97%] Building C object utils/CMakeFiles/etterlog.dir//src/ec_file.c.o [ 98%] Building C object utils/CMakeFiles/etterlog.dir//src/ec_inet.c.o [ 98%] Building C object utils/CMakeFiles/etterlog.dir//src/ec_passive.c.o [ 98%] Building C object utils/CMakeFiles/etterlog.dir//src/ec_strings.c.o [ 99%] Building C object utils/CMakeFiles/etterlog.dir//src/ec_format.c.o [ 99%] Building C object utils/CMakeFiles/etterlog.dir//src/missing/strlcat.c.o [100%] Building C object utils/CMakeFiles/etterlog.dir//src/missing/inet_aton.c.o [100%] Building C object utils/CMakeFiles/etterlog.dir//src/missing/getopt.c.o Linking C executable etterlog [100%] Built target etterlog Scanning dependencies of target man [100%] Built target man

LocutusOfBorg commented 11 years ago

I don't understand, seems to be ettercap is built correctly or not?

justfalter commented 11 years ago

I've noticed it, as well. I wonder if it is the result of #186?

eaescob commented 11 years ago

Can you please show us your etter.dns file? Thanks

eaescob commented 11 years ago

Hrm. THis is weird, looks like your etter.dns has been updated with the IPv6 support but dns_spoof plugin was not. Can you make sure you are up to date (git pull) and re-build?

Thanks

reaperz73 commented 11 years ago

Was built and rebuilt from the latest pull.

Here is the etter.dns it is just the stock one it comes packaged with

############################################################################

ettercap -- etter.dns -- host file for dns_spoof and

mdns_spoof plugins

Copyright (C) ALoR & NaGA

This program is free software; you can redistribute it and/or modify

it under the terms of the GNU General Public License as published by

the Free Software Foundation; either version 2 of the License, or

(at your option) any later version.

############################################################################

Sample hosts file for dns_spoof plugin

the format is (for A query):

www.myhostname.com A 168.11.22.33

*.foo.com A 168.44.55.66

... for a AAAA query (same hostname allowed):

www.myhostname.com AAAA 2001:db8::1

*.foo.com AAAA 2001:db8::2

or for PTR query:

www.bar.com PTR 10.0.0.10

www.google.com PTR ::1

or for MX query (either IPv4 or IPv6):

domain.com MX xxx.xxx.xxx.xxx

domain2.com MX xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx

domain3.com MX xxxx:xxxx::y

or for WINS query:

workgroup WINS 127.0.0.1

PC* WINS 127.0.0.1

or for SRV query:

service._tcp|_udp.domain SRV 192.168.1.10:port

Example:

xmpp-server._tcp.google.com SRV 192.168.1.10:5269

or for SRV query:

service SRV target:port

xmpp-server._tcp.blah.com SRV 1.2.3.4:5269

NOTE: the wildcarded hosts can't be used to poison the PTR requests

so if you want to reverse poison you have to specify a plain

host. (look at the www.microsoft.com example)

############################################################################

################################

microsoft sucks ;)

redirect it to www.linux.org

#

microsoft.com A 198.182.196.56 *.microsoft.com A 198.182.196.56 www.microsoft.com PTR 198.182.196.56 # Wildcards in PTR are not allowed

##########################################

no one out there can have our domains...

#

www.alor.org A 127.0.0.1 www.naga.org A 127.0.0.1 www.naga.org AAAA 2001:db8::2

###############################################

one day we will have our ettercap.org domain

#

www.ettercap.org A 127.0.0.1 www.ettercap-project.org A 127.0.0.1 ettercap.sourceforge.net A 216.136.171.201 www.ettercap.org PTR ::1

###############################################

some MX examples

#

alor.org MX 127.0.0.1 naga.org MX 127.0.0.1 example.org MX 127.0.0.2 microsoft.com MX 2001:db8::1ce:c01d:bee3

###############################################

This messes up NetBIOS clients using DNS

resolutions. I.e. Windows/Samba file sharing.

#

LAB-PC* WINS 127.0.0.1

vim:ts=8:noexpandtab

reaperz73 commented 11 years ago

Wow that didn't paste well

eaescob commented 11 years ago

It's ok :) So yeah, that's the etter.dns after the v6 addition to the dns_spoof plugin. I will verify.

reaperz73 commented 11 years ago

Thanks for the help, Maybe the developers for Kali will get it added to the repo's soon. I know they stay busy.

brav0hax commented 11 years ago

We're waiting for the Debian upstream. It should be approved for Wheezy soon.

Just upgraded to Kubuntu 13.04 and 0.7.6 is in there. On Apr 30, 2013 6:21 PM, "reaperz73" notifications@github.com wrote:

Thanks for the help, Maybe the developers for Kali will get it added to the repo's soon. I know they stay busy.

— Reply to this email directly or view it on GitHubhttps://github.com/Ettercap/ettercap/issues/216#issuecomment-17264030 .

reaperz73 commented 11 years ago

Thanks brav0hax .. keep up the good work.

eaescob commented 11 years ago

Ah! This is actually the mdns_spoof plugin printing these errors. When ettercap starts it loads all the plugins (does not start/enable them). The mDNS spoof plugin does not support MX/WINS and IPv6 records.

eaescob commented 11 years ago

So the question is, should it use the same etter.dns file or a different? If the same, I can make the mDNS plugin recognize MX/WINS/AAAA records but not use them.

reaperz73 commented 11 years ago

right now I have been just deleting the references to MX WINS and AAAA in etter.dns just so I don't see the errors:)

reaperz73 commented 11 years ago

eaescob how long do you think until you can push the fix? No hurry just curious.

eaescob commented 11 years ago

Well, the code fix is easy. @justfalter @LocutusOfBorg @brav0hax what do you guys think? same file for both plugins or different?

reaperz73 commented 11 years ago

ah just looked at code and see it only recognizes A and SRV in mdns_spoof

reaperz73 commented 11 years ago

and PTR

reaperz73 commented 11 years ago

Just looking at code again if you use the same conf file you may have to add ipv6 to mdns_spoof as well

reaperz73 commented 11 years ago

made these changes on my own and recompiled and no errors

LocutusOfBorg commented 11 years ago

I don't know what to answer... Feel free to decide what to do :) Anyway 0.7.6 isnt for 13.04 only, but yesterday my backport request has been accepted for 12.10 too https://launchpad.net/ubuntu/+source/ettercap/1:0.7.6-1~ubuntu12.10.1

yeah!

eaescob commented 11 years ago

SO what to do here, I'm not sure mDNS even support WINS or MX but if it does I'll add support back to the plugin.

koeppea commented 11 years ago

I already saw theses warnings even before I submitted the IPv6 support for dns_spoof. The issue is, that mdns_spoof and dns_spoof plugin use the same etter.dns file but mdns_spoof is yet supporting only a subset of record types which leads to the above mentioned warnings.

Either mdns_spoof plugin recognizes those "not yet supported" record types as "not yet supported" or mdns_spoof plugin must use a dedicated etter.dns file e.g. etter.mdns.

My favorite is the second solution which is already on my personal TODO list.

koeppea commented 11 years ago

IMHO this issue can now be closed after merged pull request #222.

LocutusOfBorg commented 11 years ago

@reaperz73 can we close it?