icmp Questions

2

I set up 3 CentOS servers, configured server2 as router between 192.168.1.0/24 and 30.0.0.0/24, but ping can't get through. I tried ping 192.168.1.62 from server1, according to tcpdump on se...
Brunei asked 30/8, 2013 at 15:42

2

Solved

The Ping command uses an ICMP request as far as I know So is it possible to send a short text with the ping command right from commandline?
Malina asked 6/8, 2015 at 13:42

1

I have an application that pings a bunch of servers. It runs great for days, but suddenly will have many failures of one of two types: WSA_QOS_ADMISSION_FAILURE (11010) "A QoS error occurred due t...
Winfield asked 29/4, 2014 at 20:32

1

Solved

I am new to socket programming I saw a ICMP request program , in that they used setsockopt to a socket int on = 1; setsockopt(s, IPPROTO_IP, IP_HDRINCL, &on, sizeof(on)) but even if I do ...
Gwenore asked 1/3, 2014 at 16:19

2

Solved

Is it possible to use ICMP sockets under the IP protocol? Maybe something like: socket(PF_INET, <type>, IPPROTO_ICMP)? What should I put in the <type> field? I saw some examples using S...
Overdone asked 27/11, 2011 at 23:46

2

Solved

Is it possible to use ICMP sockets under the IP protocol? Maybe something like: socket(PF_INET, <type>, IPPROTO_ICMP)? What should I put in the <type> field? I saw some examples using S...
Aspirate asked 27/11, 2011 at 23:46

2

I was going through a video lecture on networking and there the lecturer mentions ICMP as a transport layer protocol. However, Googling it shows various forums describing it as network layer protoc...
Volturno asked 7/10, 2013 at 6:48

3

Solved

What's the size of the ICMP packet payload when the type is 11, i.e. time exceeded? Since it contains an IP header and the first 8 Bytes of the IP packet payload generating the ICMP message, I tho...
Cyrilcyrill asked 3/8, 2012 at 15:1

3

Solved

I have an interesting situation on my hands, and I'm not quite sure how to go about troubleshooting it. I did a few searches for something similar to my situation, but nothing quite matches it. If ...
Feldt asked 20/2, 2012 at 20:53

1

Solved

I am trying to implement traceroute using icmp raw sockets by constructing the appropriate ip header and icmp header.The port number i am using is 7 and i have calculated the checksums.The hop limi...
Schoof asked 17/3, 2013 at 7:14

0

I'm using a single raw socket to read UDP packets from local test network with 1024 ports. Each UDP src and dest port is unique and I need access to IP and UDP header fields. I can stream and proce...
Gay asked 20/2, 2013 at 18:32

1

Solved

If IPv4 is in question and I want to extract IP and ICMP header out of std::istream, first I get the initial 20 bytes, then check if the header lenght provided in the IPv4 header is larger than 20 ...
Cutpurse asked 7/2, 2013 at 22:23

1

Goal: I need to be able to ping a network switch to determine whether or not it is available. This is meant to tell the user that either the network cabling is unplugged, the network switch is una...
Helico asked 28/3, 2012 at 18:36

2

Solved

Compiler: Code::Blocks(GNU GCC) Platform: Windows(x86) Includes: winsock.h winsock2.h (ws2_32 is linked as well) I am currently trying to write a program that will read a text file containing a...
Philadelphia asked 13/1, 2013 at 19:22

1

Solved

according to http://kernelnewbies.org/Linux_3.0#head-c5bcc118ee946645132a834a716ef0d7d05b282e we can now ping as an unprivileged user, and I can sort of get it to work. using https://github.com/je...
Hesperidium asked 24/12, 2012 at 7:43

2

Solved

Traceroute is an application to trace the path from A to B. (A is your location and B is the server you want to trace). In Windows, you can type tracert. The main algorithm is: send UDP with TTL =...
Demagogue asked 11/11, 2012 at 6:42

1

Solved

I'm using Scapy to replay some dumped packets in which I change the TTL value. I've been getting very odd results even with TTL=1. When I run my test hours apart from each other, I can get from r...
Imparity asked 5/6, 2012 at 14:5

1

Solved

According to the Stevens (TCP/IP Illustrated) the traceroute program sends UDP packets to the destination host with an incremental TTL (1, 2, 3, etc) to get the intermediate hops info from the ICMP...
Glyptic asked 25/4, 2012 at 8:53

3

Solved

I'm trying to create an ICMP ping test program in C but am having difficulties with successfully sending the packets. The sendto function returns the # of bytes and everything but no packets are ac...
Ingenuity asked 13/3, 2012 at 17:21

1

Solved

Can someone please explain why maximum legal size of ICMP echo packet is calculated as follows: 65535 - 20 - 8 = 65507 Thanks.
Biota asked 26/2, 2012 at 1:50

7

Solved

I have a SIP application that needs to send UDP packets to set up the SIP calls. SIP has a timeout mechanism to cope with delivery failures. An additional thing I would like to be able to do is det...
Ugo asked 9/3, 2009 at 14:51

1

Solved

as you may know one is unable to create RAW sockets using Windows Sockets without having administrative priviliges. The problem is, that I need to send ICMP messages, thus I need RAW sockets. The P...
Blemish asked 7/10, 2011 at 12:41

4

Solved

I need to perform ping to some ip/machine. The code may be executed on any kind of platform (windows, linux, mac) and i need to get the information about loss and the round trip time. so java's exe...
Phail asked 30/5, 2011 at 13:57

2

Solved

When I try to ping the broadcast address on my LAN, it shows ICMP replies from only 3 hosts, everytime, even though there many hosts connected to the LAN. For the broadcast address, I did $ifcon...
Cinereous asked 31/1, 2011 at 19:51

2

Solved

Before saying anything let me tell you that i am not well educated int networks related subjects. I am a software developer and I have written and exposed a Service on HTTPS at port 8000. Now i w...

© 2022 - 2024 — McMap. All rights reserved.