[SunHELP] ping a port
Adam Kropelin
sunhelp at sunhelp.org
Fri Sep 21 09:05:23 CDT 2001
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C142A6.749B8C80
Content-Type: text/plain;
charset="iso-8859-1"
AFAIK, there is no such thing as a port in ICMP. ICMP packets are
demultiplexed by IP based on the value of the protocol field in the IP
header. The network stack is what responds to a PING (really an ICMP echo
request packet), not any particular application.
--Adam
> -----Original Message-----
> From: Thomas Cameron [mailto:archimage at linux-magic.com]
> Sent: Friday, September 21, 2001 9:35 AM
> To: sunhelp at sunhelp.org
> Subject: Re: [SunHELP] ping a port
>
>
> I don't think ping can hit any port other than the standard
> ICMP port that it queries.
>
> Thomas
> ----- Original Message -----
> From: "David Baldwin" <dbaldwin at networkinsight.com>
> To: <sunhelp at sunhelp.org>
> Sent: Thursday, September 20, 2001 12:55 PM
> Subject: [SunHELP] ping a port
>
>
> > Hi all,
> > I am trying to find out how I can ping an ip through a
> certain port on
> > a firewall. As a test I tried to telnet to the port on the system
> > with "telnet x.x.x.x port#" and it failed. But if I try
> "ping x.x.x.x
> > port#" it goes through. ICMP is allowed on its default
> port but how
> > can I change the port it tries?
> >
> > This is for standard "service alive?" checking.
> >
> > Thanks for any suggestions.
> >
> > Dave Baldwin
> > _______________________________________________
> > SunHELP maillist - SunHELP at sunhelp.org
> > http://www.sunhelp.org/mailman/listinfo/sunhelp
> >
>
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhel> p
>
------_=_NextPart_001_01C142A6.749B8C80
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2654.45">
<TITLE>RE: [SunHELP] ping a port</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>AFAIK, there is no such thing as a port in ICMP. ICMP =
packets are demultiplexed by IP based on the value of the protocol =
field in the IP header. The network stack is what responds to a PING =
(really an ICMP echo request packet), not any particular =
application.</FONT></P>
<P><FONT SIZE=3D2>--Adam</FONT>
</P>
<P><FONT SIZE=3D2>> -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>> From: Thomas Cameron [<A =
HREF=3D"mailto:archimage at linux-magic.com">mailto:archimage at linux-magic.c=
om</A>] </FONT>
<BR><FONT SIZE=3D2>> Sent: Friday, September 21, 2001 9:35 AM</FONT>
<BR><FONT SIZE=3D2>> To: sunhelp at sunhelp.org</FONT>
<BR><FONT SIZE=3D2>> Subject: Re: [SunHELP] ping a port</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> I don't think ping can hit any port other than =
the standard </FONT>
<BR><FONT SIZE=3D2>> ICMP port that it queries.</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> Thomas</FONT>
<BR><FONT SIZE=3D2>> ----- Original Message -----</FONT>
<BR><FONT SIZE=3D2>> From: "David Baldwin" =
<dbaldwin at networkinsight.com></FONT>
<BR><FONT SIZE=3D2>> To: <sunhelp at sunhelp.org></FONT>
<BR><FONT SIZE=3D2>> Sent: Thursday, September 20, 2001 12:55 =
PM</FONT>
<BR><FONT SIZE=3D2>> Subject: [SunHELP] ping a port</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> > Hi all,</FONT>
<BR><FONT SIZE=3D2>> > I am trying to find out how I can ping an =
ip through a </FONT>
<BR><FONT SIZE=3D2>> certain port on </FONT>
<BR><FONT SIZE=3D2>> > a firewall. As a test I tried to =
telnet to the port on the system </FONT>
<BR><FONT SIZE=3D2>> > with "telnet x.x.x.x port#" and =
it failed. But if I try </FONT>
<BR><FONT SIZE=3D2>> "ping x.x.x.x </FONT>
<BR><FONT SIZE=3D2>> > port#" it goes through. ICMP is =
allowed on its default </FONT>
<BR><FONT SIZE=3D2>> port but how </FONT>
<BR><FONT SIZE=3D2>> > can I change the port it tries?</FONT>
<BR><FONT SIZE=3D2>> ></FONT>
<BR><FONT SIZE=3D2>> > This is for standard "service =
alive?" checking.</FONT>
<BR><FONT SIZE=3D2>> ></FONT>
<BR><FONT SIZE=3D2>> > Thanks for any suggestions.</FONT>
<BR><FONT SIZE=3D2>> ></FONT>
<BR><FONT SIZE=3D2>> > Dave Baldwin</FONT>
<BR><FONT SIZE=3D2>> > =
_______________________________________________</FONT>
<BR><FONT SIZE=3D2>> > SunHELP maillist - =
SunHELP at sunhelp.org </FONT>
<BR><FONT SIZE=3D2>> > <A =
HREF=3D"http://www.sunhelp.org/mailman/listinfo/sunhelp" =
TARGET=3D"_blank">http://www.sunhelp.org/mailman/listinfo/sunhelp</A></F=
ONT>
<BR><FONT SIZE=3D2>> ></FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> =
_______________________________________________</FONT>
<BR><FONT SIZE=3D2>> SunHELP maillist - =
SunHELP at sunhelp.org </FONT>
<BR><FONT SIZE=3D2>> <A =
HREF=3D"http://www.sunhelp.org/mailman/listinfo/sunhel" =
TARGET=3D"_blank">http://www.sunhelp.org/mailman/listinfo/sunhel</A>>=
p</FONT>
<BR><FONT SIZE=3D2>> </FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C142A6.749B8C80--
More information about the SunHELP
mailing list