[SunHELP] ping a port
David Baldwin
sunhelp at sunhelp.org
Fri Sep 21 09:18:37 CDT 2001
This is a multi-part message in MIME format.
------_=_NextPart_001_01C142A8.4DD39D80
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
That works for me.
Thanks for your help.
Dave
=20
-----Original Message-----
From: Adam Kropelin [mailto:Adam.Kropelin at netlinkaccess.com]=20
Sent: Friday, September 21, 2001 7:09 AM
To: 'sunhelp at sunhelp.org'
Subject: RE: [SunHELP] ping a port
=20
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=20
> -----Original Message-----=20
> From: David Baldwin [mailto:dbaldwin at networkinsight.com]=20
> Sent: Friday, September 21, 2001 10:00 AM=20
> To: sunhelp at sunhelp.org=20
> Subject: RE: [SunHELP] ping a port=20
>=20
>=20
> What I need to be able to do is check if a service's port is=20
> responding such as 80 or 443. And, I need to be able to do=20
> it through a firewall. I have seen that ping is not the tool=20
> for that and port scanners might do the trick. My next=20
> question is this, if I run a port scan is it going to let me=20
> know if the firewall is open or can it tell me if a port on=20
> the server on the other side is open and responding as well? =20
> Also, does Solaris come with any such tool? I have heard of=20
> tools like nmap and netcat and they are available from sunfreeware.=20
>=20
> Thanks, once again, for any suggestions.=20
> Dave Baldwin=20
>=20
> -----Original Message-----=20
> From: Thomas Cameron [mailto:archimage at linux-magic.com]=20
> Sent: Friday, September 21, 2001 6:35 AM=20
> To: sunhelp at sunhelp.org=20
> Subject: Re: [SunHELP] ping a port=20
>=20
> I don't think ping can hit any port other than the standard=20
> ICMP port that it queries.=20
>=20
> Thomas=20
> ----- Original Message -----=20
> From: "David Baldwin" <dbaldwin at networkinsight.com>=20
> To: <sunhelp at sunhelp.org>=20
> Sent: Thursday, September 20, 2001 12:55 PM=20
> Subject: [SunHELP] ping a port=20
>=20
>=20
> > Hi all,=20
> > I am trying to find out how I can ping an ip through a=20
> certain port on=20
> a=20
> > firewall. As a test I tried to telnet to the port on the=20
> system with=20
> > "telnet x.x.x.x port#" and it failed. But if I try "ping x.x.x.x=20
> port#"=20
> > it goes through. ICMP is allowed on its default port but how can I=20
> > change the port it tries?=20
> >=20
> > This is for standard "service alive?" checking.=20
> >=20
> > Thanks for any suggestions.=20
> >=20
> > Dave Baldwin=20
> > _______________________________________________=20
> > SunHELP maillist - SunHELP at sunhelp.org=20
> > http://www.sunhelp.org/mailman/listinfo/sunhelp=20
> >=20
>=20
> _______________________________________________=20
> SunHELP maillist - SunHELP at sunhelp.org=20
> http://www.sunhelp.org/mailman/listinfo/sunhel> p=20
>=20
> _______________________________________________=20
> SunHELP=20
> maillist - SunHELP at sunhelp.org=20
> http://www.sunhelp.org/mailman/listinfo/sunhel> p=20
>=20
------_=_NextPart_001_01C142A8.4DD39D80
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link rel=3DFile-List href=3D"cid:filelist.xml at 01C1426D.A159A600">
<title>RE: [SunHELP] ping a port</title>
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:Compatibility>
<w:UseFELayout/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:\5B8B\4F53;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:553679495 -2147483648 8 0 66047 0;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;
text-underline:single;}
p
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;}
span.EmailStyle18
{mso-style-type:personal-reply;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */=20
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]-->
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dblue style=3D'tab-interval:.5in'>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>That works for =
me.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Thanks for your =
help.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Dave<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> Adam Kropelin
[mailto:Adam.Kropelin at netlinkaccess.com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Friday, September =
21, 2001
7:09 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
'sunhelp at sunhelp.org'<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: [SunHELP] =
ping a port</span></font></p>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'><o:p> </o:p></span></font></p>
<p style=3D'margin-left:.5in'><font size=3D2 face=3D"Times New =
Roman"><span
style=3D'font-size:10.0pt'>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.</span></font><o:p></o:p></p>
<p style=3D'margin-left:.5in'><font size=3D2 face=3D"Times New =
Roman"><span
style=3D'font-size:10.0pt'>--Adam</span></font> <o:p></o:p></p>
<p style=3D'margin-left:.5in'><font size=3D2 face=3D"Times New =
Roman"><span
style=3D'font-size:10.0pt'>> -----Original Message-----</span></font> =
<br>
<font size=3D2><span style=3D'font-size:10.0pt'>> From: David Baldwin =
[<a
href=3D"mailto:dbaldwin at networkinsight.com">mailto:dbaldwin at networkinsigh=
t.com</a>]
</span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> Sent: Friday, =
September 21,
2001 10:00 AM</span></font> <br>
<font size=3D2><span style=3D'font-size:10.0pt'>> To: =
sunhelp at sunhelp.org</span></font>
<br>
<font size=3D2><span style=3D'font-size:10.0pt'>> Subject: RE: =
[SunHELP] ping a
port</span></font> <br>
<font size=3D2><span style=3D'font-size:10.0pt'>> </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> What I need to be =
able to do
is check if a service's port is </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> responding such as =
80 or
443. And, I need to be able to do </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> it through a =
firewall. I have
seen that ping is not the tool </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> for that and port =
scanners
might do the trick. My next </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> question is this, =
if I run a
port scan is it going to let me </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> know if the =
firewall is open
or can it tell me if a port on </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> the server on the =
other side
is open and responding as well? </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> Also, does Solaris =
come with
any such tool? I have heard of </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> tools like nmap and =
netcat and
they are available from sunfreeware.</span></font> <br>
<font size=3D2><span style=3D'font-size:10.0pt'>> </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> Thanks, once again, =
for any
suggestions.</span></font> <br>
<font size=3D2><span style=3D'font-size:10.0pt'>> Dave =
Baldwin</span></font> <br>
<font size=3D2><span style=3D'font-size:10.0pt'>> </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> -----Original =
Message-----</span></font>
<br>
<font size=3D2><span style=3D'font-size:10.0pt'>> From: Thomas =
Cameron [<a
href=3D"mailto:archimage at linux-magic.com">mailto:archimage at linux-magic.co=
m</a>] </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> Sent: Friday, =
September 21,
2001 6:35 AM</span></font> <br>
<font size=3D2><span style=3D'font-size:10.0pt'>> To: =
sunhelp at sunhelp.org</span></font>
<br>
<font size=3D2><span style=3D'font-size:10.0pt'>> Subject: Re: =
[SunHELP] ping a
port</span></font> <br>
<font size=3D2><span style=3D'font-size:10.0pt'>> </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> I don't think ping =
can hit any
port other than the standard </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> ICMP port that it =
queries.</span></font>
<br>
<font size=3D2><span style=3D'font-size:10.0pt'>> </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> =
Thomas</span></font> <br>
<font size=3D2><span style=3D'font-size:10.0pt'>> ----- Original =
Message -----</span></font>
<br>
<font size=3D2><span style=3D'font-size:10.0pt'>> From: "David
Baldwin" <dbaldwin at networkinsight.com></span></font> <br>
<font size=3D2><span style=3D'font-size:10.0pt'>> To:
<sunhelp at sunhelp.org></span></font> <br>
<font size=3D2><span style=3D'font-size:10.0pt'>> Sent: Thursday, =
September 20,
2001 12:55 PM</span></font> <br>
<font size=3D2><span style=3D'font-size:10.0pt'>> Subject: [SunHELP] =
ping a port</span></font>
<br>
<font size=3D2><span style=3D'font-size:10.0pt'>> </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> > Hi =
all,</span></font> <br>
<font size=3D2><span style=3D'font-size:10.0pt'>> > I am trying to =
find out
how I can ping an ip through a </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> certain port =
on</span></font> <br>
<font size=3D2><span style=3D'font-size:10.0pt'>> a</span></font> =
<br>
<font size=3D2><span style=3D'font-size:10.0pt'>> > =
firewall. As a test
I tried to telnet to the port on the </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> system with =
</span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> > "telnet =
x.x.x.x
port#" and it failed. But if I try "ping =
x.x.x.x</span></font> <br>
<font size=3D2><span style=3D'font-size:10.0pt'>> =
port#"</span></font> <br>
<font size=3D2><span style=3D'font-size:10.0pt'>> > it goes =
through.
ICMP is allowed on its default port but how can I </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> > change the =
port it tries?</span></font>
<br>
<font size=3D2><span style=3D'font-size:10.0pt'>> ></span></font> =
<br>
<font size=3D2><span style=3D'font-size:10.0pt'>> > This is for =
standard
"service alive?" checking.</span></font> <br>
<font size=3D2><span style=3D'font-size:10.0pt'>> ></span></font> =
<br>
<font size=3D2><span style=3D'font-size:10.0pt'>> > Thanks for any
suggestions.</span></font> <br>
<font size=3D2><span style=3D'font-size:10.0pt'>> ></span></font> =
<br>
<font size=3D2><span style=3D'font-size:10.0pt'>> > Dave =
Baldwin</span></font>
<br>
<font size=3D2><span style=3D'font-size:10.0pt'>> >
_______________________________________________</span></font> <br>
<font size=3D2><span style=3D'font-size:10.0pt'>> > SunHELP =
maillist
- SunHELP at sunhelp.org </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> > <a
href=3D"http://www.sunhelp.org/mailman/listinfo/sunhelp" =
target=3D"_blank">http://www.sunhelp.org/mailman/listinfo/sunhelp</a></sp=
an></font>
<br>
<font size=3D2><span style=3D'font-size:10.0pt'>> ></span></font> =
<br>
<font size=3D2><span style=3D'font-size:10.0pt'>> </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>>
_______________________________________________</span></font> <br>
<font size=3D2><span style=3D'font-size:10.0pt'>> SunHELP =
maillist -
SunHELP at sunhelp.org </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> <a
href=3D"http://www.sunhelp.org/mailman/listinfo/sunhel" =
target=3D"_blank">http://www.sunhelp.org/mailman/listinfo/sunhel</a>>
p</span></font> <br>
<font size=3D2><span style=3D'font-size:10.0pt'>> </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>>
_______________________________________________</span></font> <br>
<font size=3D2><span style=3D'font-size:10.0pt'>> SunHELP =
</span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> maillist =
-
SunHELP at sunhelp.org </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>> <a
href=3D"http://www.sunhelp.org/mailman/listinfo/sunhel" =
target=3D"_blank">http://www.sunhelp.org/mailman/listinfo/sunhel</a>>
p</span></font> <br>
<font size=3D2><span style=3D'font-size:10.0pt'>> =
</span></font><o:p></o:p></p>
</div>
</body>
</html>
=00
------_=_NextPart_001_01C142A8.4DD39D80--
More information about the SunHELP
mailing list