From owner-freebsd-questions Sun Nov 10 0:10:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70B8D37B401; Sun, 10 Nov 2002 00:10:13 -0800 (PST) Received: from nezlok.unixathome.org (nezlok.unixathome.org [216.187.87.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3ED6D43E6E; Sun, 10 Nov 2002 00:10:13 -0800 (PST) (envelope-from dan@nezlok.unixathome.org) Received: by nezlok.unixathome.org (Postfix, from userid 1000) id 85002AE497; Sun, 10 Nov 2002 00:10:01 -0800 (PST) From: Dan Langille To: freebsd-newbies@freebsd.org, freebsd-questions@freebsd.org Subject: The FreeBSD Diary: 2002-10-20 - 2002-11-09 Message-Id: <20021110081001.85002AE497@nezlok.unixathome.org> Date: Sun, 10 Nov 2002 00:10:01 -0800 (PST) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives and/or The FreeBSD Diary . These are the articles posted during this period: 6-Nov : Postfix - virtual domains This is easier than it sounds.... http://freebsddiary.org/postfix.php?2 -- Dan Langille - DVL Software Limited The FreeBSD Diary - http://www.FreeBSDDiary.org/ - practical examples FreshPorts - http://www.FreshPorts.org/ - the place for ports FreshSource - http://www.FreshSource.org/ - the place for source To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 1: 2:34 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04B1D37B401 for ; Sun, 10 Nov 2002 01:02:34 -0800 (PST) Received: from netlx010.civ.utwente.nl (netlx010.civ.utwente.nl [130.89.1.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id E120743E6E for ; Sun, 10 Nov 2002 01:02:32 -0800 (PST) (envelope-from e.blok@ieee.org) Received: from ieee.org (cal30b034.student.utwente.nl [130.89.164.47]) by netlx010.civ.utwente.nl (8.11.4/HKD) with ESMTP id gAA92RN03516 for ; Sun, 10 Nov 2002 10:02:27 +0100 Message-ID: <3DCE20A3.1040505@ieee.org> Date: Sun, 10 Nov 2002 10:02:27 +0100 From: Eelke Blok User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2b) Gecko/20021016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Moving my home server to completely different hardware Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, I'm running a home server, which acts as an IP-forwarding machine for my home network, does some webserving, mail, etc. It's currently based on a Pentium 120, but I plan to move it to an AMD Athlon.About the only thing that will remain the same is the hard drive and the two NICs in the machine. What would be my best route? Fresh install? (Eeek, have to install everything all over again). I think it should be possible to just take the hard drive and put in in the new machine, boot a generic kernel and then compile a new kernel for the new hardware, but I'm wondering whether I'm missing something. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 1: 5:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF49B37B401 for ; Sun, 10 Nov 2002 01:05:37 -0800 (PST) Received: from web20003.mail.yahoo.com (web20003.mail.yahoo.com [216.136.225.48]) by mx1.FreeBSD.org (Postfix) with SMTP id B2E6243E6E for ; Sun, 10 Nov 2002 01:05:37 -0800 (PST) (envelope-from vctw@yahoo.com) Message-ID: <20021110090537.27379.qmail@web20003.mail.yahoo.com> Received: from [168.95.19.3] by web20003.mail.yahoo.com via HTTP; Sun, 10 Nov 2002 01:05:37 PST Date: Sun, 10 Nov 2002 01:05:37 -0800 (PST) From: Vincent Chen Subject: CGI using suidperl question? To: FreeBSD maillist MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, all I got to write a CGI to handle network interface on freebsd. After some tests have done, I found a possible issue.My apache running as www and my cgi has suid bit set,it seems that suidperl only set euid, but real uid still www and some tasks can be done. This is the output that my CGI call /usr/bin/id: uid=80(www) euid=0(root) gid=80(www) groups=80(www) Is it possible to hide real uid www and replace it wit root? Thanks, __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 1:12:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1513937B401 for ; Sun, 10 Nov 2002 01:12:14 -0800 (PST) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id A21CD43E4A for ; Sun, 10 Nov 2002 01:12:13 -0800 (PST) (envelope-from kstewart@owt.com) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id BAA08845; Sun, 10 Nov 2002 01:12:10 -0800 Message-ID: <3DCE22E9.40100@owt.com> Date: Sun, 10 Nov 2002 01:12:09 -0800 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: Eelke Blok Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Moving my home server to completely different hardware References: <3DCE20A3.1040505@ieee.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Eelke Blok wrote: > Hi all, > > I'm running a home server, which acts as an IP-forwarding machine for my > home network, does some webserving, mail, etc. It's currently based on a > Pentium 120, but I plan to move it to an AMD Athlon.About the only thing > that will remain the same is the hard drive and the two NICs in the > machine. > > What would be my best route? Fresh install? (Eeek, have to install > everything all over again). I think it should be possible to just take > the hard drive and put in in the new machine, boot a generic kernel and > then compile a new kernel for the new hardware, but I'm wondering > whether I'm missing something. > If you use the same class hardware such as cpu, NICs, and audio, you just move them and turn the machine on. If you change cpu classes, you can always upgrade your kernel before you move it. The only time I had problems was when I moved a smp system to a single cpu mother board. It died before I could modify the kernel. A generic boot, change the kernel to non-smp, and the system has run every since. I don't run options in my kernel and etc. I can move a system to Intel and AMD because of this. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 1:32:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE02937B401 for ; Sun, 10 Nov 2002 01:32:45 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B8E143E42 for ; Sun, 10 Nov 2002 01:32:44 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id gAA9WZpj067326 for ; Sun, 10 Nov 2002 09:32:35 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id gAA9WUTK067321 for questions@FreeBSD.ORG; Sun, 10 Nov 2002 09:32:30 GMT Date: Sun, 10 Nov 2002 09:32:30 +0000 From: Matthew Seaman To: questions@FreeBSD.ORG Subject: Re: Help with lost partition info. Message-ID: <20021110093230.GA67029@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-2.2 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_05_08, USER_AGENT,USER_AGENT_MUTT version=2.43 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Nov 09, 2002 at 04:04:56PM -0800, Derrick MacPherson wrote: > I lost my partition info during an upgrade. I never actually wnet ahead > with the upgrade, yet but I guess I overwrote the info that says whre my > partitions are mounted, and I'm unsure whichi is which.. I don't want to > map / to the wrong partition and have the /etc/master.passwd and other > important files overwritten. I have the latest boot floppies, and I can > get to sysinstall - I'm wondering if there is a way to get the proper info > off the disks? I have a large partition that I can overwrite if it's > worth doing a minimal install to that partition to read teh origional > fstab file, but is there a easier or better way? I have to get this back > up ASAP, so anything that is quick and easy (HA!) would be great... This is one of those maximum frustration situations: you know the data is still there on the disk, but you can't get to it. All you need to do is reconstruct the disk slice and partition tables, but if you don't get it exactly right you won't achieve anything. *The* quick and easy solution is to have had the foresight to keep offline copies of the output of 'fdisk da0' and 'disklabel -r da0s1' (for whatever values of da0 or da0s1 are appropriate for you system). Print out of both of those should fit onto a single sheet of A4 or letter paper. Make a habit of printing out this information as part of the standard routine of setting up a new machine. Keep the printouts with your level 0 backups. Failing that, your best bet is the sysutils/gpart port -- http://home.pages.de/~michab/gpart/ or http://www.stud.uni-hannover.de/user/76201/gpart/ Of course, to use that you need a running system: your best bets are either to pull the disk out of the trashed machine, add it to a working system and run gpart on it from there (the other system doesn't necessarily have to be FreeBSD: a Linux box would do as well) --- or grab a copy of the staticly linked gpart program from Michail Brzitwa's site, write it onto a floppy and then boot the system to single user mode from the install CDs, mount the floppy and away you go. Fixit mode should work for this purpose: http://www.freebsd.org/relnotes/4-STABLE/installation/i386/trouble.html Section 4.1. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 1:59:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 268F537B401 for ; Sun, 10 Nov 2002 01:59:54 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3037243E42 for ; Sun, 10 Nov 2002 01:59:53 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id gAA9xopj067474 for ; Sun, 10 Nov 2002 09:59:50 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id gAA9xi5o067473 for freebsd-questions@FreeBSD.ORG; Sun, 10 Nov 2002 09:59:44 GMT Date: Sun, 10 Nov 2002 09:59:44 +0000 From: Matthew Seaman To: FreeBSD maillist Subject: Re: CGI using suidperl question? Message-ID: <20021110095944.GB67029@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , FreeBSD maillist References: <20021110090537.27379.qmail@web20003.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021110090537.27379.qmail@web20003.mail.yahoo.com> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-2.2 required=5.0 tests=IN_REP_TO,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT version=2.43 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Nov 10, 2002 at 01:05:37AM -0800, Vincent Chen wrote: > Hi, all > > I got to write a CGI to handle network interface on > freebsd. After some tests have done, I found a > possible issue.My apache running as www and my cgi has > suid bit set,it seems that suidperl only set euid, but > real uid still www and some tasks can be done. This is > the output that my CGI call /usr/bin/id: > > uid=80(www) euid=0(root) gid=80(www) groups=80(www) > > Is it possible to hide real uid www and replace it wit > root? See the perlvar(1) manual page (or equivalently 'perldoc perlvar'): $REAL_USER_ID $UID $< The real uid of this process. (Mnemonic: it's the uid you came from, if you're running setuid.) $EFFECTIVE_USER_ID $EUID $> The effective uid of this process. Example: $< = $>; # set real to effective uid ($<,$>) = ($>,$<); # swap real and effective uid (Mnemonic: it's the uid you went to, if you're running setuid.) < $< > and < $ >> can be swapped only on machines supporting setreuid(). Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 3:37: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC0E337B401 for ; Sun, 10 Nov 2002 03:37:00 -0800 (PST) Received: from gicco.homeip.net (dclient80-218-76-146.hispeed.ch [80.218.76.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E17A43E42 for ; Sun, 10 Nov 2002 03:36:59 -0800 (PST) (envelope-from hampi@rootshell.be) Received: (from hampi@localhost) by gicco.homeip.net (8.11.6/8.11.6) id gAABaqI26050 for freebsd-questions@freebsd.org; Sun, 10 Nov 2002 12:36:52 +0100 (CET) (envelope-from hampi@rootshell.be) Date: Sun, 10 Nov 2002 12:36:52 +0100 From: Hanspeter Roth To: freebsd-questions@freebsd.org Subject: Vtcl, Bwidget and auto_path Message-ID: <20021110123652.A5469@gicco.homeip.net> Reply-To: freebsd-questions@freebsd.org Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I'm trying to develop an application by Vtcl (Visual Tcl). I'm also using Bwidget. When running the application in testmode of Vtcl it starts without problem. Trying to run it standalone fails: Error in startup script: can't find package BWidget while executing "package require BWidget" So I inserted the following statement before `package require BWidget': lappend auto_path /usr/local/lib/vtcl/lib/bwidget Then the application can run standalone. But as soon as I make some changes by Vtcl this statement is dropped. Is there a means to integrate BWidget outside Vtcl in Freebsd? How? -Hanspeter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 3:51:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 696EE37B401 for ; Sun, 10 Nov 2002 03:51:43 -0800 (PST) Received: from as4-1-7.va.g.bonet.se (as4-1-7.va.g.bonet.se [194.236.7.217]) by mx1.FreeBSD.org (Postfix) with SMTP id 40B3B43E42 for ; Sun, 10 Nov 2002 03:51:42 -0800 (PST) (envelope-from kristian@as4-1-7.va.g.bonet.se) Received: (qmail 16876 invoked from network); 10 Nov 2002 12:40:30 -0000 Received: from unknown (HELO Fujitsu) (192.168.1.12) by 192.168.0.4 with SMTP; 10 Nov 2002 12:40:30 -0000 Message-ID: <00f701c288af$3997f6f0$0c01a8c0@Fujitsu> From: "Kristian Larsson" To: Cc: References: <3DAE6805000032F2@cpfe2.be.tisc.dk> Subject: Re: Firebird Date: Sun, 10 Nov 2002 12:49:28 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://firebird.sourceforge.net/ there you'll find some documentation. /K ----- Original Message ----- From: To: Sent: Saturday, November 09, 2002 2:33 PM Subject: Firebird Hi all I have installed Firebird on my FreeBSD 4.7 server. Sadly there is no man pages for firebird and it doesn't start at boot time, so how do I start it? It installs a lot of files in /usr/local/firebird/bin, but I don't know which one is the server. (I hardly know what firebird is, but I am running a webserver and one of my friends would like to use firebird). Hope someone can help me. br socketd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 4:34:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D78F637B404 for ; Sun, 10 Nov 2002 04:34:01 -0800 (PST) Received: from spectraweb.ch (174.99.202.62.dial.bluewin.ch [62.202.99.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9217F43E77 for ; Sun, 10 Nov 2002 04:33:59 -0800 (PST) (envelope-from pcservi@spectraweb.ch) Received: from saturn.spectraweb.ch (localhost.spectraweb.ch [127.0.0.1]) by spectraweb.ch (8.12.6/8.12.5) with ESMTP id gAACZVEH036738; Sun, 10 Nov 2002 13:35:31 +0100 (CET) (envelope-from pcservi@spectraweb.ch) Received: (from martin@localhost) by saturn.spectraweb.ch (8.12.6/8.12.6/Submit) id gAACZTtu036737; Sun, 10 Nov 2002 13:35:29 +0100 (CET) X-Authentication-Warning: saturn.spectraweb.ch: martin set sender to pcservi@spectraweb.ch using -f Date: Sun, 10 Nov 2002 13:35:29 +0100 From: Martin Schweizer To: Simon Dick Cc: Martin Schweizer , freebsd-questions@freebsd.org Subject: Re: Let telnet/ssh session open? Message-ID: <20021110123529.GA36722@spectraweb.ch> Reply-To: Martin Schweizer Mail-Followup-To: Simon Dick , Martin Schweizer , freebsd-questions@freebsd.org References: <20021103153425.GA4597@spectraweb.ch> <20021103154804.GA4797@irrelevant.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021103154804.GA4797@irrelevant.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello Simon It run's great. Thanks for the hint! Am Sun, Nov 03, 2002 at 03:48:04PM +0000 Simon Dick schrieb: > On Sun, Nov 03, 2002 at 04:34:25PM +0100, Martin Schweizer wrote: > > Hello > > > > It's possible, like in Terminalserver under Win2k Server, let a session open? > > For example run a job, close the telnet or ssh session and after some time > > came back and takeover the old session at the leavet point? > > Try in ports, misc/screen for command line stuff and net/vnc for X based > apps -- Regards Martin Schweizer PC-Service M. Schweizer; Gewerbehaus Schwarz; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 4:50:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03C9337B406; Sun, 10 Nov 2002 04:50:16 -0800 (PST) Received: from anchor-post-34.mail.demon.net (anchor-post-34.mail.demon.net [194.217.242.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id F23B443E42; Sun, 10 Nov 2002 04:50:15 -0800 (PST) (envelope-from kevin@caomhin.demon.co.uk) Received: from caomhin.demon.co.uk ([62.49.21.186]) by anchor-post-34.mail.demon.net with esmtp (Exim 3.35 #1) id 18ArXa-000Ou8-0Y; Sun, 10 Nov 2002 12:50:14 +0000 Message-ID: Date: Sun, 10 Nov 2002 12:48:34 +0000 To: sroberts@dsl.pipex.com Cc: FreeBSD Questions , ports@freebsd.org From: Kevin Golding Subject: Now portupgrade -R ruby_static-1.6.7.2002.09.12_1 to ruby_static-1.6.8.p2 fails as well! References: <1036855197.387.37.camel@Demon.vickiandstacey.com> <1036860624.387.49.camel@Demon.vickiandstacey.com> <1036871984.20466.46.camel@Demon.vickiandstacey.com> In-Reply-To: <1036871984.20466.46.camel@Demon.vickiandstacey.com> MIME-Version: 1.0 X-Mailer: Turnpike Integrated Version 5.01 U Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Someone, quite probably Stacey Roberts, once wrote: >Just an update to this here. > >I thought I might as well not bother with trying to upgrade this port, >but to simply deinstall it and reinstall - hoping that the newer version >would get fetched: > >n# make deinstall clean >===> Cleaning for ruby-shim-ruby18-1.7.3.2002.09.20 This is you deleting /usr/ports/lang/ruby16-shim-ruby18/work/* ># make >find: /usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16: No such file >or directory This is the port wondering where /usr/ports/lang/ruby16-shim- ruby18/work/shim/ruby16 is. Try something like: # cd /usr/ports/lang/ruby16-shim-ruby18 # make # cd /usr/ports/lang/ruby_static # make # make install # make clean Kevin -- kevin@caomhin.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 5: 2:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D9F537B401 for ; Sun, 10 Nov 2002 05:02:39 -0800 (PST) Received: from shockwave.systems.pipex.net (shockwave.systems.pipex.net [62.241.160.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10D5743E6E for ; Sun, 10 Nov 2002 05:02:38 -0800 (PST) (envelope-from stacey@Demon.vickiandstacey.com) Received: from Demon (81-86-129-77.dsl.pipex.com [81.86.129.77]) by shockwave.systems.pipex.net (Postfix) with ESMTP id 8351D1600192D; Sun, 10 Nov 2002 13:02:33 +0000 (GMT) Subject: Re: Now portupgrade -R ruby_static-1.6.7.2002.09.12_1 to ruby_static-1.6.8.p2 fails as well! From: Stacey Roberts Reply-To: sroberts@dsl.pipex.com To: Kevin Golding , FreeBSD Questions In-Reply-To: References: <1036855197.387.37.camel@Demon.vickiandstacey.com> <1036860624.387.49.camel@Demon.vickiandstacey.com> <1036871984.20466.46.camel@Demon.vickiandstacey.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-PcCvo3wvpMv2+M4eaJbX" X-Mailer: Ximian Evolution 1.0.8 Date: 10 Nov 2002 13:02:33 +0000 Message-Id: <1036933354.20466.133.camel@Demon.vickiandstacey.com> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-PcCvo3wvpMv2+M4eaJbX Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Kevin, On Sun, 2002-11-10 at 12:48, Kevin Golding wrote: > Someone, quite probably Stacey Roberts, once wrote: > >Just an update to this here. > > > >I thought I might as well not bother with trying to upgrade this port, > >but to simply deinstall it and reinstall - hoping that the newer version > >would get fetched: > > > >n# make deinstall clean >=20 > >=3D=3D=3D> Cleaning for ruby-shim-ruby18-1.7.3.2002.09.20 >=20 > This is you deleting /usr/ports/lang/ruby16-shim-ruby18/work/* >=20 > ># make >=20 > >find: /usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16: No such file > >or directory >=20 > This is the port wondering where /usr/ports/lang/ruby16-shim- > ruby18/work/shim/ruby16 is. >=20 > Try something like: > # cd /usr/ports/lang/ruby16-shim-ruby18 > # make > # cd /usr/ports/lang/ruby_static > # make > # make install > # make clean >=20 Fails: # cd ruby16-shim-ruby18/ Demon# make >> shim-ruby16_18-1.7.3.2002.09.20.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/ruby. >> Attempting to fetch from ftp://xyz.lcs.mit.edu/pub/ruby/shim/. Receiving shim-ruby16_18-1.7.3.2002.09.20.tar.bz2 (109284 bytes): 100% 109284 bytes transferred in 2.3 seconds (47.19 kBps) =3D=3D=3D> Extracting for ruby-shim-ruby18-1.7.3.2002.09.20 >> Checksum OK for ruby/shim-ruby16_18-1.7.3.2002.09.20.tar.bz2. =3D=3D=3D> ruby-shim-ruby18-1.7.3.2002.09.20 depends on file: /usr/local/bin/ruby - found =3D=3D=3D> Patching for ruby-shim-ruby18-1.7.3.2002.09.20 =3D=3D=3D> Configuring for ruby-shim-ruby18-1.7.3.2002.09.20 =3D=3D=3D> Building for ruby-shim-ruby18-1.7.3.2002.09.20 =3D=3D=3D> Configuring... install.rb: entering config phase... ---> lib ---> lib/features ---> lib/features/ruby18 <--- lib/features/ruby18 <--- lib/features ---> lib/optparse <--- lib/optparse ---> lib/racc <--- lib/racc <--- lib ---> ext ---> ext/dl ruby /usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/dl/extconf.rb --config-opt=3D--with-opt-dir=3D/usr/local checking for dlfcn.h... yes checking for main() in -ldl... no checking for dlopen()... yes checking for dlclose()... yes checking for dlsym()... yes checking for dlerror()... yes creating Makefile ---> ext/dl/doc <--- ext/dl/doc ---> ext/dl/lib ---> ext/dl/lib/dl <--- ext/dl/lib/dl <--- ext/dl/lib ---> ext/dl/sample <--- ext/dl/sample ---> ext/dl/test <--- ext/dl/test <--- ext/dl ---> ext/features ---> ext/features/ruby18 ---> ext/features/ruby18/file ruby /usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/features/ruby18/fil= e/extconf.rb --config-opt=3D--with-opt-dir=3D/usr/local checking for lchmod()... yes checking for lchown()... yes creating Makefile <--- ext/features/ruby18/file ---> ext/features/ruby18/io ruby /usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/features/ruby18/io/= extconf.rb --config-opt=3D--with-opt-dir=3D/usr/local checking for fsync()... yes creating Makefile <--- ext/features/ruby18/io <--- ext/features/ruby18 <--- ext/features ---> ext/iconv ruby /usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/iconv/extconf.rb --config-opt=3D--with-opt-dir=3D/usr/local checking for iconv.h... no <--- ext/iconv ---> ext/racc ---> ext/racc/cparse ruby /usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/racc/cparse/extconf= .rb --config-opt=3D--with-opt-dir=3D/usr/local creating Makefile <--- ext/racc/cparse <--- ext/racc ---> ext/stringio ruby /usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/stringio/extconf.rb= --config-opt=3D--with-opt-dir=3D/usr/local checking for block_given?... yes checking for new allocation framework... no checking for new NORETURN... no checking for RUBY_DATA_FUNC... yes checking for m17n.h... no checking for rb_io_addstr()... yes checking for rb_io_puts()... yes checking for rb_io_print()... yes checking for rb_io_printf()... yes checking for rb_str_buf_new()... no checking for rb_str_update()... no checking for memchr()... yes creating Makefile <--- ext/stringio ---> ext/strscan ruby /usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/strscan/extconf.rb = --config-opt=3D--with-opt-dir=3D/usr/local creating Makefile <--- ext/strscan <--- ext install.rb: config done. =3D=3D=3D> Building... install.rb: entering setup phase... ---> lib ---> lib/features ---> lib/features/ruby18 <--- lib/features/ruby18 <--- lib/features ---> lib/optparse <--- lib/optparse ---> lib/racc <--- lib/racc <--- lib ---> ext ---> ext/dl make Generating callback.func Generating cbtable.func cc -fPIC -O -pipe -march=3Dpentiumpro -fPIC -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -I. -c -o dl.o dl.c cc -fPIC -O -pipe -march=3Dpentiumpro -fPIC -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -I. -c -o handle.o handle.c cc -fPIC -O -pipe -march=3Dpentiumpro -fPIC -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -I. -c -o ptr.o ptr.c Generating call.func void char short long float double cc -fPIC -O -pipe -march=3Dpentiumpro -fPIC -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -I. -c -o sym.o sym.c sym.c:13: warning: static declaration for `rb_str_cat2' follows non-static cc -shared -Wl,-soname,dl.so -L/usr/local/lib -o dl.so dl.o handle.o ptr.o sym.o -L. -lruby -lc -lcrypt -lm=20 ---> ext/dl/doc <--- ext/dl/doc ---> ext/dl/lib ---> ext/dl/lib/dl <--- ext/dl/lib/dl <--- ext/dl/lib ---> ext/dl/sample <--- ext/dl/sample ---> ext/dl/test <--- ext/dl/test <--- ext/dl ---> ext/features ---> ext/features/ruby18 ---> ext/features/ruby18/file make cc -fPIC -O -pipe -march=3Dpentiumpro -fPIC -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/features/ruby18/f= ile -DHAVE_LCHMOD -DHAVE_LCHOWN -c -o file_ruby18.o file_ruby18.c cc -shared -Wl,-soname,file_ruby18.so -L/usr/local/lib -o file_ruby18.so file_ruby18.o -L. -lruby -lc -lcrypt -lm=20 <--- ext/features/ruby18/file ---> ext/features/ruby18/io make cc -fPIC -O -pipe -march=3Dpentiumpro -fPIC -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/features/ruby18/i= o -DHAVE_FSYNC -c -o io_ruby18.o io_ruby18.c cc -shared -Wl,-soname,io_ruby18.so -L/usr/local/lib -o io_ruby18.so io_ruby18.o -L. -lruby -lc -lcrypt -lm=20 <--- ext/features/ruby18/io <--- ext/features/ruby18 <--- ext/features ---> ext/iconv <--- ext/iconv ---> ext/racc ---> ext/racc/cparse make cc -fPIC -O -pipe -march=3Dpentiumpro -fPIC -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/racc/cparse -c -o cparse.o cparse.c cc -shared -Wl,-soname,cparse.so -L/usr/local/lib -o cparse.so cparse.o -L. -lruby -lc -lcrypt -lm=20 <--- ext/racc/cparse <--- ext/racc ---> ext/stringio make cc -fPIC -O -pipe -march=3Dpentiumpro -fPIC -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/stringio -DHAVE_BLOCK_GIVEN_P -DHAVE_RUBY_DATA_FUNC -DHAVE_RB_IO_ADDSTR -DHAVE_RB_IO_PUTS -DHAVE_RB_IO_PRINT -DHAVE_RB_IO_PRINTF -DHAVE_MEMCHR -c -o stringio.o stringio.c cc -shared -Wl,-soname,stringio.so -L/usr/local/lib -o stringio.so stringio.o -L. -lruby -lc -lcrypt -lm=20 <--- ext/stringio ---> ext/strscan make cc -fPIC -O -pipe -march=3Dpentiumpro -fPIC -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/strscan -c -o strscan.o strscan.c cc -shared -Wl,-soname,strscan.so -L/usr/local/lib -o strscan.so strscan.o -L. -lruby -lc -lcrypt -lm=20 <--- ext/strscan <--- ext install.rb: setup done. Demon# cd /usr/ports/lang/ruby_static Demon# make =3D=3D=3D> Extracting for ruby_static-1.6.8.p2 >> No MD5 checksum file. =3D=3D=3D> ruby_static-1.6.8.p2 depends on file: /nonexistent - found =3D=3D=3D> ruby_static-1.6.8.p2 depends on file: /usr/local/bin/ruby - fo= und =3D=3D=3D> ruby_static-1.6.8.p2 depends on file: /nonexistent - found =3D=3D=3D> ruby_static-1.6.8.p2 depends on file: /nonexistent - found =3D=3D=3D> ruby_static-1.6.8.p2 depends on file: /nonexistent - found =3D=3D=3D> ruby_static-1.6.8.p2 depends on shared library: iconv.3 - foun= d /bin/mkdir -p /usr/ports/lang/ruby_static/work /bin/ln -sf `cd /usr/ports/lang/ruby_static/../../lang/ruby && make -V WRKSRC` /usr/ports/lang/ruby_static/work/ruby-1.6.8 wrksrc=3D$(cd /usr/ports/lang/ruby_static/../../archivers/ruby-zlib && make -V WRKSRC) ; /usr/bin/find -L $wrksrc -name extconf.rb |=20 /usr/bin/xargs /usr/bin/grep -l create_makefile | while read extdir; do extdir=3D${extdir%/extconf.rb}; case "archivers/ruby-zlib" in=20 lang/ruby16-shim-ruby18) m=3D$(basename $extdir); case $extdir in=20 */racc/*) /bin/mkdir -p /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/racc; m=3Dracc/${m} ;;=20 */ext/features/ruby18/*) /bin/mkdir -p /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/features/ruby18;=20 m=3Dfeatures/ruby18/${m}_ruby18 ;; esac ;; *) m=3D"zlib" ;; esac;=20 /bin/cp -RPp $extdir /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/$m; /usr/bin/touch /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/$m/MANIFEST; done find: /usr/ports/archivers/ruby-zlib/work/ruby-zlib-0.5.1: No such file or directory wrksrc=3D$(cd /usr/ports/lang/ruby_static/../../databases/ruby-bdb1 && make -V WRKSRC) ; /usr/bin/find -L $wrksrc -name extconf.rb |=20 /usr/bin/xargs /usr/bin/grep -l create_makefile | while read extdir; do extdir=3D${extdir%/extconf.rb}; case "databases/ruby-bdb1" in=20 lang/ruby16-shim-ruby18) m=3D$(basename $extdir); case $extdir in=20 */racc/*) /bin/mkdir -p /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/racc; m=3Dracc/${m} ;;=20 */ext/features/ruby18/*) /bin/mkdir -p /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/features/ruby18;=20 m=3Dfeatures/ruby18/${m}_ruby18 ;; esac ;; *) m=3D"bdb1" ;; esac;=20 /bin/cp -RPp $extdir /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/$m; /usr/bin/touch /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/$m/MANIFEST; done find: /usr/ports/databases/ruby-bdb1/work/bdb1-0.1.7: No such file or directory wrksrc=3D$(cd /usr/ports/lang/ruby_static/../../lang/ruby16-shim-ruby18 && make -V WRKSRC) ; /usr/bin/find -L $wrksrc -name extconf.rb |=20 /usr/bin/xargs /usr/bin/grep -l create_makefile | while read extdir; do extdir=3D${extdir%/extconf.rb}; case "lang/ruby16-shim-ruby18" in=20 lang/ruby16-shim-ruby18) m=3D$(basename $extdir); case $extdir in=20 */racc/*) /bin/mkdir -p /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/racc; m=3Dracc/${m} ;;=20 */ext/features/ruby18/*) /bin/mkdir -p /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/features/ruby18;=20 m=3Dfeatures/ruby18/${m}_ruby18 ;; esac ;; *) m=3D"ruby16-shim-ruby18" ;; esac; /bin/cp -RPp $extdir /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/$m; /usr/bin/touch /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/$m/MANIFEST; done cp: /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/dl: No such file or directory*** Error code 1 Stop in /usr/ports/lang/ruby_static. # > Kevin > --=20 > kevin@caomhin.demon.co.uk >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message --=20 Stacey Roberts B.Sc (HONS) Computer Science Web: www.vickiandstacey.com --=-PcCvo3wvpMv2+M4eaJbX Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQEVAwUAPc5Y55vQeubckvvXAQFX4Qf9GKw80WXukNYbyeszA3PjIIhGx/elwqAi ItrfD5gLgwBdS8j574X7ezb2tUqEqM3ZQYAdBKOmfAbVr91i87yrfxINvA0sgt8U FVt0Ah+262Ul1oP9Q6iUkQ/S1jq5Us0hqilOy2yiHd+ihEPYMTIvJKmS0KwFdq1G BWphNmt/VvjL/qN5hj1CL7tCnjjJG4vWt3LUqg2k9N91bNJQi0cz/WihPtYb8dH3 1lM3Ad0KC7osWF4A+rHOGRoq1SftjqPKEmyGDRYHHHD2WFVOVIYYYvbiDmqynOtr 9KIUv0LsXbzg7UXzTv1BtAx+7PI4DN+wywpneqk2Lb2zDOWWmcreoA== =K36T -----END PGP SIGNATURE----- --=-PcCvo3wvpMv2+M4eaJbX-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 5:15:59 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3536D37B401 for ; Sun, 10 Nov 2002 05:15:58 -0800 (PST) Received: from labs.gr (labs.gr [62.103.160.6]) by mx1.FreeBSD.org (Postfix) with SMTP id E79C143E6E for ; Sun, 10 Nov 2002 05:15:56 -0800 (PST) (envelope-from keramida@freebsd.org) Received: (qmail 17814 invoked by uid 105); 10 Nov 2002 13:15:49 -0000 Date: Sun, 10 Nov 2002 15:15:49 +0200 From: Giorgos Keramidas To: Micael Ebbmar Cc: freebsd-questions@FreeBSD.ORG Subject: Re: IPFW2 denies packet although they match ALLOW rule? Message-ID: <20021110131549.GA17648@labs.gr> References: <20021109171923.GA41802@h173n2fls21o55> <006b01c2883c$bf360900$42d7cdd4@LocalHost> <20021109230808.GA2478@h173n2fls21o55.telia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021109230808.GA2478@h173n2fls21o55.telia.com> X-PGP-Fingerprint: C1EB 0653 DB8B A557 3829 00F9 D60F 941A 3186 03B6 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-11-10 00:08, Micael Ebbmar wrote: > * Giorgos Keramidas [021109 23:11]: > > > > Web clients some times cache connections to web servers, hoping to > > save some time from avoiding a reconnect for every GET request. > > Could it be that your clients thinks that a cached connection is > > still valid long after the dynamic ipfw rule has expired? > > Well, that's a possibility.. esp. with all those banners that > refreshes every now and then. Can you experiment with the net.inet.ip.fw.dyn_XXXX sysctls a bit? I can't check the source of fetchmail right now to verify that caching of connections could be a valid cause. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 5:16:45 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E00037B401 for ; Sun, 10 Nov 2002 05:16:43 -0800 (PST) Received: from lancelot.cosmicfire.net (lancelot.cosmicfire.net [64.32.246.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 07FF343E88 for ; Sun, 10 Nov 2002 05:16:41 -0800 (PST) (envelope-from gs@vacfu.org) Received: (qmail 5330 invoked from network); 10 Nov 2002 13:16:08 -0000 Received: from dh-fw-1.oru.se (HELO rainbowpeace.DH-FW-1.oru.se) (gs@vacfu.org@130.243.97.72) by vacfu.org with SMTP; 10 Nov 2002 13:16:08 -0000 Date: Sun, 10 Nov 2002 14:14:56 +0100 From: Gustaf Sjoberg To: "W. D." Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to stop SPAMMER??! Message-Id: <20021110141456.7bef6eeb.gs@vacfu.org> In-Reply-To: <5.1.0.14.2.20021109235134.0484d270@us-webmasters.com> References: <20021110030443.1b0577ad.gs@vacfu.org> <5.1.0.14.2.20021109150436.069a4d50@us-webmasters.com> <5.1.0.14.2.20021109150436.069a4d50@us-webmasters.com> <5.1.0.14.2.20021109235134.0484d270@us-webmasters.com> X-Mailer: Sylpheed version 0.8.3 (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 10 Nov 2002 00:16:30 -0600 "W. D." wrote: >At 21:17 11/9/2002, Jack L. Stone wrote: >>At 03:04 AM 11.10.2002 +0100, Gustaf Sjoberg wrote: >>>On Sat, 09 Nov 2002 15:13:09 -0600 >>>"W. D." wrote: >>> >>>either block incomming port 25 connections or set the smtserver to require >>authentication. >>> >>>ipfw entry could look something like: >>> >>>add deny log tcp from any to 25 in recv > >This would completely block SMTP wouldn't it? I do have clients >on this server using email. yes it would, change it to: add deny log tcp from to 25 in recv > > > > >>> >>>>Hi folks, >>>> >>>>I've got some bozo from: >>>> >>>> SpaWeb1.spaelegance.com..auth >>>> >>>>doing all kinds of SMTP activity on my FreeBSD server. Does anyone >>>>know how to stop this? What kind of entry would I add to ipfw? >>>> >>>>Does anyone know what vulnerability this might be? How to stop >>>>permanently? >>>> >> >>Get the IP of the spammer if possible. I've had to use a total block like >>this: >>##### DENY INTRUDER through external interface >> #${fwcmd} add deny all from 66.000.00.000 to any via ${oif} > >Where is ${oif} defined? > >When I run a command like this it doesn't understand 'fwcmd'. > >usw2# {fwcmd} add deny log all from 168.93.100.59/16 to any in via ${oif} >oif: Undefined variable. > >usw2# {fwcmd} add deny log all from 168.93.100.59/16 to any in via lo0 >fwcmd: Command not found. > >> >>Reload the firewall rules.... >> >>Best regards, >>Jack L. Stone, >>Administrator >> >>SageOne Net >>http://www.sage-one.net >>jackstone@sage-one.net > >Start Here to Find It Fast!© -> http://www.US-Webmasters.com/best-start-page/ > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 5:46:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1485937B401 for ; Sun, 10 Nov 2002 05:46:23 -0800 (PST) Received: from service.sh.cvut.cz (service.sh.cvut.cz [147.32.127.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F4C943E75 for ; Sun, 10 Nov 2002 05:46:22 -0800 (PST) (envelope-from j.mutua@sh.cvut.cz) Received: from notorola.sh.cvut.cz (notorola.sh.cvut.cz [147.32.127.197]) by service.sh.cvut.cz (Postfix) with SMTP id 51670EB09 for ; Sun, 10 Nov 2002 14:46:10 +0100 (CET) Received: (qmail 1397 invoked from network); 10 Nov 2002 13:46:11 -0000 Received: from mutuaj.sh.cvut.cz (HELO sh.cvut.cz) (147.32.113.230) by notorola.sh.cvut.cz with SMTP; 10 Nov 2002 13:46:11 -0000 Message-ID: <3DCE632A.1000101@sh.cvut.cz> Date: Sun, 10 Nov 2002 14:46:18 +0100 From: moran User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: kile1.3 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Well, i hope this distress reaches a good spirit! i'm in dire need to install kile for kdevelop. i have installed qt and all the others, but, i still get this message. Please show me some light. ============================================================= There is an installation error in jpeg support. You seem to have only one of either the headers _or_ the libraries installed. You may need to either provide correct --with-extra-... options, or the development package of libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/ Disabling JPEG support. checking for Qt... configure: error: Qt (>= Qt 3.0.3) (library qt-mt) not found. Please check your installation! For more details about this problem, look at the end of config.log. Make sure that you have compiled Qt with thread support! ================================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 5:51: 7 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C14937B401 for ; Sun, 10 Nov 2002 05:51:06 -0800 (PST) Received: from mail1.sea.registeredsite.com (mail1.sea.registeredsite.com [66.111.73.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF8D443E42 for ; Sun, 10 Nov 2002 05:51:05 -0800 (PST) (envelope-from admin@asarian-host.net) Received: from asarian-host.net (asarian-host.net [216.122.74.112]) by mail1.sea.registeredsite.com (8.12.5/8.12.5) with ESMTP id gAADp4oG013490 for ; Sun, 10 Nov 2002 08:51:05 -0500 Comments: To protect the identity of the sender, certain header fields are either not shown, or masked. Anonymous email addresses for asarians can be requested by filling in the appropriate form at: https://asarian-host.net/cgi-bin/signup.cgi Received: (from root@localhost) by asarian-host.net (8.11.0/8.11.0) id gAADp4A77828 for freebsd-questions@freebsd.org; Sun, 10 Nov 2002 14:51:04 +0100 (CET) (envelope-from admin@asarian-host.net) Posted-Date: Sun, 10 Nov 2002 14:51:04 +0100 (CET) From: Mark Message-Id: <200211101351.GAADP3S77820@asarian-host.net> Date: Sun, 10 Nov 2002 14:50:59 +0100 X-Authenticated-Sender: admin@asarian-host.net Subject: BIND X-Trace: 9EkNc+ovMGWjW/GwTXFQhT0lOeBZiSMR7j1BAcsPTWr7ifS/0nxq479Wh5WscSaL X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we are unable to process your complaint Organization: Asarian-host To: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Auth: Asarian-host PGP signature iQEVAwUAPc5kSDFqW1BleBN9AQGSTwgAhSem5f9j+dfnSjwRSF/4RT7peSqBdFYf 1gtu547uO39aNxAPb5IhoQLUTszcdEM9HXJmAIo4z+6SYi5VbU2N5vl5PAXiF8tY OcRcPUpYBE7lRmxmUb18s07HWtkXTANNxO7AsN5w/Upwi0eeNfU+ZCDdNYNsnMD4 0UBw+z2C6TOlxvrDxhfIat+70DX1u43rVm2aX4uYdFkyj2IlnCGDIljauoJDe2OG /CKxpZp7w6nnMTzaVozrMEQUtOUfZirODkYeqjbK6M4a8nr1t6DCQSc/XMHDY2Hi Xdl4pviUg8Kav0THUL7LBqtn/8SWtLyO16u/aK1Ht0H02A6EyFZvrA== =1Ctz Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, :) I was experimenting with BIND (8.3.3) on FreeBSD. I got everything pretty much set up properly. Then I came up with the idea to allow outside queries for my own domain names, but to disallow outsiders to use my name servers to resolve the world. So, I did this: zone "." { type hint; file "named.root"; allow-query { trusted; }; }; I thought that would only allow myself (localhost and a few others are in the "trusted" acl) to query the world, but prevent others from doing so, via my name servers. Alas, BIND disagrees with my logic. It reports: 'allow-query' option for non-{master,slave,stub} zone '' zone '.' did not validate, skipping Hmm, there's gotta be a way to only let outsiders use my name servers to resolve my own domains. Has anyone any ideas? Thanks! - Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 5:59: 4 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37A4B37B401 for ; Sun, 10 Nov 2002 05:58:58 -0800 (PST) Received: from colossus.systems.pipex.net (colossus.systems.pipex.net [62.241.160.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 450B443E42 for ; Sun, 10 Nov 2002 05:58:57 -0800 (PST) (envelope-from stacey@Demon.vickiandstacey.com) Received: from Demon (81-86-129-77.dsl.pipex.com [81.86.129.77]) by colossus.systems.pipex.net (Postfix) with ESMTP id 5532616000224; Sun, 10 Nov 2002 13:58:54 +0000 (GMT) Subject: Re: Now portupgrade -R ruby_static-1.6.7.2002.09.12_1 to ruby_static-1.6.8.p2 fails as well! From: Stacey Roberts Reply-To: sroberts@dsl.pipex.com To: Kent Stewart , FreeBSD Questions In-Reply-To: <3DCE63E4.6000006@owt.com> References: <1036855197.387.37.camel@Demon.vickiandstacey.com> <1036860624.387.49.camel@Demon.vickiandstacey.com> <1036871984.20466.46.camel@Demon.vickiandstacey. com> <1036933354.20466.133.camel@Demon.vickiandstacey.com> <3DCE63E4.6000006@owt.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Ol/ReB9WtaEWxP4VXfXC" X-Mailer: Ximian Evolution 1.0.8 Date: 10 Nov 2002 13:58:54 +0000 Message-Id: <1036936736.20466.155.camel@Demon.vickiandstacey.com> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-Ol/ReB9WtaEWxP4VXfXC Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Kent, Thanks for the reply. Still fails.., see below On Sun, 2002-11-10 at 13:49, Kent Stewart wrote: >=20 >=20 > Stacey Roberts wrote: > Demon# cd /usr/ports/lang/ruby_static > > Demon# make > > =3D=3D=3D> Extracting for ruby_static-1.6.8.p2 > >=20 > >>>No MD5 checksum file. > >> > > =3D=3D=3D> ruby_static-1.6.8.p2 depends on file: /nonexistent - found > > =3D=3D=3D> ruby_static-1.6.8.p2 depends on file: /usr/local/bin/ruby = - found > > =3D=3D=3D> ruby_static-1.6.8.p2 depends on file: /nonexistent - found > > =3D=3D=3D> ruby_static-1.6.8.p2 depends on file: /nonexistent - found > > =3D=3D=3D> ruby_static-1.6.8.p2 depends on file: /nonexistent - found > > =3D=3D=3D> ruby_static-1.6.8.p2 depends on shared library: iconv.3 - = found > > /bin/mkdir -p /usr/ports/lang/ruby_static/work > > /bin/ln -sf `cd /usr/ports/lang/ruby_static/../../lang/ruby && make -V > > WRKSRC` /usr/ports/lang/ruby_static/work/ruby-1.6.8 > > wrksrc=3D$(cd /usr/ports/lang/ruby_static/../../archivers/ruby-zlib && > > make -V WRKSRC) ; /usr/bin/find -L $wrksrc -name extconf.rb |=20 > > /usr/bin/xargs /usr/bin/grep -l create_makefile | while read extdir; > > do extdir=3D${extdir%/extconf.rb}; case "archivers/ruby-zlib" in=20 > > lang/ruby16-shim-ruby18) m=3D$(basename $extdir); case $extdir in=20 > > */racc/*) /bin/mkdir -p > > /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/racc; m=3Dracc/${m} ;;= =20 > > */ext/features/ruby18/*) /bin/mkdir -p > > /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/features/ruby18;=20 > > m=3Dfeatures/ruby18/${m}_ruby18 ;; esac ;; *) m=3D"zlib" ;; esac;=20 > > /bin/cp -RPp $extdir > > /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/$m; /usr/bin/touch > > /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/$m/MANIFEST; done > > find: /usr/ports/archivers/ruby-zlib/work/ruby-zlib-0.5.1: No such file > > or directory >=20 > Your build really dies here when it can't find ruby-zlib. It just=20 > takes a while to figure that out. Try manually installing it. I'll try that: installing ruby-zlib. # make >> ruby-zlib-0.5.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/ruby. >> Attempting to fetch from http://www.blue.sky.or.jp/atelier/ruby/. Receiving ruby-zlib-0.5.1.tar.gz (57471 bytes): 100% 57471 bytes transferred in 13.8 seconds (4.08 kBps) =3D=3D=3D> Extracting for ruby-zlib-0.5.1 >> Checksum OK for ruby/ruby-zlib-0.5.1.tar.gz. =3D=3D=3D> ruby-zlib-0.5.1 depends on file: /usr/local/bin/ruby - found =3D=3D=3D> Patching for ruby-zlib-0.5.1 =3D=3D=3D> Configuring for ruby-zlib-0.5.1 =3D=3D=3D> Running extconf.rb to configure checking for deflateReset() in -lz... yes checking for zlib.h... yes checking for block_given?... yes checking for rb_str_buf_new()... no checking for rb_io_print()... yes checking for rb_io_printf()... yes checking for rb_io_puts()... yes checking for rb_io_addstr()... yes checking for new NORETURN... no checking for new allocation framework... no guessing OS_CODE... Unix ** Attention: ** If you find auto-detected OS_CODE is seem to be different ** from your platform, please report it as a bug. creating Makefile =3D=3D=3D> Building for ruby-zlib-0.5.1 cc -fPIC -O -pipe -march=3Dpentiumpro -fPIC -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I. -DHAVE_ZLIB_H -DHAVE_RB_IO_PRINT -DHAVE_RB_IO_PRINTF -DHAVE_RB_IO_PUTS -DHAVE_RB_IO_ADDSTR -I/usr/local/include -DHAVE_BLOCK_GIVEN_P -c -o zlib.o zlib.c cc -shared -Wl,-soname,zlib.so -L/usr/local/lib -L/usr/local/lib -o zlib.so zlib.o -L. -lruby -lz -lc -lcrypt -lm=20 Demon# make install =3D=3D=3D> Installing for ruby-zlib-0.5.1 =3D=3D=3D> ruby-zlib-0.5.1 depends on file: /usr/local/bin/ruby - found zlib.so -> /usr/local/lib/ruby/site_ruby/1.6/i386-freebsd4/zlib.so chmod 0555 /usr/local/lib/ruby/site_ruby/1.6/i386-freebsd4/zlib.so =3D=3D=3D> Generating temporary packing list /bin/mkdir -p /usr/local/share/doc/ruby/zlib/ja install -c -o root -g wheel -m 444 /usr/ports/archivers/ruby-zlib/work/ruby-zlib-0.5.1/ChangeLog /usr/local/share/doc/ruby/zlib/ install -c -o root -g wheel -m 444 /usr/ports/archivers/ruby-zlib/work/ruby-zlib-0.5.1/zlib.rd.en /usr/local/share/doc/ruby/zlib/ install -c -o root -g wheel -m 444 /usr/ports/archivers/ruby-zlib/work/ruby-zlib-0.5.1/zlib.en.html /usr/local/share/doc/ruby/zlib/ install -c -o root -g wheel -m 444 /usr/ports/archivers/ruby-zlib/work/ruby-zlib-0.5.1/zlib.rd.ja /usr/local/share/doc/ruby/zlib/ja/ install -c -o root -g wheel -m 444 /usr/ports/archivers/ruby-zlib/work/ruby-zlib-0.5.1/zlib.ja.html /usr/local/share/doc/ruby/zlib/ja/ =3D=3D=3D> Registering installation for ruby-zlib-0.5.1 # # make =3D=3D=3D> Extracting for ruby_static-1.6.8.p2 >> No MD5 checksum file. =3D=3D=3D> ruby_static-1.6.8.p2 depends on file: /nonexistent - found =3D=3D=3D> ruby_static-1.6.8.p2 depends on file: /usr/local/bin/ruby - fo= und =3D=3D=3D> ruby_static-1.6.8.p2 depends on file: /nonexistent - found =3D=3D=3D> ruby_static-1.6.8.p2 depends on file: /nonexistent - found =3D=3D=3D> ruby_static-1.6.8.p2 depends on file: /nonexistent - found =3D=3D=3D> ruby_static-1.6.8.p2 depends on shared library: iconv.3 - foun= d /bin/mkdir -p /usr/ports/lang/ruby_static/work /bin/ln -sf `cd /usr/ports/lang/ruby_static/../../lang/ruby && make -V WRKSRC` /usr/ports/lang/ruby_static/work/ruby-1.6.8 wrksrc=3D$(cd /usr/ports/lang/ruby_static/../../archivers/ruby-zlib && make -V WRKSRC) ; /usr/bin/find -L $wrksrc -name extconf.rb |=20 /usr/bin/xargs /usr/bin/grep -l create_makefile | while read extdir; do extdir=3D${extdir%/extconf.rb}; case "archivers/ruby-zlib" in=20 lang/ruby16-shim-ruby18) m=3D$(basename $extdir); case $extdir in=20 */racc/*) /bin/mkdir -p /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/racc; m=3Dracc/${m} ;;=20 */ext/features/ruby18/*) /bin/mkdir -p /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/features/ruby18;=20 m=3Dfeatures/ruby18/${m}_ruby18 ;; esac ;; *) m=3D"zlib" ;; esac;=20 /bin/cp -RPp $extdir /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/$m; /usr/bin/touch /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/$m/MANIFEST; done find: /usr/ports/archivers/ruby-zlib/work/ruby-zlib-0.5.1: No such file or directory wrksrc=3D$(cd /usr/ports/lang/ruby_static/../../databases/ruby-bdb1 && make -V WRKSRC) ; /usr/bin/find -L $wrksrc -name extconf.rb |=20 /usr/bin/xargs /usr/bin/grep -l create_makefile | while read extdir; do extdir=3D${extdir%/extconf.rb}; case "databases/ruby-bdb1" in=20 lang/ruby16-shim-ruby18) m=3D$(basename $extdir); case $extdir in=20 */racc/*) /bin/mkdir -p /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/racc; m=3Dracc/${m} ;;=20 */ext/features/ruby18/*) /bin/mkdir -p /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/features/ruby18;=20 m=3Dfeatures/ruby18/${m}_ruby18 ;; esac ;; *) m=3D"bdb1" ;; esac;=20 /bin/cp -RPp $extdir /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/$m; /usr/bin/touch /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/$m/MANIFEST; done find: /usr/ports/databases/ruby-bdb1/work/bdb1-0.1.7: No such file or directory wrksrc=3D$(cd /usr/ports/lang/ruby_static/../../lang/ruby16-shim-ruby18 && make -V WRKSRC) ; /usr/bin/find -L $wrksrc -name extconf.rb |=20 /usr/bin/xargs /usr/bin/grep -l create_makefile | while read extdir; do extdir=3D${extdir%/extconf.rb}; case "lang/ruby16-shim-ruby18" in=20 lang/ruby16-shim-ruby18) m=3D$(basename $extdir); case $extdir in=20 */racc/*) /bin/mkdir -p /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/racc; m=3Dracc/${m} ;;=20 */ext/features/ruby18/*) /bin/mkdir -p /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/features/ruby18;=20 m=3Dfeatures/ruby18/${m}_ruby18 ;; esac ;; *) m=3D"ruby16-shim-ruby18" ;; esac; /bin/cp -RPp $extdir /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/$m; /usr/bin/touch /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/$m/MANIFEST; done cp: /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/dl: No such file or directory*** Error code 1 Stop in /usr/ports/lang/ruby_static. # >=20 > What shell are you running? Have you played with the path. I am=20 > running csh and default csh path. I also had no problems and it didn't=20 > do the find of ruby-zlib. I use the normal root shell: # echo $SHELL /bin/csh #=20 >=20 > Kent >=20 > > wrksrc=3D$(cd /usr/ports/lang/ruby_static/../../databases/ruby-bdb1 && > > make -V WRKSRC) ; /usr/bin/find -L $wrksrc -name extconf.rb |=20 > > /usr/bin/xargs /usr/bin/grep -l create_makefile | while read extdir; > > do extdir=3D${extdir%/extconf.rb}; case "databases/ruby-bdb1" in=20 > > lang/ruby16-shim-ruby18) m=3D$(basename $extdir); case $extdir in=20 > > */racc/*) /bin/mkdir -p > > /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/racc; m=3Dracc/${m} ;;= =20 > > */ext/features/ruby18/*) /bin/mkdir -p > > /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/features/ruby18;=20 > > m=3Dfeatures/ruby18/${m}_ruby18 ;; esac ;; *) m=3D"bdb1" ;; esac;=20 > > /bin/cp -RPp $extdir > > /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/$m; /usr/bin/touch > > /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/$m/MANIFEST; done > > find: /usr/ports/databases/ruby-bdb1/work/bdb1-0.1.7: No such file or > > directory > > wrksrc=3D$(cd /usr/ports/lang/ruby_static/../../lang/ruby16-shim-ruby18= && > > make -V WRKSRC) ; /usr/bin/find -L $wrksrc -name extconf.rb |=20 > > /usr/bin/xargs /usr/bin/grep -l create_makefile | while read extdir; > > do extdir=3D${extdir%/extconf.rb}; case "lang/ruby16-shim-ruby18" in=20 > > lang/ruby16-shim-ruby18) m=3D$(basename $extdir); case $extdir in=20 > > */racc/*) /bin/mkdir -p > > /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/racc; m=3Dracc/${m} ;;= =20 > > */ext/features/ruby18/*) /bin/mkdir -p > > /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/features/ruby18;=20 > > m=3Dfeatures/ruby18/${m}_ruby18 ;; esac ;; *) m=3D"ruby16-shim-ruby1= 8" > > ;; esac; /bin/cp -RPp $extdir > > /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/$m; /usr/bin/touch > > /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/$m/MANIFEST; done > > cp: /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/dl: No such file or > > directory*** Error code 1 > >=20 > > Stop in /usr/ports/lang/ruby_static. > > # > >=20 > >=20 > >>Kevin > >>--=20 > >>kevin@caomhin.demon.co.uk > >> > >>To Unsubscribe: send mail to majordomo@FreeBSD.org > >>with "unsubscribe freebsd-questions" in the body of the message > >=20 >=20 >=20 > --=20 > Kent Stewart > Richland, WA >=20 > http://users.owt.com/kstewart/index.html >=20 --=20 Stacey Roberts B.Sc (HONS) Computer Science Web: www.vickiandstacey.com --=-Ol/ReB9WtaEWxP4VXfXC Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQEVAwUAPc5mHJvQeubckvvXAQFcjAgAlvNpyZs4jLSKVZd/tYX9n3leARrnYbUu p3f+LAtynlyremz2/ma3et6SwnMoF0HIKxJ7bZ8NuKYnLBFUkuFEcPAf+na4lfG4 +dOQ4OgAgD0yCuprtUKiGNScxaerXQcTsTzyBECjWY5eOco5KI1V72KsDGGu5539 8LoqIu+e57GbTw+G2EQ/a3TUWeQN5ykw0kXhcZkJu1urqyCxJhzw5LJ+fx183GzA lTrjfpfV+D0D9KqheMZxBjaxAf4lU2v4fiMmCA2tan+sP4T0jtj9chdYwG/hzain Al7ukymQ3jc1gU5yCIc393USMY928ZdgQB05MaYHUAGeiKeMauvjZw== =H2jr -----END PGP SIGNATURE----- --=-Ol/ReB9WtaEWxP4VXfXC-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 6: 7:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94EFB37B401 for ; Sun, 10 Nov 2002 06:07:10 -0800 (PST) Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id A664F43E42 for ; Sun, 10 Nov 2002 06:07:09 -0800 (PST) (envelope-from rcpaul@xs4all.nl) Received: from muis (rcpaul.xs4all.nl [213.84.170.90]) by smtpzilla5.xs4all.nl (8.12.0/8.12.0) with ESMTP id gAAE77bb036868 for ; Sun, 10 Nov 2002 15:07:08 +0100 (CET) Date: Sun, 10 Nov 2002 15:07:07 +0100 From: Ronald Paul X-Mailer: The Bat! (v1.60c) Personal Organization: Jesdesign X-Priority: 3 (Normal) Message-ID: <195359379079.20021110150707@xs4all.nl> To: FreeBSD Questions Subject: Re: mount_smbfs, sendfile(2) and Apache In-Reply-To: <109311194874.20021110014405@xs4all.nl> References: <109311194874.20021110014405@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, On sunday 10 november 2002 1:44, I wrote: > I've got a problem with either one of these three. I've mounted some > Windows shares with mount_smbfs. Everyting seems ok, I can read and > write from and to the remote files, also the big ones. I've aliased > some of those remote directory's in Apache, and I also can browse > the files via HTTP. > But, and here's the problem, when I try to get a bigger file (100-200 > kB or something like that, but sometimes also when the size exceeds > 255 bytes), the connection closes after the HTTP-resonse-headers are > send. I'm not sure this is a Apache or FreeBSD issue, but for me it > seems FreeBSD, so I'm asking here first. Since I have no problems at all with Apache 1.3.27, I posted my problem to a Apache list: http://marc.theaimsgroup.com/?l=apache-httpd-users&m=103693544913477 -- Greetings, Ronald To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 6:17:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F200937B401 for ; Sun, 10 Nov 2002 06:17:55 -0800 (PST) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id E115C43E3B for ; Sun, 10 Nov 2002 06:17:54 -0800 (PST) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id gAAEHlD69768; Sun, 10 Nov 2002 08:17:48 -0600 (CST) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20021110081746.011f73b8@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Sun, 10 Nov 2002 08:17:46 -0600 To: "W. D." , freebsd-questions@FreeBSD.ORG From: "Jack L. Stone" Subject: Re: How to stop SPAMMER??! In-Reply-To: <5.1.0.14.2.20021109235134.0484d270@us-webmasters.com> References: <3.0.5.32.20021109211740.011f73b8@mail.sage-one.net> <20021110030443.1b0577ad.gs@vacfu.org> <5.1.0.14.2.20021109150436.069a4d50@us-webmasters.com> <5.1.0.14.2.20021109150436.069a4d50@us-webmasters.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 12:16 AM 11.10.2002 -0600, W. D. wrote: >At 21:17 11/9/2002, Jack L. Stone wrote: >>At 03:04 AM 11.10.2002 +0100, Gustaf Sjoberg wrote: >>>On Sat, 09 Nov 2002 15:13:09 -0600 >>>"W. D." wrote: >>> >>>either block incomming port 25 connections or set the smtserver to require >>authentication. >>> >>>ipfw entry could look something like: >>> >>>add deny log tcp from any to 25 in recv > >This would completely block SMTP wouldn't it? I do have clients >on this server using email. > > > > >>> >>>>Hi folks, >>>> >>>>I've got some bozo from: >>>> >>>> SpaWeb1.spaelegance.com..auth >>>> >>>>doing all kinds of SMTP activity on my FreeBSD server. Does anyone >>>>know how to stop this? What kind of entry would I add to ipfw? >>>> >>>>Does anyone know what vulnerability this might be? How to stop >>>>permanently? >>>> >> >>Get the IP of the spammer if possible. I've had to use a total block like >>this: >>##### DENY INTRUDER through external interface >> #${fwcmd} add deny all from 66.000.00.000 to any via ${oif} > >Where is ${oif} defined? > >When I run a command like this it doesn't understand 'fwcmd'. > >usw2# {fwcmd} add deny log all from 168.93.100.59/16 to any in via ${oif} >oif: Undefined variable. > >usw2# {fwcmd} add deny log all from 168.93.100.59/16 to any in via lo0 >fwcmd: Command not found. > >> Sorry, that was a defined variable in my script: # Firewall program fwcmd="/sbin/ipfw" Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 6:28:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CF8A37B401 for ; Sun, 10 Nov 2002 06:28:30 -0800 (PST) Received: from mail2.sea.registeredsite.com (mail2.sea.registeredsite.com [66.111.73.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 550DC43E88 for ; Sun, 10 Nov 2002 06:28:29 -0800 (PST) (envelope-from admin@asarian-host.net) Received: from asarian-host.net (asarian-host.net [216.122.74.112]) by mail2.sea.registeredsite.com (8.12.5/8.12.5) with ESMTP id gAAESSKm001030 for ; Sun, 10 Nov 2002 09:28:28 -0500 Comments: To protect the identity of the sender, certain header fields are either not shown, or masked. Anonymous email addresses for asarians can be requested by filling in the appropriate form at: https://asarian-host.net/cgi-bin/signup.cgi Received: (from root@localhost) by asarian-host.net (8.11.0/8.11.0) id gAAESSm82006 for freebsd-questions@freebsd.org; Sun, 10 Nov 2002 15:28:28 +0100 (CET) (envelope-from admin@asarian-host.net) Posted-Date: Sun, 10 Nov 2002 15:28:28 +0100 (CET) From: Mark Message-Id: <200211101428.GAAESQS81998@asarian-host.net> Date: Sun, 10 Nov 2002 15:28:21 +0100 X-Authenticated-Sender: admin@asarian-host.net Subject: Re: How to stop SPAMMER??! X-Trace: 5xyAdBy+e2sd871pfMazJIymeVkJwROQcUC+rbqdWuGJgyxTnhWunGM0UZcgwwAZ X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we are unable to process your complaint Organization: Asarian-host To: References: <127.0.0.1.20021109211740.011f73b8@mail.sage-one.net><20021110030443.1b0577ad.gs@vacfu.org><127.0.0.1.2.20021109150436.069a4d50@us-webmasters.com><127.0.0.1.2.20021109150436.069a4d50@us-webmasters.com> <127.0.0.1.20021110081746.011f73b8@mail.sage-one.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Auth: Asarian-host PGP signature iQEVAwUAPc5tDDFqW1BleBN9AQHn1AgAhHsBeoJ6dX5676F8eNIExWWy2JLKn0kg UL+K8ifsVrv5Ee4Lb8zc7rmFQ+8apdM2M/9oKZ0BJcCn3z7X4LY49nv4rsxGnR09 c4CUXdqapXLyzNZd3pmtyTDHgIsbmAv/MG1VtmNW5Nwqr0LFLFYjJeBCTFpLd+lj xfNAjpkhjmzZoYZwPR3MRxjMTnIcvya3sd+1Q5kSynwXXRCpbxvm5b8Yv8seb3XM WODY9la/T7NEdOBzv8n9qGTr+7+PjH4rnMv9E85JqY4CDIC9OIZt4fDHFbCQKbdG WG/HqN8Z+6vRWyKbU9I+7G0ggqHdjUIarGwK6ojbHHCZQ7gNwKB/cg== =BVWS Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Jack L. Stone" To: "W. D." ; Sent: Sunday, November 10, 2002 3:17 PM Subject: Re: How to stop SPAMMER??! > >usw2# {fwcmd} add deny log all from 168.93.100.59/16 to any in via lo0 I do not think you want your internal loopback blocked. Look for the interface to the internet (like lnc0). Then do this: /sbin/ipfw add deny log all from 222.222.222.222 to any via lnc0 Substitute the address of the spammer for "222.222.222.222", of course. :) Point is, bock via the outside interface, not the internal loopback! - Mark System Administrator Asarian-host.org --- "If you were supposed to understand it, we wouldn't call it code." - FedEx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 6:32:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C88B537B401 for ; Sun, 10 Nov 2002 06:32:45 -0800 (PST) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA3C143E7B for ; Sun, 10 Nov 2002 06:32:44 -0800 (PST) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id gAAEWbD69906; Sun, 10 Nov 2002 08:32:37 -0600 (CST) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20021110083235.00ec9908@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Sun, 10 Nov 2002 08:32:35 -0600 To: "W. D." , freebsd-questions@FreeBSD.ORG From: "Jack L. Stone" Subject: Re: How to stop SPAMMER??! In-Reply-To: <5.1.0.14.2.20021109235134.0484d270@us-webmasters.com> References: <3.0.5.32.20021109211740.011f73b8@mail.sage-one.net> <20021110030443.1b0577ad.gs@vacfu.org> <5.1.0.14.2.20021109150436.069a4d50@us-webmasters.com> <5.1.0.14.2.20021109150436.069a4d50@us-webmasters.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 12:16 AM 11.10.2002 -0600, W. D. wrote: >At 21:17 11/9/2002, Jack L. Stone wrote: >>At 03:04 AM 11.10.2002 +0100, Gustaf Sjoberg wrote: >>>On Sat, 09 Nov 2002 15:13:09 -0600 >>>"W. D." wrote: >>> >>>either block incomming port 25 connections or set the smtserver to require >>authentication. >>> >>>ipfw entry could look something like: >>> >>>add deny log tcp from any to 25 in recv > >This would completely block SMTP wouldn't it? I do have clients >on this server using email. > > > > >>> >>>>Hi folks, >>>> >>>>I've got some bozo from: >>>> >>>> SpaWeb1.spaelegance.com..auth >>>> >>>>doing all kinds of SMTP activity on my FreeBSD server. Does anyone >>>>know how to stop this? What kind of entry would I add to ipfw? >>>> >>>>Does anyone know what vulnerability this might be? How to stop >>>>permanently? >>>> >> >>Get the IP of the spammer if possible. I've had to use a total block like >>this: >>##### DENY INTRUDER through external interface >> #${fwcmd} add deny all from 66.000.00.000 to any via ${oif} > >Where is ${oif} defined? > >When I run a command like this it doesn't understand 'fwcmd'. > Sorry again.... only one sip of coffee yet. The ${oif} and ${fwcmd} are both my own defined variables at the beginning of my FW script. Just replace these variable commands with your own script setup cmds. I thought you were already running a script..... Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 6:41:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A6EB37B401; Sun, 10 Nov 2002 06:41:43 -0800 (PST) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35ECC43E3B; Sun, 10 Nov 2002 06:41:42 -0800 (PST) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 2066B534E; Sun, 10 Nov 2002 15:41:39 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Jonathon McKitrick Cc: freebsd-chat@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Unresolved reference compiling Objective-C ?? References: <20021108173235.GA82490@dogma.freebsd-uk.eu.org> From: Dag-Erling Smorgrav Date: Sun, 10 Nov 2002 15:41:38 +0100 In-Reply-To: <20021108173235.GA82490@dogma.freebsd-uk.eu.org> (Jonathon McKitrick's message of "Fri, 8 Nov 2002 17:32:35 +0000") Message-ID: Lines: 23 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386--freebsd) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jonathon McKitrick writes: > dogma:...files/programs/objc> gcc -lobjc main.m printer.m -o testme ------ In source code, you have to define (or at least declare) symbols before you reference them. When linking, it's the other way around - the linker only includes objects it knows are needed because they define symbols which were referenced by previously included objects. I don't know about Objective C, but what happens for plain C is this: the linker starts out knowing it needs the entry point (called _start). It reads the run-time library (crt.o), which contains _start and references but does not define main, which is added to the list of unresolved symbols. Then it reads the first object file specified, which hopefully defines main and references a bunch of other symbols which are defined in object files and libraries specified later on the command line, and so forth until there are no more unresolved symbols. In other words: always specify libraries at the end of the compiler or linker command line. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 6:49:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 070D737B401 for ; Sun, 10 Nov 2002 06:49:42 -0800 (PST) Received: from mail.dubium.com (h24-78-225-134.vn.shawcable.net [24.78.225.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28C2343E3B for ; Sun, 10 Nov 2002 06:49:41 -0800 (PST) (envelope-from joe-dated-1037371904.240153@dubium.com) Received: (qmail 82853 invoked from network); 10 Nov 2002 14:51:44 -0000 Received: from localhost (HELO fafner.dubium.com) ([127.0.0.1]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 10 Nov 2002 14:51:44 -0000 Content-Type: text/plain; charset="iso-8859-1" To: Stephen Hovey , joe Subject: Re: REASON #7919 NOT to do things as root! Date: Sun, 10 Nov 2002 06:49:44 -0800 User-Agent: KMail/1.4.3 Cc: FreeBSD Questions References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200211100649.44213.joe@dubium.com> From: joe X-Delivery-Agent: TMDA/0.64 (Lawrin) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On November 9, 2002 11:26 pm, Stephen Hovey wrote: > /etc/passwd is made from master.passwd for those jobbies that still > need to look at the old style text file instead of making kernel > calls. You can regenerate it - I always forget the damn program name > - mk_pwdb or something like that - when I forget, I use vipw, change > a latter in my real name in the geco, and save - that regens the > whole thing too. Thanks to all who responded. This was not as dire a problem as I had thought, just an inexpensive reminder to observe better "best" practices. -------------------------------------------------------- Joe Sotham -------------------------------------------------------- Christianity got over the difficulty of furious opposites by keeping them both and keeping them furious. - G.K. Chesterton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 6:55: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4614D37B401 for ; Sun, 10 Nov 2002 06:55:04 -0800 (PST) Received: from grillolja.cs.umu.se (grillolja.cs.umu.se [130.239.40.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B07843E42 for ; Sun, 10 Nov 2002 06:55:03 -0800 (PST) (envelope-from tdv94ped@cs.umu.se) Received: from localhost (localhost [127.0.0.1]) by amavisd-new (Postfix) with ESMTP id 88C14A01E for ; Sun, 10 Nov 2002 15:55:00 +0100 (MET) Received: from cs.umu.se (h55n1c1o1023.bredband.skanova.com [213.64.164.55]) by grillolja.cs.umu.se (Postfix) with ESMTP id 025AEA012 for ; Sun, 10 Nov 2002 15:54:58 +0100 (MET) Message-ID: <3DCE7339.7010400@cs.umu.se> Date: Sun, 10 Nov 2002 15:54:49 +0100 From: Paul Everlund User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: sv,en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Net connection problem: sis, miibus Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new amavisd-new-20020630 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all! I have a friend who decided to try FreeBSD 4.6.2 and it works just fine except one thing, his connection to the internet. He has a sis network card, which is compiled into the kernel, with miibus that is required. He gets a connection just fine, for about half a minute, then it doesn't work anymore, with long periods of "wait" time. A ping to an address works perfectly, next minute a ping to the same address does not work. Somehow, issuing kldstat, the miibus is there, which it should not, as it's compiled into the kernel. If I recall correct, it's not there when it's first working, but later it is, when not working. There is also an arp message, that looks as if some change of MAC- address has taken place, which seem to be strange. Also, one last thing, ifconfig says the sis is using full-duplex. Is that ok, if maybe not the other side can handle full-duplex? I can provide more information if needed to help me solve this pro- blem, so that he can start using FreeBSD full time. Thanks in advance for any reply! Best regards, Paul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 6:56:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0B2A37B401 for ; Sun, 10 Nov 2002 06:56:41 -0800 (PST) Received: from server0027.freedom2surf.net (server0027.freedom2surf.net [194.106.33.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF2BC43E3B for ; Sun, 10 Nov 2002 06:56:35 -0800 (PST) (envelope-from neil@mpfreescene.com) Received: from b1 ([195.137.35.72]) by server0027.freedom2surf.net (8.12.6/8.12.6/Debian-5) with ESMTP id gAAEuJG4006964 for ; Sun, 10 Nov 2002 14:56:29 GMT Reply-To: From: "Neil Doody" To: Subject: make pid files Date: Sun, 10 Nov 2002 14:56:13 -0000 Message-ID: <000001c288c9$56c091a0$0200a8c0@b1> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Is there a way to create pid files for applications you start, if the application doesn't have a configuration option within itself to create one ? Im guessing using some kind of regex with grep to capture the pid/error number when you run it ? Though im not really that good with that stuff. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 7: 4: 4 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7BE537B401 for ; Sun, 10 Nov 2002 07:04:03 -0800 (PST) Received: from mxzilla1.xs4all.nl (mxzilla1.xs4all.nl [194.109.6.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0382743E6E for ; Sun, 10 Nov 2002 07:04:03 -0800 (PST) (envelope-from henkonk@xs4all.nl) Received: from xs1.xs4all.nl (xs1.xs4all.nl [194.109.3.11]) by mxzilla1.xs4all.nl (8.12.3/8.12.3) with ESMTP id gAAF41ca084021 for ; Sun, 10 Nov 2002 16:04:01 +0100 (CET) Received: from localhost (henkonk@localhost) by xs1.xs4all.nl (8.11.6/8.11.6) with ESMTP id gAAF41H09530 for ; Sun, 10 Nov 2002 16:04:01 +0100 (CET) (envelope-from henkonk@xs1.xs4all.nl) Date: Sun, 10 Nov 2002 16:04:01 +0100 (CET) From: Henk To: FreeBSD Questions Subject: xhost: unable to open display "" In-Reply-To: Message-ID: <20021110140932.I2803-100000@xs1.xs4all.nl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG llo all, I use ssh to connect to My.FreeBSD.Machine from My.Main.Machine running FreeBSD and xdm. xwin is running properly on My.Main.Machine. When trying to run mozilla on My.FreeBSD.Machine I get the error: Gtk-WARNING **: cannot open display: "" When running xhost I get the following error: xhost: unable to open display "" I do not export $DISPLAY=My.FreeBSD.Machine:0.0 It's supposed automatically set to My.FreeBSD.Machine:X+1.0 when I log in with ssh. help anyone? TIA, Henk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 7:30:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFA7C37B401 for ; Sun, 10 Nov 2002 07:30:48 -0800 (PST) Received: from nemesis.systems.pipex.net (nemesis.systems.pipex.net [62.241.160.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2B7E43E42 for ; Sun, 10 Nov 2002 07:30:47 -0800 (PST) (envelope-from stacey@Demon.vickiandstacey.com) Received: from Demon (81-86-129-77.dsl.pipex.com [81.86.129.77]) by nemesis.systems.pipex.net (Postfix) with ESMTP id DABFD16007F02; Sun, 10 Nov 2002 15:30:41 +0000 (GMT) Subject: Printing to Win2K share printer with apsfilter via samba fails From: Stacey Roberts To: apsfilter-help@apsfilter.org, FreeBSD Questions Reply-To: sroberts@dsl.pipex.com Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-8qBtjQiNUpWmxNvDyWA7" X-Mailer: Ximian Evolution 1.0.8 Date: 10 Nov 2002 15:30:45 +0000 Message-Id: <1036942247.92273.4.camel@Demon.vickiandstacey.com> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-8qBtjQiNUpWmxNvDyWA7 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello,=20 I've installed apsfilter-7.2.3, and despite successfully printing the test page, I am unable to get anything to print either from an application (opera / AbiWord), nor command line.=20 Checking printer status:=20 # lpc status all=20 hp845c:=20 queuing is enabled=20 printing is enabled=20 no entries in spool area=20 printer idle=20 #=20 System:=20 # uname -a=20 FreeBSD 4.7-STABLE FreeBSD 4.7-STABLE #0: Sat Oct 12 10:04:03 BST 2002 root@:/usr/obj/usr/src/sys/ i386=20 #=20 Printer entry created by apsfilter setup in /etc/printcap:=20 # APS1_BEGIN:printer1=20 # - don't delete start label for apsfilter printer1=20 # - no other printer defines between BEGIN and END LABEL=20 hp845c|ijs/DESKJET_845;r=3D600x300;q=3Dhigh;c=3Dfull;p=3Da4;m=3Dauto:\=20 :lp=3D/dev/null:\=20 :if=3D/usr/local/etc/apsfilter/basedir/bin/apsfilter:\=20 :sd=3D/var/spool/lpd/hp845c:\=20 :lf=3D/var/spool/lpd/hp845c/log:\=20 :af=3D/var/spool/lpd/hp845c/acct:\=20 :mx#0:\=20 :sh:=20 # APS1_END - don't delete this=20 #=20 I try printing webpage from opera, I get:=20 # lpc status all=20 hp845c:=20 queuing is enabled=20 printing is enabled=20 no entries in spool area=20 printer idle=20 You have new mail.=20 #=20 Checking mail:=20 From daemon@Demon.vickiandstacey.com Sun Nov 10 15:10:14 2002=20 Date: Sun, 10 Nov 2002 15:10:14 GMT=20 From: Owner of many system processes =20 To: root@Demon.vickiandstacey.com Cc: stacey@Demon.vickiandstacey.com Subject: apsfilter: can't find configuration=20 apsfilter fatal error: can't find configuration=20 The configuration file /usr/local/etc/apsfilter/hp845c/apsfilterrc=20 is missing. Please run SETUP.=20 -- apsfilter, your lpd input filter=20 &=20 Checking spool logs:=20 # tail /var/spool/lpd/hp845c/log=20 apsfilter: The configuration file /usr/local/etc/apsfilter/hp845c/apsfilterrc=20 apsfilter: is missing. Please run SETUP.=20 cat: /rc: No such file or directory=20 rm: No such file or directory=20 /usr/local/etc/apsfilter/basedir/bin/apsfilter: line 116: /rc: Permission denied=20 apsfilter: can't find configuration=20 apsfilter: The configuration file /usr/local/etc/apsfilter/hp845c/apsfilterrc=20 apsfilter: is missing. Please run SETUP.=20 cat: /rc: No such file or directory=20 rm: No such file or directory=20 #=20 But this file DOES exist:=20 # more /usr/local/etc/apsfilter/hp845c/apsfilterrc=20 #=20 # don't delete these settings=20 #=20 PRINTER=3D'ijs/DESKJET_845'=20 PAPERSIZE=3D'a4'=20 METHOD=3D'auto'=20 QUALITY=3D'high'=20 COLOR=3D'full'=20 RESOLUTION=3D'600x300'=20 #=20 # additional configuration follows=20 # insert settings as seen in /usr/local/etc/apsfilter/apsfilterrc=20 #=20 #=20 That's failed big time. I'll try printing with lpr:=20 # pwd=20 /usr/home/stacey=20 # date=20 Sun Nov 10 15:15:23 GMT 2002=20 # file test=20 test: ASCII English text=20 # lpr -Php845c test=20 # lpc status all=20 hp845c:=20 queuing is enabled=20 printing is enabled=20 no entries in spool area=20 hp845c is ready and printing=20 #=20 Nothing..,=20 Checking logs again:-=20 Messages:=20 Nov 10 15:15:42 Demon lpd[91979]: Demon.vickiandstacey.com requests printjob hp845c=20 Nov 10 15:15:43 Demon lpd[91979]: restarting hp845c=20 Nov 10 15:15:45 Demon last message repeated 3 times=20 Nov 10 15:15:46 Demon lpd[91979]: hp845c: job could not be printed (cfA033Demon.vickiandstacey.com)=20 Nov 10 15:15:47 Demon lpd[91979]: mail sent to user root about job on printer hp845c (FATALERR)=20 #=20 Checking root's mail:=20 Message 21:=20 From daemon@Demon.vickiandstacey.com Sun Nov 10 15:15:47 2002=20 Date: Sun, 10 Nov 2002 15:15:46 GMT=20 From: Owner of many system processes =20 To: root@Demon.vickiandstacey.com Subject: hp845c printer job ""=20 Reply-To: root@Demon.vickiandstacey.com Your printer job=20 could not be printed=20 &=20 Checking spool again:=20 # date=20 Sun Nov 10 15:18:07 GMT 2002=20 # tail /var/spool/lpd/hp845c/log=20 apsfilter: The configuration file /usr/local/etc/apsfilter/hp845c/apsfilterrc=20 apsfilter: is missing. Please run SETUP.=20 cat: /rc: No such file or directory=20 rm: No such file or directory=20 /usr/local/etc/apsfilter/basedir/bin/apsfilter: line 116: /rc: Permission denied=20 apsfilter: can't find configuration=20 apsfilter: The configuration file /usr/local/etc/apsfilter/hp845c/apsfilterrc=20 apsfilter: is missing. Please run SETUP.=20 cat: /rc: No such file or directory=20 rm: No such file or directory=20 #=20 There's a "permission denied" error being thrown. Checking permissions on the offending file:=20 # ls -al /usr/local/etc/apsfilter/basedir/bin/apsfilter=20 -r-xr-xr-x 1 root wheel 56940 Nov 8 22:24 /usr/local/etc/apsfilter/basedir/bin/apsfilter=20 #=20 Is this not what it should be? I didn't see instructions to change permissions on any of apsfilter config file, scripts, nor any files concerning printing anywhere.=20 Again complaints about a missing file.., this file DOES EXIST:=20 # more /usr/local/etc/apsfilter/hp845c/apsfilterrc=20 #=20 # don't delete these settings=20 #=20 PRINTER=3D'ijs/DESKJET_845'=20 PAPERSIZE=3D'a4'=20 METHOD=3D'auto'=20 QUALITY=3D'high'=20 COLOR=3D'full'=20 RESOLUTION=3D'600x300'=20 #=20 # additional configuration follows=20 # insert settings as seen in /usr/local/etc/apsfilter/apsfilterrc=20 #=20 #=20 I've searched the apsfilter mailing list archives.., googled.., and read the faq and what online docs there are available for installation and usage, but haven't found anything that addresses what I'm seeing here.=20 Is there some step I've missed?=20 I have not touched /etc/printcap, as apsfilter is supposed to set this up for me. Or, am I wrong in this presumption?=20 This is the second time I'm posting about this problem. I've received kind replies FreeBSD list members (for which I am overly grateful), and would look forward to hearing from apsfilter folks as well. The apsfilter "online feeeback" facility fails, that's why I'm having to post this via e-mail. Thanks for the patience. Stacey --=20 Stacey Roberts B.Sc (HONS) Computer Science Web: www.vickiandstacey.com --=-8qBtjQiNUpWmxNvDyWA7 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQEVAwUAPc57o5vQeubckvvXAQGcSggAs8By3dIFqyEBqZN0NtzcXZKaLratH4Cc X4jZQEE7Vh7cmYb9MrNb1WbpWkuGTq4KZssZAE97T89G8vzSKChElqMqgxMPdq69 WWcDydvBQH8xjg5h7NdqA5qenERCPM7czGYifqh19xjwSRiZ6/ExqcUBR8Lomn8l 1x5MFhRLMVpB4fyXhwfeCWRIiC8WGkUy4Gvyo0iP3wP5fWdKhw1fNNpkSrdHi1/D OwPOZQ4lz9O8SsooWWy/5Xjttp2i1E//ehlD8yp1pqEfsYAx5shxUfkIWuZ9RVvt cNJ7MPHb/oj1IQY1KC/Fqi7rHQgmftSKiMzVLo7z/W8p67eembnK7g== =bMAP -----END PGP SIGNATURE----- --=-8qBtjQiNUpWmxNvDyWA7-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 7:37:39 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8B9C37B401 for ; Sun, 10 Nov 2002 07:37:38 -0800 (PST) Received: from Kain.sumuk.de (Kain.sumuk.de [213.221.86.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61BCA43E42 for ; Sun, 10 Nov 2002 07:37:37 -0800 (PST) (envelope-from vincent@sumuk.de) Received: from Moses.earth.sol (Moses.earth.sol [192.168.1.1]) by Kain.sumuk.de (8.12.5/8.12.5) with ESMTP id gAAFbTpF077715; Sun, 10 Nov 2002 16:37:29 +0100 (CET) (envelope-from vincent@sumuk.de) Received: from Moses.earth.sol (localhost.earth.sol [127.0.0.1]) by Moses.earth.sol (8.12.5/8.12.5) with ESMTP id gAAFbRLS014645; Sun, 10 Nov 2002 16:37:28 +0100 (CET) (envelope-from vincent@Moses.earth.sol) Received: (from vincent@localhost) by Moses.earth.sol (8.12.5/8.12.5/Submit) id gAAFbRpd014644; Sun, 10 Nov 2002 16:37:27 +0100 (CET) Date: Sun, 10 Nov 2002 16:37:26 +0100 From: Martin Heinen To: Neil Doody Cc: freebsd-questions@FreeBSD.ORG Subject: Re: make pid files Message-ID: <20021110163726.B14403@sumuk.de> References: <000001c288c9$56c091a0$0200a8c0@b1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000001c288c9$56c091a0$0200a8c0@b1>; from neil@mpfreescene.com on Sun, Nov 10, 2002 at 02:56:13PM -0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Nov 10, 2002 at 02:56:13PM -0000, Neil Doody wrote: > Is there a way to create pid files for applications you start, if the > application doesn't have a configuration option within itself to create > one ? > > Im guessing using some kind of regex with grep to capture the pid/error > number when you run it ? If you are running background commands you can use $!: | #!/bin/sh | job & | echo "$!" > /var/run/job.pid If the job puts itself into the background you need to grep the PID: | #!/bin/sh | job | ps auxw | awk '/[j]ob/ { print $2 }' > /var/run/job.pid Be sure to supply a pattern which matches one process only. -- Marxpitn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 7:46:36 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9485537B401 for ; Sun, 10 Nov 2002 07:46:35 -0800 (PST) Received: from kumprang.or.id (kumprang.or.id [202.143.103.227]) by mx1.FreeBSD.org (Postfix) with SMTP id 94DD643E77 for ; Sun, 10 Nov 2002 07:46:25 -0800 (PST) (envelope-from budsz@kumprang.or.id) Received: (qmail 50959 invoked by uid 1008); 10 Nov 2002 15:47:58 -0000 Date: Sun, 10 Nov 2002 22:47:57 +0700 From: budsz To: FreeBSD-Questions Subject: Re: How to stop SPAMMER??! Message-ID: <20021110154757.GB50058@kumprang.or.id> References: <3.0.5.32.20021109211740.011f73b8@mail.sage-one.net> <20021110030443.1b0577ad.gs@vacfu.org> <5.1.0.14.2.20021109150436.069a4d50@us-webmasters.com> <5.1.0.14.2.20021109150436.069a4d50@us-webmasters.com> <3.0.5.32.20021110083235.00ec9908@mail.sage-one.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3.0.5.32.20021110083235.00ec9908@mail.sage-one.net> X-Pubkey: "http://www.kumprang.or.id/~budsz/Pubkey.txt" X-Pubkey-MD5: "http://www.kumprang.or.id/~budsz/Pubkey-checksum.md5" X-Finger-Print: "A05A 268C 3CD4 ABBD D9EB 11E1 F64C 4B4E 6269 5304" X-System-Operation: FreeBSD 4.7-STABLE i386 X-Organization: "Internet Cafe and Game PC Kumprang" User-Agent: Mutt/1.5.1i X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Nov 10, 2002 at 08:32:35AM -0600, Jack L. Stone wrote: >Sorry again.... only one sip of coffee yet. The ${oif} and ${fwcmd} are >both my own defined variables at the beginning of my FW script. Just >replace these variable commands with your own script setup cmds. I thought >you were already running a script..... How about if we use like spamassassin program it's will terminate this problem? -- budsz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 7:46:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D85DD37B401 for ; Sun, 10 Nov 2002 07:46:53 -0800 (PST) Received: from server0027.freedom2surf.net (server0027.freedom2surf.net [194.106.33.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47B8C43EAF for ; Sun, 10 Nov 2002 07:46:51 -0800 (PST) (envelope-from neil@mpfreescene.com) Received: from b1 ([195.137.35.72]) by server0027.freedom2surf.net (8.12.6/8.12.6/Debian-5) with ESMTP id gAAFkkG4013021 for ; Sun, 10 Nov 2002 15:46:54 GMT Reply-To: From: "Neil Doody" To: Subject: Fatal Trap 9 Date: Sun, 10 Nov 2002 15:46:39 -0000 Message-ID: <000301c288d0$6252e4d0$0200a8c0@b1> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG As you might know, ive been suffering from error 11's, trap 12's and filesystem boo-boo's. Now ive just got this one and the server rebooted, which is new. Nov 10 15:39:50 admin /kernel: Fatal trap 9: general protection fault while in kernel mode Do you think that still could be to overheating? My host has looked into the heating problem, we are going to get many fans installed into the case to sort it in the future, but does this latest error coincide with heating ? Nov 10 15:39:50 admin /kernel: Nov 10 15:39:50 admin /kernel: Nov 10 15:39:50 admin /kernel: Fatal trap 9: general protection fault while in kernel mode Nov 10 15:39:50 admin /kernel: instruction pointer = 0x8:0xd6c05cf4 Nov 10 15:39:50 admin /kernel: stack pointer = 0x10:0xd6c05c44 Nov 10 15:39:50 admin /kernel: frame pointer = 0x10:0xd6c05c40 Nov 10 15:39:50 admin /kernel: code segment = base 0x0, limit 0xfffff, type 0x1b Nov 10 15:39:50 admin /kernel: = DPL 0, pres 1, def32 1, gran 1 Nov 10 15:39:50 admin /kernel: processor eflags = interrupt enabled, resume, IOPL = 0 Nov 10 15:39:50 admin /kernel: current process = 12590 (cp) Nov 10 15:39:50 admin /kernel: interrupt mask = none Nov 10 15:39:50 admin /kernel: trap number = 9 Nov 10 15:39:50 admin /kernel: panic: general protection fault Nov 10 15:39:50 admin /kernel: Nov 10 15:39:50 admin /kernel: syncing disks... 218 192 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 8:23:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A74A937B401 for ; Sun, 10 Nov 2002 08:23:54 -0800 (PST) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C46943E3B for ; Sun, 10 Nov 2002 08:23:43 -0800 (PST) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id gAAGMvD71126; Sun, 10 Nov 2002 10:23:00 -0600 (CST) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20021110102257.00ec9908@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Sun, 10 Nov 2002 10:22:57 -0600 To: budsz , FreeBSD-Questions From: "Jack L. Stone" Subject: Re: How to stop SPAMMER??! In-Reply-To: <20021110154757.GB50058@kumprang.or.id> References: <3.0.5.32.20021110083235.00ec9908@mail.sage-one.net> <3.0.5.32.20021109211740.011f73b8@mail.sage-one.net> <20021110030443.1b0577ad.gs@vacfu.org> <5.1.0.14.2.20021109150436.069a4d50@us-webmasters.com> <5.1.0.14.2.20021109150436.069a4d50@us-webmasters.com> <3.0.5.32.20021110083235.00ec9908@mail.sage-one.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 10:47 PM 11.10.2002 +0700, budsz wrote: >On Sun, Nov 10, 2002 at 08:32:35AM -0600, Jack L. Stone wrote: >>Sorry again.... only one sip of coffee yet. The ${oif} and ${fwcmd} are >>both my own defined variables at the beginning of my FW script. Just >>replace these variable commands with your own script setup cmds. I thought >>you were already running a script..... > >How about if we use like spamassassin program it's will terminate this problem? > >-- >budsz > You are only referring to a fix for emails. My FW rule stops the intruder from using any other services as well... like using up bandwidth though the web server, etc... DoS.... Of course, if the intruder is persistant enough, he(she) may switch IPs, even entire IP network to get around the block. But, you just need to keep some monitors going on all of the key logs to watch for this intrusion and modify the block to include more IPs.... the block can be modified more times than he(she) can change IPs eventually..... Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 8:43:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6F5A37B401 for ; Sun, 10 Nov 2002 08:43:54 -0800 (PST) Received: from lancelot.cosmicfire.net (lancelot.cosmicfire.net [64.32.246.114]) by mx1.FreeBSD.org (Postfix) with SMTP id E4A2C43E6E for ; Sun, 10 Nov 2002 08:43:49 -0800 (PST) (envelope-from gs@vacfu.org) Received: (qmail 18220 invoked from network); 10 Nov 2002 16:43:12 -0000 Received: from dh-fw-1.oru.se (HELO rainbowpeace.DH-FW-1.oru.se) (gs@vacfu.org@130.243.97.72) by vacfu.org with SMTP; 10 Nov 2002 16:43:12 -0000 Date: Sun, 10 Nov 2002 17:42:02 +0100 From: Gustaf Sjoberg To: freebsd-questions@freebsd.org Subject: /dev/sysmouse and x Message-Id: <20021110174202.411157ac.gs@vacfu.org> X-Mailer: Sylpheed version 0.8.3 (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, i run moused on boot through rc.conf, but if i choose /dev/sysmouse as mouse device in XF86Config the mouse behaves really weird. it's kind of hard to explain, but if i move the cursor too fast the buttons seem to "lag". for example, when i try to select a string; if i move the cursor too fast over the area i want to select it skips the first few characters in the string but it works well if i do it slowly. i also noticed that moused cancels the option to use /dev/psm0 (it's a ps2 mouse) in XF86Config, but if i kill it before i start x the mouse works like it should. is this a known "bug slash feature"? can anyone think of a way to get the mouse to work both as moused and under x? i guess i could just start moused manually whenever i need it, but it would be nice to have a working system ;-) thanks in anticipation, Gustaf Sjoberg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 8:59:49 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B43A237B401 for ; Sun, 10 Nov 2002 08:59:48 -0800 (PST) Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F54543E75 for ; Sun, 10 Nov 2002 08:59:48 -0800 (PST) (envelope-from paulbeard@mac.com) Received: from mac.com ([12.231.115.57]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021110165943.EDTV13805.rwcrmhc53.attbi.com@mac.com> for ; Sun, 10 Nov 2002 16:59:43 +0000 Message-ID: <3DCE907E.8010605@mac.com> Date: Sun, 10 Nov 2002 08:59:42 -0800 From: paul beard User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021101 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Re: Fatal Trap 9 References: <000301c288d0$6252e4d0$0200a8c0@b1> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Neil Doody wrote: > As you might know, ive been suffering from error 11's, trap 12's and > filesystem boo-boo's. > > > Now ive just got this one and the server rebooted, which is new. > > Nov 10 15:39:50 admin /kernel: Fatal trap 9: general protection fault > while in kernel mode > > Do you think that still could be to overheating? My host has looked > into the heating problem, we are going to get many fans installed into > the case to sort it in the future, but does this latest error coincide > with heating ? can you get any information from healthd or any other monitoring tools? You may be able to plot that over time and get a sense of what's going on. -- Paul Beard / 8040 27th Ave NE / Seattle WA 98115 / paulbeard [at] mac [ dot] com / 206 529 8400 weblog @ Heuristics are bug ridden by definition. If they didn't have bugs, then they'd be algorithms. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 9:24:45 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E65F37B404 for ; Sun, 10 Nov 2002 09:24:44 -0800 (PST) Received: from wxp.homeip.net (adsl-212-101-16-119.solnet.ch [212.101.16.119]) by mx1.FreeBSD.org (Postfix) with SMTP id 99E6743E4A for ; Sun, 10 Nov 2002 09:24:41 -0800 (PST) (envelope-from pbrossin@swissgeeks.com) Received: (qmail 6432 invoked by uid 8); 10 Nov 2002 17:24:34 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP id smtpdHML11v; Sun, 10 Nov 2002 12:24:33 EST Received: from swissgeeks.com (pierrick.wxp.homeip.net [10.0.0.50]) by server.wxp.homeip.net (AvMailGate-2.0.0.9) id 06423-72530AD2; Sun, 10 Nov 2002 18:24:33 +0100 Message-ID: <3DCE964F.6050902@swissgeeks.com> Date: Sun, 10 Nov 2002 18:24:31 +0100 From: Pierrick Brossin Organization: SwissGeeks - http://www.swissgeeks.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2b) Gecko/20021026 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@FreeBSD.ORG, FreeBSD-questions Subject: USRobotics Wireless References: <000801c2871c$1d5ad000$130210ac@vvs> <200211090416.09697.dolmant@dolmant.net> <20021109153436.3db489af.kaeesalm@cc.jyu.fi> <200211091344.43911.behanna@zbzoom.net> <20021110124802.560bb85e.kaeesalm@cc.jyu.fi> <20021110150502.GD28439@slurp.rodal In-Reply-To: <20021110173804.1c394459.karo@karo.kaista.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-AntiVirus: OK! AntiVir MailGate Version 2.0.0.9; AVE: 6.16.0.0; VDF: 6.16.0.15 at wxp.homeip.net has not found any known virus in this email. Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, Anyone using a U.S.Robotics Wireless card under Fbsd 4.7 ? I'm interested in buying one card for my laptop ! http://www.usr-emea.com/products/p-networking-product.asp?prod=net-pc-card&loc=emea It's in the Hardware Notes but I would prefer that someone who actually uses a card like this tells me it's ok! Regards -- Pierrick Brossin IT Employee 15, Ch. du Château, 1422 Grandson, Switzerland Tel Prof: +41-327201423 Mobile Priv: +41-794137145 Mail Prof: pbrossin@quark.ch Mail Priv: admin@swissgeeks.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 9:47: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CD6037B401 for ; Sun, 10 Nov 2002 09:47:07 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB9EA43E3B for ; Sun, 10 Nov 2002 09:47:05 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id gAAHkupj084893 for ; Sun, 10 Nov 2002 17:46:56 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id gAAHkp2F084892 for freebsd-questions@FreeBSD.ORG; Sun, 10 Nov 2002 17:46:51 GMT Date: Sun, 10 Nov 2002 17:46:51 +0000 From: Matthew Seaman To: FreeBSD Questions Subject: Re: xhost: unable to open display "" Message-ID: <20021110174651.GA84752@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , FreeBSD Questions References: <20021110140932.I2803-100000@xs1.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021110140932.I2803-100000@xs1.xs4all.nl> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-2.7 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_03_05, USER_AGENT,USER_AGENT_MUTT version=2.43 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Nov 10, 2002 at 04:04:01PM +0100, Henk wrote: > I use ssh to connect to My.FreeBSD.Machine from My.Main.Machine running > FreeBSD and xdm. xwin is running properly on My.Main.Machine. > > When trying to run mozilla on My.FreeBSD.Machine I get the error: > Gtk-WARNING **: cannot open display: "" > When running xhost I get the following error: > xhost: unable to open display "" > > I do not export $DISPLAY=My.FreeBSD.Machine:0.0 > It's supposed automatically set to My.FreeBSD.Machine:X+1.0 when I log in > with ssh. On the server (sshd) side, you need "X11Forwarding yes" in /etc/ssh/sshd_config (which is the default, so you can just leave the X11Forarding line commented out). You'll also need xauth available --- it's part of the XFree86-clients port, which is slightly unfortunate as practically everything else you need comes out of the XFree86-libraries port. On the client side, either in /etc/ssh/ssh_config or in ~/.ssh/config you need "ForwardX11 yes" in a host section matching the server. Or you can just use the '-X' flag to ssh(1) or slogin(1) on the command line. The DISPLAY variable you'll see automatically set up on the server will be something like localhost:10.0 Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 9:49:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E09B737B401 for ; Sun, 10 Nov 2002 09:49:44 -0800 (PST) Received: from mail.jpcampbell.com (adsl-64-164-212-130.dsl.snfc21.pacbell.net [64.164.212.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3260E43E42 for ; Sun, 10 Nov 2002 09:49:36 -0800 (PST) (envelope-from jpc@jpcampbell.com) Received: by mail.jpcampbell.com (Postfix, from userid 1000) id 0C9B75D41; Sun, 10 Nov 2002 09:49:34 -0800 (PST) Date: Sun, 10 Nov 2002 09:49:33 -0800 From: "John P. Campbell" To: freebsd-questions@freebsd.org Subject: error in make buildworld for 4.7 Message-ID: <20021110174933.GA7493@jpcampbell.com> Reply-To: jcampbell@intacct.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I'm trying to go from 4.6.2 to 4.7 (RELENG_4_7_0_RELEASE). I cvsup'd the sources like always and during make buildworld, I get the error below. The offending errors seem to be: /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/getpwd.c:74: storage size of `dotstat' isn't known /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/getpwd.c:74: storage size of `pwdstat' isn't known My gcc is: gcc version 2.95.3 20010315 (release) [FreeBSD] Tail of make outut is ... gcc -O -pipe -D_GNU_SOURCE -I. -I/usr/src/gnu/usr.bin/binutils/libiberty -I/usr/src/gnu/usr.bin/binutils/libiberty/../libbfd/i386 -I/usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/include -DHAVE_CONFIG_H -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -D__FBSDID=__RCSID -c /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/getpwd.c -o getpwd.o /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/getpwd.c:40: warning: function declaration isn't a prototype /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/getpwd.c:41: warning: function declaration isn't a prototype /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/getpwd.c: In function `getpwd': /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/getpwd.c:74: storage size of `dotstat' isn't known /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/getpwd.c:74: storage size of `pwdstat' isn't known /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/getpwd.c:78: warning: implicit declaration of function `getenv' /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/getpwd.c:78: warning: assignment makes pointer from integer without a cast /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/getpwd.c:80: warning: implicit declaration of function `stat' /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/getpwd.c:86: warning: implicit declaration of function `getcwd' /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/getpwd.c:89: warning: implicit declaration of function `free' /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/getpwd.c:74: warning: unused variable `pwdstat' /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/getpwd.c:74: warning: unused variable `dotstat' *** Error code 1 Stop in /usr/src/gnu/usr.bin/binutils/libiberty. *** Error code 1 Stop in /usr/src/gnu/usr.bin/binutils. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. thanks in advace, jpc -- John P. Campbell Intacct Corporation 408-884-3340 "There are 10 types of people in this world, those that understand binary and those that don't." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 10: 0:19 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A83037B41E for ; Sun, 10 Nov 2002 10:00:18 -0800 (PST) Received: from grummit.biaix.org (213-97-212-86.uc.nombres.ttd.es [213.97.212.86]) by mx1.FreeBSD.org (Postfix) with SMTP id 86B0A43E6E for ; Sun, 10 Nov 2002 10:00:13 -0800 (PST) (envelope-from joan@grummit.biaix.org) Received: (qmail 11998 invoked by uid 1000); 10 Nov 2002 17:59:17 -0000 Date: Sun, 10 Nov 2002 18:59:17 +0100 From: Joan Picanyol i Puig To: freebsd-questions@FreeBSD.ORG Subject: Re: trouble with perl writing to pipes :( Message-ID: <20021110175917.GA11841@grummit.biaix.org> Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <20021108094643.GA3590@grummit.biaix.org> <20021108114118.GA3823@happy-idiot-talk.infracaninophi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021108114118.GA3823@happy-idiot-talk.infracaninophi> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Matthew Seaman [20021108 12:40]: > On Fri, Nov 08, 2002 at 10:46:43AM +0100, Joan Picanyol i Puig wrote: > > I'm noticing some weird behaviour having perl writing to pipes (they eat > > my output): [...] > You may find that appropriate use of the $| special variable (or > equivalently the autoflush method of the IO::Handle object) suddenly > makes things work a lot better. Many thanks, hat did the trick > Hmmm... This only seems to affect perl-5.00503 --- perl-5.6.1 works > for me in the way you expect without any extra flushing. I believe it only affects perl on FreeBSD, but anyway... tks -- pica To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 10: 3:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AB9637B401 for ; Sun, 10 Nov 2002 10:03:13 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B43D43E6E for ; Sun, 10 Nov 2002 10:03:12 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id gAAI39pj085068 for ; Sun, 10 Nov 2002 18:03:09 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id gAAI34DJ085063 for freebsd-questions@FreeBSD.ORG; Sun, 10 Nov 2002 18:03:04 GMT Date: Sun, 10 Nov 2002 18:03:04 +0000 From: Matthew Seaman To: freebsd-questions@FreeBSD.ORG Subject: Re: BIND Message-ID: <20021110180304.GB84752@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , freebsd-questions@FreeBSD.ORG References: <200211101351.GAADP3S77820@asarian-host.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200211101351.GAADP3S77820@asarian-host.net> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-1.4 required=5.0 tests=IN_REP_TO,REFERENCES,SPAM_PHRASE_05_08,USER_AGENT, USER_AGENT_MUTT version=2.43 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Nov 10, 2002 at 02:50:59PM +0100, Mark wrote: > I was experimenting with BIND (8.3.3) on FreeBSD. I got everything pretty > much set up properly. Then I came up with the idea to allow outside queries > for my own domain names, but to disallow outsiders to use my name servers to > resolve the world. So, I did this: > > zone "." { > type hint; > file "named.root"; > allow-query { trusted; }; > }; What you want is: options { [...] allow-recursion { trusted; }; }; which will default to denying recursion to anyone except your own trusted machines, but still allow queries to any zone you're authoritative for. There's no point in putting much in the way of access control on the '.' hint zone, but you should investigate the use of allow-query { };, allow-transfer { }; or even allow-recursion { }; on a per-zone basis for your other zones. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 10:30:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C50E37B401 for ; Sun, 10 Nov 2002 10:30:13 -0800 (PST) Received: from cmsoutbound.mx.net (cmsrelay01.mx.net [165.212.11.110]) by mx1.FreeBSD.org (Postfix) with SMTP id 38F0243E3B for ; Sun, 10 Nov 2002 10:30:12 -0800 (PST) (envelope-from gtrvdwsee45@alcatel.com.hk) Received: from uadvg132.cms.usa.net (HELO cmsoutbound.mx.net) (165.212.11.132) by cmsoutbound.mx.net with SMTP; 10 Nov 2002 18:30:06 -0000 Received: from mail.telia.com [63.171.89.2] by uadvg132.cms.usa.net via mtad (C8.MAIN.1.09A) with ESMTP id 318gkJsd70592M32; Sun, 10 Nov 2002 18:29:59 GMT Message-ID: <00002c0b0649$0000693f$00001b8f@relay.pacific.net.hk> To: Cc: , , , , , , , , , , , , , , , , , From: "John Zimmer" Subject: Can Do10548 Date: Sun, 10 Nov 2002 10:29:50 -2000 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG If your interested in putting your product or service in front of millions of prospective clients or buyers READ ON! What is the most cost effective form of advertising for the very small all the way up to the largest of companies? Commercial Email! Why? Because there is no charge for paper, printing, mailing or the unbelievabley HIGH COST of putting Ads into Magazines or Papers. Why should most of your advertising dollar go for overhead? There IS a BETTER way! How? By placing your ad directly into the e-mail boxes of consumers who, like you, have an Internet e-mail address. Almost every user of the Internet has a unique e-mail address and we can effectively reach as many of those people as you want FAST and EFFECTIVELY. Every year the number of users increases tremendously creating a huge market. Why not become part of this unlimited market by placing your personal ad in one of the largest consumer databases? We are interested in doing business with you, however, we DO NOT do pornography or schemes of any kind. Please call us with your legitimate product or service. Some of you may not be interested at all, and possibly are agitated by our message. We will respectfully remove you from our list by request. We are responsible commercial e-mailers and don't want to bother those who are not interested. We not only respect you, but also our customers. We do not want our customers spending their advertising dollars on prospects that do not have any interest. (Decline instructions are at the end of this letter.) Below you will find basic mailing options we are offering at this time. Check out our SPECIALS! Commercial Email Gets Results! Untargeted mailings: 1,000,000 E-mails for U.S $500.00 2,000,000 E-mails for U.S $900.00 3,000,000 E-mails for U.S $1200.00 4,000,000 E-mails for U.S $1400.00 For Professional Advertising Campaigns at Affordable Prices Call 818-743-7507 By utilizing our resources and technology we have achieved our goal of making advertising affordable and effective on the Internet. We hope that you will choose our company to help you in attaining your companies goals. This message is an advertisement. We will continue to bring you valuable permission based messages on the products and services that interest you most unless you wish to decline. If you no longer wish to receive our messages send a e-mail to: mailto:mxrly@yahoo.com?subject=expunge To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 10:45:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02EE437B401 for ; Sun, 10 Nov 2002 10:45:26 -0800 (PST) Received: from lancelot.cosmicfire.net (lancelot.cosmicfire.net [64.32.246.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 2061A43E77 for ; Sun, 10 Nov 2002 10:45:25 -0800 (PST) (envelope-from gs@vacfu.org) Received: (qmail 25557 invoked from network); 10 Nov 2002 18:44:57 -0000 Received: from dh-fw-1.oru.se (HELO rainbowpeace.DH-FW-1.oru.se) (gs@vacfu.org@130.243.97.72) by vacfu.org with SMTP; 10 Nov 2002 18:44:57 -0000 Date: Sun, 10 Nov 2002 19:43:49 +0100 From: Gustaf Sjoberg To: freebsd-questions@freebsd.org Subject: Re: Can Do10548 Message-Id: <20021110194349.2e5bb232.gs@vacfu.org> In-Reply-To: <00002c0b0649$0000693f$00001b8f@relay.pacific.net.hk> References: <00002c0b0649$0000693f$00001b8f@relay.pacific.net.hk> X-Mailer: Sylpheed version 0.8.3 (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG wow, this annoys me. it's just the reasons listed in this later that makes me hate spam so much. suddenly i feel like.. hitting something. hard. sorry for the rant, couldn't help myself. On Sun, 10 Nov 2002 10:29:50 -2000 "John Zimmer" wrote: [...] > Because there is no charge for paper, printing, mailing or >the unbelievabley HIGH COST of putting Ads into Magazines >or Papers. Why should most of your advertising dollar go >for overhead? There IS a BETTER way! [...] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 10:50:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2909D37B401 for ; Sun, 10 Nov 2002 10:50:31 -0800 (PST) Received: from wonkity.com (wonkity.com [63.93.4.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72D8443E3B for ; Sun, 10 Nov 2002 10:50:30 -0800 (PST) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost.wonkity.com [127.0.0.1]) by wonkity.com (8.12.1/8.11.6) with ESMTP id gAAIoTuF040493; Sun, 10 Nov 2002 11:50:29 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.12.1/8.12.1/Submit) with ESMTP id gAAIoPdv040490; Sun, 10 Nov 2002 11:50:28 -0700 (MST)?g (envelope-from wblock@wonkity.com) Date: Sun, 10 Nov 2002 11:50:25 -0700 (MST) From: Warren Block To: "W. D." Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to stop SPAMMER??! In-Reply-To: <5.1.0.14.2.20021109232136.04ae7140@us-webmasters.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 9 Nov 2002, W. D. wrote: > At 19:49 11/9/2002, Steve Wingate wrote: > > 2. Are you the recipient of spam or is your box being used as a > >relay? > > Relay. If your system is an open relay, close it. I have no idea how to do that with qmail--a web search will help. In fact, if your system is an open relay, you should disconnect it from the net until you have it closed. There are two reasons for that. The first is to stop the abuse of your system. The second is to keep your system from being added to lists of open relays or spam sources. -Warren Block * Rapid City, South Dakota USA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 11:16: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4C7837B401 for ; Sun, 10 Nov 2002 11:16:05 -0800 (PST) Received: from lancelot.cosmicfire.net (lancelot.cosmicfire.net [64.32.246.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 55B0C43E3B for ; Sun, 10 Nov 2002 11:16:05 -0800 (PST) (envelope-from gs@vacfu.org) Received: (qmail 27562 invoked from network); 10 Nov 2002 19:15:37 -0000 Received: from dh-fw-1.oru.se (HELO rainbowpeace.DH-FW-1.oru.se) (gs@vacfu.org@130.243.97.72) by vacfu.org with SMTP; 10 Nov 2002 19:15:37 -0000 Date: Sun, 10 Nov 2002 20:14:18 +0100 From: Gustaf Sjoberg To: freebsd-questions@freebsd.org Subject: sudo in syslog.conf Message-Id: <20021110201418.7d037d61.gs@vacfu.org> X-Mailer: Sylpheed version 0.8.3 (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, what would an entry in syslog.conf look like if i want to send all information on sudo attempts to /dev/console? any ideas? ;-) thanks in anticipation, Gustaf Sjoberg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 11:23:28 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5965837B401; Sun, 10 Nov 2002 11:23:27 -0800 (PST) Received: from foem.leiden.webweaving.org (fia224-72.dsl.hccnet.nl [62.251.72.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69CC243E7B; Sun, 10 Nov 2002 11:23:25 -0800 (PST) (envelope-from dirkx@webweaving.org) Received: from foem (foem [10.11.0.2]) by foem.leiden.webweaving.org (8.12.6/8.12.6) with ESMTP id gAAJNDv7057057 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 10 Nov 2002 20:23:13 +0100 (CET) (envelope-from dirkx@webweaving.org) Date: Sun, 10 Nov 2002 20:23:13 +0100 (CET) From: Dirk-Willem van Gulik X-X-Sender: dirkx@foem.leiden.webweaving.org To: "Greg 'groggy' Lehey" Cc: joe , FreeBSD Questions Subject: Re: Recovering /etc/passwd (was: REASON #7919 NOT to do things as root!) In-Reply-To: <20021110015003.GB93051@wantadilla.lemis.com> Message-ID: <20021110202138.Q55127-100000@foem.leiden.webweaving.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 10 Nov 2002, Greg 'groggy' Lehey wrote: > # pwd_mkdb -p /etc/master.passwd > > /etc/passwd doesn't get used much any more. The real files are > /etc/pwd.db and /etc/spwd.db. See the man page for pwd_mkdb for more > details. And the files in /var/backups/ used by the periodic script have saved my bacon more than once. ls /var/backups aliases.bak group.bak master.passwd.bak aliases.bak2 group.bak2 master.passwd.bak2 One would almost wish that things like the /etc/rc.conf, named and *mc files where there too :-) Dw To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 11:27:34 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86D2A37B401 for ; Sun, 10 Nov 2002 11:27:32 -0800 (PST) Received: from wonkity.com (wonkity.com [63.93.4.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id C898743E75 for ; Sun, 10 Nov 2002 11:27:31 -0800 (PST) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost.wonkity.com [127.0.0.1]) by wonkity.com (8.12.1/8.11.6) with ESMTP id gAAJRTuF040579; Sun, 10 Nov 2002 12:27:29 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.12.1/8.12.1/Submit) with ESMTP id gAAJRSeq040576; Sun, 10 Nov 2002 12:27:28 -0700 (MST)?g (envelope-from wblock@wonkity.com) Date: Sun, 10 Nov 2002 12:27:28 -0700 (MST) From: Warren Block To: sroberts@dsl.pipex.com Cc: FreeBSD Questions Subject: Re: Printing to Win2K share printer with apsfilter via samba fails In-Reply-To: <1036942247.92273.4.camel@Demon.vickiandstacey.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 10 Nov 2002, Stacey Roberts wrote: > Printer entry created by apsfilter setup in /etc/printcap: > # APS1_BEGIN:printer1 > # - don't delete start label for apsfilter printer1 > # - no other printer defines between BEGIN and END LABEL > hp845c|ijs/DESKJET_845;r=600x300;q=high;c=full;p=a4;m=auto:\ > :lp=/dev/null:\ > :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ > :sd=/var/spool/lpd/hp845c:\ > :lf=/var/spool/lpd/hp845c/log:\ > :af=/var/spool/lpd/hp845c/acct:\ > :mx#0:\ > :sh: > # APS1_END - don't delete this > # That if= line says that every time you try to print through this printer, the input is to be filtered by apsfilter. Since something is apparently wrong with apsfilter, you will not be able to print with this printcap entry. > # tail /var/spool/lpd/hp845c/log > apsfilter: The configuration file > /usr/local/etc/apsfilter/hp845c/apsfilterrc > apsfilter: is missing. Please run SETUP. Okay. So what happens when you run SETUP? > But this file DOES exist: > > # more /usr/local/etc/apsfilter/hp845c/apsfilterrc Possibly a permissions problem? > That's failed big time. I'll try printing with lpr: > > # lpr -Php845c test Won't work--you're just sending more stuff through the same failing input filter. I suggested in an earlier response that it would be good to get basic text printing working before trying one of the "big filter" packages like apsfilter. I think I even posted a printcap entry that would work. What happens when you try that? -Warren Block * Rapid City, South Dakota USA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 11:36: 1 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFB6937B401; Sun, 10 Nov 2002 11:35:59 -0800 (PST) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3303943E42; Sun, 10 Nov 2002 11:35:58 -0800 (PST) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id gAAJZs173454; Sun, 10 Nov 2002 13:35:54 -0600 (CST) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20021110133553.00ec9908@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Sun, 10 Nov 2002 13:35:53 -0600 To: Dirk-Willem van Gulik , "Greg 'groggy' Lehey" From: "Jack L. Stone" Subject: Re: Recovering /etc/passwd (was: REASON #7919 NOT to do things as root!) Cc: joe , FreeBSD Questions In-Reply-To: <20021110202138.Q55127-100000@foem.leiden.webweaving.org> References: <20021110015003.GB93051@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 08:23 PM 11.10.2002 +0100, Dirk-Willem van Gulik wrote: > > >On Sun, 10 Nov 2002, Greg 'groggy' Lehey wrote: > >> # pwd_mkdb -p /etc/master.passwd >> >> /etc/passwd doesn't get used much any more. The real files are >> /etc/pwd.db and /etc/spwd.db. See the man page for pwd_mkdb for more >> details. > >And the files in /var/backups/ used by the periodic script have saved my >bacon more than once. > > ls /var/backups > aliases.bak group.bak master.passwd.bak > aliases.bak2 group.bak2 master.passwd.bak2 > >One would almost wish that things like the /etc/rc.conf, named and *mc >files where there too :-) > >Dw Just do your own script to run the backups you want..... that's all the other one(s) do.... Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 12:17:20 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3818937B401 for ; Sun, 10 Nov 2002 12:17:19 -0800 (PST) Received: from ns1.vrx.net (vrx.net [216.13.126.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB35443E3B for ; Sun, 10 Nov 2002 12:17:18 -0800 (PST) (envelope-from alvaro@vrx.net) Received: from [192.168.1.100] (pcp01914819pcs.verona01.nj.comcast.net [68.37.136.214]) by ns1.vrx.net (Postfix) with ESMTP id 9337AD33D for ; Sun, 10 Nov 2002 15:17:01 -0500 (EST) Mime-Version: 1.0 X-Sender: alvaro@199.166.24.1 Message-Id: In-Reply-To: References: Date: Sun, 10 Nov 2002 15:16:58 -0500 To: questions@FreeBSD.ORG From: Alvaro Gil Subject: RE: Problmes with ftp Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >Turn passive mode off on the client. On most clients, >he command 'passive' will toggle between states. >I'm guessing that you're seeing the local IP because >it's behind a NAT type setup........... This is correct... Thanks for the info, I guess there is nothing that can be done... -- ____________________________________________ Alvaro Gil http://www.AlvaroGil.com '84 Volvo 242 Turbo (Silver) 15 psi '97 Leopard Gecko (White, Yellow, Black) NJIT Mechanical Engineering Student ____________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 12:19:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00BDC37B401 for ; Sun, 10 Nov 2002 12:19:10 -0800 (PST) Received: from truman.datasphereweb.com (12-231-81-122.client.attbi.com [12.231.81.122]) by mx1.FreeBSD.org (Postfix) with SMTP id 2ED0743E6E for ; Sun, 10 Nov 2002 12:19:09 -0800 (PST) (envelope-from ryallsd@datasphereweb.com) Received: (qmail 14252 invoked from network); 10 Nov 2002 20:25:47 -0000 Received: from 12-229-238-38.client.attbi.com (HELO bartxp) (12.229.238.38) by 12-231-81-122.client.attbi.com with SMTP; 10 Nov 2002 20:25:47 -0000 From: "Derrick Ryalls" To: Subject: RE: How to stop SPAMMER??! Date: Sun, 10 Nov 2002 12:18:58 -0800 Message-ID: <001b01c288f6$6a00b9c0$0200a8c0@bartxp> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG=20 > [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Warren Block > Sent: Sunday, November 10, 2002 10:50 AM > To: W. D. > Cc: freebsd-questions@FreeBSD.ORG > Subject: Re: How to stop SPAMMER??! >=20 >=20 > On Sat, 9 Nov 2002, W. D. wrote: >=20 > > At 19:49 11/9/2002, Steve Wingate wrote: >=20 > > > 2. Are you the recipient of spam or is your box being used as a=20 > > >relay? > >=20 > > Relay. >=20 http://logicsquad.net/freebsd/qmail-how-to.html That is the site I used to get a basic qmail system up and running. The file which determines who can use qmail to relay is /etc/tcp.smtp 127.0.0.1:allow,RELAYCLIENT=3D"" 192.168.1.:allow,RELAYCLIENT=3D"" :allow The first two lines allow localhost and local network to relay using the box, the third line I believe allows anyone to send mail to the box. If the people using your qmail have fairly static ip addys, then just added them to this file with the relayclient option. Ranges of ips are enabled via dropping the last octet as shown in line two above. After modifying tcp.smtp, you need to run this line for tcpserver /usr/local/bin/tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp Hope this helps. >=20 > In fact, if your system is an open relay, you should=20 > disconnect it from the net until you have it closed. There=20 > are two reasons for that. The first is to stop the abuse of=20 > your system. The second is to keep your system from being=20 > added to lists of open relays or spam sources. > =20 > -Warren Block * Rapid City, South Dakota USA >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 12:21:36 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6EE637B401 for ; Sun, 10 Nov 2002 12:21:34 -0800 (PST) Received: from mail.smartnet.se (mail.smartnet.se [194.237.72.231]) by mx1.FreeBSD.org (Postfix) with SMTP id 6F97D43E3B for ; Sun, 10 Nov 2002 12:21:33 -0800 (PST) (envelope-from johannes@smartnet.se) Received: (qmail 8676 invoked from network); 10 Nov 2002 20:00:11 -0000 Received: from as14-5-4.mt.g.bonet.se (HELO ?192.168.0.3?) (217.215.46.103) by mail.smartnet.se with SMTP; 10 Nov 2002 20:00:11 -0000 Mime-Version: 1.0 X-Sender: johannes@smartnet.se@mail.smartnet.se Message-Id: Date: Sun, 10 Nov 2002 21:21:23 +0100 To: freebsd-questions@FreeBSD.ORG From: Johannes Angeldorff Subject: Permissions & user/group scheme for webserver? Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dear FreeBSD:ers! We are converting an old Windows web server to a new FreeBSD 4.6 webserver with apache and PHP. I could really need some help/tips for securing the server for each user... I want users to be able to FTP in their files to their home directories, and I want the web server to be able to read and execute all users' files... But I _don't_ want users to be able to read each others' files (since they may include for example passwords for MySQL databases). And of course, the users should not be able to read other files on the machine, like /etc/master.passwd. Simply: I want users to only FTP in their own directories, and the web server to be able to read it all... Has anyone a good scheme how to set up user and groups - with suitable permissions - for the webserver, FTP and the users' home dirs? Very grateful for all help on this matter! Sincerely, Smartnet Sverige AB Johannes Angeldorff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 12:34:25 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 671BD37B401 for ; Sun, 10 Nov 2002 12:34:24 -0800 (PST) Received: from gs166.sp.cs.cmu.edu (GS166.SP.CS.CMU.EDU [128.2.205.169]) by mx1.FreeBSD.org (Postfix) with SMTP id DA11243E3B for ; Sun, 10 Nov 2002 12:34:23 -0800 (PST) (envelope-from dpelleg@gs166.sp.cs.cmu.edu) To: Pierrick Brossin Cc: FreeBSD-questions Subject: Re: USRobotics Wireless References: <000801c2871c$1d5ad000$130210ac@vvs> <200211090416.09697.dolmant@dolmant.net> <20021109153436.3db489af.kaeesalm@cc.jyu.fi> <200211091344.43911.behanna@zbzoom.net> <20021110124802.560bb85e.kaeesalm@cc.jyu.fi> <20021110150502.GD28439@slurp.rodal <3DCE964F.6050902@swissgeeks.com> From: Dan Pelleg Date: 10 Nov 2002 15:33:38 -0500 In-Reply-To: <3DCE964F.6050902@swissgeeks.com> Message-ID: Lines: 19 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Pierrick Brossin writes: > Hi, > > Anyone using a U.S.Robotics Wireless card under Fbsd 4.7 ? > I'm interested in buying one card for my laptop ! > > http://www.usr-emea.com/products/p-networking-product.asp?prod=net-pc-card&loc=emea > > It's in the Hardware Notes but I would prefer that someone who actually > uses a card like this tells me it's ok! > It works. Just get the firmware update off the manufacturer's site (you'll need to stick it into a Windows machine to upload it to the card). -- Dan Pelleg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 12:54:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DCEC37B401 for ; Sun, 10 Nov 2002 12:54:22 -0800 (PST) Received: from prg.traveller.cz (prg.traveller.cz [193.85.2.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A52B43E42 for ; Sun, 10 Nov 2002 12:54:21 -0800 (PST) (envelope-from mime@traveller.cz) Received: from prg.traveller.cz (localhost [127.0.0.1]) by prg.traveller.cz (8.12.2[KQ/pukvis]/8.12.2-prg) with ESMTP id gAAKsEU7061069; Sun, 10 Nov 2002 21:54:15 +0100 (CET) Received: from localhost (mime@localhost) by prg.traveller.cz (8.12.2[KQ/pukvis]/8.12.2-prg/submit) with ESMTP id gAAKsE9U061066; Sun, 10 Nov 2002 21:54:14 +0100 (CET) Date: Sun, 10 Nov 2002 21:54:14 +0100 (CET) From: Michal Mertl To: questions@FreeBSD.ORG Cc: Mark Subject: Re: BIND Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Configuration of bind 8.x to stop outside world using your nameserver looks like this (only relevant part shown): options { allow-query { localnets; localhost; internal_net;}; allow-transfer { localnets; localhost; internal_net;}; allow-recursion { localhost; localnets; internal_net;}; }; zone "." { type hint; file "named.root"; }; zone "example.com" { type master; file "example.com"; allow-transfer { important_servers; localhost; }; allow-query { any; }; }; -- Michal Mertl mime@traveller.cz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 13:12: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC89837B401 for ; Sun, 10 Nov 2002 13:12:01 -0800 (PST) Received: from mail.destar.net (240-7-237-24-cable.anchorageak.net [24.237.7.240]) by mx1.FreeBSD.org (Postfix) with SMTP id DBC7F43E42 for ; Sun, 10 Nov 2002 13:12:00 -0800 (PST) (envelope-from jonr@destar.net) Received: (qmail 184 invoked by uid 5001); 10 Nov 2002 17:07:20 -0000 Received: from unknown (HELO ?192.168.1.101?) (192.168.1.1) by 192.168.1.20 with SMTP; 10 Nov 2002 17:07:20 -0000 Subject: RE: How to stop SPAMMER??! From: Jon Reynolds To: Derrick Ryalls Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <001b01c288f6$6a00b9c0$0200a8c0@bartxp> References: <001b01c288f6$6a00b9c0$0200a8c0@bartxp> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-6) Date: 10 Nov 2002 12:08:30 -0900 Message-Id: <1036962510.1691.0.camel@localhost.localdomain> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 2002-11-10 at 11:18, Derrick Ryalls wrote: > > > > -----Original Message----- > > From: owner-freebsd-questions@FreeBSD.ORG > > [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Warren Block > > Sent: Sunday, November 10, 2002 10:50 AM > > To: W. D. > > Cc: freebsd-questions@FreeBSD.ORG > > Subject: Re: How to stop SPAMMER??! > > > > > > On Sat, 9 Nov 2002, W. D. wrote: > > > > > At 19:49 11/9/2002, Steve Wingate wrote: > > > > > > 2. Are you the recipient of spam or is your box being used as a > > > >relay? > > > > > > Relay. > > > > http://logicsquad.net/freebsd/qmail-how-to.html > > That is the site I used to get a basic qmail system up and running. The > file which determines who can use qmail to relay is /etc/tcp.smtp > > 127.0.0.1:allow,RELAYCLIENT="" > 192.168.1.:allow,RELAYCLIENT="" > :allow > > The first two lines allow localhost and local network to relay using the > box, the third line I believe allows anyone to send mail to the box. If > the people using your qmail have fairly static ip addys, then just added > them to this file with the relayclient option. Ranges of ips are > enabled via dropping the last octet as shown in line two above. After > modifying tcp.smtp, you need to run this line for tcpserver > > /usr/local/bin/tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < > /etc/tcp.smtp > > > Hope this helps. > > > > > In fact, if your system is an open relay, you should > > disconnect it from the net until you have it closed. There > > are two reasons for that. The first is to stop the abuse of > > your system. The second is to keep your system from being > > added to lists of open relays or spam sources. > > > > -Warren Block * Rapid City, South Dakota USA > > > > Also make sure in your /var/qmail/control directory that you have an 'rcpthosts' file with only your domain in it eg 'echo your.domain >> rcpthosts' if this is not so then you are an open relay. Jon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 13:23: 9 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A92C737B401 for ; Sun, 10 Nov 2002 13:23:07 -0800 (PST) Received: from mel-rto3.wanadoo.fr (smtp-out-3.wanadoo.fr [193.252.19.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7E7C43E3B for ; Sun, 10 Nov 2002 13:23:06 -0800 (PST) (envelope-from danielhartmann@wanadoo.fr) Received: from mel-rta9.wanadoo.fr (193.252.19.69) by mel-rto3.wanadoo.fr (6.5.007) id 3DA24D18013F2E39 for freebsd-questions@FreeBSD.ORG; Sun, 10 Nov 2002 22:23:05 +0100 Received: from dany (217.128.79.14) by mel-rta9.wanadoo.fr (6.5.007) id 3DA24B29014C8CA9 for freebsd-questions@FreeBSD.ORG; Sun, 10 Nov 2002 22:23:05 +0100 From: "Daniel HARTMANN" To: Subject: DHCP Date: Sun, 10 Nov 2002 22:23:01 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0003_01C28907.BB0E7B20" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MS-TNEF-Correlator: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Disposition-Notification-To: "Daniel HARTMANN" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0003_01C28907.BB0E7B20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi How to have DHCP in version 4.7 like it was in 4.5. By default it is not anymore installed. Thanks Dany_H ;-) ------=_NextPart_000_0003_01C28907.BB0E7B20 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="winmail.dat" eJ8+IgEVAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANIHCwAKABYAFwAAAAAAGwEB A5AGAJwGAAAmAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAEAAAACATEAAQAAAAoBAABQ Q0RGRUIwOQABAAIAoAAAAAAAAAA4obsQBeUQGqG7CAArKlbCAABQU1RQUlguRExMAAAAAAAAAABO SVRB+b+4AQCqADfZbgAAAEM6XERvY3VtZW50cyBhbmQgU2V0dGluZ3NcQWRtaW5pc3RyYXRldXJc TG9jYWwgU2V0dGluZ3NcQXBwbGljYXRpb24gRGF0YVxNaWNyb3NvZnRcT3V0bG9va1xvdXRsb29r LnBzdAAYAAAAAAAAAK6GWbD62xpEl2ffdr1wxWSigAAAAAAAABgAAAAAAAAAroZZsPrbGkSXZ992 vXDFZMKAAAAQAAAAlz/dOCK860eevsncKtSPjAUAAABESENQAAAAAwA2AAAAAAAeAHAAAQAAAAUA AABESENQAAAAAAIBcQABAAAAFgAAAAHCiP9ZCYlyQ54AHU/YnwznIwizOH8AAAIBHQwBAAAAHwAA AFNNVFA6REFOSUVMSEFSVE1BTk5AV0FOQURPTy5GUgAACwABDgAAAABAAAYOABJYWP+IwgECAQoO AQAAABgAAAAAAAAAroZZsPrbGkSXZ992vXDFZMKAAAALAB8OAQAAAAIBCRABAAAAJQEAACEBAACT AQAATFpGdRyBRh8DAAoAcmNwZzEyNRYyAPgLYG4OEDAzNk8B9wKkA+MCAGNoCsBz8GV0MCAHEwKD AFAQb0BMdWNpZGEGBFVvAwAFoAEAAoB9CoAIyCD2OwlpDiA4CiMWMQKACoGSdgiQd2sLgGQ0DGDO YwBQCwMLtSBIAKAKsRMKhAqASG8H4HRvIAEQ8HZlIERIQ1BaIAuAIBpQERBpAiAggDQuNyBsaWsa YHJpBUB3YQQgGtEbgDUiLhkEQnkgAQFhdY5sBUAcEQQAIG5vBUA/AHAGwAWwG/EAgAGQbGyXCYAc 5RkEVBDwbmsQsI8ZGQrzGnAeoV9IIBVgvC0pCNAAQQwyEgMyF7DvIVgisQoRAUBpAtELxRkTBRSR ACYgAAAACwABgAggBgAAAAAAwAAAAAAAAEYAAAAAA4UAAAAAAAADAA+ACCAGAAAAAADAAAAAAAAA RgAAAABShQAAjmoBAB4AEIAIIAYAAAAAAMAAAAAAAABGAAAAAFSFAAABAAAABAAAADkuMAAeABGA CCAGAAAAAADAAAAAAAAARgAAAAA2hQAAAQAAAAEAAAAAAAAAHgASgAggBgAAAAAAwAAAAAAAAEYA AAAAN4UAAAEAAAABAAAAAAAAAB4AE4AIIAYAAAAAAMAAAAAAAABGAAAAADiFAAABAAAAAQAAAAAA AAALABaACCAGAAAAAADAAAAAAAAARgAAAACChQAAAQAAAAsAQ4AIIAYAAAAAAMAAAAAAAABGAAAA AA6FAAAAAAAAAwBFgAggBgAAAAAAwAAAAAAAAEYAAAAAEIUAAAAAAAADAEaACCAGAAAAAADAAAAA AAAARgAAAAARhQAAAAAAAAMAR4AIIAYAAAAAAMAAAAAAAABGAAAAABiFAAAAAAAACwBegAggBgAA AAAAwAAAAAAAAEYAAAAABoUAAAAAAAADAF+ACCAGAAAAAADAAAAAAAAARgAAAAABhQAAAAAAAAIB +A8BAAAAEAAAAK6GWbD62xpEl2ffdr1wxWQCAfoPAQAAABAAAACuhlmw+tsaRJdn33a9cMVkAgH7 DwEAAACgAAAAAAAAADihuxAF5RAaobsIACsqVsIAAFBTVFBSWC5ETEwAAAAAAAAAAE5JVEH5v7gB AKoAN9luAAAAQzpcRG9jdW1lbnRzIGFuZCBTZXR0aW5nc1xBZG1pbmlzdHJhdGV1clxMb2NhbCBT ZXR0aW5nc1xBcHBsaWNhdGlvbiBEYXRhXE1pY3Jvc29mdFxPdXRsb29rXG91dGxvb2sucHN0AAMA /g8FAAAAAwANNP03AAACAX8AAQAAADkAAAA8QktFRUpIR0hIQlBBT0VNQURQTFBFRURJQ0JBQS5k YW5pZWxoYXJ0bWFubkB3YW5hZG9vLmZyPgAAAAADAAYQrU7X3AMABxBVAAAAAwAQEAAAAAADABEQ AAAAAB4ACBABAAAAVgAAAEhJSE9XVE9IQVZFREhDUElOVkVSU0lPTjQ3TElLRUlUV0FTSU40NUJZ REVGQVVMVElUSVNOT1RBTllNT1JFSU5TVEFMTEVEVEhBTktTREFOWUg7LSkAAAA5bQ== ------=_NextPart_000_0003_01C28907.BB0E7B20-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 13:29:20 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01C6C37B404 for ; Sun, 10 Nov 2002 13:29:19 -0800 (PST) Received: from mail2.sea.registeredsite.com (mail2.sea.registeredsite.com [66.111.73.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 133D643E75 for ; Sun, 10 Nov 2002 13:29:14 -0800 (PST) (envelope-from admin@asarian-host.net) Received: from asarian-host.net (asarian-host.net [216.122.74.112]) by mail2.sea.registeredsite.com (8.12.5/8.12.5) with ESMTP id gAALT7Km026672 for ; Sun, 10 Nov 2002 16:29:07 -0500 Comments: To protect the identity of the sender, certain header fields are either not shown, or masked. Anonymous email addresses for asarians can be requested by filling in the appropriate form at: https://asarian-host.net/cgi-bin/signup.cgi Received: (from root@localhost) by asarian-host.net (8.11.0/8.11.0) id gAALT7x37865 for questions@freebsd.org; Sun, 10 Nov 2002 22:29:07 +0100 (CET) (envelope-from admin@asarian-host.net) Posted-Date: Sun, 10 Nov 2002 22:29:07 +0100 (CET) From: Mark Message-Id: <200211102129.GAALT5S37846@asarian-host.net> Date: Sun, 10 Nov 2002 22:29:00 +0100 X-Authenticated-Sender: admin@asarian-host.net Subject: Re: BIND X-Trace: YRSK8Yg6xtOmq2dUO0qPeeiI3C8PDaDJltdvPArXdCcLP//GI40zvUAw81O2AScG X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we are unable to process your complaint Organization: Asarian-host To: "Michal Mertl" , References: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Auth: Asarian-host PGP signature iQEVAwUAPc7PozFqW1BleBN9AQFAhQf/UdWzM7LFDg1cuuvzvDRG8WzsOCGnpMhS 4F+QCo8hHvnINrM8vP016kfj3Cqj/C7VQDjqNbcxVZZyfPYaBqi0PUb+tIdAjGwX ST/0Q0s4s4Na0/lBFhpMzJ5DOoSDAPlNGQKUjli93T/QygLGRBvEDuEz3UICxVXp L9rzTucd/0st9JnO/da/SOE0fcaji6ddS4xefiVA2Ihv/4XSn8j8sE29W5+qQ5Ln ax9Xp9jENEK8Z7zmJOneALcg71lUZTxR7SeUr2s41IYAhcmIPsC4t8NIPyJB5F3P OetGoNU5KV5XoXBGRAVhR83JhjJVguuGfuHiTD4GauAWaEOSFqCMFg== =3aP6 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Briliant! That is exactly what the doctor ordered! :) Thank! - Mark ----- Original Message ----- From: "Michal Mertl" To: Cc: "Mark" Sent: Sunday, November 10, 2002 9:54 PM Subject: Re: BIND > Configuration of bind 8.x to stop outside world using your > nameserver looks like this (only relevant part shown): > > options { > allow-query { localnets; localhost; internal_net;}; > allow-transfer { localnets; localhost; internal_net;}; > allow-recursion { localhost; localnets; internal_net;}; > }; > > zone "." { > type hint; > file "named.root"; > }; > > zone "example.com" { > type master; > file "example.com"; > allow-transfer { important_servers; localhost; }; > allow-query { any; }; > }; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 13:37:17 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3076A37B401 for ; Sun, 10 Nov 2002 13:37:16 -0800 (PST) Received: from deter.dk (port74.ds1-oebr.adsl.cybercity.dk [212.242.49.77]) by mx1.FreeBSD.org (Postfix) with SMTP id 782E343E6E for ; Sun, 10 Nov 2002 13:37:14 -0800 (PST) (envelope-from no-spam-2mgb@deter.dk) Received: (qmail 68095 invoked by uid 1001); 10 Nov 2002 21:37:07 -0000 Date: Sun, 10 Nov 2002 22:37:06 +0100 From: Morten Grunnet Buhl To: freebsd-questions@freebsd.org Subject: coloring up my life Message-ID: <20021110213706.GA67951@deter.dk> Reply-To: freebsd-questions@freebsd.org Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 4.6-STABLE on a i386 X-Uptime: 9:49PM up 27 days, 6:02, 4 users, load averages: 1.00, 1.00, 1.00 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hey guys, So I like working in the console, is there any other way? But I find that all that black and white really gets kind of boring in the long run. So I want to start coloring everything up nice and pretty. I have started on my shell (tcsh) and ls. This is where my knowledge on this subject ends. So my question is, does anyone else have pointer/tips/hints/ideas on how to put more color in my life? ie /etc/motd, commands other than ls, other? TIA, Morten. -- DetEr.dk - Rules are made to control the fun. for mails directly to me remove 'no-spam-2' from my email To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 13:50:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A34B37B401 for ; Sun, 10 Nov 2002 13:50:11 -0800 (PST) Received: from users.munk.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B95743E3B for ; Sun, 10 Nov 2002 13:50:10 -0800 (PST) (envelope-from munk@users.munk.nu) Received: from users.munk.nu (localhost [127.0.0.1]) by users.munk.nu (8.12.5/8.12.3) with ESMTP id gAALpv4g098166 for ; Sun, 10 Nov 2002 21:51:57 GMT (envelope-from munk@users.munk.nu) Received: (from munk@localhost) by users.munk.nu (8.12.5/8.12.3/Submit) id gAALpvdW098165 for freebsd-questions@freebsd.org; Sun, 10 Nov 2002 21:51:57 GMT Date: Sun, 10 Nov 2002 21:51:57 +0000 From: Jez Hancock To: FreeBSD questions List Subject: GD2 without X11 from ports Message-ID: <20021110215157.GB98103@users.munk.nu> Mail-Followup-To: FreeBSD questions List Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, I'm attempting to install the GD2 library from the ports collection without support for X11 (since GD will only be used as an option to mod_php4). After checking the Makefile for GD2, I attempted to build the library as follows: root@dev /root# cd /usr/ports/graphics/gd2 root@dev /usr/ports/graphics/gd2# make -DWITHOUT_XPM -DWITHOUT_X11 -DWITH_LZW So far so good, GD2 is built without the X11 libs. However when I move on to install the port: root@dev /usr/ports/graphics/gd2# make install ===> Installing for gd-2.0.1_3 ===> gd-2.0.1_3 depends on shared library: png - found ===> gd-2.0.1_3 depends on shared library: jpeg - found ===> gd-2.0.1_3 depends on shared library: freetype - found ===> gd-2.0.1_3 depends on shared library: X11.6 - not found ===> Verifying install for X11.6 in /usr/ports/x11/XFree86-4-libraries >> X420src-1.tgz doesn't seem to exist in /usr/ports/distfiles/xc. >> Attempting to fetch from ftp://ftp.xfree86.org/pub/XFree86/4.2.0/source/. [snip] the 'make install' command still attempts to install the X libs. Can anyone tell me why this is happening? Thanks in advance, Jez To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 13:50:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33A4037B401 for ; Sun, 10 Nov 2002 13:50:41 -0800 (PST) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6178D43E3B for ; Sun, 10 Nov 2002 13:50:40 -0800 (PST) (envelope-from timothy@voidnet.com) Received: from repose ([12.210.146.224]) by sccrmhc02.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021110215039.VHOX20487.sccrmhc02.attbi.com@repose> for ; Sun, 10 Nov 2002 21:50:39 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Eric Timme (by way of Eric Timme ) (by way of Eric Timme ) Subject: general questions about patches ports [nethack] Date: Sun, 10 Nov 2002 15:50:36 -0600 User-Agent: KMail/1.4.3 To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200211101550.36426.timothy@voidnet.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG (no answers off ports, so thought I'd give it a try on questions) In an effort to get some experience with ports I've been working in my sp= are time on making a local entry in the tree that lets you apply a variety of nethack enhancing, generally accepted patches (namely the hell patch, dum= p patch, new toys, and toughvlad patches) using -D appendations to the init= ial make command. It builds fine with various patches enabled; however, I ha= d to modify the original diffs to get everything to apply it an order independ= ent fashion. Part of this was necessary because I was specifying the files t= o use via PATCHFILES and some .if defined() ... .endif branches in the Makefile, and their application order did matter. Anyhow, I got that sorted out, and have been storing my patchfiles on a remote server and fetching using a PATCH_SITES define, which fetches and applies seamlessly. That brings me to my questions.. First, for future reference, is there a way, besides naming patchfiles aa= ab ac etc, to get PATCHFILES, or any similar defines, to apply patches in a = user specifid particular order? Second, is there a way to store/bundle optional patches with a port and b= e able to include them in the build or not, at your discretion, so that you don't have to fetch them from third party sites? Third, is there even any interest in something like this, or does conservative BSD philosophy frown on game patches such as these being included in the ports tree, leaving it to the end user to compile from scratch and apply patches by hand if they wish enhancement? --Eric To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message From owner-freebsd-questions Sun Nov 10 13:59:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B03B537B401 for ; Sun, 10 Nov 2002 13:59:46 -0800 (PST) Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25D6143E6E for ; Sun, 10 Nov 2002 13:59:46 -0800 (PST) (envelope-from jld123@pobox.com) Received: from lee (pcp826719pcs.nrockv01.md.comcast.net [68.50.140.34]) by mtaout05.icomcast.net (iPlanet Messaging Server 5.1 HotFix 1.5 (built Sep 23 2002)) with SMTP id <0H5D00A5DRQWLV@mtaout05.icomcast.net> for freebsd-questions@FreeBSD.ORG; Sun, 10 Nov 2002 16:59:21 -0500 (EST) Date: Sun, 10 Nov 2002 17:03:55 -0500 From: Lee Nelson Subject: Re: Permissions & user/group scheme for webserver? In-reply-to: To: freebsd-questions@FreeBSD.ORG Message-id: MIME-version: 1.0 X-Mailer: Opera 6.05 build 1140 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-Priority: 3 (Normal) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is an excellent question, and it's also an enduring problem. It's easy enough to make all files owned by user:nobody, but the problem is that CGI's executing as nobody can go off and read other peoples files! To counter this, I run all CGI's as suid the user. But this requires Apache's suexec code, which is difficult to get working properly, since the Apache folks disapprove and have placed so m