[SunHELP] ping a port
Adam Kropelin
sunhelp at sunhelp.org
Fri Sep 21 09:09:06 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.F9B94EC0
Content-Type: text/plain;
charset="iso-8859-1"
As long as the service you want to check handles TCP connections, TELNET
should be all you need. I regularly TELNET to my web and mail ports when I
need to check that they are alive. Pick your favorite web site, telnet to
port 80 and type something like "GET stuff.html" and you'll get a nice 404
HTML page back. Obviously if the firewall blocks access to that port, you're
not going to get through, but neither will anyone else including actual
client programs.
--Adam
> -----Original Message-----
> From: David Baldwin [mailto:dbaldwin at networkinsight.com]
> Sent: Friday, September 21, 2001 10:00 AM
> To: sunhelp at sunhelp.org
> Subject: RE: [SunHELP] ping a port
>
>
> What I need to be able to do is check if a service's port is
> responding such as 80 or 443. And, I need to be able to do
> it through a firewall. I have seen that ping is not the tool
> for that and port scanners might do the trick. My next
> question is this, if I run a port scan is it going to let me
> know if the firewall is open or can it tell me if a port on
> the server on the other side is open and responding as well?
> Also, does Solaris come with any such tool? I have heard of
> tools like nmap and netcat and they are available from sunfreeware.
>
> Thanks, once again, for any suggestions.
> Dave Baldwin
>
> -----Original Message-----
> From: Thomas Cameron [mailto:archimage at linux-magic.com]
> Sent: Friday, September 21, 2001 6: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
>
> _______________________________________________
> SunHELP
> maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhel> p
>
------_=_NextPart_001_01C142A6.F9B94EC0
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>As long as the service you want to check handles TCP =
connections, TELNET should be all you need. I regularly TELNET to my =
web and mail ports when I need to check that they are alive. Pick your =
favorite web site, telnet to port 80 and type something like "GET =
stuff.html" and you'll get a nice 404 HTML page back. Obviously if =
the firewall blocks access to that port, you're not going to get =
through, but neither will anyone else including actual client =
programs.</FONT></P>
<P><FONT SIZE=3D2>--Adam</FONT>
</P>
<P><FONT SIZE=3D2>> -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>> From: David Baldwin [<A =
HREF=3D"mailto:dbaldwin at networkinsight.com">mailto:dbaldwin at networkinsig=
ht.com</A>] </FONT>
<BR><FONT SIZE=3D2>> Sent: Friday, September 21, 2001 10:00 =
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>> What I need to be able to do is check if a =
service's port is </FONT>
<BR><FONT SIZE=3D2>> responding such as 80 or 443. And, I need =
to be able to do </FONT>
<BR><FONT SIZE=3D2>> it through a firewall. I have seen that ping is =
not the tool </FONT>
<BR><FONT SIZE=3D2>> for that and port scanners might do the =
trick. My next </FONT>
<BR><FONT SIZE=3D2>> question is this, if I run a port scan is it =
going to let me </FONT>
<BR><FONT SIZE=3D2>> know if the firewall is open or can it tell me =
if a port on </FONT>
<BR><FONT SIZE=3D2>> the server on the other side is open and =
responding as well? </FONT>
<BR><FONT SIZE=3D2>> Also, does Solaris come with any such =
tool? I have heard of </FONT>
<BR><FONT SIZE=3D2>> tools like nmap and netcat and they are =
available from sunfreeware.</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> Thanks, once again, for any suggestions.</FONT>
<BR><FONT SIZE=3D2>> Dave Baldwin</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><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 6: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>> 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</FONT>
<BR><FONT SIZE=3D2>> > firewall. As a test I tried to =
telnet to the port on the </FONT>
<BR><FONT SIZE=3D2>> system with </FONT>
<BR><FONT SIZE=3D2>> > "telnet x.x.x.x port#" and it =
failed. But if I try "ping x.x.x.x</FONT>
<BR><FONT SIZE=3D2>> port#"</FONT>
<BR><FONT SIZE=3D2>> > it goes through. ICMP is allowed on =
its default port but how can I </FONT>
<BR><FONT SIZE=3D2>> > 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>
<BR><FONT SIZE=3D2>> =
_______________________________________________</FONT>
<BR><FONT SIZE=3D2>> SunHELP </FONT>
<BR><FONT SIZE=3D2>> 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.F9B94EC0--
More information about the SunHELP
mailing list