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

Nicholas Dronen ndronen at frii.com
Mon Oct 2 16:59:27 CDT 2000


Yes,

Something like

# truss -tbind program

should work.

Regards,

Nick Dronen

On Mon, Oct 02, 2000 at 05:21:27PM -0400, Rob Staab wrote:
> 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