10-09-2008
jim
thanks for your kind reply
OS-->linux
and I want to supress only ICMP message 13 and 14 , other message type should not be affected.
1) Mean while browsing in net i found the below line should be added in IP table
iptables -A OUTPUT -p icmp --icmp-type 13 -j DROP
is the above mentioned correct or , do i need to do something
2) How do i test my PC drops ICMP message type 13 from remote machine?
thanks
waiting for your feedback
Vasanth
10 More Discussions You Might Find Interesting
1. IP Networking
how i can send the big icmp packets to the another ip for loose connection ....or how he can loose (1 Reply)
Discussion started by: seccom
1 Replies
2. Linux
Hi There,
I am looking to disable ICMP timestamp requests and ICMP timestamp replies on my Linux server version 8. Can someone please tell me the simplest way to do this? I know a command to disable all ICMP traffic but this I have been told will cause many network problems which I... (2 Replies)
Discussion started by: gerwhelan
2 Replies
3. UNIX for Advanced & Expert Users
Hello! I'm in extra urgent need to have a program that sends a series of ICMP echo requests over the network to a specified host and waits until the last echo reply is received.
I know little about socket-programming (in particular I've never dealt with icmp sockets) that's why i'm desperate!! :)... (5 Replies)
Discussion started by: ilmora
5 Replies
4. Shell Programming and Scripting
Dear,
I want to perform a plotting using xgraph, and the plotting data (ping.txt) is as below. For the graph I just want to plot the time for x-axis (line count) and the RTT for y-axis (time in ms). Below are script i write for that purpose but it seen did not work. Any guide for me because i... (1 Reply)
Discussion started by: Paris Heng
1 Replies
5. Solaris
Hi all,
I cannot reach my SERVER from my NetBackup server connect through SERVER_prv ("cannot connect to client")
My SERVER was Sun OS 5.8, below is the message i get when i ping my SERVER:
# ping 192.168.X.X or
# ping SERVER_prv
ICMP Net Unreachable from gateway 172.16.102.XXX
for... (3 Replies)
Discussion started by: beginningDBA
3 Replies
6. UNIX for Dummies Questions & Answers
I'm not a unix expert so I need to ask what maybe a simple question to some. Is there a log file which records any icmp packets hitting the server? I ask, because I need to verify what the ip is from a server pinging mine. (3 Replies)
Discussion started by: numele
3 Replies
7. Shell Programming and Scripting
Hi
I am using perl to ping a list of nodes - with script below :
$p = Net::Ping->new("icmp");
if ($p->ping($host,1)){
print "$host is alive.\n";
}
else {
print "$host is unreacheable.\n";
}
$p->close();... (4 Replies)
Discussion started by: tavanagh
4 Replies
8. Shell Programming and Scripting
Hi,
I am using following command:
tcpdump -i eth1 icmp =8 >output.txt
i want this command to get execute for a minute only. How can we do this?
Thanks.
Please use code tags next time for your code and data. Thanks (2 Replies)
Discussion started by: Satyajeet@uh
2 Replies
9. IP Networking
I have an application where I need to configure a router to pass through ping requests (ICMP type http://www.dd-wrt.com/phpBB2/images/smiles/icon_cool.gif through to the LAN port. I have a Linksys WRT54GS with tiny DD-WRT V24 SP2 installed. I am adding the following iptables rules:
iptables -t... (0 Replies)
Discussion started by: dschlic1
0 Replies
10. IP Networking
Hi, I am relatively new to firewalls and netfilter. I have a Debian Stretch router box running dnsmasq, connected to a VPN. Occasionally dnsmasq polls all of the desired DNS servers to select the fastest. When it does this it responds to replies of the non-selected DNS servers with a icmp type... (0 Replies)
Discussion started by: CrazyDave
0 Replies
LEARN ABOUT DEBIAN
icmpinfo
ICMPINFO(8) System Manager's Manual ICMPINFO(8)
NAME
icmpinfo - interpret ICMP messages
SYNOPSIS
icmpinfo [-v[v[v]]] [-n] [-p] [-s] [-l] [-k]
DESCRIPTION
Icmpinfo is a tool for looking at the ICMP messages received on the running host. It can be used to detect and record 'bombs' as well as
various network problems.
The output format is as follows (all on one line):
MMM DD HH:MM:SS ICMP_type[sub-type]
< sender_ip [sender_name] > unreach_ip [unreach_name]
sp=source_port dp=dest_port seq=sequence sz=packet_size
In normal operation, icmpinfo will only report on "weird" packets, mainly icmp_unreachable.
OPTIONS
-v Give information about all icmp packets, excepts pings.
-vv Give about pings too (i.e. icmp_echo_reply).
-vvv Include an ascii/hex dump of each packet
-n Avoid name queries - just give IP addresses. (use this option when running unattended on name server hosts (to avoid possible loop-
ing))
-p Avoid port number to service name decoding.
-s Show the interface ip that received the packet. Useful only if your host has several network interfaces. In this case an '- my_ip
[my_name]' is added between the sender and unreach ip and name fields.
-l Forks and use the syslog(3) facility to record events (recommended use). (root only option).
-k Kills the background process started with the -l option.
WARNINGS
The packet decoding is planned for ICMP Unreachable outputs and might not be significant for all other Icmp types. Output can be shorter
when implied by the packet size or the icmp type.
AUTHOR
Laurent Demailly <dl@hplyot.obspm.fr>. Free software.
dl's free utilities V1.11 - 28 August 1995 ICMPINFO(8)