Ettercap- "DNS not supported"

Instalacja i konfiguracja oprogramowania sieciowego.
Kszesi
Piegowaty Guziec
Piegowaty Guziec
Posty: 12
Rejestracja: 28 sty 2008, 21:54
Płeć: Mężczyzna
Wersja Ubuntu: 10.10
Środowisko graficzne: GNOME
Architektura: x86_64

Ettercap- "DNS not supported"

Post autor: Kszesi »

Witam po długiej nieobecności
Zniechęciłem się do Ubuntu no nie powiem, ponieważ jest jeden problem, z którym właściwie nikt na świecie sobie chyba jeszcze nie poradził. Bardzo zależy mi na tym, abym mógł prawidłowo używać Ettercapa. Problem jaki się pojawia po skanowaniu programem:
Kod:

Kod: Zaznacz cały

Dissector "dns" not supported (etter.conf line 70)
Ooops ! This shouldn't happen...
Segmentation Fault...

Please recompile in debug mode, reproduce the bug and send a bugreport

User@Host:~$
Linia 70 pliku etter.conf
Kod:

Kod: Zaznacz cały

Linia 70 pliku etter,conf:

dns = 53
Przeglądałem naprawdę masę stron głwonie anglojęzycznych i NIKT ALE TO ABSOLUTNIE NIKT NIE WPADŁ NA POMYSŁ jak ten problem rozwiązać Mam nadzieję, że chociaż, któryś z userów tego forum będzie wiedział co z tym fantem zrobić. Mi udało się tylko ustalić, że takie cyrki dzieją się tylko an systemach Debianowowych, nie ma znaczneia, czy pracujemy na platformie 32 czy 64-bitowej.

Niestety szukałem na ten temat i nic nie znalazłem, przez co musiałem przerzucić się na Mandrivę, chociaż wolałbym wrócić z kilku względów na Ubuntu, który wydaje się być bardziej przyjaźniejszy. Proszę o pomoc
Awatar użytkownika
alex2
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 111
Rejestracja: 22 cze 2008, 13:41
Płeć: Mężczyzna
Wersja Ubuntu: 10.04
Środowisko graficzne: Openbox
Architektura: x86

Odp: Ettercap- "DNS not supported"

Post autor: alex2 »

http://unknowndebian.free.fr/wordpress/?p=20
Na tej stronce autor pisze, (oczywiście Google translate), żeby ściągnąć źródło ettercap
http://ettercap.sourceforge.net/download.php
i zmienić dwie rzeczy w pliku configure:

1)ac_cv_search_dn_expand=no
zmienić na
ac_cv_search_dn_expand="-lresolv"

2)ac_ec_dns=no
zmienić na
ac_ec_dns=yes

Potem standardowo:
./configure
make && sudo make install

Pozdro
Kszesi
Piegowaty Guziec
Piegowaty Guziec
Posty: 12
Rejestracja: 28 sty 2008, 21:54
Płeć: Mężczyzna
Wersja Ubuntu: 10.10
Środowisko graficzne: GNOME
Architektura: x86_64

Odp: Ettercap- "DNS not supported"

Post autor: Kszesi »

O kurcze widziałem to kiedyś, ale miałem problem z tym koślawym tłumaczeniem. No to instaluje na nowo Ubuntu i sprawdzę jak to działa. Wrócę na wieczór i powiem co i jak :)

EDIT:
No i mam niestety kolejny problem :/ Tym razem nie mogę zainstalować Ettercapa ze źródeł. Dziwne jest to, że posiadam wszystko co jest potrzebne do instalacji, ew., nie mam któryś z nie niezbędnych bibliotek. Na końcu komunikatu podczas kompilacji wyskakuje mi coś takiego:

Kod: Zaznacz cały

configure: error: Package requirements (gtk+-2.0 >= 2.0.0 pango >= 1.0 atk >= 1.0) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the GTK_CFLAGS and GTK_LIBS environment variables
to avoid the need to call pkg-config.  See the pkg-config man page for
more details.
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# 
A co tu może chodzić? Możliwe, że doinstalowałem za dużo bibliotek (używałem Synaptica), które się teraz po prostu gryzą?
Awatar użytkownika
alex2
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 111
Rejestracja: 22 cze 2008, 13:41
Płeć: Mężczyzna
Wersja Ubuntu: 10.04
Środowisko graficzne: Openbox
Architektura: x86

Odp: Ettercap- "DNS not supported"

Post autor: alex2 »

Wynika, że nie masz jednego z poniższych, lub jest w za starej wersji:

gtk conajmniej 2.0.0
pango conajmniej 1.0
atk conajmniej 1.0

Sprawdzisz to np. tak:
dpkg -l | grep gtk
dpkg -l | grep pango

Pozdrawiam
Awatar użytkownika
Dwimenor
Przebojowy Jelonek
Przebojowy Jelonek
Posty: 1260
Rejestracja: 18 mar 2008, 16:14
Płeć: Mężczyzna
Wersja Ubuntu: 13.10
Architektura: x86_64

Odp: Ettercap- "DNS not supported"

Post autor: Dwimenor »

Do kompilacji potrzebujesz paczek developperskich, a więc najprawdopodobniej:
libpango1.0-dev
libgtk2.0-dev
libatk1.0-dev
Poniższe zdanie jest fałszywe.
Powyższe zdanie jest prawdziwe.
Kszesi
Piegowaty Guziec
Piegowaty Guziec
Posty: 12
Rejestracja: 28 sty 2008, 21:54
Płeć: Mężczyzna
Wersja Ubuntu: 10.10
Środowisko graficzne: GNOME
Architektura: x86_64

Odp: Ettercap- "DNS not supported"

Post autor: Kszesi »

Zadziałały Wasze rady. Ale niestety TEN PROGRAM WYBITNIE NIE CHCE ZE MNĄ WSPÓŁPRACOWAĆ :/ Wszystko już na swoim miejscu. configure robi chyba dobrą robotę:

Kod: Zaznacz cały

Install directory:  /usr/local


Libraries : 

 LIBPCAP ................  default
 LIBNET .................  default
 LIBSSL .................  default
 NCURSES ................  default
 GTK+ ...................  yes

Functionalities : 

 Debug mode .............  no
 Plugin support .........  no
 Passive DNS ............  yes
 Perl regex in filters ..  no
 Iconv UTF-8 support ....  yes
Ale już po podaniu polecenia make && sudo make install:

Kod: Zaznacz cały

root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# make && sudo make install
Making all in man
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/man'
make[1]: Nie ma nic do zrobienia w `all'.
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/man'
Making all in share
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/share'
make[1]: Nie ma nic do zrobienia w `all'.
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/share'
Making all in include
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make  all-am
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
Making all in include
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make  all-am
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
Making all in src
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src'
Making all in os
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/os'
make[2]: Nie ma nic do zrobienia w `all'.
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/os'
Making all in interfaces
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces'
Making all in daemon
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/daemon'
make[3]: Nie ma nic do zrobienia w `all'.
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/daemon'
Making all in text
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/text'
make[3]: Nie ma nic do zrobienia w `all'.
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/text'
Making all in curses
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses'
Making all in widgets
make[4]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses/widgets'
make[4]: Nie ma nic do zrobienia w `all'.
make[4]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses/widgets'
make[4]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses'
make[4]: Nie ma nic do zrobienia w `all-am'.
make[4]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses'
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses'
Making all in gtk
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/gtk'
make[3]: Nie ma nic do zrobienia w `all'.
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/gtk'
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces'
make[3]: Nie ma nic do zrobienia w `all-am'.
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces'
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces'
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I../include    -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/local/include     -g -O2 -MT ettercap-ec_log.o -MD -MP -MF ".deps/ettercap-ec_log.Tpo" -c -o ettercap-ec_log.o `test -f 'ec_log.c' || echo './'`ec_log.c; \
	then mv -f ".deps/ettercap-ec_log.Tpo" ".deps/ettercap-ec_log.Po"; else rm -f ".deps/ettercap-ec_log.Tpo"; exit 1; fi
ec_log.c: In function ‘log_packet’:
ec_log.c:248: warning: pointer targets in passing argument 2 of ‘regexec’ differ in signedness
/usr/include/regex.h:571: note: expected ‘const char * __restrict__’ but argument is of type ‘u_char *’
ec_log.c: In function ‘log_write_info’:
ec_log.c:491: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness
ec_log.c:491: note: expected ‘const char *’ but argument is of type ‘u_char *’
ec_log.c:491: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
ec_log.c:491: note: expected ‘const char *’ but argument is of type ‘u_char *’
ec_log.c:491: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness
ec_log.c:491: note: expected ‘const char *’ but argument is of type ‘u_char *’
ec_log.c:491: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
ec_log.c:491: note: expected ‘const char *’ but argument is of type ‘u_char *’
ec_log.c:491: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
ec_log.c:491: note: expected ‘const char *’ but argument is of type ‘u_char *’
ec_log.c:491: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
ec_log.c:491: note: expected ‘const char *’ but argument is of type ‘u_char *’
In file included from /usr/include/fcntl.h:252,
                 from ec_log.c:32:
In function ‘open’,
    inlined from ‘log_open’ at ec_log.c:193:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[2]: *** [ettercap-ec_log.o] Błąd 1
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src'
make: *** [all-recursive] Błąd 1
Może miało jakieś znaczenie, że wcześniej wielokrotnie kompilowałem z błędami?
kklimonda
Zakręcona Traszka
Zakręcona Traszka
Posty: 585
Rejestracja: 20 kwie 2008, 04:21
Płeć: Mężczyzna
Wersja Ubuntu: 11.04
Środowisko graficzne: GNOME

Odp: Ettercap- "DNS not supported"

Post autor: kklimonda »

Musisz nałożyć taki patch

Kod: Zaznacz cały

# Description: specify file permission in open call

Index: ettercap-0.7.3-1.4ubuntu1/src/ec_log.c
===================================================================
--- ettercap-0.7.3-1.4ubuntu1.orig/src/ec_log.c	2009-07-10 16:11:16.427060161 -0400
+++ ettercap-0.7.3-1.4ubuntu1/src/ec_log.c	2009-07-10 16:11:42.789785610 -0400
@@ -190,7 +190,7 @@
       if (fd->cfd == NULL)
          SEMIFATAL_ERROR("%s", gzerror(fd->cfd, &zerr));
    } else {
-      fd->fd = open(filename, O_CREAT | O_TRUNC | O_RDWR | O_BINARY);
+      fd->fd = open(filename, O_CREAT | O_TRUNC | O_RDWR | O_BINARY, 0664);
       if (fd->fd == -1)
          SEMIFATAL_ERROR("Can't create %s: %s", filename, strerror(errno));
    }
Kszesi
Piegowaty Guziec
Piegowaty Guziec
Posty: 12
Rejestracja: 28 sty 2008, 21:54
Płeć: Mężczyzna
Wersja Ubuntu: 10.10
Środowisko graficzne: GNOME
Architektura: x86_64

Odp: Ettercap- "DNS not supported"

Post autor: Kszesi »

No terazto już w ogóle nie kapuje. To co kolega powyżej wkleił to co właściwie jest? Z synaptica zainstalowałem pakiety diff, ale nie zadziałało. No ale zobaczyłem, że to co jest wyżej to nie ma tego w moich wynikach konsoli, wiec wkleiłem to do kosoli jako root i dostałem takie coś:

Kod: Zaznacz cały

checking for argz.h... yes
checking for error_t... yes
checking for argz_append... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking for strerror... yes
checking for strstr... yes
checking for strsignal... yes
checking for strtok_r... yes
checking for uname... yes
checking for daemon... yes

Checking for required libraries...

checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for library containing poll... none required
checking for library containing gzopen... -lz
checking for library containing dn_expand... -lresolv
checking for additional -lresolv needed by dn_expand... not needed

Checking for missing functions...

checking for strlcpy... no
checking for strlcat... no
checking for strsep... yes
checking for memmem... yes
checking for memcmp... yes
checking for basename... yes
checking for getopt_long... yes
checking for strcasestr... yes
checking for scandir... yes
checking for inet_aton... yes
checking for inet_aton in -lresolv... yes

Checking user defined options...

checking if --enable-debug option was specified... no
checking if --enable-plugins option was specified... not supported
checking for libpcap... yes
checking for pcap_datalink_val_to_description in -lpcap... yes
checking for libnet... yes
checking for libnet_adv_free_packet in -lnet... yes
checking for openssl... yes
checking for libpcre... no
checking for iconv... yes
checking for library containing iconv... none required
checking for iconv in -lc... yes
checking for iconv in -liconv... no
checking for libiconv in -liconv... no
checking for libncurses... yes
checking if --enable-gtk option was specified... checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
yes
checking for pkg-config... /usr/bin/pkg-config
checking for GTK_CFLAGS... -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12  
checking for GTK_LIBS... -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng12 -lfreetype -lfontconfig -lpango-1.0 -lgmodule-2.0 -latk-1.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0  

Writing output files...

configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makefile.mingw
config.status: creating man/Makefile
config.status: creating man/ettercap.8
config.status: creating man/ettercap_curses.8
config.status: creating man/ettercap_plugins.8
config.status: creating man/etterlog.8
config.status: creating man/etterfilter.8
config.status: creating man/etter.conf.5
config.status: creating share/Makefile
config.status: creating src/Makefile
config.status: creating src/os/Makefile
config.status: creating src/interfaces/Makefile
config.status: creating src/interfaces/daemon/Makefile
config.status: creating src/interfaces/text/Makefile
config.status: creating src/interfaces/curses/Makefile
config.status: creating src/interfaces/curses/widgets/Makefile
config.status: creating src/interfaces/gtk/Makefile
config.status: creating include/Makefile
config.status: creating utils/Makefile
config.status: creating utils/etterlog/Makefile
config.status: creating utils/etterfilter/Makefile
config.status: creating plug-ins/Makefile
config.status: creating plug-ins/arp_cop/Makefile
config.status: creating plug-ins/autoadd/Makefile
config.status: creating plug-ins/chk_poison/Makefile
config.status: creating plug-ins/dos_attack/Makefile
config.status: creating plug-ins/dns_spoof/Makefile
config.status: creating plug-ins/dummy/Makefile
config.status: creating plug-ins/find_conn/Makefile
config.status: creating plug-ins/find_ettercap/Makefile
config.status: creating plug-ins/find_ip/Makefile
config.status: creating plug-ins/finger/Makefile
config.status: creating plug-ins/finger_submit/Makefile
config.status: creating plug-ins/gre_relay/Makefile
config.status: creating plug-ins/gw_discover/Makefile
config.status: creating plug-ins/isolate/Makefile
config.status: creating plug-ins/link_type/Makefile
config.status: creating plug-ins/pptp_chapms1/Makefile
config.status: creating plug-ins/pptp_clear/Makefile
config.status: creating plug-ins/pptp_pap/Makefile
config.status: creating plug-ins/pptp_reneg/Makefile
config.status: creating plug-ins/rand_flood/Makefile
config.status: creating plug-ins/remote_browser/Makefile
config.status: creating plug-ins/reply_arp/Makefile
config.status: creating plug-ins/repoison_arp/Makefile
config.status: creating plug-ins/scan_poisoner/Makefile
config.status: creating plug-ins/search_promisc/Makefile
config.status: creating plug-ins/smb_clear/Makefile
config.status: creating plug-ins/smb_down/Makefile
config.status: creating plug-ins/stp_mangler/Makefile
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: executing depfiles commands

ettercap has been configured as follow...

==================================================

 Install directory:  /usr/local


Libraries : 

 LIBPCAP ................  default
 LIBNET .................  default
 LIBSSL .................  default
 NCURSES ................  default
 GTK+ ...................  yes

Functionalities : 

 Debug mode .............  no
 Plugin support .........  no
 Passive DNS ............  yes
 Perl regex in filters ..  no
 Iconv UTF-8 support ....  yes

==================================================

root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# make && sudo make install
Making all in man
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/man'
make[1]: Nie ma nic do zrobienia w `all'.
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/man'
Making all in share
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/share'
make[1]: Nie ma nic do zrobienia w `all'.
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/share'
Making all in include
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make  all-am
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
Making all in include
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make  all-am
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
Making all in src
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src'
Making all in os
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/os'
make[2]: Nie ma nic do zrobienia w `all'.
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/os'
Making all in interfaces
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces'
Making all in daemon
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/daemon'
make[3]: Nie ma nic do zrobienia w `all'.
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/daemon'
Making all in text
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/text'
make[3]: Nie ma nic do zrobienia w `all'.
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/text'
Making all in curses
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses'
Making all in widgets
make[4]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses/widgets'
make[4]: Nie ma nic do zrobienia w `all'.
make[4]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses/widgets'
make[4]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses'
make[4]: Nie ma nic do zrobienia w `all-am'.
make[4]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses'
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses'
Making all in gtk
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/gtk'
make[3]: Nie ma nic do zrobienia w `all'.
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/gtk'
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces'
make[3]: Nie ma nic do zrobienia w `all-am'.
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces'
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces'
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I../include    -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/local/include     -g -O2 -MT ettercap-ec_log.o -MD -MP -MF ".deps/ettercap-ec_log.Tpo" -c -o ettercap-ec_log.o `test -f 'ec_log.c' || echo './'`ec_log.c; \
	then mv -f ".deps/ettercap-ec_log.Tpo" ".deps/ettercap-ec_log.Po"; else rm -f ".deps/ettercap-ec_log.Tpo"; exit 1; fi
ec_log.c: In function ‘log_packet’:
ec_log.c:248: warning: pointer targets in passing argument 2 of ‘regexec’ differ in signedness
/usr/include/regex.h:571: note: expected ‘const char * __restrict__’ but argument is of type ‘u_char *’
ec_log.c: In function ‘log_write_info’:
ec_log.c:491: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness
ec_log.c:491: note: expected ‘const char *’ but argument is of type ‘u_char *’
ec_log.c:491: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
ec_log.c:491: note: expected ‘const char *’ but argument is of type ‘u_char *’
ec_log.c:491: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness
ec_log.c:491: note: expected ‘const char *’ but argument is of type ‘u_char *’
ec_log.c:491: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
ec_log.c:491: note: expected ‘const char *’ but argument is of type ‘u_char *’
ec_log.c:491: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
ec_log.c:491: note: expected ‘const char *’ but argument is of type ‘u_char *’
ec_log.c:491: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
ec_log.c:491: note: expected ‘const char *’ but argument is of type ‘u_char *’
In file included from /usr/include/fcntl.h:252,
                 from ec_log.c:32:
In function ‘open’,
    inlined from ‘log_open’ at ec_log.c:193:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[2]: *** [ettercap-ec_log.o] Błąd 1
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src'
make: *** [all-recursive] Błąd 1
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# diff -pruN 1:0.7.3-2.1/debian/patches/02_file_permissions.diff 1:0.7.3-2.1ubuntu1/debian/patches/02_file_permissions.diff
diff: 1:0.7.3-2.1/debian/patches/02_file_permissions.diff: No such file or directory
diff: 1:0.7.3-2.1ubuntu1/debian/patches/02_file_permissions.diff: No such file or directory
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# diff -pruN 1:0.7.3-2.1/debian/patches/02_file_permissions.diff 1:0.7.3-2.1ubuntu1/debian/patches/02_file_permissions.diff
diff: 1:0.7.3-2.1/debian/patches/02_file_permissions.diff: No such file or directory
diff: 1:0.7.3-2.1ubuntu1/debian/patches/02_file_permissions.diff: No such file or directory
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# --- 1:0.7.3-2.1/debian/patches/02_file_permissions.diff1970-01-01 01:00:00.000000000 +0100
---: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +++ 1:0.7.3-2.1ubuntu1/debian/patches/02_file_permissions.diff2010-10-22 17:54:15.000000000 +0100
No command '+++' found, did you mean:
 Command 'c++' from package 'g++' (main)
 Command 'c++' from package 'pentium-builder' (universe)
 Command 'g++' from package 'g++' (main)
 Command 'g++' from package 'pentium-builder' (universe)
 Command 'u++' from package 'u++' (universe)
+++: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# @@ -0,0 +1,15 @@
@@: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +# Description: specify file permission in open call
+#: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +
+: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +Index: ettercap-0.7.3-1.4ubuntu1/src/ec_log.c
+Index:: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +===================================================================
+===================================================================: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +--- ettercap-0.7.3-1.4ubuntu1.orig/src/ec_log.c2009-07-10 16:11:16.427060161 -0400
+---: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# ++++ ettercap-0.7.3-1.4ubuntu1/src/ec_log.c2009-07-10 16:11:42.789785610 -0400
++++: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +@@ -190,7 +190,7 @@
+@@: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +       if (fd->cfd == NULL)
bash: błąd składni przy nieoczekiwanym znaczniku `('
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +          SEMIFATAL_ERROR("%s", gzerror(fd->cfd, &zerr));
bash: błąd składni przy nieoczekiwanym znaczniku `('
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +    } else {
+: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +-      fd->fd = open(filename, O_CREAT | O_TRUNC | O_RDWR | O_BINARY);
bash: błąd składni przy nieoczekiwanym znaczniku `('
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# ++      fd->fd = open(filename, O_CREAT | O_TRUNC | O_RDWR | O_BINARY, 0664);
bash: błąd składni przy nieoczekiwanym znaczniku `('
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +       if (fd->fd == -1)
bash: błąd składni przy nieoczekiwanym znaczniku `('
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +          SEMIFATAL_ERROR("Can't create %s: %s", filename, strerror(errno));
bash: błąd składni przy nieoczekiwanym znaczniku `('
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +    }
+: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# 
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# clear

root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# diff -pruN 1:0.7.3-2.1/debian/patches/02_file_permissions.diff 1:0.7.3-2.1ubuntu1/debian/patches/02_file_permissions.diff
diff: 1:0.7.3-2.1/debian/patches/02_file_permissions.diff: No such file or directory
diff: 1:0.7.3-2.1ubuntu1/debian/patches/02_file_permissions.diff: No such file or directory
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# --- 1:0.7.3-2.1/debian/patches/02_file_permissions.diff1970-01-01 01:00:00.000000000 +0100
---: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +++ 1:0.7.3-2.1ubuntu1/debian/patches/02_file_permissions.diff2010-10-22 17:54:15.000000000 +0100
No command '+++' found, did you mean:
 Command 'c++' from package 'g++' (main)
 Command 'c++' from package 'pentium-builder' (universe)
 Command 'g++' from package 'g++' (main)
 Command 'g++' from package 'pentium-builder' (universe)
 Command 'u++' from package 'u++' (universe)
+++: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# @@ -0,0 +1,15 @@
@@: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +# Description: specify file permission in open call
+#: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +
+: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +Index: ettercap-0.7.3-1.4ubuntu1/src/ec_log.c
+Index:: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +===================================================================
+===================================================================: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +--- ettercap-0.7.3-1.4ubuntu1.orig/src/ec_log.c2009-07-10 16:11:16.427060161 -0400
+---: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# ++++ ettercap-0.7.3-1.4ubuntu1/src/ec_log.c2009-07-10 16:11:42.789785610 -0400
++++: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +@@ -190,7 +190,7 @@
+@@: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +       if (fd->cfd == NULL)
bash: błąd składni przy nieoczekiwanym znaczniku `('
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +          SEMIFATAL_ERROR("%s", gzerror(fd->cfd, &zerr));
bash: błąd składni przy nieoczekiwanym znaczniku `('
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +    } else {
+: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +-      fd->fd = open(filename, O_CREAT | O_TRUNC | O_RDWR | O_BINARY);
bash: błąd składni przy nieoczekiwanym znaczniku `('
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# ++      fd->fd = open(filename, O_CREAT | O_TRUNC | O_RDWR | O_BINARY, 0664);
bash: błąd składni przy nieoczekiwanym znaczniku `('
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +       if (fd->fd == -1)
bash: błąd składni przy nieoczekiwanym znaczniku `('
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +          SEMIFATAL_ERROR("Can't create %s: %s", filename, strerror(errno));
bash: błąd składni przy nieoczekiwanym znaczniku `('
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +    }^C
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# 

Ale tak jak mówię, instalowałem pakiety z Synaptica, ale nie działa. Słyszałem jeszcze, że dobrą metodą na patchowanie jest akutalizacja jądra, ale martwie się, że będą z tym dodatkowe atrakcje. Próbowałem polecenie patch diff, ale nie dało rady. Kurde, ale jestem zielony z tego Linuksa, teraz se zdałem sprawę :wall:
Awatar użytkownika
alex2
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 111
Rejestracja: 22 cze 2008, 13:41
Płeć: Mężczyzna
Wersja Ubuntu: 10.04
Środowisko graficzne: Openbox
Architektura: x86

Odp: Ettercap- "DNS not supported"

Post autor: alex2 »

Patch czyli łatka, to plik różnic między oryginałem i celem.
+++ dodaje taką linię
--- odejmuje, etc.

Koledze chodziło chyba o użycie jej na pliku configure.
Ładuje się ten kod do pliku np. latka.diff i używa tak (będąc w katalogu z configure):
patch ./configure ./latka.diff

Pzdr
kklimonda
Zakręcona Traszka
Zakręcona Traszka
Posty: 585
Rejestracja: 20 kwie 2008, 04:21
Płeć: Mężczyzna
Wersja Ubuntu: 11.04
Środowisko graficzne: GNOME

Odp: Ettercap- "DNS not supported"

Post autor: kklimonda »

Szybciej będzie po prostu zedytować plik src/ec_log.c, znaleść linię

Kod: Zaznacz cały

fd->fd = open(filename, O_CREAT | O_TRUNC | O_RDWR | O_BINARY);
w okolicy 190 linii i zmienić ja na

Kod: Zaznacz cały

fd->fd = open(filename, O_CREAT | O_TRUNC | O_RDWR | O_BINARY, 0664);
(dopisać trzeci argument do wywołania funkcji 0664)
Kszesi
Piegowaty Guziec
Piegowaty Guziec
Posty: 12
Rejestracja: 28 sty 2008, 21:54
Płeć: Mężczyzna
Wersja Ubuntu: 10.10
Środowisko graficzne: GNOME
Architektura: x86_64

Odp: Ettercap- "DNS not supported"

Post autor: Kszesi »

Już myslałem, że będzie gitarka, ale nie. Dziwna sprawa. Wpisuje:

Kod: Zaznacz cały

root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# patch ./configure ./latka.diff
The next patch would create the file ./configure,
which already exists!  Assume -R? [n] 
Terminal zaskoczony, bo już plik ./configure istnieje. No, ale co by tam wpsuje "y" i enter, ale i tak chała: :|

Kod: Zaznacz cały

which already exists!  Assume -R? [n] y
patching file ./configure
Hunk #1 FAILED at 1.
File ./configure is not empty after patch, as expected
1 out of 1 hunk FAILED -- saving rejects to file ./configure.rej
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# 
Plik .diff stworzyłem w programie Gedit i zapisałem jako latka.diff.

Dziękuje wszystkim, którzy mi pomagają, bez Was już dawno bym musiał zrezygnować :)
kklimonda
Zakręcona Traszka
Zakręcona Traszka
Posty: 585
Rejestracja: 20 kwie 2008, 04:21
Płeć: Mężczyzna
Wersja Ubuntu: 11.04
Środowisko graficzne: GNOME

Odp: Ettercap- "DNS not supported"

Post autor: kklimonda »

Zrób jak napisałem, ręcznie.
Kszesi
Piegowaty Guziec
Piegowaty Guziec
Posty: 12
Rejestracja: 28 sty 2008, 21:54
Płeć: Mężczyzna
Wersja Ubuntu: 10.10
Środowisko graficzne: GNOME
Architektura: x86_64

Odp: Ettercap- "DNS not supported"

Post autor: Kszesi »

Dopisałem, ale nie wiem o co chodzi z tym trzecim argumentem, jak go dopisać?
kklimonda
Zakręcona Traszka
Zakręcona Traszka
Posty: 585
Rejestracja: 20 kwie 2008, 04:21
Płeć: Mężczyzna
Wersja Ubuntu: 11.04
Środowisko graficzne: GNOME

Odp: Ettercap- "DNS not supported"

Post autor: kklimonda »

Napisałem, żebyś zmienił linię a na linię b, wkleiłem ci obie linie, a w nawiasie napisałem co dokładnie się w niej zmienia). Nie wiem co w tym takiego skomplikowanego.
Kszesi
Piegowaty Guziec
Piegowaty Guziec
Posty: 12
Rejestracja: 28 sty 2008, 21:54
Płeć: Mężczyzna
Wersja Ubuntu: 10.10
Środowisko graficzne: GNOME
Architektura: x86_64

Odp: Ettercap- "DNS not supported"

Post autor: Kszesi »

Ok. Ale to jednak nic nie dało:

Kod: Zaznacz cały

root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# make && sudo make install
Making all in man
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/man'
make[1]: Nie ma nic do zrobienia w `all'.
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/man'
Making all in share
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/share'
make[1]: Nie ma nic do zrobienia w `all'.
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/share'
Making all in include
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make  all-am
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
Making all in include
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make  all-am
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
Making all in src
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src'
Making all in os
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/os'
make[2]: Nie ma nic do zrobienia w `all'.
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/os'
Making all in interfaces
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces'
Making all in daemon
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/daemon'
make[3]: Nie ma nic do zrobienia w `all'.
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/daemon'
Making all in text
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/text'
make[3]: Nie ma nic do zrobienia w `all'.
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/text'
Making all in curses
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses'
Making all in widgets
make[4]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses/widgets'
make[4]: Nie ma nic do zrobienia w `all'.
make[4]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses/widgets'
make[4]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses'
make[4]: Nie ma nic do zrobienia w `all-am'.
make[4]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses'
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses'
Making all in gtk
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/gtk'
make[3]: Nie ma nic do zrobienia w `all'.
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/gtk'
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces'
make[3]: Nie ma nic do zrobienia w `all-am'.
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces'
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces'
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src'
make[2]: Nie ma nic do zrobienia w `all-am'.
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src'
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src'
Making all in utils
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/utils'
Making all in etterlog
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/utils/etterlog'
make[2]: Nie ma nic do zrobienia w `all'.
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/utils/etterlog'
Making all in etterfilter
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/utils/etterfilter'
make[2]: Nie ma nic do zrobienia w `all'.
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/utils/etterfilter'
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/utils'
make[2]: Nie ma nic do zrobienia w `all-am'.
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/utils'
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/utils'
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3'
make[1]: Nie ma nic do zrobienia w `all-am'.
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3'
Making install in man
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/man'
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/man'
make[2]: Nie ma nic do zrobienia w `install-exec-am'.
test -z "/usr/local/man/man5" || mkdir -p -- . "/usr/local/man/man5"
 /usr/bin/install -c -m 644 './etter.conf.5' '/usr/local/man/man5/etter.conf.5'
test -z "/usr/local/man/man8" || mkdir -p -- . "/usr/local/man/man8"
 /usr/bin/install -c -m 644 './ettercap.8' '/usr/local/man/man8/ettercap.8'
 /usr/bin/install -c -m 644 './ettercap_curses.8' '/usr/local/man/man8/ettercap_curses.8'
 /usr/bin/install -c -m 644 './etterlog.8' '/usr/local/man/man8/etterlog.8'
 /usr/bin/install -c -m 644 './etterfilter.8' '/usr/local/man/man8/etterfilter.8'
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/man'
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/man'
Making install in share
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/share'
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/share'
test -z "/usr/local/etc" || mkdir -p -- . "/usr/local/etc"
 /usr/bin/install -c -m 644 'etter.conf' '/usr/local/etc/etter.conf'
test -z "/usr/local/share/ettercap" || mkdir -p -- . "/usr/local/share/ettercap"
 /usr/bin/install -c -m 644 'etter.dns' '/usr/local/share/ettercap/etter.dns'
 /usr/bin/install -c -m 644 'etter.fields' '/usr/local/share/ettercap/etter.fields'
 /usr/bin/install -c -m 644 'etter.filter' '/usr/local/share/ettercap/etter.filter'
 /usr/bin/install -c -m 644 'etter.filter.examples' '/usr/local/share/ettercap/etter.filter.examples'
 /usr/bin/install -c -m 644 'etter.filter.kill' '/usr/local/share/ettercap/etter.filter.kill'
 /usr/bin/install -c -m 644 'etter.filter.ssh' '/usr/local/share/ettercap/etter.filter.ssh'
 /usr/bin/install -c -m 644 'etter.finger.mac' '/usr/local/share/ettercap/etter.finger.mac'
 /usr/bin/install -c -m 644 'etter.finger.os' '/usr/local/share/ettercap/etter.finger.os'
 /usr/bin/install -c -m 644 'etter.mime' '/usr/local/share/ettercap/etter.mime'
 /usr/bin/install -c -m 644 'etter.services' '/usr/local/share/ettercap/etter.services'
 /usr/bin/install -c -m 644 'etter.ssl.crt' '/usr/local/share/ettercap/etter.ssl.crt'
 /usr/bin/install -c -m 644 'etterfilter.cnt' '/usr/local/share/ettercap/etterfilter.cnt'
 /usr/bin/install -c -m 644 'etterfilter.tbl' '/usr/local/share/ettercap/etterfilter.tbl'
 /usr/bin/install -c -m 644 'etterlog.dtd' '/usr/local/share/ettercap/etterlog.dtd'
 /usr/bin/install -c -m 644 'ettercap.png' '/usr/local/share/ettercap/ettercap.png'
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/share'
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/share'
Making install in include
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make[2]: Nie ma nic do zrobienia w `install-exec-am'.
make[2]: Nie ma nic do zrobienia w `install-data-am'.
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
Making install in include
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make[2]: Nie ma nic do zrobienia w `install-exec-am'.
make[2]: Nie ma nic do zrobienia w `install-data-am'.
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
Making install in src
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src'
Making install in os
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/os'
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/os'
make[3]: Nie ma nic do zrobienia w `install-exec-am'.
make[3]: Nie ma nic do zrobienia w `install-data-am'.
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/os'
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/os'
Making install in interfaces
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces'
Making install in daemon
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/daemon'
make[4]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/daemon'
make[4]: Nie ma nic do zrobienia w `install-exec-am'.
make[4]: Nie ma nic do zrobienia w `install-data-am'.
make[4]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/daemon'
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/daemon'
Making install in text
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/text'
make[4]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/text'
make[4]: Nie ma nic do zrobienia w `install-exec-am'.
make[4]: Nie ma nic do zrobienia w `install-data-am'.
make[4]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/text'
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/text'
Making install in curses
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses'
Making install in widgets
make[4]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses/widgets'
make[5]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses/widgets'
make[5]: Nie ma nic do zrobienia w `install-exec-am'.
make[5]: Nie ma nic do zrobienia w `install-data-am'.
make[5]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses/widgets'
make[4]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses/widgets'
make[4]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses'
make[5]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses'
make[5]: Nie ma nic do zrobienia w `install-exec-am'.
make[5]: Nie ma nic do zrobienia w `install-data-am'.
make[5]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses'
make[4]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses'
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses'
Making install in gtk
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/gtk'
make[4]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/gtk'
make[4]: Nie ma nic do zrobienia w `install-exec-am'.
make[4]: Nie ma nic do zrobienia w `install-data-am'.
make[4]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/gtk'
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/gtk'
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces'
make[4]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces'
make[4]: Nie ma nic do zrobienia w `install-exec-am'.
make[4]: Nie ma nic do zrobienia w `install-data-am'.
make[4]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces'
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces'
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces'
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src'
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src'
test -z "/usr/local/bin" || mkdir -p -- . "/usr/local/bin"
  /bin/bash ../libtool --mode=install /usr/bin/install -c 'ettercap' '/usr/local/bin/ettercap'
/usr/bin/install -c ettercap /usr/local/bin/ettercap
make[3]: Nie ma nic do zrobienia w `install-data-am'.
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src'
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src'
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src'
Making install in utils
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/utils'
Making install in etterlog
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/utils/etterlog'
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/utils/etterlog'
test -z "/usr/local/bin" || mkdir -p -- . "/usr/local/bin"
  /bin/bash ../../libtool --mode=install /usr/bin/install -c 'etterlog' '/usr/local/bin/etterlog'
/usr/bin/install -c etterlog /usr/local/bin/etterlog
make[3]: Nie ma nic do zrobienia w `install-data-am'.
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/utils/etterlog'
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/utils/etterlog'
Making install in etterfilter
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/utils/etterfilter'
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/utils/etterfilter'
test -z "/usr/local/bin" || mkdir -p -- . "/usr/local/bin"
  /bin/bash ../../libtool --mode=install /usr/bin/install -c 'etterfilter' '/usr/local/bin/etterfilter'
/usr/bin/install -c etterfilter /usr/local/bin/etterfilter
make[3]: Nie ma nic do zrobienia w `install-data-am'.
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/utils/etterfilter'
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/utils/etterfilter'
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/utils'
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/utils'
make[3]: Nie ma nic do zrobienia w `install-exec-am'.
make[3]: Nie ma nic do zrobienia w `install-data-am'.
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/utils'
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/utils'
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/utils'
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3'
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3'
make[2]: Nie ma nic do zrobienia w `install-exec-am'.
make[2]: Nie ma nic do zrobienia w `install-data-am'.
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3'
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3'
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# 
Czyli chyba patch nie miał tutaj znaczenia. Kapota ta instalacja ze źródeł, im głębiej w las, tym więcej drzew,
kklimonda
Zakręcona Traszka
Zakręcona Traszka
Posty: 585
Rejestracja: 20 kwie 2008, 04:21
Płeć: Mężczyzna
Wersja Ubuntu: 11.04
Środowisko graficzne: GNOME

Odp: Ettercap- "DNS not supported"

Post autor: kklimonda »

Przecież się zainstalował.
Kszesi
Piegowaty Guziec
Piegowaty Guziec
Posty: 12
Rejestracja: 28 sty 2008, 21:54
Płeć: Mężczyzna
Wersja Ubuntu: 10.10
Środowisko graficzne: GNOME
Architektura: x86_64

Odp: Ettercap- "DNS not supported"

Post autor: Kszesi »

No właśnie, że nie do końca. Nigdzie nie zainstalował się plik etter.conf (ten utworzony po instalacji) a w nim muszę coś zmienić. Synaptic i Centrum Oprogramowania pokazuje, że tego programu nie ma, mimo, że można go faktycznie uruchomić.
kklimonda
Zakręcona Traszka
Zakręcona Traszka
Posty: 585
Rejestracja: 20 kwie 2008, 04:21
Płeć: Mężczyzna
Wersja Ubuntu: 11.04
Środowisko graficzne: GNOME

Odp: Ettercap- "DNS not supported"

Post autor: kklimonda »

Jak instlaujesz program ze źrodeł to a) wszystko ląduje domyślnie w /usr/local (więc konfiguracja w /usr/local/etc) i b) Synaptic i USC nie maja o takim programie pojęcia.
Kszesi
Piegowaty Guziec
Piegowaty Guziec
Posty: 12
Rejestracja: 28 sty 2008, 21:54
Płeć: Mężczyzna
Wersja Ubuntu: 10.10
Środowisko graficzne: GNOME
Architektura: x86_64

Odp: Ettercap- "DNS not supported"

Post autor: Kszesi »

Faktycznie był tam. Główny problem ogólnie został rozwiązany. kklimonda, alex2 i Dwimenor dzięki za wszystko :)

No, ale oczywiście w moim przypadku jeśli chodzi o Linuksa to tak do końca różowo po prostu być nie może. Mam jeszcze jeden problem związany z Ettercapem. Błąd DNS zniknął, ale pozostał komunikat:

Kod: Zaznacz cały

SSL dissection needs a valid 'redir_command_on' script in the etter.conf file Privileges dropped to UID 65534 GID 65534
Poczytałem na necie i znalazłem na pewnym forum takie rozwiązanie tej zagadki:
Sorry, forgot to mention that i use the command line version of ettercap, but i know there are issues with the gtk interface. I am not on my Linux computer at the moment, but i remember i changed two things in etter.conf

edit the lines:

Code:

[privs]
ec_uid = 65534 # nobody is the default
ec_gid = 65534 # nobody is the default

to

[privs]
ec_uid = 0 # nobody is the default
ec_gid = 0 # nobody is the default

and near the end of etter.conf you see:

Code:

# if you use iptables:
#redir_command_on = "iptables -t nat -A PREROUTING -i %iface -p tcp --dport %port -j REDIRECT %rport"
#redir_command_off = "iptables -t nat -D PREROUTING -i %iface -p tcp --dport %port -j REDIRECT %rport"

to this

# if you use iptables:
redir_command_on = "iptables -t nat -A PREROUTING -i %iface -p tcp --dport %port -j REDIRECT %rport"
redir_command_off = "iptables -t nat -D PREROUTING -i %iface -p tcp --dport %port -j REDIRECT %rport"

Again this is from the top of my head, i will try to confirm this once i get home and edit if appropriate.

And for reference i am using ettercap command line version, installed from synaptic.

Good luck!...
No, ale niestety tych linijek o których autor tamtego postu piszę w pliku etter.conf nie ma :craz::mad:
I jak zwykle wszędzie tylko domysłu i na każdym forum odsyłają do google :(

EDIT:
Znalazłem te linie w tym pliku. Aby móc zapisać nadałem chmod 777 na etter.conf i podmieniłem. Ale błąd jest ten sam :(

EDIT:
No koledzy, nie wierzę, że nikt nie miał takiego problemu :)

Dobra już wiem. Faktycznie drugą część należało zamienić i po kłopocie. Teraz śmiga.
ODPOWIEDZ

Wróć do „Sieci, serwery, Internet”

Kto jest online

Użytkownicy przeglądający to forum: Amazon [Bot] i 13 gości