modify kernel to accept listen <1023 not uid=0 ?

rmkml rmkml at wanadoo.fr
Sat Jul 31 00:27:54 PDT 2004


Hi,

Historicaly,

BSD not accept listen <1023

only uid=0 !

Possible accept change this ?

A) example Modify /sys/netinet/in.h
 IPPORT_RESERVED 80
 IPPORT_RESERVEDSTART 78

B) sysctl -w net.inet.ip.portrange.first=1024

(NOT TESTED ON DragonFly !,

but very good on FreeBSD v4.7-10)

Im not tested on more low port.

(only 80/http is important for me)

Regards

Rmkml at xxxxxxxxxx







More information about the Kernel mailing list