From owner-freebsd-isp Sun Jul 14 11:28: 9 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 82F7A37B414 for ; Sun, 14 Jul 2002 11:28:06 -0700 (PDT) Received: from elf.stuba.sk (aladin.elf.stuba.sk [147.175.111.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E6F143E31 for ; Sun, 14 Jul 2002 11:28:04 -0700 (PDT) (envelope-from leo@oel.sk) Received: from kesp-gw.kesp.elf.stuba.sk (kesp-gw.elf.stuba.sk [147.175.111.80]) by elf.stuba.sk (8.11.6/8.11.6) with ESMTP id g6EIS1e18305 for ; Sun, 14 Jul 2002 20:28:01 +0200 (MET DST) Received: from kesp-gw.kesp.elf.stuba.sk (leo@localhost [127.0.0.1]) by kesp-gw.kesp.elf.stuba.sk (8.12.3/8.12.3) with ESMTP id g6EDOr6Y094082 for ; Sun, 14 Jul 2002 15:24:54 +0200 (CEST) (envelope-from Leo@oel.sk) Received: from localhost (leo@localhost) by kesp-gw.kesp.elf.stuba.sk (8.12.3/8.12.1/Submit) with ESMTP id g6EDOqUk094074 for ; Sun, 14 Jul 2002 15:24:53 +0200 (CEST)?g (envelope-from leo@oel.sk) X-Authentication-Warning: kesp-gw.kesp.elf.stuba.sk: leo owned process doing -bs Date: Sun, 14 Jul 2002 15:24:52 +0200 (CEST) From: "Ing. Leo Mrafko" X-Sender: leo@kesp-gw.kesp.elf.stuba.sk To: freebsd-isp@FreeBSD.ORG Subject: Sendmail & TLS & Other port In-Reply-To: <20020712140349.GO10377@ns2.wananchi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Scanned: by AntiVirus filter AVilter (msg.a4EXoiJp@delta.elf.stuba.sk) Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, I'd like to have sendmail listen on port other than 25 (together woth regular 25) and to be SSL capable too. I'm using DAEMON_OPTIONS(`Name=MTA24, Port=24') in my mc, everything works, but port 24 is not SSL-capable (at least using Microsoft clients). Sendmail shows 250-STARTTLS, but any attempt to send email using this port and SSL shows: A secure connection to the server could not be established. Account: 'x.y', Server: 'x.y', Protocol: SMTP, Port: 24, Secure(SSL): Yes, Error Number: 0x800CCC1A Is it a misconfiguration problem or client problem ? Do you have any clues how to solve this ? Thanks ------------------------------------------------------ Leo Mrafko Leo.Mrafko@oel.sk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sun Jul 14 12:38: 1 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E747C37B400 for ; Sun, 14 Jul 2002 12:37:54 -0700 (PDT) Received: from thud.tbe.net (thud.tbe.net [209.123.109.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70D7643E6E for ; Sun, 14 Jul 2002 12:37:54 -0700 (PDT) (envelope-from gary@tbe.net) Received: by thud.tbe.net (Postfix, from userid 1001) id 68A191C946C; Sun, 14 Jul 2002 15:35:29 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by thud.tbe.net (Postfix) with ESMTP id 64652DCF3E; Sun, 14 Jul 2002 15:35:29 -0400 (EDT) Date: Sun, 14 Jul 2002 15:35:29 -0400 (EDT) From: "Gary D. Margiotta" To: Simon Carr's Palm 3 HandHeld Cc: Mark Johnston , 'Odhiambo Washington' , freebsd-isp@freebsd.org Subject: Re: Scripts to Manage Virtual Hosts In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hrm.. I think I'm going to check out the Include directive... that seems like a good idea, and is decently able to manage.. Also, yeah my idea for the database part is/was pretty much what you said... I just want the info stored in a database, and be able to create config files on that data which will reside locally on each box... Likewise I don't want to have to deal with a dead DB server which would throw a serious wrench in the works. I have scripts for doing DNS additions in much the same way, and again, I want the data in the database, but I want each server to have static files to reduce the whole one-point-of-failure thing. -Gary Running Windows is kinda like playing blackjack: User stays on success, reboots on failure On Sat, 13 Jul 2002, Simon Carr's Palm 3 HandHeld wrote: > Hi Gary, > > Some thoughts; I've done something similar, but instead of writing all > the VirtualHosts to one file it just creates a file for each VirtualHost > called .conf in a specified directory, then in my httpd.conf > I've got > > include "/usr/local/etc/apache/VirtualHost/" > > That'll read all the files in said directory and process them (you can > see it with an apachectl configtest, it lists each one). An absolute > godsend of a feature. > > I also toyed with the idea of using mod_sqlinclude, but the idea of my > DB server going down for the count and then trying to restart an Apache > server with 100+ VirtualHosts did not sit well... :) > > So the process is I've got the user configs in a database, but the > VirtualHost files themselves are static text that reside in a > directory. The perl script reads from the DB and creates any new > entries, but if the DB server isn't there my Apache isn't crippled > (totally). I haven't decided on a good method for disabling accounts > but I'm getting there. > > I haven't dealt with binding VirtualHosts to specific IPs, I just have > ... I'll eventually have to add :80 to the end of that > when I've got SSL enabled on my servers. > > On Friday, July 12, 2002, at 10:34 , Gary D. Margiotta wrote: > > > I started writing some perl scripts which I use to add virtualhosts and > > redirects to separate config files. I didn't like the idea of editing > > the > > httpd.conf directly, so I made use of the ResourceConfig directive, and > > created 2 files called virtualhosts.conf and redirects.conf which apache > > pulls in when started. > > > > The scripts are currently only able to add entries, and not remove them, > > but should be able to be easily enough modified to include that, I just > > haven't had the time to finish them up. I want to eventually hook up > > the > > scripts to keep the info in a database for much easier organization and > > manipulation of domains, but again, lack of time. > > > > You'll notice that it also makes a call to a shell script that gets run > > to > > ifconfig the virtual IPs on the host interface. I also run that > > before I > > restart apache to make sure the new IP takes effect. > > > > -Gary > > > > Running Windows is kinda like playing blackjack: > > User stays on success, reboots on failure > > > > > >> -----Original Message----- > >> From: owner-freebsd-isp@FreeBSD.ORG > >> [mailto:owner-freebsd-isp@FreeBSD.ORG] On Behalf Of Odhiambo Washington > >> Sent: Friday, July 12, 2002 8:51 AM > >> To: FBSD-ISP > >> Subject: Scripts to Manage Virtual Hosts > >> > >> > >> [ I sent this to -questions but got no help ;) ] > >> > >> > >> Hello Users, > >> > >> I believe someone already had written a script that can be used to > >> manipulate > >> httpd.conf to add/remove virtual host entries. > >> I sincerely believe that this is somewhere so I don't have to start > >> agonizing > >> about re-inventing the wheel. > >> Could someone kindly point me to where one is located, better even > >> share > >> with me > >> what they have ;-) > >> > >> > >> -Wash > >> > >> -- > >> Odhiambo Washington "The box said 'Requires > >> Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' > >> Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD." > >> GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :-) > >> > >> > >> The light at the end of the tunnel is the headlight of an approaching > >> train. > >> > >> To Unsubscribe: send mail to majordomo@FreeBSD.org > >> with "unsubscribe freebsd-isp" in the body of the message > >> > >> > >> To Unsubscribe: send mail to majordomo@FreeBSD.org > >> with "unsubscribe freebsd-isp" in the body of the message > >> > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Mon Jul 15 0:36:43 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F15D37B400 for ; Mon, 15 Jul 2002 00:36:39 -0700 (PDT) Received: from ns2.sysadmin-inc.com (ns2.sysadmin-inc.com [209.16.228.145]) by mx1.FreeBSD.org (Postfix) with SMTP id C682843E5E for ; Mon, 15 Jul 2002 00:36:38 -0700 (PDT) (envelope-from peter@sysadmin-inc.com) Received: (qmail 678 invoked by alias); 15 Jul 2002 07:36:38 -0000 Received: from unknown (HELO 98wkst) (10.10.1.70) by ns2.sysadmin-inc.com with SMTP; 15 Jul 2002 07:36:38 -0000 From: "Peter Brezny" To: Subject: mini how-to for apache-ssl update to apache 1.3.26 Date: Sun, 14 Jul 2002 03:32:39 -0400 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) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I finally worked through the details of getting apache-ssl updated to 1.3.26 withough using the port for apache-ssl since it's not been updated yet and I thought I'd share. get the source for apache 1.3.26 from www.apache.org and the source for the apache-ssl patches from www.apache-ssl.org unpack apache cd into the apache directory unpack apache-ssl ./FixPatch answer "y" to apply the patches ./configure.scr (see atached script, basically right out of the old Makefile) make make install configure.scr #!/bin/sh PREFIX="/usr/local" PERL="/usr/bin/perl5" ./configure --prefix=$PREFIX \ --server-gid=nogroup \ --with-perl=$PERL \ --with-layout=GNU \ --suexec-docroot=$PREFIX/www/data \ --without-confadjust \ --enable-shared=remain \ --enable-module=most \ --enable-module=auth_db \ --disable-module=auth_dbm \ --sysconfdir=$PREFIX/etc/apache \ --includedir=$PREFIX/include/apache \ --localstatedir=/var \ --datadir=$PREFIX/www \ --proxycachedir=$PREFIX/www/proxy \ --libexecdir=$PREFIX/libexec/apache Peter Brezny SysAdmin Services Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Mon Jul 15 6:47: 2 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56FD137B400 for ; Mon, 15 Jul 2002 06:46:59 -0700 (PDT) Received: from opium.co.za (opium.co.za [196.34.165.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0663D43E58 for ; Mon, 15 Jul 2002 06:46:58 -0700 (PDT) (envelope-from mark@opium.co.za) Received: from mark (helo=localhost) by opium.co.za with local-esmtp (Exim 3.35 #1 (Debian)) id 17U6Bh-0007sD-00 for ; Mon, 15 Jul 2002 15:46:53 +0200 Date: Mon, 15 Jul 2002 15:46:53 +0200 (SAST) From: Mark Bojara X-X-Sender: mark@opium.co.za To: freebsd-isp@freebsd.org Subject: Re: Linux Emulation - 4.6-STABLE In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org anyone have any help on this? Regards Mark ---------------------------------------------------------------- If cats have kittens, do bats have bittens? ---------------------------------------------------------------- On Tue, 9 Jul 2002, Mark Bojara wrote: >Greetings, > >I am trying to set up freebsd linux emulation to run arkeia backup >software. I have installed /usr/ports/emulators/linux_base-7. I have set >it up in rc.conf and made sure that the module is loading without error. > >mars:~# kldstat >Id Refs Address Size Name > 1 3 0xc0100000 366728 kernel > 2 1 0xc263d000 1b000 usb.ko > 4 1 0xc2674000 14000 linux.ko >mars:~# > >I have also brandelf'd all my binary's to linux. It seems like when I run >any binary in /compat/linux it works fine (tried copying my binary to >there didnt work). But if I run any other linux binary it just comes out >with a error. I tried to also chroot to /compat/linux maybe that would >help. So far this is the most accurate error that I have. > >mars:~/usr/knox/bin# chroot /compat/linux /bin/sh >sh-2.04# ./arkeia >Aborted >sh-2.04# ldd ./arkeia >/usr/bin/ldd: /lib/ld-linux.so.2: cannot execute binary file >/usr/bin/ldd: /lib/ld-linux.so.2: cannot execute binary file >ldd: /lib/ld-linux.so.2 exited with unknown exit code (126) >sh-2.04# > >Any help will be appreciated. > >Regards, >Mark Bojara > >---------------------------------------------------------------- >My cat makes me search the room for invisible intruders. >---------------------------------------------------------------- > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-isp" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Mon Jul 15 11: 8:24 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3491037B405 for ; Mon, 15 Jul 2002 11:08:19 -0700 (PDT) Received: from iota.root-servers.ch (iota.root-servers.ch [193.41.193.195]) by mx1.FreeBSD.org (Postfix) with SMTP id 2F1BD43E31 for ; Mon, 15 Jul 2002 11:08:18 -0700 (PDT) (envelope-from gaml@buz.ch) Received: (qmail 39364 invoked from network); 15 Jul 2002 18:07:55 -0000 Received: from dclient217-162-129-56.hispeed.ch (HELO gaxp1800) (217.162.129.56) by 0 with SMTP; 15 Jul 2002 18:07:55 -0000 Date: Mon, 15 Jul 2002 19:16:13 +0200 From: Gabriel Ambuehl X-Mailer: The Bat! (v1.60q) Educational Reply-To: Gabriel Ambuehl X-Priority: 3 (Normal) Message-ID: <16382707250.20020715191613@buz.ch> To: owner-freebsd-isp@FreeBSD.ORG, Odhiambo Washington Cc: FBSD-ISP Subject: Re: Scripts to Manage Virtual Hosts In-Reply-To: <20020712135040.GM10377@ns2.wananchi.com> References: <20020712135040.GM10377@ns2.wananchi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org OW> I believe someone already had written a script that can be used to manipulate OW> httpd.conf to add/remove virtual host entries. OW> I sincerely believe that this is somewhere so I don't have to start agonizing OW> about re-inventing the wheel. OW> Could someone kindly point me to where one is located, better even share with me OW> what they have ;-) Well adding is quite simple, really. Just append the virtualhost lines to httpd.conf (can be done as easy as echo "Your stuff" >> httpd.conf && apachectl graceful ) Now deleting is a bit harder as you'd need to parse the file. OTOH, Apache has got a feature that will include all text files in a subdir into apache.conf which would allow to have a file for each vhost and then simply rm it when it needs to go, description can be found somewhere in the docs or the changelog, can't remember. Furthermore, there are a few projects out there aimed at building something like the "looking nice but back end is mere crap" Sun Cobalt Interface. There is www.ispman.org which seems decent but then again I have a strong feeling against LDAP (I'd build it on MySQL) and don't really like Perl either. Then there is plesk.com who even interfaces with qmail but it happened a few times that their page was down when I tried to access it so I don't trust the stuff very much plus it's rather expensive with like 1000$ license per machine. I've had a few shots at implementing my own control panel system (in various languages, but mostly Python) but always got too annoyed to ever finish it. Part of the reason could have been that I wanted very many features (like transparent distribution of domains among a group of servers or fully XSL template based interface) which took a lot of time to implement and finally had me that fed up that I really haven't had the nerves to write a GUI for it. Generally, I'd be interested to hear about open source cotnrol panel solutions too. Furthermore, I'd might be interested in developing a custom solution, so feel free to contact me. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Mon Jul 15 13:26:54 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F226137B40F for ; Mon, 15 Jul 2002 13:26:49 -0700 (PDT) Received: from trot.galis.org (ool-43530640.dyn.optonline.net [67.83.6.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 245C043ECF for ; Mon, 15 Jul 2002 13:26:16 -0700 (PDT) (envelope-from george@galis.org) Received: (from gx@localhost) by trot.galis.org (8.11.6/8.11.6) id g6FKQR802026; Mon, 15 Jul 2002 16:26:27 -0400 Date: Mon, 15 Jul 2002 16:26:27 -0400 From: George Georgalis To: "Simon Carr's Palm 3 HandHeld" Cc: "Gary D. Margiotta" , Mark Johnston , "'Odhiambo Washington'" , freebsd-isp@FreeBSD.ORG Subject: Re: Scripts to Manage Virtual Hosts Message-ID: <20020715162627.B1341@trot> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from palm@simoncarr.com on Sat, Jul 13, 2002 at 12:33:52AM -0400 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Jul 13, 2002 at 12:33:52AM -0400, Simon Carr's Palm 3 HandHeld wrote: >Some thoughts; I've done something similar, but instead of writing all >the VirtualHosts to one file it just creates a file for each VirtualHost >called .conf in a specified directory, then in my httpd.conf >I've got > >include "/usr/local/etc/apache/VirtualHost/" > >That'll read all the files in said directory and process them (you can >see it with an apachectl configtest, it lists each one). An absolute >godsend of a feature. Sounds like an excellent approach. (and with the db too) >I haven't decided on a good method for disabling accounts >but I'm getting there. Why not just remove read permissions? // George -- GEORGE GEORGALIS, System Admin/Architect cell: 347-451-8229 Security Services, Web, Mail, mailto:george@galis.org File, Print, DB and DNS Servers. http://www.galis.org/george To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Mon Jul 15 13:45:50 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44AD937B400 for ; Mon, 15 Jul 2002 13:45:47 -0700 (PDT) Received: from cody.jharris.com (cody.jharris.com [205.238.128.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8392B43E6D for ; Mon, 15 Jul 2002 13:45:46 -0700 (PDT) (envelope-from nick@rogness.net) Received: from localhost (nick@localhost) by cody.jharris.com (8.11.1/8.9.3) with ESMTP id g6FLGj052312; Mon, 15 Jul 2002 16:16:49 -0500 (CDT) (envelope-from nick@rogness.net) Date: Mon, 15 Jul 2002 16:16:45 -0500 (CDT) From: Nick Rogness X-Sender: nick@cody.jharris.com To: George Georgalis Cc: "Simon Carr's Palm 3 HandHeld" , "Gary D. Margiotta" , Mark Johnston , "'Odhiambo Washington'" , freebsd-isp@FreeBSD.ORG Subject: Re: Scripts to Manage Virtual Hosts In-Reply-To: <20020715162627.B1341@trot> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 15 Jul 2002, George Georgalis wrote: > On Sat, Jul 13, 2002 at 12:33:52AM -0400, Simon Carr's Palm 3 HandHeld wrote: > > >Some thoughts; I've done something similar, but instead of writing all > >the VirtualHosts to one file it just creates a file for each VirtualHost > >called .conf in a specified directory, then in my httpd.conf > >I've got > > > >include "/usr/local/etc/apache/VirtualHost/" > > > >That'll read all the files in said directory and process them (you can > >see it with an apachectl configtest, it lists each one). An absolute > >godsend of a feature. > > Sounds like an excellent approach. (and with the db too) FWIW, This approach does not work if you have FrontPage extension enabled. It wants them all in the main httpd.conf file in order to active fp exts via fpinstall. FP...What a joke... Nick Rogness - Don't mind me...I'm just sniffing your packets To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Mon Jul 15 14:48:31 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C62BC37B400 for ; Mon, 15 Jul 2002 14:48:29 -0700 (PDT) Received: from smtp02.iafrica.com (smtp02.iafrica.com [196.7.0.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id E00A543E64 for ; Mon, 15 Jul 2002 14:48:28 -0700 (PDT) (envelope-from james@organicwire.net) Received: from fresh1.organicwire.net ([196.7.155.98] helo=[192.168.1.3]) by smtp02.iafrica.com with esmtp (Exim 3.20 #1) id 17UDhh-00092i-00 for freebsd-isp@freebsd.org; Mon, 15 Jul 2002 23:48:26 +0200 User-Agent: Microsoft-Entourage/10.1.0.2006 Date: Mon, 15 Jul 2002 23:48:58 +0200 Subject: From: James Godwin To: Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org subscribe freebsd-isp james@organicwire.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Mon Jul 15 14:54:58 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D73A237B401 for ; Mon, 15 Jul 2002 14:54:53 -0700 (PDT) Received: from supermail.mweb.co.za (supermail.mweb.co.za [196.2.53.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0347B43E3B for ; Mon, 15 Jul 2002 14:54:52 -0700 (PDT) (envelope-from savage@savage.za.org) Received: from [196.30.179.198] (helo=netsonic.megalan.co.za) by supermail.mweb.co.za with esmtp (Exim 3.22 #1) id 17UDPU-0002KB-00; Mon, 15 Jul 2002 23:29:37 +0200 Received: from genocide.megalan.co.za ([192.168.1.254] helo=genocide) by netsonic.megalan.co.za with smtp (Exim 3.36 #2) id 17UDo1-0001F3-47; Mon, 15 Jul 2002 23:54:58 +0200 Message-ID: <003f01c22c4a$23081710$fe01a8c0@genocide> From: "Chris Knipe" To: "Nick Rogness" , "George Georgalis" Cc: "Simon Carr's Palm 3 HandHeld" , "Gary D. Margiotta" , "Mark Johnston" , "'Odhiambo Washington'" , References: Subject: Re: Scripts to Manage Virtual Hosts Date: Mon, 15 Jul 2002 23:54:04 +0200 Organization: MegaLAN Corporate Networking Services 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 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Just FYI... I'm in the process of doing something similar for myself. It's a perl script configuring all my vhosts from a MySQL database, and works pretty need. I just rewrite clients.conf every say, 12 hours to replicate the changes made in the database, and gracefully restart apache. No headaches about removing hosts, because when the file is rewritten again, the deleted or deactivated vhosts won't be re-written to the conf file via the perl script. > > >include "/usr/local/etc/apache/VirtualHost/" > > FWIW, This approach does not work if you have FrontPage extension > enabled. It wants them all in the main httpd.conf file in order > to active fp exts via fpinstall. FP Ext, looks for ServerName, Port, ListenAddress and something else (there are four directives). A quick solution I found that I am using, is to have three files. httpd.conf (my main apache config) clients.conf (my clients and virtual hosts) fp.conf (hack fp ext). httpd.conf is a full propper configuration file, while clients.conf only contains entries. fp.conf is a combination of httpd.conf and clients.conf (all my vhosts, plus the required directives that fp ext needs), but is not used by any any software. I then just use FP Extensions, telling it that it should use fp.conf as the apache config, and whola. All sorted. > FP...What a joke... ^^^^^^^^^^ I can't agree more! -- me To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Jul 16 3:29:41 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64D2337B401 for ; Tue, 16 Jul 2002 03:29:38 -0700 (PDT) Received: from publica.ub.mng.net (publica.ub.mng.net [202.179.0.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7F8A43E4A for ; Tue, 16 Jul 2002 03:29:34 -0700 (PDT) (envelope-from balgaa@publica.ub.mng.net) Received: (from root@localhost) by publica.ub.mng.net (8.12.3/8.12.2) id g6GBQPEg032607 for freebsd-isp@freebsd.org; Tue, 16 Jul 2002 19:26:25 +0800 (ULAT) (envelope-from balgaa@publica.ub.mng.net) Received: from publica.ub.mng.net (localhost [127.0.0.1]) by publica.ub.mng.net (8.12.3/8.12.3) with ESMTP id g6GBQMg6032584 for ; Tue, 16 Jul 2002 19:26:24 +0800 (ULAT) (envelope-from balgaa@publica.ub.mng.net) Received: from localhost (balgaa@localhost) by publica.ub.mng.net (8.12.3/8.12.3/Submit) with ESMTP id g6GBQM0X032581 for ; Tue, 16 Jul 2002 19:26:22 +0800 (ULAT) Date: Tue, 16 Jul 2002 19:26:22 +0800 (ULAT) From: User BALGAA System Engineer To: freebsd-isp@freebsd.org Subject: FreeBSD+IPFILTER+PPPoE+DHCP problem Message-ID: <20020716192607.V30816-100000@publica.ub.mng.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, I installed FreeBSD-4.6 on HP Vectra PC. I configured this machine as NAT gateway. Connection diagram: LAN-------FreeBSD IPFILTER/NAT/DHCP----ADSL modem-----ISP PPPoE and IPFilter/NAT/DHCP working normal. Problem is Windows 95/98/98SE users can to go through FreeBSD gateway machine, but Windows 2000/XP sometimes working, sometimes can't. Sametime if can't work Windows 2000/XP stop to access LAN servers, shared resources. Strange thing, I can to ping from Windows 2000/XP PC to outside network hosts. If sometime I refresh IP address from DHCP, then I can to access some website after few minutes it stop. If I try to ping using domainname of outside host then impossible. But from FreeBSD gateway machine I can to ping IP/domain name of hosts. I check DNS servers of our ISP and it is working normal. I don't know this mailing list correct or not. Any suggestion? Thanks, Balgaa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Jul 16 3:48: 0 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E980637B400 for ; Tue, 16 Jul 2002 03:47:57 -0700 (PDT) Received: from hermes.atrada.de (hermes.atrada.de [195.145.104.130]) by mx1.FreeBSD.org (Postfix) with SMTP id 295A843E4A for ; Tue, 16 Jul 2002 03:47:57 -0700 (PDT) (envelope-from maret@atrada.net) Received: from erlangen01.atrada.de by hermes.atrada.de via smtpd (for mx1.FreeBSD.org [216.136.204.125]) with SMTP; 16 Jul 2002 10:47:57 UT Received: (private information removed) Message-ID: <58A002A02C5ED311812E0050044517F00D2861@erlangen01.atrada.de> From: Alexander Maret To: 'User BALGAA System Engineer' Cc: "'freebsd-isp@freebsd.org'" Subject: AW: FreeBSD+IPFILTER+PPPoE+DHCP problem Date: Tue, 16 Jul 2002 12:47:55 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > -----Ursprungliche Nachricht----- > Von: User BALGAA System Engineer [mailto:balgaa@publica.ub.mng.net] > > Connection diagram: > > LAN-------FreeBSD IPFILTER/NAT/DHCP----ADSL modem-----ISP > > PPPoE and IPFilter/NAT/DHCP working normal. > > Problem is Windows 95/98/98SE users can to go through FreeBSD gateway > machine, but Windows 2000/XP sometimes working, sometimes > can't. Sametime > if can't work Windows 2000/XP stop to access LAN servers, shared > resources. Could this be a MTU problem with Windows setting the don't fragment bit? Check this link for more information and how to solve it. http://www.daemonnews.org/200101/pppoe.html Greetings, Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Jul 16 3:52: 9 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8948737B411 for ; Tue, 16 Jul 2002 03:52:00 -0700 (PDT) Received: from publica.ub.mng.net (publica.ub.mng.net [202.179.0.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21DA443E65 for ; Tue, 16 Jul 2002 03:51:58 -0700 (PDT) (envelope-from balgaa@publica.ub.mng.net) Received: (from root@localhost) by publica.ub.mng.net (8.12.3/8.12.2) id g6GBmScQ035333; Tue, 16 Jul 2002 19:48:28 +0800 (ULAT) (envelope-from balgaa@publica.ub.mng.net) Received: from publica.ub.mng.net (localhost [127.0.0.1]) by publica.ub.mng.net (8.12.3/8.12.3) with ESMTP id g6GBmPg6035324; Tue, 16 Jul 2002 19:48:27 +0800 (ULAT) (envelope-from balgaa@publica.ub.mng.net) Received: from localhost (balgaa@localhost) by publica.ub.mng.net (8.12.3/8.12.3/Submit) with ESMTP id g6GBmP9L035321; Tue, 16 Jul 2002 19:48:25 +0800 (ULAT) Date: Tue, 16 Jul 2002 19:48:25 +0800 (ULAT) From: User BALGAA System Engineer To: Alexander Maret Cc: "'freebsd-isp@freebsd.org'" Subject: Re: AW: FreeBSD+IPFILTER+PPPoE+DHCP problem In-Reply-To: <58A002A02C5ED311812E0050044517F00D2861@erlangen01.atrada.de> Message-ID: <20020716194706.J30816-100000@publica.ub.mng.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Alex I checked your sent URL. But I don't know how to setup tcpmssd with IPFILTER. I enabled "enable tcpmssfixup" option. Balgaa On Tue, 16 Jul 2002, Alexander Maret wrote: > > -----Ursprungliche Nachricht----- > > Von: User BALGAA System Engineer [mailto:balgaa@publica.ub.mng.net] > > > > Connection diagram: > > > > LAN-------FreeBSD IPFILTER/NAT/DHCP----ADSL modem-----ISP > > > > PPPoE and IPFilter/NAT/DHCP working normal. > > > > Problem is Windows 95/98/98SE users can to go through FreeBSD gateway > > machine, but Windows 2000/XP sometimes working, sometimes > > can't. Sametime > > if can't work Windows 2000/XP stop to access LAN servers, shared > > resources. > > Could this be a MTU problem with Windows setting the don't fragment bit? > > Check this link for more information and how to solve it. > http://www.daemonnews.org/200101/pppoe.html > > > Greetings, > Alex > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Jul 16 16:56:35 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C82DA37B400 for ; Tue, 16 Jul 2002 16:56:32 -0700 (PDT) Received: from infiniteloop.ca (infiniteloop.ca [216.126.86.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6602343E3B for ; Tue, 16 Jul 2002 16:56:32 -0700 (PDT) (envelope-from dev@samurai.com) Received: from localhost (localhost [127.0.0.1]) by infiniteloop.ca (Postfix) with ESMTP id 5D2CB55DC for ; Tue, 16 Jul 2002 19:56:44 -0400 (EDT) Received: from Mia.samurai.com (unknown [159.33.1.104]) by infiniteloop.ca (Postfix) with ESMTP id 6B36E553F for ; Tue, 16 Jul 2002 19:56:43 -0400 (EDT) Message-Id: <5.1.1.6.0.20020716195526.03850398@wheresmymailserver.com> X-Sender: (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Tue, 16 Jul 2002 19:55:46 -0400 To: freebsd-isp@freebsd.org From: Blake Crosby Subject: snmp/mrtg Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: using McAfee Virus Scanner and AMaViS snapshot-20020300 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Is there a way to get mrtg or snmp (not sure where the problem lies here) to store data for two ips bound to the same interface? Currently I have two communities, one for each ip address: (in snmpd.conf): # sec.name source community com2sec mynetwork 216.126.86.53/32 xxxxx com2sec mynetwork2 216.126.86.54/32 xxxxx # sec.model sec.name group MyROGroup v1 mynetwork group MyROGroup v2c mynetwork group MyROGroup usm mynetwork group MyROGroup v1 mynetwork2 group MyROGroup v2c mynetwork2 group MyROGroup usm mynetwork2 #### # Third, create a view for us to let the groups have rights to: # incl/excl subtree mask view all included .1 80 # context sec.model sec.level match read write notif access MyROGroup "" any noauth exact all none none access MyRWGroup "" any noauth exact all all none in mrtg.cfg Target[216.126.86.53]: 1:xxxx@216.126.86.53: Target[216.126.86.54]: 1:xxxx@216.126.86.54: Is what I am trying to do even possible? Blake To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Jul 16 17: 6:27 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C1D237B400 for ; Tue, 16 Jul 2002 17:06:24 -0700 (PDT) Received: from aurora.siteplus.com (aurora.siteplus.com [66.129.2.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id E081143E3B for ; Tue, 16 Jul 2002 17:06:22 -0700 (PDT) (envelope-from jim@jwweeks.com) Received: from 1Cust98.tnt1.tampa2.fl.da.uu.net (1Cust98.tnt1.tampa2.fl.da.uu.net [67.243.21.98]) by aurora.siteplus.com (8.12.5/8.12.5) with ESMTP id g6H06G4f049940 for ; Tue, 16 Jul 2002 20:06:17 -0400 (EDT) (envelope-from jim@jwweeks.com) Date: Tue, 16 Jul 2002 20:06:15 -0400 (EDT) From: Jim Weeks To: freebsd-isp@FreeBSD.ORG Subject: Re: Scripts to Manage Virtual Hosts In-Reply-To: Message-ID: <20020716194233.D368-100000@veager.jwweeks.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Since everyone is in the sharing mood, maybe this will be helpful. I wrote this some time ago to add sub-domains, and have carried it around from script to script. Maybe not the most elegant coding, but it works. Regards, -- Jim $dateCmd = '/bin/date'; chop ($dateStamp = `$dateCmd +"%Y%m%d"`); $recfile = "/etc/namedb/XXXXXX.com"; # add new named entry sub named { # Open record file for reading. open(NAMED,"$recfile") || die ("can't open $recfile"); while () { # Find and extract serial number. if ($_ =~ /Serial/) { $serno = $_; $serno =~ s/\D+//g; $serno =~s/(\d{4})(\d{2})(\d{2})(\d{2})/$serno/; $oldate = $1 . $2 . $3; $yr=$1; $mo=$2; $dy=$3; $tt=$4; # Increment serial number if already updated today. if ($dateStamp eq $oldate) { ++$tt; } else { $tt="00"; } # Replace serial number. $_ =~ s/\d+/$dateStamp$tt/; } # Construct new record. push (@ips,$_); } close(NAMED); # Write new config file. open(NAMED,">$recfile") || die ("can't open $recfile"); print NAMED @ips; print NAMED "$user IN A XXX.XXX.XXX.XXX\n"; close(NAMED); undef @ips; } # restart named sub restart_named { open(CMD,"|/bin/kill -1 `cat /var/run/named.pid`"); close (CMD); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Jul 16 17:20:33 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E822A37B400 for ; Tue, 16 Jul 2002 17:20:30 -0700 (PDT) Received: from pacman.mweb.co.za (pacman.mweb.co.za [196.2.45.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A67243E67 for ; Tue, 16 Jul 2002 17:20:29 -0700 (PDT) (envelope-from savage@savage.za.org) Received: from cpt-dial-196-30-178-18.mweb.co.za ([196.30.178.18] helo=netsonic.megalan.co.za) by pacman.mweb.co.za with esmtp (Exim 4.01) id 17UaZB-0004dZ-00; Wed, 17 Jul 2002 00:13:10 +0200 Received: from genocide.megalan.co.za ([192.168.1.254] helo=genocide) by netsonic.megalan.co.za with smtp (Exim 3.36 #2) id 17UcZS-0005jx-47; Wed, 17 Jul 2002 02:21:34 +0200 Message-ID: <009f01c22d27$abb25200$fe01a8c0@genocide> From: "Chris Knipe" To: "Jim Weeks" , References: <20020716194233.D368-100000@veager.jwweeks.com> Subject: Re: Scripts to Manage Virtual Hosts Date: Wed, 17 Jul 2002 02:17:34 +0200 Organization: MegaLAN Corporate Networking Services 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 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > # restart named > sub restart_named { > open(CMD,"|/bin/kill -1 `cat /var/run/named.pid`"); > close (CMD); > } Just FYI... ndc reload ; and ndc reconfig may just be a cleaner way of doing a restart :-) -- me To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Jul 16 22:41: 1 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07C5437B400 for ; Tue, 16 Jul 2002 22:40:59 -0700 (PDT) Received: from webmail.emre.de (webmail.emre.de [194.8.203.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89D5843E31 for ; Tue, 16 Jul 2002 22:40:57 -0700 (PDT) (envelope-from info@emre.de) Received: (from www@localhost) by webmail.emre.de (8.11.6/8.11.6) id g6H5et619597 for freebsd-isp@freebsd.org; Wed, 17 Jul 2002 07:40:55 +0200 (CEST) (envelope-from info@emre.de) X-Authentication-Warning: webmail.emre.de: www set sender to info@emre.de using -f Received: from 192.168.2.2 ( [192.168.2.2]) as user emre@webmail.emre.de by webmail.emre.de with HTTP; Wed, 17 Jul 2002 07:40:54 +0200 Message-ID: <1026884454.3d350366d36e2@webmail.emre.de> Date: Wed, 17 Jul 2002 07:40:54 +0200 From: Emre Bastuz To: freebsd-isp@freebsd.org Subject: Re: snmp/mrtg References: <5.1.1.6.0.20020716195526.03850398@wheresmymailserver.com> In-Reply-To: <5.1.1.6.0.20020716195526.03850398@wheresmymailserver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 X-Originating-IP: 192.168.2.2 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, Zitat von Blake Crosby : > Is there a way to get mrtg or snmp (not sure where the problem lies here) > to store data for two ips bound to the same interface? > Is what I am trying to do even possible? I don´t believe so. AFAIK MRTG/SNMP uses the data gathered on a per interface basis - not on a per ip basis. For collecting traffic on ip basis (like for ip accounting, etc.) you´d need some other technique than SNMP. Regards, Emre -- Emre Bastuz info@emre.de http://www.emre.de UIN: 561260 PGP Key ID: 0xAFAC77FD ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Wed Jul 17 7:13:11 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39BAB37B400 for ; Wed, 17 Jul 2002 07:13:08 -0700 (PDT) Received: from web1.nexusinternetsolutions.net (web1.nexusinternetsolutions.net [206.47.131.12]) by mx1.FreeBSD.org (Postfix) with SMTP id 7D84A43E58 for ; Wed, 17 Jul 2002 07:13:07 -0700 (PDT) (envelope-from dave@hawk-systems.com) Received: (qmail 73771 invoked from network); 17 Jul 2002 14:13:58 -0000 Received: from unknown (HELO ws1) (24.157.103.51) by web1.nexusinternetsolutions.net with SMTP; 17 Jul 2002 14:13:58 -0000 From: "Dave [Hawk-Systems]" To: Subject: mergelog or logtools for freebsd multiple clf logfile merging Date: Wed, 17 Jul 2002 10:13:05 -0400 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.2600.0000 Importance: Normal Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org is there a port of, or similar to, mergelog (http://mergelog.sourceforge.net/) for freebsd... tried installing the logtools port, but got a lovely error during the make; ===> Building for logtools-0.13a make: don't know how to make clfmerge. Stop *** Error code 2 Stop in /usr/local/src/logtools-0.13a/logtools. *** Error code 1 Stop in /usr/local/src/logtools-0.13a/logtools. *** Error code 1 Stop in /usr/local/src/logtools-0.13a/logtools. need something incredibly simple to grab several (http, ftp, other in common format) log files and merge them into one prior to processing them with webalizer or similar. thanks Dave 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-isp" in the body of the message From owner-freebsd-isp Thu Jul 18 2:13:25 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 060DE37B400 for ; Thu, 18 Jul 2002 02:13:23 -0700 (PDT) Received: from nmts.smrtlc.ru (nmts.smrtlc.ru [217.66.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id D00F043E31 for ; Thu, 18 Jul 2002 02:13:21 -0700 (PDT) (envelope-from apetrov@nmts.smrtlc.ru) Received: from nmts.smrtlc.ru (localhost.smrtlc.ru [127.0.0.1]) by nmts.smrtlc.ru (8.12.1/8.12.1) with ESMTP id g6I9EEAY010220 for ; Thu, 18 Jul 2002 14:14:14 +0500 (SAMST) Received: (from root@localhost) by nmts.smrtlc.ru (8.12.1/8.12.1/Submit) id g6I9ED4C010219 for freebsd-isp@freebsd.org.KAV; Thu, 18 Jul 2002 14:14:13 +0500 (SAMST) Received: from nmts.smrtlc.ru (nmts.smrtlc.ru [217.66.64.4]) by nmts.smrtlc.ru (8.12.1/8.12.1) with ESMTP id g6I9EDAZ010211 for ; Thu, 18 Jul 2002 14:14:13 +0500 (SAMST) Date: Thu, 18 Jul 2002 14:14:13 +0500 (SAMST) From: "Anton V. Petrov" To: freebsd-isp@freebsd.org Subject: looutput Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dear readers, on FreeBSD-4.0 kernel says when pinging or tracerouting: looutput: mbuf allocation failed and network goes down. Is it a bug or? What should I do? Regards, Anton V. Petrov http://www.smrtlc.ru/~apetrov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Thu Jul 18 4: 8:19 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8513937B400 for ; Thu, 18 Jul 2002 04:08:16 -0700 (PDT) Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id F305C43E42 for ; Thu, 18 Jul 2002 04:08:15 -0700 (PDT) (envelope-from jhs@jhs.muc.de) Received: from fwd10.sul.t-online.de by mailout05.sul.t-online.com with smtp id 17V98m-0001HS-04; Thu, 18 Jul 2002 13:08:12 +0200 Received: from jhs.muc.de (520006753247-0001@[217.228.210.244]) by fmrl10.sul.t-online.com with esmtp id 17V98T-2BSEgCC; Thu, 18 Jul 2002 13:07:53 +0200 Received: from flip.jhs.private (flip.jhs.private [192.168.91.24]) by jhs.muc.de (8.11.6/8.11.6) with ESMTP id g6IB8Rk13796; Thu, 18 Jul 2002 13:08:28 +0200 (MET DST) (envelope-from jhs@jhs.muc.de) Received: from flip.jhs.private (localhost [127.0.0.1]) by flip.jhs.private (8.11.6/8.11.6) with ESMTP id g6IB8GD62433; Thu, 18 Jul 2002 13:08:16 +0200 (CEST) (envelope-from jhs@flip.jhs.private) Message-Id: <200207181108.g6IB8GD62433@flip.jhs.private> To: "Anton V. Petrov" Cc: freebsd-isp@FreeBSD.ORG Subject: Re: looutput From: "Julian Stacey" Organization: Vector Systems Ltd, Munich Unix & System Engineering Consultancy X-Web: http://bim.bsn.com/~jhs/ In-reply-to: Your message of "Thu, 18 Jul 2002 14:14:13 +0500." Date: Thu, 18 Jul 2002 13:08:16 +0200 X-Sender: 520006753247-0001@t-dialin.net Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > From: "Anton V. Petrov" > > on FreeBSD-4.0 kernel says when pinging or tracerouting: > looutput: mbuf allocation failed > and network goes down. > > Is it a bug or? > What should I do? 4.0 is over 2 years old. Naturally, as first of a new series, more problematic than one would expect with EG a 3.4 or 4.5 minor release. Upgrade to 4.5, [maybe 4.6] (or 4.6.1 due out in days to resolve security etc issues), & you'll have less problems overall. The latest 4.6.1 RC1 (i386) is available now on the major FreeBSD FTP sites. as just announced: Message-id: <20020717103822.C62004@freebsdmall.com> Subject: FreeBSD 4.6.1 RC1 (i386) From: Murray Stokely Date: Wed, 17 Jul 2002 10:38:22 -0700 (19:38 CEST) To: stable@FreeBSD.ORG Julian Stacey Computer Sys. Eng. & Unix Consultant, Munich Ihr Rauchen = mein allergischer Kopfschmerz ! Schnupftabak probieren. 7000 Free programs: http://www.freebsd.org/ports/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Thu Jul 18 5:26:42 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFE2537B400 for ; Thu, 18 Jul 2002 05:26:40 -0700 (PDT) Received: from smtp03.retemail.es (smtp03.iddeo.es [62.81.186.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFD4E43E42 for ; Thu, 18 Jul 2002 05:26:32 -0700 (PDT) (envelope-from JBIANQUETTI@sadiel.es) Received: from mailscan ([62.81.202.67]) by smtp03.retemail.es (InterMail vM.5.01.05.08 201-253-122-126-108-20020526) with SMTP id <20020718122630.NGZU27705.smtp03.retemail.es@mailscan> for ; Thu, 18 Jul 2002 14:26:30 +0200 Received: FROM CORREO.sadiel.es BY mailscan ; Thu Jul 18 14:24:37 2002 +0200 Received: from bsd.sadiel.es ([172.18.1.41]) by CORREO.sadiel.es with Microsoft SMTPSVC(5.0.2195.3779); Thu, 18 Jul 2002 14:26:23 +0200 Date: Thu, 18 Jul 2002 14:25:21 +0200 From: Jorge Bianquetti de las Heras To: freebsd-isp@FreeBSD.ORG Subject: Re: looutput Message-Id: <20020718142521.1931d8b6.jbianquetti@sadiel.es> In-Reply-To: <200207181108.g6IB8GD62433@flip.jhs.private> References: <200207181108.g6IB8GD62433@flip.jhs.private> X-Mailer: Sylpheed version 0.8.0 (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 18 Jul 2002 12:26:24.0021 (UTC) FILETIME=[548A4C50:01C22E56] Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 18 Jul 2002 13:08:16 +0200 "Julian Stacey" wrote: > > From: "Anton V. Petrov" > > > > on FreeBSD-4.0 kernel says when pinging or tracerouting: > > looutput: mbuf allocation failed > > and network goes down. > > Recompile your kernel with options NMBCLUSTERS=8192 options PMAP_SHPGPERPROC=400 (values may vary depends of your configuration) -- Saludos, Jorge. PD: toma inglés chusquero! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Thu Jul 18 10:43:12 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A34F37B43B for ; Thu, 18 Jul 2002 10:43:02 -0700 (PDT) Received: from smtp1.amigo.net (smtp1.amigo.net [209.94.64.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABFA643E64 for ; Thu, 18 Jul 2002 10:43:01 -0700 (PDT) (envelope-from randys@amigo.net) Received: from stalker.amigo.net (billing.amigo.net [209.94.67.250]) by smtp1.amigo.net (8.12.3/8.12.3) with ESMTP id g6IHhBlH054638 for ; Thu, 18 Jul 2002 11:43:12 -0600 (MDT) (envelope-from randys@amigo.net) Date: Thu, 18 Jul 2002 11:43:27 -0600 (MDT) From: Randy Smith X-X-Sender: randy@stalker.amigo.net To: freebsd-isp@freebsd.org Subject: PPPoE Server + RADIUS setup Message-ID: <20020718113446.W8644-100000@stalker.amigo.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi all, I'm looking for a couple of things. 1) A good general tutorial on how PPPoE works. Google only wants to return hits about Windows client setup (at least in the first 50 hits or so). :-( 2) My boss (and the Network Admin) wants to look at using PPPoE to deal with our broadbasd customers. Fine. We want to authenticate via an existing RADIUS server running on FreeBSD. What do I need to setup a PPPoE server? Can I use /usr/libexec/pppoed or should I install the Roaring Penguin port? Is there a good HOWTO on setting up a PPPoE server on FreeBSD? Thanks. -- Randy Smith Amigo.Net Systems Administrator 1-719-589-6100 x 4185 http://www.amigo.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Thu Jul 18 23:58:32 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C37A37B400 for ; Thu, 18 Jul 2002 23:58:30 -0700 (PDT) Received: from smtp02.iafrica.com (smtp02.iafrica.com [196.7.0.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4877543E64 for ; Thu, 18 Jul 2002 23:58:29 -0700 (PDT) (envelope-from james@organicwire.net) Received: from fresh1.organicwire.net ([196.7.155.98] helo=[192.168.1.2]) by smtp02.iafrica.com with esmtp (Exim 3.20 #1) id 17VRib-000PIE-00 for freebsd-isp@freebsd.org; Fri, 19 Jul 2002 08:58:26 +0200 User-Agent: Microsoft-Entourage/10.1.0.2006 Date: Wed, 17 Jul 2002 22:58:14 +0200 Subject: Logging email traffic From: James Godwin To: Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, Living at the bottom of Africa we are not blessed with cheap bandwidth like the rest of the world. As a hosting provider we have to keep a close watch on clients traffic. We were running Cobalt servers and now have moved onto FreeBSD. That=B9s a long story but very glad we have made the move. My question is on logging virtual host email traffic. I was wondering if anyone could point be to software, scripts or any solution which would enable us to monitor our clients email usage. Analog and Report Magic are working great for www but any ideas for email. Kind regards, James To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Fri Jul 19 3: 1:48 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1494237B400 for ; Fri, 19 Jul 2002 03:01:46 -0700 (PDT) Received: from 217-126-145-95.uc.nombres.ttd.es (217-126-145-95.uc.nombres.ttd.es [217.126.145.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F3DA43E58 for ; Fri, 19 Jul 2002 03:01:45 -0700 (PDT) (envelope-from sjmudd@pobox.com) Received: by unicorn.ea4els.ampr.org (Postfix, from userid 1001) id 397F43250; Fri, 19 Jul 2002 12:01:41 +0200 (CEST) To: freebsd-isp@freebsd.org Subject: Re: Logging email traffic References: From: Simon J Mudd Date: 19 Jul 2002 12:01:40 +0200 In-Reply-To: Message-ID: <8665zc2fzv.fsf@unicorn.ea4els.ampr.org> Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org james@organicwire.net (James Godwin) writes: > Living at the bottom of Africa we are not blessed with cheap bandwidth like > the rest of the world. As a hosting provider we have to keep a close watch > on clients traffic. > > We were running Cobalt servers and now have moved onto FreeBSD. That¹s a > long story but very glad we have made the move. > > My question is on logging virtual host email traffic. I was wondering if > anyone could point be to software, scripts or any solution which would > enable us to monitor our clients email usage. You don't mention which mail server you are using. If it's Postfix pflogsumm.pl gives very good statistics. It's been a while since I've used sendmail but there are a few scripts out there which give sendmail statistics. It really depends on what information you need and this may require tailor made scripts, though using something like pflogsumm.pl may be a good place to start Simon -- Simon J Mudd, Tel: +34-91-408 4878, Mobile: +34-605-085 219 Madrid, Spain. email: sjmudd@pobox.com, Postfix RPM Packager To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Fri Jul 19 6:48: 7 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C09637B400 for ; Fri, 19 Jul 2002 06:48:03 -0700 (PDT) Received: from proverbs.outreachnetworks.com (proverbs.outreachnetworks.com [65.196.249.4]) by mx1.FreeBSD.org (Postfix) with SMTP id B43E143E58 for ; Fri, 19 Jul 2002 06:48:02 -0700 (PDT) (envelope-from elh@outreachnetworks.com) Received: (qmail 77880 invoked from network); 19 Jul 2002 13:48:02 -0000 Received: from unknown (HELO phoncella.outreachnetworks.com) (65.196.249.11) by proverbs.outreachnetworks.com with SMTP; 19 Jul 2002 13:48:02 -0000 Received: (from elh@localhost) by phoncella.outreachnetworks.com (8.11.6/8.11.6) id g6JDm2w15499 for freebsd-isp@FreeBSD.ORG; Fri, 19 Jul 2002 09:48:02 -0400 X-Authentication-Warning: phoncella.outreachnetworks.com: elh set sender to elh@outreachnetworks.com using -f Date: Fri, 19 Jul 2002 09:48:01 -0400 From: "Eric L. Howard" To: freebsd-isp@FreeBSD.ORG Subject: Re: PPPoE Server + RADIUS setup Message-ID: <20020719094801.D13778@outreachnetworks.com> Mail-Followup-To: freebsd-isp@FreeBSD.ORG References: <20020718113446.W8644-100000@stalker.amigo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020718113446.W8644-100000@stalker.amigo.net>; from randys@amigo.net on Thu, Jul 18, 2002 at 11:43:27AM -0600 X-Favorite-Scripture: Romans 8:18 X-Theocratic-Rule-Advocate: http://www.crossmovement.com X-Registered-Secret-Agent: Agent Double-Naught Seven X-Operating-System: Linux 2.4.7-10 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At a certain time, now past, Randy Smith spake thusly: > Hi all, > > I'm looking for a couple of things. > 1) A good general tutorial on how PPPoE works. Google only wants to return > hits about Windows client setup (at least in the first 50 hits or so). :-( > > 2) My boss (and the Network Admin) wants to look at using PPPoE to deal > with our broadbasd customers. Fine. We want to authenticate via an > existing RADIUS server running on FreeBSD. What do I need to setup a PPPoE > server? Can I use /usr/libexec/pppoed or should I install the Roaring > Penguin port? Is there a good HOWTO on setting up a PPPoE server on > FreeBSD? I don't know about a HOW-TO, but the /usr/share/examples/ppp/ppp.conf.sample has this snippet: --------8<--snip-------- # ppp supports ppp over ethernet (PPPoE). Beware, many PPP servers cache # the MAC address that connects to them, making it impossible to switch # your PPPoE connection between machines. # # The current implementation requires Netgraph, so it doesn't work with # OpenBSD or NetBSD. # # The client should be something like this: # --------8<--snip-------- # And the server should be running # # /usr/libexec/pppoed -p pppoe-in fxp0 # # See rc.conf(5) # pppoe-in: allow mode direct # Only for use on server-side enable lqr proxy # Enable LQR and proxy-arp enable chap pap passwdauth # Force client authentication set ifaddr 10.0.0.1 10.0.0.100-10.0.0.199 # Hand out up to 100 IP numbers accept dns # Allow DNS negotiation --------8<--snip-------- the line you'll need to load up RADIUS for auth is in the same file. also man 8 pppoed man 8 ppp contain a ton of info. ~elh -- Eric L. Howard e l h @ o u t r e a c h n e t w o r k s . c o m ------------------------------------------------------------------------ www.OutreachNetworks.com 313.297.9900 ------------------------------------------------------------------------ Advocate of the Theocratic Rule To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Fri Jul 19 7: 8:52 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3ABF37B409 for ; Fri, 19 Jul 2002 07:08:46 -0700 (PDT) Received: from pcp01235224pcs.roylok01.mi.comcast.net (pcp01235224pcs.roylok01.mi.comcast.net [68.60.242.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A24A43E5E for ; Fri, 19 Jul 2002 07:08:46 -0700 (PDT) (envelope-from joe@edgehosting.com) Received: (qmail 51453 invoked from network); 19 Jul 2002 14:10:33 -0000 Received: from unknown (HELO beta) (10.10.128.10) by 192.168.128.10 with SMTP; 19 Jul 2002 14:10:33 -0000 Message-ID: <003001c22f2d$ca1f2df0$0a800a0a@edgehosting.com> From: "Joe White" To: "James Godwin" , References: Subject: Re: Logging email traffic Date: Fri, 19 Jul 2002 10:08:42 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I use Isoqlog, it supports Sendmail, Postfix, and QMail. It's relatively simple to setup, and easy to use. You can check it out here: http://www.enderunix.org/isoqlog/ for sample output: http://www.enderunix.org/isoqlog/output/ Hope this helps. Cheers! Joe White Edge Networking Solutions http://www.edgenetworkingsolutions.com jwhite@EdgeNetworkingSolutions.com 248.561.2827 ----- Original Message ----- From: "James Godwin" To: Sent: Wednesday, July 17, 2002 4:58 PM Subject: Logging email traffic > Hi, > > Living at the bottom of Africa we are not blessed with cheap bandwidth like > the rest of the world. As a hosting provider we have to keep a close watch > on clients traffic. > > We were running Cobalt servers and now have moved onto FreeBSD. That¹s a > long story but very glad we have made the move. > > My question is on logging virtual host email traffic. I was wondering if > anyone could point be to software, scripts or any solution which would > enable us to monitor our clients email usage. > > Analog and Report Magic are working great for www but any ideas for email. > > Kind regards, > > James > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Fri Jul 19 15:40:49 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FA7037B4E0 for ; Fri, 19 Jul 2002 15:40:43 -0700 (PDT) Received: from smtp1.amigo.net (smtp1.amigo.net [209.94.64.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AC4443E5E for ; Fri, 19 Jul 2002 15:40:42 -0700 (PDT) (envelope-from randys@amigo.net) Received: from stalker.amigo.net (billing.amigo.net [209.94.67.250]) by smtp1.amigo.net (8.12.3/8.12.3) with ESMTP id g6JMexlH086490; Fri, 19 Jul 2002 16:41:00 -0600 (MDT) (envelope-from randys@amigo.net) Date: Fri, 19 Jul 2002 16:41:13 -0600 (MDT) From: Randy Smith X-X-Sender: randy@stalker.amigo.net To: "Eric L. Howard" Cc: "freebsd-isp@FreeBSD.ORG" Subject: Re: PPPoE Server + RADIUS setup In-Reply-To: <20020719094801.D13778@outreachnetworks.com> Message-ID: <20020719115612.E8644-100000@stalker.amigo.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 19 Jul 2002, Eric L. Howard wrote: > Date: Fri, 19 Jul 2002 09:48:01 -0400 > From: Eric L. Howard > To: "freebsd-isp@FreeBSD.ORG" > Subject: Re: PPPoE Server + RADIUS setup > > At a certain time, now past, Randy Smith spake thusly: > > Hi all, > > > > I'm looking for a couple of things. > > 1) A good general tutorial on how PPPoE works. Google only wants to return > > hits about Windows client setup (at least in the first 50 hits or so). :-( > > > > 2) My boss (and the Network Admin) wants to look at using PPPoE to deal > > with our broadbasd customers. Fine. We want to authenticate via an > > existing RADIUS server running on FreeBSD. What do I need to setup a PPPoE > > server? Can I use /usr/libexec/pppoed or should I install the Roaring > > Penguin port? Is there a good HOWTO on setting up a PPPoE server on > > FreeBSD? > > I don't know about a HOW-TO, but the /usr/share/examples/ppp/ppp.conf.sample > has this snippet: Thanks. That helps. There seems to be very little documentation on setting up a PPPoE access concentrator anywhere. -- Randy Smith Amigo.Net Systems Administrator 1-719-589-6100 x 4185 http://www.amigo.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Jul 20 6:22:17 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4F9537B400 for ; Sat, 20 Jul 2002 06:22:13 -0700 (PDT) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3573D43E58 for ; Sat, 20 Jul 2002 06:22:08 -0700 (PDT) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 3.36 #1 (FreeBSD)) id 17Vu9X-0003qf-00 for ; Sat, 20 Jul 2002 16:20:07 +0300 Date: Sat, 20 Jul 2002 16:20:07 +0300 From: Odhiambo Washington To: freebsd-isp@FreeBSD.ORG Subject: adduser.pl problem Message-ID: <20020720132007.GF22971@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-isp@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: Coincidences are spiritual puns. -- G. K. Chesterton X-Operating-System: FreeBSD 4.5-STABLE i386 X-Best-Window-Manager: Blackbox X-Mailer: Mutt 1.4i (2002-05-29) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 4:16PM up 47 days, 7 hrs, 1 user, load averages: 0.32, 0.32, 0.29 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello Gentlemen, I have read the man page of adduser but something I am missing get's me going nuts. My adduser.message is a text that has an e-mail address: support@wananchi.com When I don't escape the @, I get adduser sending the message without the suffix part of the e-mail. If I escape it, my users get the e-mail in there as support\@wananchi.com ;-) I have tried to put in adduser.conf: CONTACT = "support@wananchi.com" and then refer to this in adduser.message as $CONTACT but this still doesn't work. What am I missing?? Thanks -Wash -- Odhiambo Washington "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD." GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :-) If you have a procedure with 10 parameters, you probably missed some. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Jul 20 8:35:34 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CEEA537B400 for ; Sat, 20 Jul 2002 08:35:31 -0700 (PDT) Received: from aurora.siteplus.com (aurora.siteplus.com [66.129.2.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EEA643E3B for ; Sat, 20 Jul 2002 08:35:31 -0700 (PDT) (envelope-from jim@jwweeks.com) Received: from veager.jwweeks.com (pcp01076331pcs.midval01.tn.comcast.net [68.59.219.194]) by aurora.siteplus.com (8.12.5/8.12.5) with ESMTP id g6KFZ34f052450; Sat, 20 Jul 2002 11:35:25 -0400 (EDT) (envelope-from jim@jwweeks.com) Date: Sat, 20 Jul 2002 11:35:06 -0400 (EDT) From: Jim Weeks To: Chris Knipe Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Scripts to Manage Virtual Hosts In-Reply-To: <009f01c22d27$abb25200$fe01a8c0@genocide> Message-ID: <20020720113347.M373-100000@veager.jwweeks.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 17 Jul 2002, Chris Knipe wrote: > > # restart named > > sub restart_named { > > open(CMD,"|/bin/kill -1 `cat /var/run/named.pid`"); > > close (CMD); > > } > > Just FYI... > > ndc reload ; and > ndc reconfig > > may just be a cleaner way of doing a restart :-) Thanks, I like that a lot better. -- Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Jul 20 11:33:35 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AB7E37B400 for ; Sat, 20 Jul 2002 11:33:32 -0700 (PDT) Received: from isot.com (isot.com [63.161.224.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CCEE43E65 for ; Sat, 20 Jul 2002 11:33:31 -0700 (PDT) (envelope-from freebsd@isot.com) Received: from felix (office1.multibyte.net [63.161.239.70]) by isot.com (8.12.5/8.12.3) with SMTP id g6KIYQDa020108 for ; Sat, 20 Jul 2002 13:34:27 -0500 (CDT) (envelope-from freebsd@isot.com) Message-ID: <00bd01c2301c$b6d5fd10$46efa13f@felix> From: "Felix C." To: "FreeBSD-ISP" Subject: Restart without reboot Date: Sat, 20 Jul 2002 13:38:59 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00BA_01C22FF2.CDC2C500" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-isp@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 multi-part message in MIME format. ------=_NextPart_000_00BA_01C22FF2.CDC2C500 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I know you can restart just a process by using 'kill -HUP pid', but what = process do I need to restart after modifying /etc/rc.conf? I've always = rebooted the machine in the past, but I've heard you can have the = rc.conf re-read. ------=_NextPart_000_00BA_01C22FF2.CDC2C500 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I know you can restart just a process = by using=20 'kill -HUP pid', but what process do I need to restart after modifying=20 /etc/rc.conf?  I've always rebooted the machine in the past, but = I've heard=20 you can have the rc.conf re-read.
------=_NextPart_000_00BA_01C22FF2.CDC2C500-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Jul 20 11:34:34 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CD7A37B401 for ; Sat, 20 Jul 2002 11:34:32 -0700 (PDT) Received: from iota.root-servers.ch (iota.root-servers.ch [193.41.193.195]) by mx1.FreeBSD.org (Postfix) with SMTP id 2C5C043E31 for ; Sat, 20 Jul 2002 11:34:27 -0700 (PDT) (envelope-from gaml@buz.ch) Received: (qmail 545 invoked from network); 20 Jul 2002 18:34:23 -0000 Received: from dclient217-162-128-229.hispeed.ch (HELO gaxp1800) (217.162.128.229) by 0 with SMTP; 20 Jul 2002 18:34:23 -0000 Date: Sat, 20 Jul 2002 20:35:04 +0200 From: Gabriel Ambuehl X-Mailer: The Bat! (v1.60q) Educational Reply-To: Gabriel Ambuehl X-Priority: 3 (Normal) Message-ID: <141278033968.20020720203504@buz.ch> To: isp@freebsd.org Subject: named suddenly refuses to answer requests... MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, I have there got a strange problem with named after I have updated it to 8.3.3 (i.e. 4.6p3) on one of my machines: it just won't answer any requests anymore. Another machine, which the sources built and from which I installed them over NFS works as it should, both got exactly the same named.conf (scp'ed it from our master DNS server) and /var/log/messages doesn't say anything about it. Does anyone have any clue what's going on here? Any help would greatly be appreciated. TIA & regards, Gabriel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Jul 20 11:48:52 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80C4737B400 for ; Sat, 20 Jul 2002 11:48:49 -0700 (PDT) Received: from server.newspace.net.br (200-161-130-58.dsl.telesp.net.br [200.161.130.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8626243E58 for ; Sat, 20 Jul 2002 11:48:47 -0700 (PDT) (envelope-from antonio.torres@newspace.net.br) Received: from thinkpad.newspace.net.br (antonio.newspace.net.br [200.221.55.15]) by server.newspace.net.br (8.11.6/8.11.6) with SMTP id g6KImni60078 for ; Sat, 20 Jul 2002 15:48:49 -0300 (BRT) (envelope-from antonio.torres@newspace.net.br) Date: Sat, 20 Jul 2002 15:48:40 -0300 From: Antonio Torres To: freebsd-isp@FreeBSD.ORG Subject: Re: Restart without reboot Message-Id: <20020720154840.0567f812.antonio.torres@newspace.net.br> In-Reply-To: <00bd01c2301c$b6d5fd10$46efa13f@felix> References: <00bd01c2301c$b6d5fd10$46efa13f@felix> Organization: Newspace Telecom. X-Mailer: Sylpheed version 0.7.6 (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, 20 Jul 2002 13:38:59 -0500 "Felix C." wrote: > I know you can restart just a process by using 'kill -HUP pid', but what process do I need to restart after modifying /etc/rc.conf? I've always rebooted the machine in the past, but I've heard you can have the rc.conf re-read. You can try : # sh rc the system will perform a "warm restart" Be aware: all scripts on /usr/local/etc/rc.d will also be executed again!! -- Antonio Torres antonio.torres@newspace.net.br To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Jul 20 11:52:14 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B094437B400 for ; Sat, 20 Jul 2002 11:52:09 -0700 (PDT) Received: from kknd.mweb.co.za (kknd.mweb.co.za [196.2.45.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DB4343E5E for ; Sat, 20 Jul 2002 11:52:06 -0700 (PDT) (envelope-from savage@savage.za.org) Received: from cpt-dial-196-30-179-67.mweb.co.za ([196.30.179.67] helo=netsonic.megalan.co.za) by kknd.mweb.co.za with esmtp (Exim 4.01) id 17VzEU-0004ex-00; Sat, 20 Jul 2002 20:45:35 +0200 Received: from genocide.megalan.co.za ([192.168.1.254] helo=genocide) by netsonic.megalan.co.za with smtp (Exim 3.36 #2) id 17VzKN-00038N-47; Sat, 20 Jul 2002 20:51:39 +0200 Message-ID: <002401c2301e$70c9a310$fe01a8c0@genocide> From: "Chris Knipe" To: "Felix C." , "FreeBSD-ISP" References: <00bd01c2301c$b6d5fd10$46efa13f@felix> Subject: Re: Restart without reboot Date: Sat, 20 Jul 2002 20:50:40 +0200 Organization: MegaLAN Corporate Networking Services MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0016_01C2302F.1B7C43C0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-isp@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 multi-part message in MIME format. ------=_NextPart_000_0016_01C2302F.1B7C43C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable init 1 init 3 This switches your system to runlevel 1 (what is is when it starts up), = and when you go back to runlevel 3, your system will "boot up" like it = normally would do after a reboot. Regards, Chris Knipe Cell: (072) 434-7582 MegaLAN Corporate Networking Services ----- Original Message -----=20 From: Felix C.=20 To: FreeBSD-ISP=20 Sent: Saturday, July 20, 2002 8:38 PM Subject: Restart without reboot I know you can restart just a process by using 'kill -HUP pid', but = what process do I need to restart after modifying /etc/rc.conf? I've = always rebooted the machine in the past, but I've heard you can have the = rc.conf re-read. ------=_NextPart_000_0016_01C2302F.1B7C43C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
init 1
init 3
 
This switches your system to runlevel 1 = (what is is=20 when it starts up), and when you go back to runlevel 3, your system will = "boot=20 up" like it normally would do after a reboot.

Regards,
Chris Knipe
Cell: (072) 434-7582
MegaLAN = Corporate=20 Networking Services
 
 
----- Original Message -----
From:=20 Felix = C.
Sent: Saturday, July 20, 2002 = 8:38=20 PM
Subject: Restart without = reboot

I know you can restart just a process = by using=20 'kill -HUP pid', but what process do I need to restart after modifying = /etc/rc.conf?  I've always rebooted the machine in the past, but = I've=20 heard you can have the rc.conf = re-read.
------=_NextPart_000_0016_01C2302F.1B7C43C0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Jul 20 14:23:11 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43FFC37B400 for ; Sat, 20 Jul 2002 14:23:10 -0700 (PDT) Received: from web1.nexusinternetsolutions.net (web1.nexusinternetsolutions.net [206.47.131.12]) by mx1.FreeBSD.org (Postfix) with SMTP id 84D4E43E3B for ; Sat, 20 Jul 2002 14:23:09 -0700 (PDT) (envelope-from dave@hawk-systems.com) Received: (qmail 54680 invoked from network); 20 Jul 2002 21:24:33 -0000 Received: from unknown (HELO ws1) (209.226.189.81) by web1.nexusinternetsolutions.net with SMTP; 20 Jul 2002 21:24:33 -0000 From: "Dave [Hawk-Systems]" To: "Chris Knipe" , "FreeBSD-ISP" Subject: RE: Restart without reboot Date: Sat, 20 Jul 2002 17:23:04 -0400 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) In-Reply-To: <002401c2301e$70c9a310$fe01a8c0@genocide> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org can this be done remotely (ie via ssh?) >init 1 >init 3 > >This switches your system to runlevel 1 (what is is when it starts >up), and when you go back to runlevel 3, your system will "boot up" >like it normally would do after a reboot. > >>I know you can restart just a process by using 'kill -HUP pid', but >>what process do I need to restart after modifying /etc/rc.conf? I've >>always rebooted the machine in the past, but I've heard you can have >>the rc.conf re-read. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Jul 20 15: 2:20 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9664F37B400 for ; Sat, 20 Jul 2002 15:02:17 -0700 (PDT) Received: from starcraft.mweb.co.za (starcraft.mweb.co.za [196.2.45.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F27943E6D for ; Sat, 20 Jul 2002 15:02:14 -0700 (PDT) (envelope-from savage@savage.za.org) Received: from cpt-dial-196-30-179-67.mweb.co.za ([196.30.179.67] helo=netsonic.megalan.co.za) by starcraft.mweb.co.za with esmtp (Exim 4.01) id 17W2Ia-00005h-00; Sun, 21 Jul 2002 00:02:02 +0200 Received: from genocide.megalan.co.za ([192.168.1.254] helo=genocide) by netsonic.megalan.co.za with smtp (Exim 3.36 #2) id 17W2IS-0004FR-47; Sun, 21 Jul 2002 00:01:52 +0200 Message-ID: <001101c23039$1697a020$fe01a8c0@genocide> From: "Chris Knipe" To: "Dave [Hawk-Systems]" , "FreeBSD-ISP" References: Subject: Re: Restart without reboot Date: Sun, 21 Jul 2002 00:01:31 +0200 Organization: MegaLAN Corporate Networking Services 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 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org No, Once the system is in init 1, it is single-user mode. It only runs one shell, one one console. You'll need to be physically infront of the system... ----- Original Message ----- From: "Dave [Hawk-Systems]" To: "Chris Knipe" ; "FreeBSD-ISP" Sent: Saturday, July 20, 2002 11:23 PM Subject: RE: Restart without reboot > can this be done remotely (ie via ssh?) > > >init 1 > >init 3 > > > >This switches your system to runlevel 1 (what is is when it starts > >up), and when you go back to runlevel 3, your system will "boot up" > >like it normally would do after a reboot. > > > >>I know you can restart just a process by using 'kill -HUP pid', but > >>what process do I need to restart after modifying /etc/rc.conf? I've > >>always rebooted the machine in the past, but I've heard you can have > >>the rc.conf re-read. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Jul 20 15:26:19 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 67D0937B400 for ; Sat, 20 Jul 2002 15:26:17 -0700 (PDT) Received: from blue.centerone.com (blue.centerone.com [204.133.183.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24DDD43E31 for ; Sat, 20 Jul 2002 15:26:13 -0700 (PDT) (envelope-from rforsythe@centerone.com) Received: from DELIVERANCE-XP.centerone.com (hs5-ifw.wiaas.org [65.102.239.61]) by blue.centerone.com (8.9.3/8.9.3) with ESMTP id QAA24585 for ; Sat, 20 Jul 2002 16:40:05 -0600 Message-Id: <5.1.0.14.2.20020720161747.01c6cff0@mail.centerone.com> X-Sender: rforsythe@mail.centerone.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sat, 20 Jul 2002 16:19:54 -0600 To: "FreeBSD-ISP" From: Ralph Forsythe Subject: Re: Restart without reboot In-Reply-To: <001101c23039$1697a020$fe01a8c0@genocide> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Or, have it set up to use a serial console, and have that plugged into either another PC, or a modem or router of some kind. Though I think you'd have to reboot to do that... But once it's set up you don't have to worry about it. -rf At 12:01 AM 7/21/2002 +0200, Chris Knipe wrote: >No, > >Once the system is in init 1, it is single-user mode. It only runs one >shell, one one console. > >You'll need to be physically infront of the system... > > >----- Original Message ----- >From: "Dave [Hawk-Systems]" >To: "Chris Knipe" ; "FreeBSD-ISP" > >Sent: Saturday, July 20, 2002 11:23 PM >Subject: RE: Restart without reboot > > > > can this be done remotely (ie via ssh?) > > > > >init 1 > > >init 3 > > > > > >This switches your system to runlevel 1 (what is is when it starts > > >up), and when you go back to runlevel 3, your system will "boot up" > > >like it normally would do after a reboot. > > > > > >>I know you can restart just a process by using 'kill -HUP pid', but > > >>what process do I need to restart after modifying /etc/rc.conf? I've > > >>always rebooted the machine in the past, but I've heard you can have > > >>the rc.conf re-read. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-isp" in the body of the message > > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-isp" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Jul 20 16: 8:30 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EC2037B400 for ; Sat, 20 Jul 2002 16:08:27 -0700 (PDT) Received: from mail.npubs.com (npubs.com [207.111.208.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA7A443E3B for ; Sat, 20 Jul 2002 16:08:26 -0700 (PDT) (envelope-from nielsen@memberwebs.com) From: "Nielsen" To: "FreeBSD-ISP" , "Ralph Forsythe" References: <5.1.0.14.2.20020720161747.01c6cff0@mail.centerone.com> Subject: Re: Restart without reboot 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 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-Id: <20020720230917.7E05E43B398@mail.npubs.com> Date: Sat, 20 Jul 2002 23:09:17 +0000 (GMT) Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Each of the variables set in rc.conf get used in a different way. If you can figure out what that is you can perform the action remotely, without rebooting or taking down a running system (ie: single user). Look at the rc.* scripts. Nate ----- Original Message ----- From: "Ralph Forsythe" To: "FreeBSD-ISP" Sent: Saturday, July 20, 2002 16:27 Subject: Re: Restart without reboot > Or, have it set up to use a serial console, and have that plugged into > either another PC, or a modem or router of some kind. Though I think you'd > have to reboot to do that... But once it's set up you don't have to worry > about it. > > -rf > > At 12:01 AM 7/21/2002 +0200, Chris Knipe wrote: > >No, > > > >Once the system is in init 1, it is single-user mode. It only runs one > >shell, one one console. > > > >You'll need to be physically infront of the system... > > > > > >----- Original Message ----- > >From: "Dave [Hawk-Systems]" > >To: "Chris Knipe" ; "FreeBSD-ISP" > > > >Sent: Saturday, July 20, 2002 11:23 PM > >Subject: RE: Restart without reboot > > > > > > > can this be done remotely (ie via ssh?) > > > > > > >init 1 > > > >init 3 > > > > > > > >This switches your system to runlevel 1 (what is is when it starts > > > >up), and when you go back to runlevel 3, your system will "boot up" > > > >like it normally would do after a reboot. > > > > > > > >>I know you can restart just a process by using 'kill -HUP pid', but > > > >>what process do I need to restart after modifying /etc/rc.conf? I've > > > >>always rebooted the machine in the past, but I've heard you can have > > > >>the rc.conf re-read. > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-isp" in the body of the message > > > > > > > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-isp" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Jul 20 16:26:32 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 403F337B400 for ; Sat, 20 Jul 2002 16:26:30 -0700 (PDT) Received: from amor.yuckfou.org (f40079.upc-f.chello.nl [80.56.40.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35F0143E31 for ; Sat, 20 Jul 2002 16:26:29 -0700 (PDT) (envelope-from nivo+freebsd-isp@yuckfou.org) Received: by amor.yuckfou.org (Yuckfou Networks, from userid 500) id EB72EBA13; Sun, 21 Jul 2002 01:26:23 +0200 (CEST) Date: Sun, 21 Jul 2002 01:26:23 +0200 From: Nils Vogels To: FreeBSD-ISP Subject: Re: Restart without reboot Message-ID: <20020720232623.GL66343@amor.yuckfou.org> Reply-To: Nils Vogels Mail-Followup-To: FreeBSD-ISP References: <001101c23039$1697a020$fe01a8c0@genocide> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001101c23039$1697a020$fe01a8c0@genocide> User-Agent: Mutt/1.4i Organization: Yuckfou Networks -- Internet with a smile! X-PGP-key: finger://nivo.pgpkey@yuckfou.org X-PGP-Fingerprint: B43C 1EFB 1DD3 4D7E 7D49 8036 401F BE41 C26B D15F X-Echelon-trap: Arafat, bomb, hezbollah, terrorist, gun, FBI, CIA, FCC, murder, kill X-Stardate: [-30]8794.87 X-Uptime: 1:25AM up 13 days, 5:28, 7 users, load averages: 1.03, 1.05, 1.00 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Jul 21, 2002 at 12:01:31AM +0200, Chris Knipe wrote: > No, > > Once the system is in init 1, it is single-user mode. It only runs one > shell, one one console. > > You'll need to be physically infront of the system... If cron still runs in single user mode, you might use cron to automagically enter runlevel 3 again .. it's not pretty and clean, but .. my guess is it should get the job done :) Gr, -- Nils Vogels PGP:0xC26BD15F Available on keyservers. S@H:5230WU/7.086yr --> setiathome.ssl.berkeley.edu. Will you find aliens? My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Jul 20 18:11:33 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84D3037B400 for ; Sat, 20 Jul 2002 18:11:32 -0700 (PDT) Received: from gldis.ca (constans.gldis.ca [216.187.105.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECBA243E31 for ; Sat, 20 Jul 2002 18:11:31 -0700 (PDT) (envelope-from gldisater@gldis.ca) Received: from gldis.ca (gldisater@localhost [127.0.0.1]) by gldis.ca (8.12.3/8.12.3) with ESMTP id g6L1BPL3013050; Sat, 20 Jul 2002 21:11:25 -0400 (EDT) (envelope-from gldisater@gldis.ca) Received: (from gldisater@localhost) by gldis.ca (8.12.3/8.12.3/Submit) id g6L1BP7W013049; Sat, 20 Jul 2002 21:11:25 -0400 (EDT) Date: Sat, 20 Jul 2002 21:11:25 -0400 From: Jeremy Faulkner To: Nils Vogels Cc: isp@freebsd.org Subject: Re: Restart without reboot Message-ID: <20020720211125.A13006@constans.gldis.ca> References: <001101c23039$1697a020$fe01a8c0@genocide> <20020720232623.GL66343@amor.yuckfou.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020720232623.GL66343@amor.yuckfou.org>; from nivo+freebsd-isp@yuckfou.org on Sun, Jul 21, 2002 at 01:26:23AM +0200 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > If cron still runs in single user mode, you might use cron to automagically > enter runlevel 3 again .. it's not pretty and clean, but .. my guess is it > should get the job done :) > > Gr, > > -- > Nils Vogels PGP:0xC26BD15F Available on keyservers. > S@H:5230WU/7.086yr --> setiathome.ssl.berkeley.edu. Will you find aliens? The only thing running when you enter single user mode is sh. -- Jeremy Faulkner http://www.gldis.ca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Jul 20 20: 0:36 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00B7537B400 for ; Sat, 20 Jul 2002 20:00:35 -0700 (PDT) Received: from frontend1.aha.ru (fish.zenon.net [213.189.198.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B42943E31 for ; Sat, 20 Jul 2002 20:00:33 -0700 (PDT) (envelope-from lonerx@ok.ru) Received: from [213.221.51.134] (HELO lonerx.local.com) by frontend1.aha.ru (CommuniGate Pro SMTP 3.5.9) with ESMTP id 145496531 for freebsd-isp@FreeBSD.ORG; Sun, 21 Jul 2002 07:00:32 +0400 Date: Sun, 21 Jul 2002 07:01:44 +0400 From: LonerX To: freebsd-isp@FreeBSD.ORG Subject: remote system upgrade Message-ID: <20020721030144.GA865@lonerx> Reply-To: lonerx@ok.ru Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=KOI8-R Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer: Balsa 1.3.6 Lines: 11 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello. All we know how much cvsup and following makes mean for a system. But being able to cvsup the sources on my remote server and being able to build the world I cannot find the way to 'make installworld' remotely. If somebody has experience in that and can share it with me I'll be really glad and grateful to know about it. Sincerely, Ivan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message