Nytro Posted January 14, 2012 Report Posted January 14, 2012 (edited) ddosim v0.2 (Application Layer DDOS Simulator)Jan 13, 2012 Hack websites by using ddosim v0.2 (Application Layer DDOS Simulator) DDOSIM simulates several zombie hosts (having random IP addresses) which create full TCP connections to the target server. After completing the connection, DDOSIM starts the conversation with the listening application (e.g. HTTP server). Can be used only in a laboratory environment to test the capacity of the target server to handle application specific DDOS attacks. Features HTTP DDoS with valid requests HTTP DDoS with invalid requests (similar to a DC++ attack) SMTP DDoS TCP connection flood on random port In order to simulate such an attack in a lab environment we need to setup a network like this: On the victim machine ddosim creates full TCP connections – which are only simulated connections on the attacker side.There are a lot of options that make the tool quite flexible:Usage: ./ddosim-d IP Target IP address-p PORT Target port[-k NET] Source IP from class C network(ex. 10.4.4.0)[-i IFNAME] Output interface name[-c COUNT] Number of connections to establish[-w DELAY] Delay (in milliseconds) between SYN packets[-r TYPE] Request to send after TCP 3-way handshake. TYPE can be HTTP_VALID or HTTP_INVALID or SMTP_EHLO[-t NRTHREADS] Number of threads to use when sending packets (default 1)[-n] Do not spoof source address (use local address)[-v] Verbose mode (slower)[-h] Print this help message Source: hack websites by using ddosim v0.2 (Application Layer DDOS Simulator) Sursa: Computer Security Blog | Learning The Offensive Security: ddosim v0.2 (Application Layer DDOS Simulator) Edited January 15, 2012 by aelius fix image Quote
hKr Posted January 15, 2012 Report Posted January 15, 2012 Primesc eroare la configurarea ddosim pentru ca necesita libnet0.Install ddosim-0.2[B]root@bt:~/ddosim-0.2# ./configure[/B]checking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking for g++... g++checking for C++ compiler default output file name... a.outchecking whether the C++ compiler works... yeschecking whether we are cross compiling... nochecking for suffix of executables... checking for suffix of object files... ochecking whether we are using the GNU C++ compiler... yeschecking whether g++ accepts -g... yeschecking for style of include used by make... GNUchecking dependency style of g++... gcc3checking for gcc... gccchecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ISO C89... none neededchecking dependency style of gcc... gcc3checking for pcap_open_live in -lpcap... yeschecking for pthread_mutex_lock in -lpthread... yeschecking for libnet_init_packet in -lnet... no[COLOR="#FF0000"]configure: error: libnet0 (dev) is required for this program[/COLOR]Mai jos instalez libnet0 si observam o instalare curata, fara erori si corecta.Install libnet0 (libnet-1.0.2a.orig)[B]root@bt:~/libnet-1.0.2a.orig# ./configure[/B]loading cache ./config.cacheBeginning autoconfiguration process for libnet-1.0.2a...checking host system type... x86_64-pc-linux-gnuchecking target system type... x86_64-pc-linux-gnuchecking build system type... x86_64-pc-linux-gnuchecking for gcc... (cached) gccchecking whether the C compiler (gcc ) works... yeschecking whether the C compiler (gcc ) is a cross-compiler... nochecking whether we are using GNU C... (cached) yeschecking whether gcc accepts -g... (cached) yeschecking for working const... (cached) yeschecking for a BSD compatible install... (cached) /usr/bin/install -cchecking whether make sets ${MAKE}... (cached) yeschecking for ranlib... (cached) ranlibchecking for ar... (cached) archecking for ln... (cached) lnchecking for strerror... (cached) yeschecking for pcap_open_live in -lpcap... (cached) yeschecking low-level packet interface type... found SOCK_PACKETchecking how to run the C preprocessor... gcc -Echecking for net/ethernet.h... yeschecking for libnet_build_ip in -lnet... (cached) nochecking machine endianess... lilchecking if unaligned accesses fail... (cached) nochecking for sys/sockio.h... (cached) noupdating cache ./config.cachecreating ./config.statuscreating Makefilecreating test/Makefilecreating test/TCP/Makefilecreating test/Ethernet/Makefilecreating test/UDP/Makefilecreating test/ICMP/Makefilecreating test/Random/Makefilecreating test/OSPF/Makefilecreating util/Makefilecreating util/Get-mac/Makefilecreating example/Makefilecreating libnet-configcreating include/config.h[B]root@bt:~/libnet-1.0.2a.orig# make[/B]ar -cr lib/libnet.a src/libnet_resolve.o src/libnet_socket.o src/libnet_checksum.o src/libnet_prand.o src/libnet_version.o src/libnet_write_ip.o src/libnet_insert_ipo.o src/libnet_insert_tcpo.o src/libnet_error.o src/libnet_link_sockpacket.o src/libnet_packet_mem.o src/libnet_build_ip.o src/libnet_build_tcp.o src/libnet_build_udp.o src/libnet_build_arp.o src/libnet_build_ethernet.o src/libnet_build_icmp.o src/libnet_build_igmp.o src/libnet_build_dns.o src/libnet_build_snmp.o src/libnet_build_rip.o src/libnet_build_ospf.o src/libnet_build_vrrp.o src/libnet_asn1.o src/libnet_hex_dump.o src/libnet_if_addr.o src/libnet_port_list.o ranlib lib/libnet.a[B]root@bt:~/libnet-1.0.2a.orig# make install[/B]ar -cr lib/libnet.a src/libnet_resolve.o src/libnet_socket.o src/libnet_checksum.o src/libnet_prand.o src/libnet_version.o src/libnet_write_ip.o src/libnet_insert_ipo.o src/libnet_insert_tcpo.o src/libnet_error.o src/libnet_link_sockpacket.o src/libnet_packet_mem.o src/libnet_build_ip.o src/libnet_build_tcp.o src/libnet_build_udp.o src/libnet_build_arp.o src/libnet_build_ethernet.o src/libnet_build_icmp.o src/libnet_build_igmp.o src/libnet_build_dns.o src/libnet_build_snmp.o src/libnet_build_rip.o src/libnet_build_ospf.o src/libnet_build_vrrp.o src/libnet_asn1.o src/libnet_hex_dump.o src/libnet_if_addr.o src/libnet_port_list.o ranlib lib/libnet.a./ensure-dir.sh /usr 755./ensure-dir.sh /usr/lib/ 755./ensure-dir.sh /usr/include/libnet 755./ensure-dir.sh /usr/include/ 755./ensure-dir.sh /usr/man/man3/ 755./ensure-dir.sh /usr/bin/ 755./install-sh lib/libnet.a /usr/lib/rm -f /usr/lib/libpwrite.acd /usr/lib/; ln -f -s libnet.a libpwrite.a./install-sh include/libnet.h /usr/include/./install-sh include/libnet/libnet-headers.h /usr/include/libnet./install-sh include/libnet/libnet-functions.h /usr/include/libnet./install-sh include/libnet/libnet-structures.h /usr/include/libnet./install-sh include/libnet/libnet-macros.h /usr/include/libnet./install-sh include/libnet/libnet-asn1.h /usr/include/libnet./install-sh include/libnet/libnet-ospf.h /usr/include/libnet./install-sh doc/libnet.3 /usr/man/man3/./install-sh libnet-config /usr/bin/Acum pentru ca este instalat "libnet0" , execut din nou comanda "./configure" pentru "ddosim-0.2" si primesc acceasi eroare.configure: error: libnet0 (dev) is required for this programCare ar fi problema ? Ce este de facut in cazul acesta ? Quote
Nytro Posted January 15, 2012 Author Report Posted January 15, 2012 Problema e ca iti trebuie libnet development headers (de la development provine acel "dev" de acolo, libnet probabil era deja instalata). Cred ca asta e: libnet-dev | Free software downloads at SourceForge.net Quote
hKr Posted January 15, 2012 Report Posted January 15, 2012 Da, dar acolo spune libnet0 si am intrat sa il iau de aici.Package: libnet0 (1.0.2a-7)Download Source Package libnet0: [libnet0_1.0.2a.orig.tar.gz]Install libnet-dev cu succes.[COLOR="#FF0000"][B]root@bt:~/libnet-1.1.5# ./configure[/B][/COLOR]beginning autoconfiguration process for libnet-1.1.5 ...checking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnuchecking target system type... x86_64-unknown-linux-gnuchecking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking whether to enable maintainer-specific portions of Makefiles... nochecking for gcc... gccchecking for C compiler default output file name... a.outchecking whether the C compiler works... yeschecking whether we are cross compiling... nochecking for suffix of executables... checking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ISO C89... none neededchecking for style of include used by make... GNUchecking dependency style of gcc... nonechecking for a BSD-compatible install... /usr/bin/install -cchecking how to run the C preprocessor... gcc -Echecking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking for AIX... nochecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking minix/config.h usability... nochecking minix/config.h presence... nochecking for minix/config.h... nochecking whether it is safe to define __EXTENSIONS__... yeschecking for a sed that does not truncate output... /bin/sedchecking for ld used by gcc... /usr/bin/ldchecking if the linker (/usr/bin/ld) is GNU ld... yeschecking for /usr/bin/ld option to reload object files... -rchecking for BSD-compatible nm... /usr/bin/nm -Bchecking whether ln -s works... yeschecking how to recognize dependent libraries... pass_allchecking dlfcn.h usability... yeschecking dlfcn.h presence... yeschecking for dlfcn.h... yeschecking for g++... g++checking whether we are using the GNU C++ compiler... yeschecking whether g++ accepts -g... yeschecking dependency style of g++... nonechecking how to run the C++ preprocessor... g++ -Echecking for g77... nochecking for xlf... nochecking for f77... nochecking for frt... nochecking for pgf77... nochecking for cf77... nochecking for fort77... nochecking for fl32... nochecking for af77... nochecking for xlf90... nochecking for f90... nochecking for pgf90... nochecking for pghpf... nochecking for epcf90... nochecking for gfortran... nochecking for g95... nochecking for xlf95... nochecking for f95... nochecking for fort... nochecking for ifort... nochecking for ifc... nochecking for efc... nochecking for pgf95... nochecking for lf95... nochecking for ftn... nochecking whether we are using the GNU Fortran 77 compiler... nochecking whether accepts -g... nochecking the maximum length of command line arguments... 1572864checking command to parse /usr/bin/nm -B output from gcc object... okchecking for objdir... .libschecking for ar... archecking for ranlib... ranlibchecking for strip... stripchecking if gcc supports -fno-rtti -fno-exceptions... nochecking for gcc option to produce PIC... -fPICchecking if gcc PIC flag -fPIC works... yeschecking if gcc static flag -static works... yeschecking if gcc supports -c -o file.o... yeschecking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yeschecking whether -lc should be explicitly linked in... nochecking dynamic linker characteristics... GNU/Linux ld.sochecking how to hardcode library paths into programs... immediatechecking whether stripping libraries is possible... yeschecking if libtool supports shared libraries... yeschecking whether to build shared libraries... yeschecking whether to build static libraries... yesconfigure: creating libtoolappending configuration tag "CXX" to libtoolchecking for ld used by g++... /usr/bin/ld -m elf_x86_64checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yeschecking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yeschecking for g++ option to produce PIC... -fPICchecking if g++ PIC flag -fPIC works... yeschecking if g++ static flag -static works... yeschecking if g++ supports -c -o file.o... yeschecking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yeschecking dynamic linker characteristics... GNU/Linux ld.sochecking how to hardcode library paths into programs... immediateappending configuration tag "F77" to libtoolchecking sys/sockio.h usability... nochecking sys/sockio.h presence... nochecking for sys/sockio.h... nochecking for gethostbyname2... yeschecking for uint16_t... yeschecking for uint32_t... yeschecking for uint64_t... yeschecking whether byte ordering is bigendian... nochecking net/pfilt.h usability... nochecking net/pfilt.h presence... nochecking for net/pfilt.h... nochecking sys/net/nit.h usability... nochecking sys/net/nit.h presence... nochecking for sys/net/nit.h... nochecking net/raw.h usability... nochecking net/raw.h presence... nochecking for net/raw.h... nochecking sys/dlpi.h usability... nochecking sys/dlpi.h presence... nochecking for sys/dlpi.h... nochecking linux/socket.h usability... yeschecking linux/socket.h presence... yeschecking for linux/socket.h... yeschecking link-layer packet interface type... found link layer linuxchecking for packet socket (PF_SOCKET)... nochecking for Linux proc filesystem... yesscanning available packet construction modules: 802.1q 802.1x 802.2 802.3 arp bgp cdp data dhcp dns ethernet fddi gre hsrp icmp igmp ip ipsec isl link mpls ntp ospf rip rpc sebek snmp stp tcp token_ring udp vrrp checking net/ethernet.h usability... yeschecking net/ethernet.h presence... yeschecking for net/ethernet.h... yesconfigure: creating ./config.statusconfig.status: creating Makefileconfig.status: creating src/Makefileconfig.status: creating win32/Makefileconfig.status: creating include/Makefileconfig.status: creating include/libnet/Makefileconfig.status: creating include/win32/Makefileconfig.status: creating sample/Makefileconfig.status: creating doc/Makefileconfig.status: creating doc/man/Makefileconfig.status: creating doc/man/man3/Makefileconfig.status: creating doc/html/Makefileconfig.status: creating version.hconfig.status: creating include/libnet.hconfig.status: creating libnet-configconfig.status: creating include/config.hconfig.status: executing depfiles commands[B][COLOR="#FF0000"]root@bt:~/libnet-1.1.5# make[/COLOR][/B]Making all in includemake[1]: Entering directory `/root/libnet-1.1.5/include'make all-recursivemake[2]: Entering directory `/root/libnet-1.1.5/include'Making all in libnetmake[3]: Entering directory `/root/libnet-1.1.5/include/libnet'make[3]: Nothing to be done for `all'.make[3]: Leaving directory `/root/libnet-1.1.5/include/libnet'Making all in win32make[3]: Entering directory `/root/libnet-1.1.5/include/win32'make[3]: Nothing to be done for `all'.make[3]: Leaving directory `/root/libnet-1.1.5/include/win32'make[3]: Entering directory `/root/libnet-1.1.5/include'make[3]: Nothing to be done for `all-am'.make[3]: Leaving directory `/root/libnet-1.1.5/include'make[2]: Leaving directory `/root/libnet-1.1.5/include'make[1]: Leaving directory `/root/libnet-1.1.5/include'Making all in srcmake[1]: Entering directory `/root/libnet-1.1.5/src'/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_asn1.lo libnet_asn1.cmkdir .libs gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_asn1.c -fPIC -DPIC -o .libs/libnet_asn1.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_asn1.c -o libnet_asn1.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_802.1q.lo libnet_build_802.1q.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_802.1q.c -fPIC -DPIC -o .libs/libnet_build_802.1q.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_802.1q.c -o libnet_build_802.1q.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_802.1x.lo libnet_build_802.1x.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_802.1x.c -fPIC -DPIC -o .libs/libnet_build_802.1x.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_802.1x.c -o libnet_build_802.1x.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_802.2.lo libnet_build_802.2.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_802.2.c -fPIC -DPIC -o .libs/libnet_build_802.2.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_802.2.c -o libnet_build_802.2.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_802.3.lo libnet_build_802.3.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_802.3.c -fPIC -DPIC -o .libs/libnet_build_802.3.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_802.3.c -o libnet_build_802.3.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_arp.lo libnet_build_arp.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_arp.c -fPIC -DPIC -o .libs/libnet_build_arp.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_arp.c -o libnet_build_arp.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_bgp.lo libnet_build_bgp.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_bgp.c -fPIC -DPIC -o .libs/libnet_build_bgp.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_bgp.c -o libnet_build_bgp.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_cdp.lo libnet_build_cdp.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_cdp.c -fPIC -DPIC -o .libs/libnet_build_cdp.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_cdp.c -o libnet_build_cdp.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_data.lo libnet_build_data.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_data.c -fPIC -DPIC -o .libs/libnet_build_data.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_data.c -o libnet_build_data.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_dhcp.lo libnet_build_dhcp.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_dhcp.c -fPIC -DPIC -o .libs/libnet_build_dhcp.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_dhcp.c -o libnet_build_dhcp.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_dns.lo libnet_build_dns.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_dns.c -fPIC -DPIC -o .libs/libnet_build_dns.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_dns.c -o libnet_build_dns.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_ethernet.lo libnet_build_ethernet.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_ethernet.c -fPIC -DPIC -o .libs/libnet_build_ethernet.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_ethernet.c -o libnet_build_ethernet.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_fddi.lo libnet_build_fddi.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_fddi.c -fPIC -DPIC -o .libs/libnet_build_fddi.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_fddi.c -o libnet_build_fddi.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_gre.lo libnet_build_gre.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_gre.c -fPIC -DPIC -o .libs/libnet_build_gre.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_gre.c -o libnet_build_gre.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_hsrp.lo libnet_build_hsrp.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_hsrp.c -fPIC -DPIC -o .libs/libnet_build_hsrp.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_hsrp.c -o libnet_build_hsrp.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_icmp.lo libnet_build_icmp.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_icmp.c -fPIC -DPIC -o .libs/libnet_build_icmp.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_icmp.c -o libnet_build_icmp.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_igmp.lo libnet_build_igmp.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_igmp.c -fPIC -DPIC -o .libs/libnet_build_igmp.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_igmp.c -o libnet_build_igmp.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_ip.lo libnet_build_ip.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_ip.c -fPIC -DPIC -o .libs/libnet_build_ip.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_ip.c -o libnet_build_ip.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_ipsec.lo libnet_build_ipsec.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_ipsec.c -fPIC -DPIC -o .libs/libnet_build_ipsec.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_ipsec.c -o libnet_build_ipsec.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_isl.lo libnet_build_isl.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_isl.c -fPIC -DPIC -o .libs/libnet_build_isl.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_isl.c -o libnet_build_isl.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_link.lo libnet_build_link.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_link.c -fPIC -DPIC -o .libs/libnet_build_link.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_link.c -o libnet_build_link.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_mpls.lo libnet_build_mpls.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_mpls.c -fPIC -DPIC -o .libs/libnet_build_mpls.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_mpls.c -o libnet_build_mpls.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_ntp.lo libnet_build_ntp.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_ntp.c -fPIC -DPIC -o .libs/libnet_build_ntp.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_ntp.c -o libnet_build_ntp.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_ospf.lo libnet_build_ospf.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_ospf.c -fPIC -DPIC -o .libs/libnet_build_ospf.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_ospf.c -o libnet_build_ospf.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_rip.lo libnet_build_rip.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_rip.c -fPIC -DPIC -o .libs/libnet_build_rip.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_rip.c -o libnet_build_rip.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_rpc.lo libnet_build_rpc.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_rpc.c -fPIC -DPIC -o .libs/libnet_build_rpc.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_rpc.c -o libnet_build_rpc.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_sebek.lo libnet_build_sebek.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_sebek.c -fPIC -DPIC -o .libs/libnet_build_sebek.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_sebek.c -o libnet_build_sebek.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_snmp.lo libnet_build_snmp.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_snmp.c -fPIC -DPIC -o .libs/libnet_build_snmp.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_snmp.c -o libnet_build_snmp.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_stp.lo libnet_build_stp.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_stp.c -fPIC -DPIC -o .libs/libnet_build_stp.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_stp.c -o libnet_build_stp.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_tcp.lo libnet_build_tcp.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_tcp.c -fPIC -DPIC -o .libs/libnet_build_tcp.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_tcp.c -o libnet_build_tcp.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_token_ring.lo libnet_build_token_ring.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_token_ring.c -fPIC -DPIC -o .libs/libnet_build_token_ring.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_token_ring.c -o libnet_build_token_ring.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_udp.lo libnet_build_udp.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_udp.c -fPIC -DPIC -o .libs/libnet_build_udp.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_udp.c -o libnet_build_udp.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_build_vrrp.lo libnet_build_vrrp.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_vrrp.c -fPIC -DPIC -o .libs/libnet_build_vrrp.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_build_vrrp.c -o libnet_build_vrrp.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_advanced.lo libnet_advanced.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_advanced.c -fPIC -DPIC -o .libs/libnet_advanced.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_advanced.c -o libnet_advanced.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_checksum.lo libnet_checksum.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_checksum.c -fPIC -DPIC -o .libs/libnet_checksum.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_checksum.c -o libnet_checksum.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_cq.lo libnet_cq.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_cq.c -fPIC -DPIC -o .libs/libnet_cq.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_cq.c -o libnet_cq.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_crc.lo libnet_crc.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_crc.c -fPIC -DPIC -o .libs/libnet_crc.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_crc.c -o libnet_crc.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_error.lo libnet_error.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_error.c -fPIC -DPIC -o .libs/libnet_error.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_error.c -o libnet_error.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_if_addr.lo libnet_if_addr.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_if_addr.c -fPIC -DPIC -o .libs/libnet_if_addr.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_if_addr.c -o libnet_if_addr.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_init.lo libnet_init.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_init.c -fPIC -DPIC -o .libs/libnet_init.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_init.c -o libnet_init.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_internal.lo libnet_internal.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_internal.c -fPIC -DPIC -o .libs/libnet_internal.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_internal.c -o libnet_internal.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_pblock.lo libnet_pblock.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_pblock.c -fPIC -DPIC -o .libs/libnet_pblock.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_pblock.c -o libnet_pblock.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_port_list.lo libnet_port_list.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_port_list.c -fPIC -DPIC -o .libs/libnet_port_list.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_port_list.c -o libnet_port_list.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_prand.lo libnet_prand.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_prand.c -fPIC -DPIC -o .libs/libnet_prand.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_prand.c -o libnet_prand.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_raw.lo libnet_raw.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_raw.c -fPIC -DPIC -o .libs/libnet_raw.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_raw.c -o libnet_raw.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_resolve.lo libnet_resolve.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_resolve.c -fPIC -DPIC -o .libs/libnet_resolve.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_resolve.c -o libnet_resolve.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_version.lo libnet_version.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_version.c -fPIC -DPIC -o .libs/libnet_version.olibnet_version.c: In function '__libnet_print_vers':libnet_version.c:55: warning: ignoring return value of 'write', declared with attribute warn_unused_result gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_version.c -o libnet_version.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_write.lo libnet_write.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_write.c -fPIC -DPIC -o .libs/libnet_write.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_write.c -o libnet_write.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c -o libnet_link_linux.lo libnet_link_linux.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_link_linux.c -fPIC -DPIC -o .libs/libnet_link_linux.o gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c libnet_link_linux.c -o libnet_link_linux.o >/dev/null 2>&1/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -version-info 7:0:6 -Wl -o libnet.la -rpath /usr/local/lib libnet_asn1.lo libnet_build_802.1q.lo libnet_build_802.1x.lo libnet_build_802.2.lo libnet_build_802.3.lo libnet_build_arp.lo libnet_build_bgp.lo libnet_build_cdp.lo libnet_build_data.lo libnet_build_dhcp.lo libnet_build_dns.lo libnet_build_ethernet.lo libnet_build_fddi.lo libnet_build_gre.lo libnet_build_hsrp.lo libnet_build_icmp.lo libnet_build_igmp.lo libnet_build_ip.lo libnet_build_ipsec.lo libnet_build_isl.lo libnet_build_link.lo libnet_build_mpls.lo libnet_build_ntp.lo libnet_build_ospf.lo libnet_build_rip.lo libnet_build_rpc.lo libnet_build_sebek.lo libnet_build_snmp.lo libnet_build_stp.lo libnet_build_tcp.lo libnet_build_token_ring.lo libnet_build_udp.lo libnet_build_vrrp.lo libnet_advanced.lo libnet_checksum.lo libnet_cq.lo libnet_crc.lo libnet_error.lo libnet_if_addr.lo libnet_init.lo libnet_internal.lo libnet_pblock.lo libnet_port_list.lo libnet_prand.lo libnet_raw.lo libnet_resolve.lo libnet_version.lo libnet_write.lo libnet_link_linux.lo gcc -shared .libs/libnet_asn1.o .libs/libnet_build_802.1q.o .libs/libnet_build_802.1x.o .libs/libnet_build_802.2.o .libs/libnet_build_802.3.o .libs/libnet_build_arp.o .libs/libnet_build_bgp.o .libs/libnet_build_cdp.o .libs/libnet_build_data.o .libs/libnet_build_dhcp.o .libs/libnet_build_dns.o .libs/libnet_build_ethernet.o .libs/libnet_build_fddi.o .libs/libnet_build_gre.o .libs/libnet_build_hsrp.o .libs/libnet_build_icmp.o .libs/libnet_build_igmp.o .libs/libnet_build_ip.o .libs/libnet_build_ipsec.o .libs/libnet_build_isl.o .libs/libnet_build_link.o .libs/libnet_build_mpls.o .libs/libnet_build_ntp.o .libs/libnet_build_ospf.o .libs/libnet_build_rip.o .libs/libnet_build_rpc.o .libs/libnet_build_sebek.o .libs/libnet_build_snmp.o .libs/libnet_build_stp.o .libs/libnet_build_tcp.o .libs/libnet_build_token_ring.o .libs/libnet_build_udp.o .libs/libnet_build_vrrp.o .libs/libnet_advanced.o .libs/libnet_checksum.o .libs/libnet_cq.o .libs/libnet_crc.o .libs/libnet_error.o .libs/libnet_if_addr.o .libs/libnet_init.o .libs/libnet_internal.o .libs/libnet_pblock.o .libs/libnet_port_list.o .libs/libnet_prand.o .libs/libnet_raw.o .libs/libnet_resolve.o .libs/libnet_version.o .libs/libnet_write.o .libs/libnet_link_linux.o -Wl,-soname -Wl,libnet.so.1 -o .libs/libnet.so.1.6.0(cd .libs && rm -f libnet.so.1 && ln -s libnet.so.1.6.0 libnet.so.1)(cd .libs && rm -f libnet.so && ln -s libnet.so.1.6.0 libnet.so)ar cru .libs/libnet.a libnet_asn1.o libnet_build_802.1q.o libnet_build_802.1x.o libnet_build_802.2.o libnet_build_802.3.o libnet_build_arp.o libnet_build_bgp.o libnet_build_cdp.o libnet_build_data.o libnet_build_dhcp.o libnet_build_dns.o libnet_build_ethernet.o libnet_build_fddi.o libnet_build_gre.o libnet_build_hsrp.o libnet_build_icmp.o libnet_build_igmp.o libnet_build_ip.o libnet_build_ipsec.o libnet_build_isl.o libnet_build_link.o libnet_build_mpls.o libnet_build_ntp.o libnet_build_ospf.o libnet_build_rip.o libnet_build_rpc.o libnet_build_sebek.o libnet_build_snmp.o libnet_build_stp.o libnet_build_tcp.o libnet_build_token_ring.o libnet_build_udp.o libnet_build_vrrp.o libnet_advanced.o libnet_checksum.o libnet_cq.o libnet_crc.o libnet_error.o libnet_if_addr.o libnet_init.o libnet_internal.o libnet_pblock.o libnet_port_list.o libnet_prand.o libnet_raw.o libnet_resolve.o libnet_version.o libnet_write.o libnet_link_linux.oranlib .libs/libnet.acreating libnet.la(cd .libs && rm -f libnet.la && ln -s ../libnet.la libnet.la)make[1]: Leaving directory `/root/libnet-1.1.5/src'Making all in samplemake[1]: Entering directory `/root/libnet-1.1.5/sample'gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c arp.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o arp arp.o ../src/libnet.la mkdir .libsgcc -g -O2 -o .libs/arp arp.o ../src/.libs/libnet.so creating arpgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c cdp.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o cdp cdp.o ../src/libnet.la gcc -g -O2 -o .libs/cdp cdp.o ../src/.libs/libnet.so creating cdpgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c dhcp_discover.cdhcp_discover.c: In function ‘main’:dhcp_discover.c:241: warning: format ‘%lld’ expects type ‘long long int’, but argument 3 has type ‘uint64_t’dhcp_discover.c:241: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘uint64_t’dhcp_discover.c:241: warning: format ‘%lld’ expects type ‘long long int’, but argument 5 has type ‘uint64_t’/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o dhcp_discover dhcp_discover.o ../src/libnet.la gcc -g -O2 -o .libs/dhcp_discover dhcp_discover.o ../src/.libs/libnet.so creating dhcp_discovergcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c get_addr.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o get_addr get_addr.o ../src/libnet.la gcc -g -O2 -o .libs/get_addr get_addr.o ../src/.libs/libnet.so creating get_addrgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c icmp_timestamp.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o icmp_timestamp icmp_timestamp.o ../src/libnet.la gcc -g -O2 -o .libs/icmp_timestamp icmp_timestamp.o ../src/.libs/libnet.so creating icmp_timestampgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c icmp_unreach.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o icmp_unreach icmp_unreach.o ../src/libnet.la gcc -g -O2 -o .libs/icmp_unreach icmp_unreach.o ../src/.libs/libnet.so creating icmp_unreachgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c ieee.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o ieee ieee.o ../src/libnet.la gcc -g -O2 -o .libs/ieee ieee.o ../src/.libs/libnet.so creating ieeegcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c isl.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o isl isl.o ../src/libnet.la gcc -g -O2 -o .libs/isl isl.o ../src/.libs/libnet.so creating islgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c ntp.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o ntp ntp.o ../src/libnet.la gcc -g -O2 -o .libs/ntp ntp.o ../src/.libs/libnet.so creating ntpgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c ospf_hello.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o ospf_hello ospf_hello.o ../src/libnet.la gcc -g -O2 -o .libs/ospf_hello ospf_hello.o ../src/.libs/libnet.so creating ospf_hellogcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c ospf_lsa.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o ospf_lsa ospf_lsa.o ../src/libnet.la gcc -g -O2 -o .libs/ospf_lsa ospf_lsa.o ../src/.libs/libnet.so creating ospf_lsagcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c ping_of_death.cping_of_death.c: In function ‘main’:ping_of_death.c:161: warning: format ‘%lld’ expects type ‘long long int’, but argument 3 has type ‘uint64_t’ping_of_death.c:161: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘uint64_t’ping_of_death.c:161: warning: format ‘%lld’ expects type ‘long long int’, but argument 5 has type ‘uint64_t’/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o ping_of_death ping_of_death.o ../src/libnet.la gcc -g -O2 -o .libs/ping_of_death ping_of_death.o ../src/.libs/libnet.so creating ping_of_deathgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c stp.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o stp stp.o ../src/libnet.la gcc -g -O2 -o .libs/stp stp.o ../src/.libs/libnet.so creating stpgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c synflood.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o synflood synflood.o ../src/libnet.la gcc -g -O2 -o .libs/synflood synflood.o ../src/.libs/libnet.so creating synfloodgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c tcp1.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o tcp1 tcp1.o ../src/libnet.la gcc -g -O2 -o .libs/tcp1 tcp1.o ../src/.libs/libnet.so creating tcp1gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c tcp2.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o tcp2 tcp2.o ../src/libnet.la gcc -g -O2 -o .libs/tcp2 tcp2.o ../src/.libs/libnet.so creating tcp2gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c udp1.cudp1.c: In function ‘main’:udp1.c:207: warning: format ‘%lld’ expects type ‘long long int’, but argument 3 has type ‘uint64_t’udp1.c:207: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘uint64_t’udp1.c:207: warning: format ‘%lld’ expects type ‘long long int’, but argument 5 has type ‘uint64_t’/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o udp1 udp1.o ../src/libnet.la gcc -g -O2 -o .libs/udp1 udp1.o ../src/.libs/libnet.so creating udp1gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c udp2.cudp2.c: In function ‘main’:udp2.c:211: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘__time_t’udp2.c:211: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘__suseconds_t’udp2.c:217: warning: format ‘%lld’ expects type ‘long long int’, but argument 3 has type ‘uint64_t’udp2.c:217: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘uint64_t’udp2.c:217: warning: format ‘%lld’ expects type ‘long long int’, but argument 5 has type ‘uint64_t’/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o udp2 udp2.o ../src/libnet.la gcc -g -O2 -o .libs/udp2 udp2.o ../src/.libs/libnet.so creating udp2gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c synflood6.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o synflood6 synflood6.o ../src/libnet.la gcc -g -O2 -o .libs/synflood6 synflood6.o ../src/.libs/libnet.so creating synflood6gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c icmp6_echoreq.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o icmp6_echoreq icmp6_echoreq.o ../src/libnet.la gcc -g -O2 -o .libs/icmp6_echoreq icmp6_echoreq.o ../src/.libs/libnet.so creating icmp6_echoreqgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c icmp6_unreach.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o icmp6_unreach icmp6_unreach.o ../src/libnet.la gcc -g -O2 -o .libs/icmp6_unreach icmp6_unreach.o ../src/.libs/libnet.so creating icmp6_unreachgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c icmp_echo_cq.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o icmp_echo_cq icmp_echo_cq.o ../src/libnet.la gcc -g -O2 -o .libs/icmp_echo_cq icmp_echo_cq.o ../src/.libs/libnet.so creating icmp_echo_cqgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c smurf.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o smurf smurf.o ../src/libnet.la gcc -g -O2 -o .libs/smurf smurf.o ../src/.libs/libnet.so creating smurfgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c dot1x.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o dot1x dot1x.o ../src/libnet.la gcc -g -O2 -o .libs/dot1x dot1x.o ../src/.libs/libnet.so creating dot1xgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c dns.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o dns dns.o ../src/libnet.la gcc -g -O2 -o .libs/dns dns.o ../src/.libs/libnet.so creating dnsgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c rpc_tcp.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o rpc_tcp rpc_tcp.o ../src/libnet.la gcc -g -O2 -o .libs/rpc_tcp rpc_tcp.o ../src/.libs/libnet.so creating rpc_tcpgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c rpc_udp.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o rpc_udp rpc_udp.o ../src/libnet.la gcc -g -O2 -o .libs/rpc_udp rpc_udp.o ../src/.libs/libnet.so creating rpc_udpgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c mpls.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o mpls mpls.o ../src/libnet.la gcc -g -O2 -o .libs/mpls mpls.o ../src/.libs/libnet.so creating mplsgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c icmp_timeexceed.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o icmp_timeexceed icmp_timeexceed.o ../src/libnet.la gcc -g -O2 -o .libs/icmp_timeexceed icmp_timeexceed.o ../src/.libs/libnet.so creating icmp_timeexceedgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c fddi_tcp1.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o fddi_tcp1 fddi_tcp1.o ../src/libnet.la gcc -g -O2 -o .libs/fddi_tcp1 fddi_tcp1.o ../src/.libs/libnet.so creating fddi_tcp1gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c fddi_tcp2.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o fddi_tcp2 fddi_tcp2.o ../src/libnet.la gcc -g -O2 -o .libs/fddi_tcp2 fddi_tcp2.o ../src/.libs/libnet.so creating fddi_tcp2gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c tring_tcp1.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o tring_tcp1 tring_tcp1.o ../src/libnet.la gcc -g -O2 -o .libs/tring_tcp1 tring_tcp1.o ../src/.libs/libnet.so creating tring_tcp1gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c tring_tcp2.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o tring_tcp2 tring_tcp2.o ../src/libnet.la gcc -g -O2 -o .libs/tring_tcp2 tring_tcp2.o ../src/.libs/libnet.so creating tring_tcp2gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c icmp_redirect.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o icmp_redirect icmp_redirect.o ../src/libnet.la gcc -g -O2 -o .libs/icmp_redirect icmp_redirect.o ../src/.libs/libnet.so creating icmp_redirectgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c bgp4_hdr.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o bgp4_hdr bgp4_hdr.o ../src/libnet.la gcc -g -O2 -o .libs/bgp4_hdr bgp4_hdr.o ../src/.libs/libnet.so creating bgp4_hdrgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c bgp4_open.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o bgp4_open bgp4_open.o ../src/libnet.la gcc -g -O2 -o .libs/bgp4_open bgp4_open.o ../src/.libs/libnet.so creating bgp4_opengcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c bgp4_update.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o bgp4_update bgp4_update.o ../src/libnet.la gcc -g -O2 -o .libs/bgp4_update bgp4_update.o ../src/.libs/libnet.so creating bgp4_updategcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c bgp4_notification.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o bgp4_notification bgp4_notification.o ../src/libnet.la gcc -g -O2 -o .libs/bgp4_notification bgp4_notification.o ../src/.libs/libnet.so creating bgp4_notificationgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c gre.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o gre gre.o ../src/libnet.la gcc -g -O2 -o .libs/gre gre.o ../src/.libs/libnet.so creating gregcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c synflood6_frag.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o synflood6_frag synflood6_frag.o ../src/libnet.la gcc -g -O2 -o .libs/synflood6_frag synflood6_frag.o ../src/.libs/libnet.so creating synflood6_fraggcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c tftp.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o tftp tftp.o ../src/libnet.la gcc -g -O2 -o .libs/tftp tftp.o ../src/.libs/libnet.so creating tftpgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c ip_link.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o ip_link ip_link.o ../src/libnet.la gcc -g -O2 -o .libs/ip_link ip_link.o ../src/.libs/libnet.so creating ip_linkgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c ip_raw.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o ip_raw ip_raw.o ../src/libnet.la gcc -g -O2 -o .libs/ip_raw ip_raw.o ../src/.libs/libnet.so creating ip_rawgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c sebek.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o sebek sebek.o ../src/libnet.la gcc -g -O2 -o .libs/sebek sebek.o ../src/.libs/libnet.so creating sebekgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c hsrp.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o hsrp hsrp.o ../src/libnet.la gcc -g -O2 -o .libs/hsrp hsrp.o ../src/.libs/libnet.so creating hsrpgcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c test_ipv4.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o test_ipv4 test_ipv4.o ../src/libnet.la gcc -g -O2 -o .libs/test_ipv4 test_ipv4.o ../src/.libs/libnet.so creating test_ipv4gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c test_ipv6_icmpv4.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o test_ipv6_icmpv4 test_ipv6_icmpv4.o ../src/libnet.la gcc -g -O2 -o .libs/test_ipv6_icmpv4 test_ipv6_icmpv4.o ../src/.libs/libnet.so creating test_ipv6_icmpv4gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c test_ipv4_options.c/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o test_ipv4_options test_ipv4_options.o ../src/libnet.la gcc -g -O2 -o .libs/test_ipv4_options test_ipv4_options.o ../src/.libs/libnet.so creating test_ipv4_optionsmake[1]: Leaving directory `/root/libnet-1.1.5/sample'Making all in docmake[1]: Entering directory `/root/libnet-1.1.5/doc'Making all in manmake[2]: Entering directory `/root/libnet-1.1.5/doc/man'Making all in man3make[3]: Entering directory `/root/libnet-1.1.5/doc/man/man3'make[3]: Nothing to be done for `all'.make[3]: Leaving directory `/root/libnet-1.1.5/doc/man/man3'make[3]: Entering directory `/root/libnet-1.1.5/doc/man'make[3]: Nothing to be done for `all-am'.make[3]: Leaving directory `/root/libnet-1.1.5/doc/man'make[2]: Leaving directory `/root/libnet-1.1.5/doc/man'Making all in htmlmake[2]: Entering directory `/root/libnet-1.1.5/doc/html'make[2]: Nothing to be done for `all'.make[2]: Leaving directory `/root/libnet-1.1.5/doc/html'make[2]: Entering directory `/root/libnet-1.1.5/doc'make[2]: Nothing to be done for `all-am'.make[2]: Leaving directory `/root/libnet-1.1.5/doc'make[1]: Leaving directory `/root/libnet-1.1.5/doc'Making all in win32make[1]: Entering directory `/root/libnet-1.1.5/win32'make[1]: Nothing to be done for `all'.make[1]: Leaving directory `/root/libnet-1.1.5/win32'make[1]: Entering directory `/root/libnet-1.1.5'make[1]: Nothing to be done for `all-am'.make[1]: Leaving directory `/root/libnet-1.1.5'[COLOR="#FF0000"][B]root@bt:~/libnet-1.1.5# make install[/B][/COLOR]Making install in includemake[1]: Entering directory `/root/libnet-1.1.5/include'Making install in libnetmake[2]: Entering directory `/root/libnet-1.1.5/include/libnet'make[3]: Entering directory `/root/libnet-1.1.5/include/libnet'make[3]: Nothing to be done for `install-exec-am'.test -z "/usr/local/include/libnet" || /bin/mkdir -p "/usr/local/include/libnet" /usr/bin/install -c -m 644 'libnet-asn1.h' '/usr/local/include/libnet/libnet-asn1.h' /usr/bin/install -c -m 644 'libnet-functions.h' '/usr/local/include/libnet/libnet-functions.h' /usr/bin/install -c -m 644 'libnet-headers.h' '/usr/local/include/libnet/libnet-headers.h' /usr/bin/install -c -m 644 'libnet-macros.h' '/usr/local/include/libnet/libnet-macros.h' /usr/bin/install -c -m 644 'libnet-structures.h' '/usr/local/include/libnet/libnet-structures.h' /usr/bin/install -c -m 644 'libnet-types.h' '/usr/local/include/libnet/libnet-types.h'make[3]: Leaving directory `/root/libnet-1.1.5/include/libnet'make[2]: Leaving directory `/root/libnet-1.1.5/include/libnet'Making install in win32make[2]: Entering directory `/root/libnet-1.1.5/include/win32'make[3]: Entering directory `/root/libnet-1.1.5/include/win32'make[3]: Nothing to be done for `install-exec-am'.make[3]: Nothing to be done for `install-data-am'.make[3]: Leaving directory `/root/libnet-1.1.5/include/win32'make[2]: Leaving directory `/root/libnet-1.1.5/include/win32'make[2]: Entering directory `/root/libnet-1.1.5/include'make[3]: Entering directory `/root/libnet-1.1.5/include'make[3]: Nothing to be done for `install-exec-am'.test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include" /usr/bin/install -c -m 644 'libnet.h' '/usr/local/include/libnet.h'make[3]: Leaving directory `/root/libnet-1.1.5/include'make[2]: Leaving directory `/root/libnet-1.1.5/include'make[1]: Leaving directory `/root/libnet-1.1.5/include'Making install in srcmake[1]: Entering directory `/root/libnet-1.1.5/src'make[2]: Entering directory `/root/libnet-1.1.5/src'test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib" /bin/sh ../libtool --mode=install /usr/bin/install -c 'libnet.la' '/usr/local/lib/libnet.la'/usr/bin/install -c .libs/libnet.so.1.6.0 /usr/local/lib/libnet.so.1.6.0(cd /usr/local/lib && { ln -s -f libnet.so.1.6.0 libnet.so.1 || { rm -f libnet.so.1 && ln -s libnet.so.1.6.0 libnet.so.1; }; })(cd /usr/local/lib && { ln -s -f libnet.so.1.6.0 libnet.so || { rm -f libnet.so && ln -s libnet.so.1.6.0 libnet.so; }; })/usr/bin/install -c .libs/libnet.lai /usr/local/lib/libnet.la/usr/bin/install -c .libs/libnet.a /usr/local/lib/libnet.achmod 644 /usr/local/lib/libnet.aranlib /usr/local/lib/libnet.aPATH="$PATH:/sbin" ldconfig -n /usr/local/lib----------------------------------------------------------------------Libraries have been installed in: /usr/local/libIf you ever happen to want to link against installed librariesin a given directory, LIBDIR, you must either use libtool, andspecify the full pathname of the library, or use the `-LLIBDIR'flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf'See any operating system documentation about shared libraries formore information, such as the ld(1) and ld.so(8) manual pages.----------------------------------------------------------------------make[2]: Nothing to be done for `install-data-am'.make[2]: Leaving directory `/root/libnet-1.1.5/src'make[1]: Leaving directory `/root/libnet-1.1.5/src'Making install in samplemake[1]: Entering directory `/root/libnet-1.1.5/sample'make[2]: Entering directory `/root/libnet-1.1.5/sample'test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"make[2]: Nothing to be done for `install-data-am'.make[2]: Leaving directory `/root/libnet-1.1.5/sample'make[1]: Leaving directory `/root/libnet-1.1.5/sample'Making install in docmake[1]: Entering directory `/root/libnet-1.1.5/doc'Making install in manmake[2]: Entering directory `/root/libnet-1.1.5/doc/man'Making install in man3make[3]: Entering directory `/root/libnet-1.1.5/doc/man/man3'make[4]: Entering directory `/root/libnet-1.1.5/doc/man/man3'make[4]: Nothing to be done for `install-exec-am'.test -z "/usr/local/share/man/man3" || /bin/mkdir -p "/usr/local/share/man/man3" /usr/bin/install -c -m 644 '././libnet-functions.h.3' '/usr/local/share/man/man3/libnet-functions.h.3' /usr/bin/install -c -m 644 '././libnet.h.3' '/usr/local/share/man/man3/libnet.h.3' /usr/bin/install -c -m 644 '././libnet-macros.h.3' '/usr/local/share/man/man3/libnet-macros.h.3'make[4]: Leaving directory `/root/libnet-1.1.5/doc/man/man3'make[3]: Leaving directory `/root/libnet-1.1.5/doc/man/man3'make[3]: Entering directory `/root/libnet-1.1.5/doc/man'make[4]: Entering directory `/root/libnet-1.1.5/doc/man'make[4]: Nothing to be done for `install-exec-am'.make[4]: Nothing to be done for `install-data-am'.make[4]: Leaving directory `/root/libnet-1.1.5/doc/man'make[3]: Leaving directory `/root/libnet-1.1.5/doc/man'make[2]: Leaving directory `/root/libnet-1.1.5/doc/man'Making install in htmlmake[2]: Entering directory `/root/libnet-1.1.5/doc/html'make[3]: Entering directory `/root/libnet-1.1.5/doc/html'make[3]: Nothing to be done for `install-exec-am'.make[3]: Nothing to be done for `install-data-am'.make[3]: Leaving directory `/root/libnet-1.1.5/doc/html'make[2]: Leaving directory `/root/libnet-1.1.5/doc/html'make[2]: Entering directory `/root/libnet-1.1.5/doc'make[3]: Entering directory `/root/libnet-1.1.5/doc'make[3]: Nothing to be done for `install-exec-am'.make[3]: Nothing to be done for `install-data-am'.make[3]: Leaving directory `/root/libnet-1.1.5/doc'make[2]: Leaving directory `/root/libnet-1.1.5/doc'make[1]: Leaving directory `/root/libnet-1.1.5/doc'Making install in win32make[1]: Entering directory `/root/libnet-1.1.5/win32'make[2]: Entering directory `/root/libnet-1.1.5/win32'make[2]: Nothing to be done for `install-exec-am'.make[2]: Nothing to be done for `install-data-am'.make[2]: Leaving directory `/root/libnet-1.1.5/win32'make[1]: Leaving directory `/root/libnet-1.1.5/win32'make[1]: Entering directory `/root/libnet-1.1.5'make[2]: Entering directory `/root/libnet-1.1.5'test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin" /usr/bin/install -c 'libnet-config' '/usr/local/bin/libnet-config'make[2]: Nothing to be done for `install-data-am'.make[2]: Leaving directory `/root/libnet-1.1.5'make[1]: Leaving directory `/root/libnet-1.1.5'Install ddosim-0.2:Aceasi eroare: configure: error: libnet0 (dev) is required for this program Quote
Nytro Posted January 15, 2012 Author Report Posted January 15, 2012 Tu ai citit ce am scris eu? configure: error: libnet0 (dev) is required for this program Quote
aelius Posted January 15, 2012 Report Posted January 15, 2012 @hKr Ai package manager. De ce nu-l folosesti ? (dupa hostname (bt) cred ca folosesti backtrack)saturn ~ # dpkg -l libnet-devDesired=Unknown/Install/Remove/Purge/Hold| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)||/ Name Version Description+++-=============================================-=============================================-==========================================================================================================un libnet-dev <none> (no description available)saturn ~ #do apt-get install libnet-dev Quote
hKr Posted January 15, 2012 Report Posted January 15, 2012 (edited) Am citit, tocmai dasta ti-am zis ca eu am instalat "libnet0-dev (1.0.2a-7)" fiinca aia cere si nu "libnet-dev" care ai zis tu.Bun, in postul de mai sus ti-am spus ca am instalat "libnet0-dev (1.0.2a-7)" cat si ce mi-ai dat tu "libnet-dev" si primesc acceasi eroare.Asteptam un rapsuns pentru a rezolva problema, nu ma asteptam sa imi zici daca am citit post-ul tau.Spune-mi partea unde nu am citit sau unde nu am inteles din cea ce ai scris, ce este de facut.Edit:@tex:Cum iam spus si lu nitro, am instalat libnet0-dev cat si libnet-dev si primesc acceasi eroare. Am pus pana si log-ul de la instalare pentru a vedea ce se intampla.Uite am dat dinou comanda care ai zis tu, tex.[B][COLOR="#FF0000"]root@bt:~/hkr/ddosim-0.2# apt-get install libnet-dev[/COLOR][/B]Reading package lists... DoneBuilding dependency tree Reading state information... DoneNote, selecting libnet1-dev instead of libnet-devlibnet1-dev is already the newest version.0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.Da, folosesc Blacktrack 5 R1, upgrade/update facut. Edited January 15, 2012 by hKr Quote
adi003user Posted January 15, 2012 Report Posted January 15, 2012 aplicatia e scrisa de un pentester roman. adrian furtuna. si e din 2010 tool-ul. exista noi tipuri de atac mult mai puternice. Quote
Nytro Posted January 15, 2012 Author Report Posted January 15, 2012 Cred ca ai mai instalat o data libnet si nu libnet-dev. root@bt:~/libnet-1.1.5# ./configureSi nuroot@bt:~/libnet-dev-1.1.5# ./configureNu stiu, ar trebui sa mearga. Quote
hKr Posted January 15, 2012 Report Posted January 15, 2012 @adi003user: Mersi, de info si de sugestie de a folosi alte tipuri de atac mai puternice. Dar momentan sunt aici si intampin o problema pe care vreau s-o rezolv, impreuna cu voi, fiinca singur nu m-am descurcat, dasta am apelat la voi, de a cere ajutor. Iar daca tot mi-ai sugerat alte tip-uri de atac mai puternice ai putea da si un nume/link.@Nytro: Nu, eu am descarcat exact cea ce mi-ai dat tu, cand dai sa descarci arhiva are numele "libnet-1.1.5.tar.gz" si cand o dezarhivezi "libnet-1.1.5" deci am intrat bine unde am intrat. Nu am incurcat.Totusi ciudat...am instalat ce trebuia si tot raman cu eroarea aia. Quote
A9N Posted January 15, 2012 Report Posted January 15, 2012 Trebuie libnet0-dev, nu libnet1-dev. Scrie si pe site-ul lor.Uite aici: Ubuntu -- Details of package libnet0 in hardyUbuntu -- Details of package libnet0-dev in hardyOricum nu e cine stie ce. Btw: Pe Backtrack nu am reusit niciodata sa-l fac sa mearga. Pe Debian mi-a mers fara probleme. Quote
hKr Posted January 15, 2012 Report Posted January 15, 2012 (edited) Da, dar acolo spune libnet0 si am intrat sa il iau de aici.Package: libnet0 (1.0.2a-7)Download Source Package libnet0: [libnet0_1.0.2a.orig.tar.gz]Asta i-am spus si eu lu Nytro scrie 0-dev nu ce mi-a dat el acolo dar am instalat si ce mi-a dat el. Nu a fost atent.Pana acum am instalat:libnet-dev (1.1.5)ibnet0-dev ([1.0.2a) ibnet1-dev (1.1.4-2.1 and others)Deci ai avut si tu problema asta sa inteleg...Nu sunt singuru.Atunci n-am decat sa ma las pagubas...Multumesc tuturor ce a dat atentie acestei probleme. Edited January 15, 2012 by hKr Quote
kNigHt Posted January 15, 2012 Report Posted January 15, 2012 Am reusit sa rezolv problema cu libnet, mi-au trebuit astea douaUbuntu -- Details of package libnet0 in hardyUbuntu -- Details of package libnet0-dev in hardyAcum imi da eroare la compilare:root@bt:~/ddosim-0.2# makeg++ -DPACKAGE_NAME=\"ddosim\" -DPACKAGE_TARNAME=\"ddosim\" -DPACKAGE_VERSION=\"0.2\" -DPACKAGE_STRING=\"ddosim\ 0.2\" -DPACKAGE_BUGREPORT=\"adif2k8@gmail.com\" -DPACKAGE=\"ddosim\" -DVERSION=\"0.2\" -DHAVE_LIBPCAP=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBNET=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_INET_NTOA=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. `libnet-config --defines` -Wall -Wno-deprecated -O2 -g -O2 -MT ddosim.o -MD -MP -MF .deps/ddosim.Tpo -c -o ddosim.o ddosim.cppddosim.cpp: In function ‘int main(int, char**)’:ddosim.cpp:58: error: ‘libnet_host_lookup’ was not declared in this scopeddosim.cpp:184: error: ‘libnet_host_lookup’ was not declared in this scopeddosim.cpp: In function ‘u_long getLocalIp(const std::string&, std::string&)’:ddosim.cpp:292: error: ‘libnet_open_link_interface’ was not declared in this scopeddosim.cpp:296: error: ‘libnet_get_ipaddr’ was not declared in this scopeddosim.cpp: In function ‘u_long resolveNameToIp(char*, std::string&)’:ddosim.cpp:316: error: ‘libnet_name_resolve’ was not declared in this scopeddosim.cpp:317: error: ‘LIBNET_ERR_FATAL’ was not declared in this scopeddosim.cpp:317: error: ‘libnet_error’ was not declared in this scopemake: *** [ddosim.o] Error 1Compileru e la ultima versiune... Quote
hKr Posted January 15, 2012 Report Posted January 15, 2012 (edited) Primul link cat si al doilea difera, asta doar la info/descriere dar link-ul de download este acelasi pentru amandoua asta in caz ca ai dat in dreapta [libnet0_1.0.2a.orig.tar.gz] si nu pe "amd64". Concluzia ai instalat de doua ori acelasi continut crezand ca ai instalat doua diferite si ca sa ati raspund in continuare in legatura cu eroarea, nu ai instalat nimic fiinca altfel nu ai fi primit "acele erori" la "ddosim" si ai fi primit eroarea pe care o primesc eu presupun eu. Doerce si eu am patit la fel fiinca rulez pe 64 si trebuie sa faci modificarea aia in config.deb de libnet0.Hai ca te bag in ceata.Fi atent in caz ca rulezi pe 64 te-ai inselat in privinta instalarii asa cum am facuto si eu, tu ai instalat libnet0-dev dar de fapt nu s-a instalat, daca te uiti bine in log-ul de instalare ai sa observi ca da eroare, dai de scroll la inceput nu la sfarsit.checking host system type... Invalid configuration `x86_64-pc-linux-gnu': machine `x86_64-pc' not recognizedDaca primesti eroarea de mai sus, e din cauza ca si tu rulezi linux tot pe x64 biti.Efectiv tu primesti erorile alea la "ddosim" finca nu s-a instalat libnet0-dev(nu ai vazut erorile pe care le primesti si acolo) crezand ca tu l-ai instalat. Pentru a scapa de erorile de la "ddosim" trebuie mai intai sa scapi de cele de la "libnet0-dev" la instalare.Intra in foldarul "libnet-1.0.2a.orig" in fiserul "config.sub" si la "linia 172" ai: # Recognize the basic CPU types with company name. vax-* | tahoe-* | i[3456]86-* | i860-* | m68k-* | m68000-* | m88k-* \si adauga x86_64: # Recognize the basic CPU types with company name. vax-* | tahoe-* | i[3456]86-* | [COLOR="#FF0000"]x86_64-*[/COLOR] | i860-* | m68k-* | m68000-* | m88k-* \acum poti instala linistit libnet0-dev fara erori. Apoi poti intra si in ddosim pentru a vedea ca erorile au disparut si la el.Acum tare mi-e ca, scapi si tu de toate erorile alea si vei primi, acceasi eroare la care am ajuns eu cu:configure: error: libnet0 (dev) is required for this programConcluzia pe care o trag eu acum este ca, libnet0-dev pe 64 de biti, trebuie trecut in "config.sub" -> "x86_64" pentru a fi recunoscut procesorul si a putea fi instalat fara probleme dar acum trag spre ddosim ca ar fi problema.Cum am facut la libnet0-dev pentru a il instala ar trebui sa facem ceva gen si la "ddosim".Ma uit si prin fisierul de la ddosim si daca reusesc, revin cu rezolvarea.(Si sunt sigur ca din cauza la 64 biti trebuie facuta o modificare si in ddosim pentru a recunoaste libnet0-dev.) Edited January 15, 2012 by hKr 1 Quote
kNigHt Posted January 15, 2012 Report Posted January 15, 2012 @hKr nu prea pricep ce spui acolo, cred ca ai inteles putin gresit treaba. Link-urile alea doua sunt diferite, libnet0 e un dependency al libnet0-dev, libnet0 fiind core-ul din cate vad. Am rulat totul in bactrack pe o arhitectura x86, nu am nicio treaba cu x64. Am impresia ca tu nu ai facut ceva bine din moment ce-ti da eroarea aia. I-am dat un reinstall sa vezi:root@bt:~# dpkg -i libnet0_1.0.2a-7_i386.deb (Reading database ... 234354 files and directories currently installed.)Preparing to replace libnet0 1.0.2a-7 (using libnet0_1.0.2a-7_i386.deb) ...Unpacking replacement libnet0 ...Setting up libnet0 (1.0.2a-7) ...Processing triggers for libc-bin ...ldconfig deferred processing now taking placeroot@bt:~# dpkg -i libnet0-dev_1.0.2a-7_i386.deb (Reading database ... 234354 files and directories currently installed.)Preparing to replace libnet0-dev 1.0.2a-7 (using libnet0-dev_1.0.2a-7_i386.deb) ...Unpacking replacement libnet0-dev ...Setting up libnet0-dev (1.0.2a-7) ...Processing triggers for man-db ... Quote