🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.ip.developers
Article #421

Re: Why isn't me ping pinging?

#421
From: Richard Clayton
Date: Tue, 16 Sep 1997 00:00
41 lines
2446 bytes
In article <874397597snz@edlyn.demon.co.uk>, Eddie Shave
<Eddie@edlyn.demon.co.uk> writes

>I am writing some tcp/ip software from scratch.
>I am at the stage where I have negotiated an open ppp link and can succesfully
>send and receive lcp echo request/reply.
>I now need to test my initial ip code by sending and receiving ICMP echo
>messages. (sort of ping I suppose)
>My problem is there is no response to my ICMP echo message.
>Hard as I try I can find no errors in whats sent.

you could post the packet content here and we could comment. Better yet
would be to post what was on the wire, since its possible you've packed
it up wrong for the PPP (though if you've got the link up as far as LCP
that does seem unlikely)

>Because there is no response there are no clues as to why the packet is being
>discarded. I'm wondering if there is a service anywhere on the net that 
>returns an error message for packets that would normaly be silently discarded?

I'm not aware of one... and if you're making malformed packets you might
have some problem arranging for your packets to reach it :)

>Failing that does anyone reading this have the wherewithal and inclination
>to receive my packet and email me the reason for rejection?

Someone with link level logging could do this over a direct link... you
could consider using KA9Q for this on a second machine - it has a great
deal of logging which can be turned on quite easily without even needing
to recompile it.

However if you arrange to produce a trace at the deepest level, just
before you put the bytes on the wire, I (and doubtless others) would be
happy to look at the problem. I think it would raise the tone of the
newsgroup no end :)

-- 
richard                      richard.clayton    @    T U R N P I K E .com
                                                     tel: +44 1306 732300
"Assembly of Japanese bicycle require great peace of mind" quoted in ZAMM
Technical Details
Message-ID: <2nWSWIBi8kH0EAkE@turnpike.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <874397597snz@edlyn.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bb05,d37ffd66bff2fe9b
X-Google-Attributes: gid10bb05,public
From: Richard Clayton <richard@turnpike.com>
Subject: Re: Why isn't me ping pinging?
Date: 1997/09/16
Message-ID: <2nWSWIBi8kH0EAkE@turnpike.com>
X-Deja-AN: 273009344
References: <874397597snz@edlyn.demon.co.uk>
Distribution: world
X-NNTP-Posting-Host: pillar.turnpike.com [194.70.55.2]
Organization: Turnpike Ltd
Newsgroups: demon.ip.developers