Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Wed Jun 28, 2017 2:18 pm


Firewals, computer, server and network security, kernel and applications security of FreeBSD/Linux/AIX systems.

Author Message
debuser
Post  Post subject: CentOS Install Nemesis packet crafting tool + Libnet  |  Posted: Fri Sep 24, 2010 4:00 am

Joined: Thu Aug 06, 2009 2:48 am
Posts: 105

Offline
 

CentOS Install Nemesis packet crafting tool + Libnet

You can download Nemesis tool from http://nemesis.sourceforge.net/ and libnet library from http://code.google.com/p/ips-builder/downloads/detail?name=libnet-1.0.2a.tar.gz&can=2&q=

Untar Libnet first and enter the directory:
Code:
$ ./configure
...
$ sudo make && make install


make sure your PATH variable contains the directory where libnet-config is. (after installing libnet, it should be in /usr/lib)
Install nemesis:
Code:
$ ./configure
...
$ sudo make && make install


Now Nemesis is ready to use.





Centos command to disable SELINUX.


Top
admin
Post  Post subject: Re: CentOS Install Nemesis packet crafting tool + Libnet  |  Posted: Tue Dec 06, 2011 10:15 am
Site Admin

Joined: Mon Aug 03, 2009 8:43 am
Posts: 94

Offline
If libnet fails to install, is because of man_prefix. Libnet install error:
Code:
# make -k install
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  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
install:   no destination specified
make: *** [install] Error 1


To fix this, edit "Makefile" file and change line
Code:
MAN_PREFIX  =   

to
Code:
MAN_PREFIX  =   /usr/share/doc/

_________________
VPSie - SSD VPS servers in AMS-IX, LINX, DE-CIX
https://vpsie.com


Top
Display posts from previous:  Sort by  
E-mail friendPrint view

Topics related to - "CentOS Install Nemesis packet crafting tool + Libnet"
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. Centos command to disable SELINUX

mandrei99

0

342

Tue Jan 28, 2014 11:54 am

mandrei99 View the latest post

 

Who is online
Users browsing this forum: No registered users and 0 guests
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO