From owner-freebsd-isp@FreeBSD.ORG Tue Sep 4 00:17:22 2007 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1193516A468 for ; Tue, 4 Sep 2007 00:17:22 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id D253613C46E for ; Tue, 4 Sep 2007 00:17:21 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from localhost (unknown [200.46.204.187]) by hub.org (Postfix) with ESMTP id 04328B47A5A for ; Mon, 3 Sep 2007 20:56:56 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 82219-02 for ; Mon, 3 Sep 2007 20:56:44 -0300 (ADT) Received: from fserv.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 9B834B47A59 for ; Mon, 3 Sep 2007 20:56:55 -0300 (ADT) Received: from [192.168.1.2] (unknown [192.168.1.2]) by fserv.hub.org (Postfix) with ESMTP id 10A84E7CCD for ; Mon, 3 Sep 2007 20:56:59 -0300 (ADT) Date: Mon, 03 Sep 2007 20:56:24 -0300 From: "Marc G. Fournier" To: freebsd-isp@freebsd.org Message-ID: X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Apache responded except to a single one .... X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2007 00:17:22 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm not sure even how to search google for this one ... have an apache instance with domains running on it ... if I telnet to all of them, they all respond (typing GET / comes back fine) ... But, one of them, it won't even connect ... the odd thing is, it will respond to: 'domain', but it won't respond to 'www.domain': # telnet domain http Trying 200.46.208.158... Connected to prisons.gov.ng. Escape character is '^]'. ^Cquit Connection closed by foreign h but not: # telnet www.domain http Trying 208.46.208.158... ^C Please note that I'm running the telnet from the same box, there are no firewalls in place, and apache has www.domain as Servername for that virtual host, whiel 'domain' is the serveralias ... Help? :( - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD4DBQFG3J8o4QvfyHIvDvMRAnnHAJiX/KGKfvDpOJCZmxyOfNzMC8lyAKCaf/ZS gsAvtLy8fRPQTUVAWuzeWg== =naHq -----END PGP SIGNATURE----- From owner-freebsd-isp@FreeBSD.ORG Tue Sep 4 01:28:04 2007 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43F1616A468 for ; Tue, 4 Sep 2007 01:28:04 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 10FD013C459 for ; Tue, 4 Sep 2007 01:28:04 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from localhost (unknown [200.46.204.191]) by hub.org (Postfix) with ESMTP id BB46BB47A62; Mon, 3 Sep 2007 22:28:04 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 16414-02; Mon, 3 Sep 2007 22:28:03 -0300 (ADT) Received: from fserv.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 58588B47A61; Mon, 3 Sep 2007 22:28:04 -0300 (ADT) Received: from [192.168.1.2] (unknown [192.168.1.2]) by fserv.hub.org (Postfix) with ESMTP id 6F7B4E7D06; Mon, 3 Sep 2007 22:28:08 -0300 (ADT) Date: Mon, 03 Sep 2007 22:27:32 -0300 From: "Marc G. Fournier" To: john@day-light.com, freebsd-isp@freebsd.org Message-ID: <72625FFB6E5E2DC7F1D5F47A@ganymede.hub.org> In-Reply-To: References: X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: RE: Apache responded except to a single one .... X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2007 01:28:04 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Monday, September 03, 2007 20:11:14 -0500 John Brooks wrote: > looks like you have a typo in your dns zone file for that domain. > > the "a" record for prisons.gov.ng returns "200.46.208.158" while > the "a" record for www.prisons.gov.ng returns "208.46.208.158" Thank you ... I had looked at it too often, and didn't see the 208 at the start :( Not my zone file ... > > -- > John Brooks > john@day-light.com > >> -----Original Message----- >> From: owner-freebsd-isp@freebsd.org >> [mailto:owner-freebsd-isp@freebsd.org]On Behalf Of Marc G. Fournier >> Sent: Monday, September 03, 2007 6:56 PM >> To: freebsd-isp@freebsd.org >> Subject: Apache responded except to a single one .... >> >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> >> I'm not sure even how to search google for this one ... have an >> apache instance >> with domains running on it ... if I telnet to all of them, they >> all respond >> (typing GET / comes back fine) ... >> >> But, one of them, it won't even connect ... the odd thing is, it >> will respond >> to: 'domain', but it won't respond to 'www.domain': >> >> # telnet domain http >> Trying 200.46.208.158... >> Connected to prisons.gov.ng. >> Escape character is '^]'. >> ^Cquit >> Connection closed by foreign h >> >> but not: >> >> # telnet www.domain http >> Trying 208.46.208.158... >> ^C >> >> Please note that I'm running the telnet from the same box, there are no >> firewalls in place, and apache has www.domain as Servername for >> that virtual >> host, whiel 'domain' is the serveralias ... >> >> Help? :( >> >> - ---- >> Marc G. Fournier Hub.Org Networking Services >> (http://www.hub.org) >> Email . scrappy@hub.org MSN . scrappy@hub.org >> Yahoo . yscrappy Skype: hub.org ICQ . 7615664 >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v2.0.4 (FreeBSD) >> >> iD4DBQFG3J8o4QvfyHIvDvMRAnnHAJiX/KGKfvDpOJCZmxyOfNzMC8lyAKCaf/ZS >> gsAvtLy8fRPQTUVAWuzeWg== >> =naHq >> -----END PGP SIGNATURE----- >> >> _______________________________________________ >> freebsd-isp@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-isp >> To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" >> > - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFG3LSE4QvfyHIvDvMRAk3MAKCJOThFWq+NPnp1HKb0ONzQQPqaowCg6ywa psrGOXnKI0wpIRoUXmmaoDQ= =MstV -----END PGP SIGNATURE----- From owner-freebsd-isp@FreeBSD.ORG Tue Sep 4 01:30:33 2007 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6173916A417 for ; Tue, 4 Sep 2007 01:30:33 +0000 (UTC) (envelope-from john@day-light.com) Received: from gabriel.day-light.net (gabriel.day-light.net [209.145.160.141]) by mx1.freebsd.org (Postfix) with ESMTP id 2F21313C474 for ; Tue, 4 Sep 2007 01:30:33 +0000 (UTC) (envelope-from john@day-light.com) Received: from w1 (unknown [10.1.5.201]) by gabriel.day-light.net (Postfix) with SMTP id 95FCD18CC5; Mon, 3 Sep 2007 20:11:14 -0500 (CDT) From: "John Brooks" To: "Marc G. Fournier" , Date: Mon, 3 Sep 2007 20:11:14 -0500 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.6604 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal Cc: Subject: RE: Apache responded except to a single one .... X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: john@day-light.com List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2007 01:30:33 -0000 looks like you have a typo in your dns zone file for that domain. the "a" record for prisons.gov.ng returns "200.46.208.158" while the "a" record for www.prisons.gov.ng returns "208.46.208.158" -- John Brooks john@day-light.com > -----Original Message----- > From: owner-freebsd-isp@freebsd.org > [mailto:owner-freebsd-isp@freebsd.org]On Behalf Of Marc G. Fournier > Sent: Monday, September 03, 2007 6:56 PM > To: freebsd-isp@freebsd.org > Subject: Apache responded except to a single one .... > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > I'm not sure even how to search google for this one ... have an > apache instance > with domains running on it ... if I telnet to all of them, they > all respond > (typing GET / comes back fine) ... > > But, one of them, it won't even connect ... the odd thing is, it > will respond > to: 'domain', but it won't respond to 'www.domain': > > # telnet domain http > Trying 200.46.208.158... > Connected to prisons.gov.ng. > Escape character is '^]'. > ^Cquit > Connection closed by foreign h > > but not: > > # telnet www.domain http > Trying 208.46.208.158... > ^C > > Please note that I'm running the telnet from the same box, there are no > firewalls in place, and apache has www.domain as Servername for > that virtual > host, whiel 'domain' is the serveralias ... > > Help? :( > > - ---- > Marc G. Fournier Hub.Org Networking Services > (http://www.hub.org) > Email . scrappy@hub.org MSN . scrappy@hub.org > Yahoo . yscrappy Skype: hub.org ICQ . 7615664 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.4 (FreeBSD) > > iD4DBQFG3J8o4QvfyHIvDvMRAnnHAJiX/KGKfvDpOJCZmxyOfNzMC8lyAKCaf/ZS > gsAvtLy8fRPQTUVAWuzeWg== > =naHq > -----END PGP SIGNATURE----- > > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" > From owner-freebsd-isp@FreeBSD.ORG Thu Sep 6 23:36:49 2007 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D325216A419 for ; Thu, 6 Sep 2007 23:36:49 +0000 (UTC) (envelope-from rymkus@inbox.ru) Received: from mx28.mail.ru (mx28.mail.ru [194.67.23.67]) by mx1.freebsd.org (Postfix) with ESMTP id 8F7D013C467 for ; Thu, 6 Sep 2007 23:36:49 +0000 (UTC) (envelope-from rymkus@inbox.ru) Received: from mx33.mail.ru (mx33.mail.ru [194.67.23.194]) by mx28.mail.ru (mPOP.Fallback_MX) with ESMTP id 5A2ED3C893D; Fri, 7 Sep 2007 01:45:50 +0400 (MSD) Received: from [89.113.73.62] (port=3098 helo=localhost) by mx33.mail.ru with esmtp id 1ITPAa-000G5V-00; Fri, 07 Sep 2007 01:45:48 +0400 Date: Fri, 7 Sep 2007 01:45:46 +0400 From: "A. Rymkus" X-Mailer: The Bat! (v3.99.3) Professional X-Priority: 3 (Normal) Message-ID: <9710288047.20070907014546@inbox.ru> To: Steffen Schumacher In-Reply-To: <20070822080112.GA58627@schumacher.dk> References: <20070822080112.GA58627@schumacher.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-isp@freebsd.org Subject: Re: Using FreeBSD as a router X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "A. Rymkus" List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2007 23:36:49 -0000 Hello Steffen, Wednesday, August 22, 2007, 12:01:12 PM, you wrote: SS> Hi! SS> This may b the wrong list, but you might know the right one.. SS> I'm using the port quagge (zebra spin-off) in order to run bgp SS> off of two freebsd boxes, serving as routers. SS> They receive a default candidate from bgp: a/b. SS> The aim is to configure a static default with a next-hop of a/b. SS> This way the isp doesn't have to announce a 0/0, and I will still SS> have a default pointing the right way. SS> (I'm getting the a/b in from two separate lines for redundancy). SS> My problem is that I can't make the default work. SS> I use 'route default a/b' which actually shows up in 'netstat -rnf inet' SS> but it still doesn't work. SS> I've enclosed a lot of debug output. SS> Can anyone point me in the right direction? [skipped] You have to get your default routes from your ISPs' BGP peers and choose appropriate route to the outer world by 'weight' parameter or by 'local preference' parameter. But ,if you're in need of static-only routing, then you have to configure your zebra/quagga router app by making changes in it's configs or by connection to zebra's admin cli - 'telnet localhost zebra' (replase zebra with 'quagga' if you need) and add next string: 'ip route 0.0.0.0/0 ' 'ip route 0.0.0.0/0 ' after committin' changes to zebra it will automatically resolve dead default route and choose another. And you have to be sure what your kernel's router is replased with zebra's! -- Best regards, A. mailto:rymkus@inbox.ru