[erlang-questions] Priviliged ports and effective UID
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.
> Claes Wikstrom writes:
> > Decker, Nils wrote:
> > > Hello,
> > >
> > > I am using a small tool named authbind  in my project without any
> > > 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions