From owner-freebsd-questions Sun Apr 29 4:27:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp013.mail.yahoo.com (smtp013.mail.yahoo.com [216.136.173.57]) by hub.freebsd.org (Postfix) with SMTP id 026FC37B423 for ; Sun, 29 Apr 2001 04:27:52 -0700 (PDT) (envelope-from educatee2001@yahoo.com) Received: from co3018900-a.belrs1.nsw.optushome.com.au (HELO co3018900a) (203.164.78.30) by smtp.mail.vip.sc5.yahoo.com with SMTP; 29 Apr 2001 11:27:52 -0000 X-Apparently-From: Message-ID: <00c101c0d09f$a462f4e0$0100c8c8@co3018900a> From: "Educatee" To: "Lowell Gilbert" , "FreeBSD questions" References: <001501c0cf8d$3af46f10$0100c8c8@co3018900a> <44k844zou3.fsf@lowellg.ne.mediaone.net> Subject: Re: [freebsd-questions] HTTP-GW problem. "cannot get our port"?? pls assist. Date: Sun, 29 Apr 2001 21:29:21 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Gilbert, Thanks. after reading the man pages for a few more times, this is what I did.. /etc/inetd.conf --------------- http-gw stream tcp nowait root /usr/local/libexec/http-gw http-gw -daemon 3210 /usr/local/etc/netperm-table --------------------------- http-gw: deny-hosts unknown http-gw: hosts 192.168.0.* /etc/services ------------ http 80/tcp www www-http http 80/udp www www-http When I run inetd I have got an error of: inetd[442]:http-gw /tcp:unknown service When I type http-gw -daemon 3210, it can run, but my browser on the same machine can't get to the internet... Any idea? is there a place where I could get a documentation on how to setup this http-gw? Thanks again for your assitance. ----- Original Message ----- From: "Lowell Gilbert" To: "Educatee" Sent: Sunday, April 29, 2001 7:39 AM Subject: Re: [freebsd-questions] HTTP-GW problem. "cannot get our port"?? pls assist. > educatee2001@yahoo.com (Educatee) writes: > > > I was trying to run http-gw as a http proxy in FreeBSD4.2. However, it > > doesn't seems to be functioning, I can't figure out why, can you help me? > > Thank you. > > > > This is what I have done: > > > > /etc/services > > ------------ > > http 80/tcp www www-http > > http 80/udp www www-http > > > > > > /usr/local/etc/netperm-table > > -------------------------- > > http-gw: deny-host unknown > > http-gw: hosts 192.168.0.* > > > > What do I have to put in /etc/inetd.conf? When I run > > /usr/local/libexec/http-gw the error is: > > > > http-gw[217]: cannot get our port > > Use sockstat(1) or one of its relatives to figure out what is using > that port. If you're running a web server on this machine, that would > explain it (you'll have to disable one, or move one to another port). > > Good luck. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message