[Sunhelp] Can't get a program to bind on an external IP addre ss...

Kalusniak, Jeff jkalusniak at goliathfalls.com
Mon Oct 2 16:36:32 CDT 2000


You can use lsof (www.sunfreeware.com) to check what processes are 
bound to what ip's and ports!  Very useful tool.

-----Original Message-----
From: Rob Staab [mailto:rstaab at actbig.com]
Sent: Monday, October 02, 2000 4:21 PM
To: sunhelp at sunhelp.org
Subject: RE: [Sunhelp] Can't get a program to bind on an external IP
address...


Can I check that with truss somehow? Will it show the value returned to a
system call?
If not what available tools will?

- Rob

> -----Original Message-----
> From: sunhelp-admin at sunhelp.org [mailto:sunhelp-admin at sunhelp.org]On
> Behalf Of Nicholas Dronen
> Sent: Monday, October 02, 2000 4:45 PM
> To: sunhelp at sunhelp.org
> Subject: Re: [Sunhelp] Can't get a program to bind on an external IP
> address...
>
>
> On Mon, Oct 02, 2000 at 04:03:44PM -0400, Rob Staab wrote:
> >
> > I'm currently trying to get a simple web proxy to build on
> Solaris 8, Ultra
> > 5 hardware platofrm. I've specified the IP address of the
> single ethernet
> > card on the machine and the port 8000. This should allow ay
> user to connect
> > on this port and be forwarded out to the web site of their
> choice. However
> > when the daemon runs as any user except root, the proxy
> application is only
> > accessable from the local proxy machine. All other hosts on the network
> > cannot even connect to port 8000.
> >
> > When the daemon runs as root, other hosts on the network can connect as
> > expected. Is there something I'm missing. I was under the
> impression that
> > ports above 1024 could be bound to by ordinary users and that
> binding to a
> > port would allow outside hosts to connect at that IP Address/port
> > combination.
>
> Are you checking the return value of bind(3n)?
>
> Regards,
>
> Nick Dronen
> _______________________________________________
> 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/sunhelp





More information about the SunHELP mailing list