From owner-freebsd-questions Sun Dec 22 13: 0:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA95537B40B for ; Sun, 22 Dec 2002 13:00:30 -0800 (PST) Received: from smtpauth2-ext.prodigy.net (smtpauth2-ext.prodigy.net [207.115.63.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7D6643EF2 for ; Sun, 22 Dec 2002 13:00:15 -0800 (PST) (envelope-from jimit@myrealbox.com) Received: from hawk (crtntx1-ar1-4-60-243-201.crtntx1.dsl-verizon.net [4.60.243.201]) (authenticated) by smtpauth2-ext.prodigy.net (8.11.0/8.11.0) with ESMTP id gBML09p126558 for ; Sun, 22 Dec 2002 16:00:09 -0500 From: "Jimi Thompson" To: Subject: RE: Refusing Connections Date: Sun, 22 Dec 2002 15:00:55 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <004d01c2a973$9483bd30$1200a8c0@gsicomp.on.ca> Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a strange one. Here's the deal. The traffic doesn't even appear to be making it as far as the Apache process. That's why I was looking for something in the OS that would be blocking it (like the firewall). # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, in addition to the default. See also the # directive. # # Change this to Listen on specific IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses (0.0.0.0) # #Listen 12.34.56.78:80 Listen 80 Yep and I'm not getting a thing in the error logs either. My access log is totally empty. My error log shows this when I stop and restart it by hand - [Sat Dec 21 23:48:19 2002] [notice] caught SIGTERM, shutting down [Sat Dec 21 23:48:25 2002] [warn] RSA server certificate CommonName (CN) `web1' does NOT match server name!? [Sat Dec 21 23:48:28 2002] [warn] RSA server certificate CommonName (CN) `web1' does NOT match server name!? [Sat Dec 21 23:48:28 2002] [notice] Apache/2.0.43 (Unix) mod_ssl/2.0.43 OpenSSL/0.9.6g configured -- resuming normal operations Netstat, however, has other ideas - netstat -an -finet -ptcp Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 4.60.243.40.22 4.60.243.201.1277 ESTABLISHED tcp4 0 0 *.8021 *.* LISTEN tcp4 0 0 *.8080 *.* LISTEN tcp4 0 0 *.587 *.* LISTEN tcp4 0 0 *.25 *.* LISTEN tcp4 0 0 4.60.243.40.22 *.* LISTEN Thanks, Ms. Jimi Thompson Those who are too smart to engage in politics are punished by being governed by those who are dumber. - Plato -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Matthew Emmerton Sent: Saturday, December 21, 2002 8:36 PM To: Jimi Thompson; freebsd-questions@FreeBSD.ORG Subject: Re: Refusing Connections Does 'sockstat' show that httpd is listening on port 80? Matt ----- Original Message ----- From: "Jimi Thompson" To: Sent: Sunday, December 22, 2002 12:53 AM Subject: Refusing Connections > OS - 5.0 RC2 > Apache - 2.0.43 > OpenSSL - 0.9.6g > > I'm having a rather odd problem and I can't quite put my finger on it. I > can verify that the apache httpd is running but I am unable to connect to > the box on port 80. > I verified that httpd.conf specifies port 80. I've verified that the > firewall is disabled. I can connect on other ports so I know that the > network settings are working properly. If someone could point out what > I'm missing, I'd really appreciate it. I have a feeling that it's going to > be a "DOH!" momemt. > > Thanks, > > Ms. Jimi Thompson > > Those who are too smart to engage in politics are punished by being governed > by those who are dumber. - Plato > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message