[erlang-questions] Priviliged ports and effective UID

Dale Harvey <>
Thu Dec 18 23:08:06 CET 2008


Its not ideal for every situation but running nginx on 80 to reverse proxy
works pretty well, it means you can serve the static files with it and
forward the dynamic requests to yaws / mochiweb

2008/12/18 Michael Radford <>

> In Linux, it's also extremely easy to forward, say, port 80 to port 8080
> using iptables.  Then no setuid programs are needed at all.
>
> Mike
>
> Claes Wikstrom writes:
> > Decker, Nils wrote:
> > > Hello,
> > >
> > > I am using a small tool named authbind [1] in my project without any
> problems.
> > > It is a LD_PRELOAD wrapper and a setuid root binary. The right to open
> specific ports
> > > can be controlled in /etc/.
> >
> > Brilliant. There also an equivalent program call privbind that does
> > the same thing.
> >
> > This is precisely what is needed for, for example Yaws on Linux system
> > Perfect.
> >
> >
> > /klacke
> > _______________________________________________
> > erlang-questions mailing list
> > 
> > http://www.erlang.org/mailman/listinfo/erlang-questions
> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081218/6c068cf1/attachment.html>


More information about the erlang-questions mailing list