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)
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)
Hello everyone,
I am just looking for ideas on how I can implement a demo version of my program which will be available in unix environment (solaris and linux).
So what I have in mind is to either implement a limited-time version (trial version expires after 30 days) or a limited-number... (4 Replies)
Hi All,
How to disable ICMP time stamp request and time stamp reply of a machine?
How to test this feature from remote machine?
Please reply back
Vasanth (2 Replies)
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)
Hello,
I am running GNU bash, version 3.2.39(1)-release (x86_64-pc-linux-gnu). I have a specific question pertaining to waiting on jobs run in sub-shells, based on the max number of parallel processes I want to allow, and then wait... (1 Reply)
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
LEARN ABOUT ULTRIX
icmp
icmp(4p)icmp(4p)Name
icmp - Internet Control Message Protocol
Syntax
#include <sys/socket.h>
#include <netinet/in.h>
s = socket(AF_INET, SOCK_RAW, proto);
Description
The ICMP is the error and control message protocol used by the Internet Protocol (IP) transport layer and the Internet protocol family. It
can be accessed through a ``raw socket'' for network monitoring and diagnostic functions. The proto argument to the socket call to create
an ICMP socket is obtained from the routine. ICMP sockets are connectionless, and are normally used with the and system calls. The call
can also be used to fix the destination for future packets (in which case the or and or system calls can then be used).
Outgoing packets automatically have an IP header prepended to them (based on the destination address). Incoming packets are received with
the IP header and options intact.
Diagnostics
On failure, a socket operation returns any of the following errors:
[EISCONN] Tried to establish a connection on a socket that already has one, or tried to send a datagram with the destination address
specified and the socket was already connected.
[ENOTCONN] Tried to send a datagram, but no destination address was specified, and the socket has not connected.
[ENOBUFS] The system ran out of memory for an internal data structure.
[EADDRNOTAVAIL]
An attempt was made to create a socket with a network address for which no network interface exists.
See Alsoinet(4f), intro(4n), ip(4p)icmp(4p)