Cacti monitoring centos packet capture unreachable-Admin prohibited

Source: Internet
Author: User

 
09:10:41.023399IP192.168.1.80>192.168.2.182: ICMP Host192.168.1.80Unreachable-Admin prohibited, Length79

This always occurs when a packet is captured, and it is behind getrequest.

Enable iptables configuration:

The configuration statement found online at the beginning is,

 
-A input-p udp-m udp -- Sport161-J accept

Later I thought we needed to open TCP and add another one,

-A input-p tcp-M state -- state new-m tcp -- dport161-J accept-A input-p udp-m udp -- Sport161-J accept

Finally, we found that UDP is incorrect. Therefore,

 
-A input-p udp-M state -- state new-m udp -- dport161-J accept

Capture the packet and you will see that each getrequest is followed by getresponse.

By the way, write down the packet capture command

 
Tcpdump-nn-x'Host 192.168.2.182'-C10

 

Related Article

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.