Nali contains a set of command-line programs whose main function is to attach the IP strings of some of the network Tools ' output to the location information (using the pure database). The following commands are currently included:
Nali
Nali-dig
Nali-nslookup
Nali-ping
Nali-tracepath
Nali-traceroute
When using these commands, follow the dig, ping ... The command must exist. They are used in the same way as the original command, that is, the use of Nali-dig is the same as the dig.
:
wget http://qqwry.googlecode.com/files/nali-0.1.tar.gz
above the Google address can not, found csdn above a share address
http://download.csdn.net/detail/xumubin001/4229802
Installation:
./configure--prefix=/usr && make && make install
after installation, there are several commands listed below in the/usr/bin directory.
use:
View Log access sources and make statistics, local area network to do the test.
[[email protected] httpd]# awk ' {counts[$1]++}end{for (IP in counts) {print Ip,counts[ip]}} ' Access_log | nali172.30.8.13[LAN] 5172.16.30.240[LAN 11[[email protected] ~]# nali-dig www.sina.com
polaris.sina.com.cn. in A202.108.33.60[Beijing,China Search company]
server:202.106.196.115[Beijing unicom DNS server]
If you think the input nali-xxx trouble, then you can do some alias, for example:
[[email protected] ~]# alias traceroute= ' Nali-traceroute ' [[email protected] ~]# alias dig= ' Nali-dig '
RPM Package has been done, uploaded to the Download Center display format is not right, interested can find me.
This article is from the "Bremen Band" blog, declined reprint!