Subject: Re: port > 80 with publicfile httpd?
To: None <netbsd-users@netbsd.org>
From: Wouter Schoot <wouter@schoot.org>
List: netbsd-users
Date: 11/25/2004 13:32:27
Eric d'Alibut wrote:
> Ports 80 (and 21) are hard-coded into publicfile's "configure"
> program, where the strings passed to tcpserver are composed:
>
> outs(" tcpserver -vDRHl0 -b50 -c100 0 80 ");
>
> I coulda sworn that publicfile used to take the http and ftp ports as
> arguments to 'configure,' but Lord knows my memory is getting crappier
> by the day.
But given the fact that you use tcpserver (you do, right?), you can just
alter the tcpserver commandline.
I did that to make bitlbee run from tcpserver too:
/usr/pkg/bin/tcpserver -v -R -u 1021 -g 1004 0 7001 /usr/pkg/sbin/bitlbee
7001 being the port to listen on. It's kinda the same as making my qmail
run on 42 and 25 both (using firewall software).
Wouter