wupe@wupe-desktop:~$ sudo apt-get install nemesis
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
E: Nie udało się odnaleźć pakietu nemesis
Nemesis nie jest już wspierany, więc nie ma go w repozytoriach.
Ale możesz go zainstalować ze źródeł.
Źródła nemesis znajdziesz tutaj https://sourceforge.net/projects/nemesis/
Najpierw instalujesz bibliotekę, a potem właściwy program.
Obydwa instalujesz rozpakowując archiwum i wydając w rozpakowanym katalogu polecenia
./configure
make
(sudo) make install
loading cache ./config.cache
cat: VERSION: No such file or directory
Beginning autoconfiguration process for libnet-...
checking host system type... Invalid configuration `x86_64-pc-linux-gnu': machine `x86_64-pc' not recognized
checking target system type... Invalid configuration `x86_64-pc-linux-gnu': machine `x86_64-pc' not recognized
checking build system type... Invalid configuration `x86_64-pc-linux-gnu': machine `x86_64-pc' not recognized
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for working const... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... (cached) ranlib
checking for ar... (cached) ar
checking for ln... (cached) ln
checking for strerror... (cached) yes
checking for pcap_open_live in -lpcap... (cached) yes
checking low-level packet interface type... found SOCK_PACKET
configure: warning: apparently your OS is not officially supported yet
configure: warning: this may not work
you'll have to edit the makefile by hand
please send diffs to mike@infonexus.com
checking for libnet_build_ip in -lnet... (cached) no
checking machine endianess... lil
checking if unaligned accesses fail... (cached) no
checking for sys/sockio.h... (cached) no
creating ./config.status
creating Makefile
creating test/Makefile
creating test/TCP/Makefile
creating test/Ethernet/Makefile
creating test/UDP/Makefile
creating test/ICMP/Makefile
creating test/Random/Makefile
creating test/OSPF/Makefile
creating util/Makefile
creating util/Get-mac/Makefile
creating example/Makefile
creating libnet-config
creating include/config.h
include/config.h is unchanged
I co konkretnie mam dalej robić? Bo nie ogarniam ;/
Zgaduję, że pobrałeś plik nemesis-1.4.zip. Jest to wersja dla windows z tego, co się orientuję. Powinieneś pobrać plik nemesis-1.4.tar.gz. Na stronie, którą Ci wyżej podałem klikasz na "View all files" i tam go znajdziesz
Nom, sam doszedłem do tego i właśnie pobrałem tą normalną wersję xD Wszedłem w folder a tam .exe xD No dobra, mam niby ten dobry katalog. Pierwsza komenda idzie dobrze a potem
Rozwiazanie, ktore Ci podam jest troche na okolo, poniewaz nemesis nie jest juz od dawna rozwijany i kompiluje sie na systemie 32bit a na 64bit juz nie.
Wykonaj polecenie
Po tej zmianie nemesis skompilowal mi sie na kubuntu 64bit. Pomijam fakt, ze kompilator generowal po drodze mase ostrzezen i nie wiem, jak program bedzie dzialal
wupe@wupe-desktop:~$ cd /home/wupe/Pobrane/nemesis-1.4
wupe@wupe-desktop:~/Pobrane/nemesis-1.4$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... none
checking for gcc option to accept ANSI C... none needed
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) none
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for an ANSI C-conforming const... yes
checking for gawk... (cached) gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for fabs in -lm... yes
checking for inet_ntoa in -lnsl... yes
checking for socket in -lsocket... no
checking for hstrerror in -lresolv... yes
checking for libnet_build_ip in -lnet... yes
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for strings.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking libnet.h usability... yes
checking libnet.h presence... yes
checking for libnet.h... yes
checking for libnet version 1.0.2a... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for gethostbyname... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for isascii... yes
checking for working memcmp... yes
checking for memset... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strrchr... yes
checking for strtoul... yes
checking for getopt... yes
checking for inet_aton... yes
checking for strlcat... no
checking for strlcpy... no
checking for strsep... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
wupe@wupe-desktop:~/Pobrane/nemesis-1.4$ make
make all-recursive
make[1]: Wejście do katalogu `/home/wupe/Pobrane/nemesis-1.4'
Making all in src
make[2]: Wejście do katalogu `/home/wupe/Pobrane/nemesis-1.4/src'
make[2]: Nie ma nic do zrobienia w `all'.
make[2]: Opuszczenie katalogu `/home/wupe/Pobrane/nemesis-1.4/src'
Making all in man
make[2]: Wejście do katalogu `/home/wupe/Pobrane/nemesis-1.4/man'
make[2]: Nie ma nic do zrobienia w `all'.
make[2]: Opuszczenie katalogu `/home/wupe/Pobrane/nemesis-1.4/man'
make[2]: Wejście do katalogu `/home/wupe/Pobrane/nemesis-1.4'
make[2]: Opuszczenie katalogu `/home/wupe/Pobrane/nemesis-1.4'
make[1]: Opuszczenie katalogu `/home/wupe/Pobrane/nemesis-1.4'
wupe@wupe-desktop:~/Pobrane/nemesis-1.4$ sudo make install
Making install in src
make[1]: Wejście do katalogu `/home/wupe/Pobrane/nemesis-1.4/src'
make[2]: Wejście do katalogu `/home/wupe/Pobrane/nemesis-1.4/src'
/bin/bash ../mkinstalldirs /usr/local/bin
/usr/bin/install -c nemesis /usr/local/bin/nemesis
make[2]: Nie ma nic do zrobienia w `install-data-am'.
make[2]: Opuszczenie katalogu `/home/wupe/Pobrane/nemesis-1.4/src'
make[1]: Opuszczenie katalogu `/home/wupe/Pobrane/nemesis-1.4/src'
Making install in man
make[1]: Wejście do katalogu `/home/wupe/Pobrane/nemesis-1.4/man'
make[2]: Wejście do katalogu `/home/wupe/Pobrane/nemesis-1.4/man'
make[2]: Nie ma nic do zrobienia w `install-exec-am'.
/bin/bash ../mkinstalldirs /usr/local/man/man1
/usr/bin/install -c -m 644 ./nemesis-arp.1 /usr/local/man/man1/nemesis-arp.1
/usr/bin/install -c -m 644 ./nemesis-dns.1 /usr/local/man/man1/nemesis-dns.1
/usr/bin/install -c -m 644 ./nemesis-ethernet.1 /usr/local/man/man1/nemesis-ethernet.1
/usr/bin/install -c -m 644 ./nemesis-icmp.1 /usr/local/man/man1/nemesis-icmp.1
/usr/bin/install -c -m 644 ./nemesis-igmp.1 /usr/local/man/man1/nemesis-igmp.1
/usr/bin/install -c -m 644 ./nemesis-ip.1 /usr/local/man/man1/nemesis-ip.1
/usr/bin/install -c -m 644 ./nemesis-ospf.1 /usr/local/man/man1/nemesis-ospf.1
/usr/bin/install -c -m 644 ./nemesis-rip.1 /usr/local/man/man1/nemesis-rip.1
/usr/bin/install -c -m 644 ./nemesis-tcp.1 /usr/local/man/man1/nemesis-tcp.1
/usr/bin/install -c -m 644 ./nemesis-udp.1 /usr/local/man/man1/nemesis-udp.1
/usr/bin/install -c -m 644 ./nemesis.1 /usr/local/man/man1/nemesis.1
make[2]: Opuszczenie katalogu `/home/wupe/Pobrane/nemesis-1.4/man'
make[1]: Opuszczenie katalogu `/home/wupe/Pobrane/nemesis-1.4/man'
make[1]: Wejście do katalogu `/home/wupe/Pobrane/nemesis-1.4'
make[2]: Wejście do katalogu `/home/wupe/Pobrane/nemesis-1.4'
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/wupe/Pobrane/nemesis-1.4'
make[1]: Opuszczenie katalogu `/home/wupe/Pobrane/nemesis-1.4'
wupe@wupe-desktop:~/Pobrane/nemesis-1.4$
No i kapa ;/ Ale zainstalowałem to jeszcze raz i teraz jest OK, nie wiem jak to możliwe xD
No ale wielkie dzięki za pomoc. Jestem Ci bardzo wdzięczny.
Pozdro