|
ECS Home Automation and Security Archives |
learn more
| view messages for this
month | NetBloc® | terms of use | search
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects
Subject: From: Date: | Re: [ecs] bind err Mark Gilmore Sat, 01 Nov 2003 05:12:03 -0800 |
Sat, 01 Nov 2003 05:12:03 -0800
Sorry - I'm trying to bind to listen address 127.0.0.1:80 (or 89).
Is no one else getting this error running ECS/Linux (as a normal user) ?
I had not seen it until now, as I have been logging is as root
(until I get *other* problems addressed).
At 09:21 PM 10/31/2003 -0800, you wrote:
>Hi Mark,
>
>I'm not sure what you mean by a "bind error". Are you talking about BIND
>as in DNS server, or about binding to a port address to listen on it? If
>it is the latter, which port number are you trying to bind to? Do be
>aware that in Unix, only root can bind to ports below 1024. This is for
>security reasons; it is one of the reasons Linux is inherently more
>secure than Windows.
>
>There is a solution to this, but it only works for daemons, not for
>regular applications: servers such as Apache, Sendmail, etc. start up as
>root (like anything else that is launched during startup), bind to the
>port they need (for instance, 25 for Sendmail, 80 and 443 for Apache),
>and then, once the port is open, they change user ID so that even if
>somebody hacks into the server, the hacker won't have root access. The
>system function to accomplish this are setuid.
>
>On Fri, 2003-10-31 at 12:48, Mark Gilmore wrote:
> > Might anyone know how to get around a bind error on 127.0.0.1 ("permission
> > denied").
> > It works fine as a superuser, so I know it's a privilege problem.
> > Thanks,
> >
> > Mark Gilmore
> > http://OmnipotenceSoftware.com
> >
> > ______________________________________________________________________
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.528 / Virus Database: 324 - Release Date: 10/16/2003
>
>
>
>---
>Incoming mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.528 / Virus Database: 324 - Release Date: 10/16/2003
Mark Gilmore
http://OmnipotenceSoftware.com
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 10/16/2003
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects