tutorial - Howto Detect IP conflicts in Linux - IPwatchD

IPwatchD is simple daemon that uses libpcap to detect IP conflict on Linux. It can be configured to listen on one or more interfaces (alias interfaces are also supported) in active or passive mode. In active mode IPwatchD protects your host before IP takeover by answering Gratuitous ARP requests received from conflicting system. In passive mode it just records information about conflict through standard syslog interface.



To build IPwatchD from source code you will need gcc, libpcap and libnet1 installed in your system. For desktop notification support you will also need libnotify. On Ubuntu it should be sufficient to install following packages with all dependencies: # apt-get install build-essential libpcap-dev libnet1-dev libnotify-dev

Download IPwatchD 1.1.1 source from sourceforge project page.
Extract the code:
$ bunzip2 ipwatchd-1.1.1.tar.bz2
$ tar -xf ipwatchd-1.1.1.tar
$ cd ipwatchd-1.1.1/src
Build IPwatchD with the desktop notification support..
$ make ..or as a pure daemon: $ make daemon

Install IPwatchD as root with command: # make install
IPwatchD executable is installed into /usr/local/sbin and the configuration file is copied into /usr/local/etc.
Edit configuration file /usr/local/etc/ipwatchd.conf with your favourite editor to suite your needs.

Run IPwatchD as root with command:
# /usr/local/sbin/ipwatchd -c /usr/local/etc/ipwatchd.conf

Killall utility can be used to gracefully stop IPwatchD:
# killall ipwatchd


Free, facebook, tips, Links, blogging, Downloads, Google, facebookTips, money, news, apps, Social, Media, Website, Tricks, games, Android, software, PIctures, Internet, Security, Web, codes, Review, bloggers, SAMSUNG, Worldwide, Contest, Exitic, Phones, facebookTricks, hacking, London, Olympics, SEO, Youtube, iOS, Adsense, gadgets, iPHONE, widgets, Doodle, twitter, video, Deals, technology, Aircel, Airtel, iPAD, Angry, Birds, BSNL, TechLife, GMAIL, Idea, Microsoft, SmartPhones, Stress, Buster, Windows, Yahoo, Infolinks, Nokia, Scam, Uninor, browsers, Amazon, Euro, CUP, Chat, IDM, JOBS, Modem, Music, Reliance, Results, SSC, Tata, Docomo, bing, freebie, mobile, placements, AIEEE, AlertPay, Chrome, College, Competetive, Exam, Dehradun, Extension, FireFox, GPRS, HTC, IMPACT, Info, MTS, Mark, Zukerberg, Paypal, Promotional, Post, Torrent, UTU, Unlocking, VodaFone, Wall, Paper, apple, books, engineering, iCAR, iTunes, pinterest, rovio, AVG, Admit, Card, Adobe, Affiliate, Marketing, Akhilesh, Amul, Girl, BlackBerry, ChromeBook, Clixsense, Coupon, Digitallife, Discovery, Emoticons, Festival, GATE, GIMP, Income, Tax, International, JSS, JailBreaking, Kindle, Linux, Local, MAX, PAYNE, Mac, Mango, Memory, Speed, Nexus, Online, Shopping, Raakhi, Report, Rising, Stars, Sample, Science, Sony, Syllabus, TabletBooK, Teamviewer, Templates, Dark, Knight, Rises, USA, UPMT, Virgin, Xperia, ZTE, challan, counselling, course, btech, funny, iMOVE, registration

source:http://linuxpoison.blogspot.com/2009/10/135781757116445.html