Nali--linux Tools for displaying IP sources

Source: Internet
Author: User

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.