Jump to content
Nytro

ddosim v0.2 (Application Layer DDOS Simulator)

Recommended Posts

Posted (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:

ddosim_topology1.png

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 by aelius
fix image
Posted

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 -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for pcap_open_live in -lpcap... yes
checking for pthread_mutex_lock in -lpthread... yes
checking 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.cache
Beginning autoconfiguration process for libnet-1.0.2a...
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking build system type... x86_64-pc-linux-gnu
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
checking how to run the C preprocessor... gcc -E
checking for net/ethernet.h... yes
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
updating cache ./config.cache
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

[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.a
cd /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 program

Care ar fi problema ? Ce este de facut in cazul acesta ?

Posted

Da, dar acolo spune libnet0 si am intrat sa il iau de aici.

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-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for AIX... no
checking for ANSI C header files... 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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for gethostbyname2... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking whether byte ordering is bigendian... no
checking net/pfilt.h usability... no
checking net/pfilt.h presence... no
checking for net/pfilt.h... no
checking sys/net/nit.h usability... no
checking sys/net/nit.h presence... no
checking for sys/net/nit.h... no
checking net/raw.h usability... no
checking net/raw.h presence... no
checking for net/raw.h... no
checking sys/dlpi.h usability... no
checking sys/dlpi.h presence... no
checking for sys/dlpi.h... no
checking linux/socket.h usability... yes
checking linux/socket.h presence... yes
checking for linux/socket.h... yes
checking link-layer packet interface type... found link layer linux
checking for packet socket (PF_SOCKET)... no
checking for Linux proc filesystem... yes
scanning 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... yes
checking net/ethernet.h presence... yes
checking for net/ethernet.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating win32/Makefile
config.status: creating include/Makefile
config.status: creating include/libnet/Makefile
config.status: creating include/win32/Makefile
config.status: creating sample/Makefile
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating doc/man/man3/Makefile
config.status: creating doc/html/Makefile
config.status: creating version.h
config.status: creating include/libnet.h
config.status: creating libnet-config
config.status: creating include/config.h
config.status: executing depfiles commands

[B][COLOR="#FF0000"]root@bt:~/libnet-1.1.5# make[/COLOR][/B]
Making all in include
make[1]: Entering directory `/root/libnet-1.1.5/include'
make all-recursive
make[2]: Entering directory `/root/libnet-1.1.5/include'
Making all in libnet
make[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 win32
make[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 src
make[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.c
mkdir .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.o
libnet_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.o
ranlib .libs/libnet.a
creating 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 sample
make[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 .libs
gcc -g -O2 -o .libs/arp arp.o ../src/.libs/libnet.so
creating arp
gcc -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 cdp
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c dhcp_discover.c
dhcp_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_discover
gcc -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_addr
gcc -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_timestamp
gcc -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_unreach
gcc -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 ieee
gcc -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 isl
gcc -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 ntp
gcc -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_hello
gcc -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_lsa
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c ping_of_death.c
ping_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_death
gcc -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 stp
gcc -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 synflood
gcc -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 tcp1
gcc -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 tcp2
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c udp1.c
udp1.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 udp1
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c udp2.c
udp2.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 udp2
gcc -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 synflood6
gcc -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_echoreq
gcc -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_unreach
gcc -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_cq
gcc -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 smurf
gcc -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 dot1x
gcc -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 dns
gcc -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_tcp
gcc -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_udp
gcc -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 mpls
gcc -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_timeexceed
gcc -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_tcp1
gcc -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_tcp2
gcc -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_tcp1
gcc -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_tcp2
gcc -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_redirect
gcc -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_hdr
gcc -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_open
gcc -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_update
gcc -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_notification
gcc -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 gre
gcc -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_frag
gcc -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 tftp
gcc -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_link
gcc -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_raw
gcc -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 sebek
gcc -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 hsrp
gcc -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_ipv4
gcc -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_icmpv4
gcc -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_options
make[1]: Leaving directory `/root/libnet-1.1.5/sample'
Making all in doc
make[1]: Entering directory `/root/libnet-1.1.5/doc'
Making all in man
make[2]: Entering directory `/root/libnet-1.1.5/doc/man'
Making all in man3
make[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 html
make[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 win32
make[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 include
make[1]: Entering directory `/root/libnet-1.1.5/include'
Making install in libnet
make[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 win32
make[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 src
make[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.a
chmod 644 /usr/local/lib/libnet.a
ranlib /usr/local/lib/libnet.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify 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 for
more 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 sample
make[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 doc
make[1]: Entering directory `/root/libnet-1.1.5/doc'
Making install in man
make[2]: Entering directory `/root/libnet-1.1.5/doc/man'
Making install in man3
make[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 html
make[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 win32
make[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

Posted

@hKr

Ai package manager. De ce nu-l folosesti ? (dupa hostname (bt) cred ca folosesti backtrack)


saturn ~ # dpkg -l libnet-dev
Desired=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

Posted (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... Done
Building dependency tree
Reading state information... Done
Note, selecting libnet1-dev instead of libnet-dev
libnet1-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 by hKr
Posted

@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.

Posted (edited)
Da, dar acolo spune libnet0 si am intrat sa il iau de aici.

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 by hKr
Posted

Am reusit sa rezolv problema cu libnet, mi-au trebuit astea doua

Ubuntu -- Details of package libnet0 in hardy

Ubuntu -- Details of package libnet0-dev in hardy

Acum imi da eroare la compilare:

root@bt:~/ddosim-0.2# make
g++ -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.cpp
ddosim.cpp: In function ‘int main(int, char**)’:
ddosim.cpp:58: error: ‘libnet_host_lookup’ was not declared in this scope
ddosim.cpp:184: error: ‘libnet_host_lookup’ was not declared in this scope
ddosim.cpp: In function ‘u_long getLocalIp(const std::string&, std::string&)’:
ddosim.cpp:292: error: ‘libnet_open_link_interface’ was not declared in this scope
ddosim.cpp:296: error: ‘libnet_get_ipaddr’ was not declared in this scope
ddosim.cpp: In function ‘u_long resolveNameToIp(char*, std::string&)’:
ddosim.cpp:316: error: ‘libnet_name_resolve’ was not declared in this scope
ddosim.cpp:317: error: ‘LIBNET_ERR_FATAL’ was not declared in this scope
ddosim.cpp:317: error: ‘libnet_error’ was not declared in this scope
make: *** [ddosim.o] Error 1

Compileru e la ultima versiune...

Posted (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 recognized

Daca 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 program

Concluzia 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 by hKr
  • Upvote 1
Posted

@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 place
root@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 ...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...