From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 00:10:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 245001065670 for ; Sun, 30 Nov 2008 00:10:05 +0000 (UTC) (envelope-from dan@nyi.unixathome.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id 003168FC13 for ; Sun, 30 Nov 2008 00:10:04 +0000 (UTC) (envelope-from dan@nyi.unixathome.org) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id EF51F50A3E for ; Sun, 30 Nov 2008 00:10:03 +0000 (GMT) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yFjwdHXR4i7S for ; Sun, 30 Nov 2008 00:10:02 +0000 (GMT) Received: by nyi.unixathome.org (Postfix, from userid 1001) id 796A75092B; Sun, 30 Nov 2008 00:10:01 +0000 (GMT) From: Dan Langille To: freebsd-questions@freebsd.org Message-Id: <20081130001001.796A75092B@nyi.unixathome.org> Date: Sun, 30 Nov 2008 00:10:01 +0000 (GMT) Subject: The FreeBSD Diary: 2008-11-09 - 2008-11-29 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, 30 Nov 2008 00:10:05 -0000 The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives and/or The FreeBSD Diary . These are the articles posted during this period: 29-Nov : OpenVPN - creating a routed VPN If you have multiple VPN clients, this is a practical solution. http://freebsddiary.org/openvpn-routed.php?2 27-Nov : OpenVPN - getting it running Using OpenVPN to create a secure pathway between home and office http://freebsddiary.org/openvpn.php?2 27-Nov : Creating your own Certificate Authority How to create a CA and generate your own SSL certificates http://freebsddiary.org/openvpn-easy-rsa.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 01:04:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4E261065675 for ; Sun, 30 Nov 2008 01:04:53 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 8809C8FC13 for ; Sun, 30 Nov 2008 01:04:53 +0000 (UTC) (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 mAU14qqY027172 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 29 Nov 2008 19:04:52 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id mAU14pGd027156; Sat, 29 Nov 2008 19:04:51 -0600 (CST) (envelope-from dan) Date: Sat, 29 Nov 2008 19:04:51 -0600 From: Dan Nelson To: Gary Kline Message-ID: <20081130010450.GC53570@dan.emsphone.com> References: <20081129225120.GA83398@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081129225120.GA83398@thought.org> X-OS: FreeBSD 7.1-PRERELEASE User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD Mailing List Subject: Re: Anybody familiar with "publib"?? 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, 30 Nov 2008 01:04:53 -0000 In the last episode (Nov 29), Gary Kline said: > I found a neat function in publib that should do what I want, but > adding either > > #imclude // as per man publib > > OR > > #include "/usr/local/include/publib.h" > > fails. Yes, I am adding "-lpub" to the enc of gcc. Still bombs. > Anybody know why? Prev'ly when I've used the publib functions, I've > had to move/copy a slew of them into my private build. Be nice if > this just-worked! Try adding "-I /usr/local/include" to your compile line, and "-L /usr/local/lib" to your link line. Also, providing the error message instead of just saying "it fails" is helpful. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 01:19:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 655E4106567C for ; Sun, 30 Nov 2008 01:19:05 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id E79808FC13 for ; Sun, 30 Nov 2008 01:19:04 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so1027844nfh.33 for ; Sat, 29 Nov 2008 17:19:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=pwA6kbpmGMT4gadeZWrc/3UX3o1A+rL+vC8EF74wBjA=; b=VzUqH9+7He2fi2sSxdCnnUoEp1h7PSSqUP6smKh2pXyAJOaxV73o/4+ETvrslkHgO6 rQvuMG+Xh9BSbHJTOFoMwOO8A3WHgfYl9irqAOnhr7Ji1wQRdTm/7fsUzASgbkT/vLf+ gZATHwdQyRtYXrHts3UJ/IzlhNwAJOICU8Z2w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=lmGDjN8qiePUmuL3HqQrHQ8VGNNNkvhd03cB+4yVtBPB2Oxdt8n1qh1DvRf94J6eje 1ziqOqVwGsNQIW5qN2KpRmfTA2LdQD+89Ye7KSv16cMogKO17l2Ci/lXImyYuBGNhxIq yvZDmO3tIXMvi8XmOiJIB3NWHgpet6NN8elcI= Received: by 10.210.78.16 with SMTP id a16mr10850876ebb.33.1228007943162; Sat, 29 Nov 2008 17:19:03 -0800 (PST) Received: by 10.210.17.12 with HTTP; Sat, 29 Nov 2008 17:19:03 -0800 (PST) Message-ID: Date: Sat, 29 Nov 2008 18:19:03 -0700 From: "Tim Judd" To: perryh@pluto.rain.com In-Reply-To: <4930ff46.LVjmMuGTfhiq3N0y%perryh@pluto.rain.com> MIME-Version: 1.0 References: <4930ff46.LVjmMuGTfhiq3N0y%perryh@pluto.rain.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: shell scripting problems 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, 30 Nov 2008 01:19:05 -0000 This seems to be the ticket. I'll be watching it but now I have an example on how to dual-quote a string. Thanks very much, Perry On Sat, Nov 29, 2008 at 1:37 AM, wrote: > > In the shell script, i have a > > pkg_info -qLx "^$PKG-[0-9,._]+$" > > also tried (-X)tended regex instead of the standard rege(-x). > > > > sh keeps erroring out saying various $" isn't a valid variable > > name ... > > Both sh and csh will try to treat $ inside of "" as a variable > reference. Does it work any better if you enclose the $ in '' > instead? > > If you need the first $ to be a variable reference and the second > to be used literally, you may need to do something like > > "^$PKG-[0-9,._]+"'$' > From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 03:03:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 280581065679 for ; Sun, 30 Nov 2008 03:03:41 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id BA3098FC1B for ; Sun, 30 Nov 2008 03:03:40 +0000 (UTC) (envelope-from kline@thought.org) 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 mAU33nf4039143; Sat, 29 Nov 2008 19:03:49 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sat, 29 Nov 2008 19:03:17 -0800 (PST) Date: Sat, 29 Nov 2008 19:03:17 -0800 From: Gary Kline To: Dan Nelson Message-ID: <20081130030317.GB90350@thought.org> References: <20081129225120.GA83398@thought.org> <20081130010450.GC53570@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081130010450.GC53570@dan.emsphone.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 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: FreeBSD Mailing List Subject: Re: Anybody familiar with "publib"?? 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, 30 Nov 2008 03:03:41 -0000 On Sat, Nov 29, 2008 at 07:04:51PM -0600, Dan Nelson wrote: > In the last episode (Nov 29), Gary Kline said: > > I found a neat function in publib that should do what I want, but > > adding either > > > > #imclude // as per man publib > > > > OR > > > > #include "/usr/local/include/publib.h" > > > > fails. Yes, I am adding "-lpub" to the enc of gcc. Still bombs. > > Anybody know why? Prev'ly when I've used the publib functions, I've > > had to move/copy a slew of them into my private build. Be nice if > > this just-worked! > > Try adding "-I /usr/local/include" to your compile line, and > "-L /usr/local/lib" to your link line. Also, providing the error > message instead of just saying "it fails" is helpful. Yes; it took just what you [and Andrew Brampson] suggested. The error were a screen full of lines like: /usr/local/include/publib.h:6:26: error: publib/alloc.h: No such file or directory /usr/local/include/publib.h:7:27: error: publib/base64.h: No such file or directory /usr/local/include/publib.h:8:27: error: publib/bitarr.h: No such file or directory /usr/local/include/publib.h:9:24: error: publib/cmp.h: No such file or directory /usr/local/include/publib.h:10:29: error: publib/errormsg.h: No such file or directory If I had ported publib, I would've stuck publib.h in /usr/include. Then Wirzenius' man page would have been correct, well, modulo the -L /usr/local/lib -lpub linkage. But this is frowned upon in FreeBSD land. > > -- > Dan Nelson > dnelson@allantgroup.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" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 03:04:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAE861065677 for ; Sun, 30 Nov 2008 03:04:44 +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 2C55F8FC22 for ; Sun, 30 Nov 2008 03:04:43 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: (qmail 17812 invoked from network); 30 Nov 2008 03:04:40 -0000 Received: from unknown (HELO blizzard.dnsalias.org) (218.215.165.102) by smtp.mel.people.net.au with SMTP; 30 Nov 2008 03:04:40 -0000 Received: by blizzard.dnsalias.org (Postfix, from userid 1001) id 1E36D17083; Sun, 30 Nov 2008 14:04:44 +1100 (EST) Date: Sun, 30 Nov 2008 14:04:44 +1100 From: andrew clarke To: Jos Chrispijn Message-ID: <20081130030444.GA78553@ozzmosis.com> References: <49319A83.6050407@webrz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49319A83.6050407@webrz.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Temporarily blocking ports 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, 30 Nov 2008 03:04:45 -0000 On Sat 2008-11-29 20:39:47 UTC+0100, Jos Chrispijn (kernel@webrz.net) wrote: > Can someone hint me how I can block ports for let's say 30 minutes if > someone repeatedly tries to do a SSH login? > I use ipfw as firewall... security/sshguard-ipfw works well for me. From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 05:00:04 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80A34106564A for ; Sun, 30 Nov 2008 05:00:04 +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 4923E8FC08 for ; Sun, 30 Nov 2008 05:00:04 +0000 (UTC) (envelope-from kline@thought.org) 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 mAU50Ng6039730 for ; Sat, 29 Nov 2008 21:00:24 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sat, 29 Nov 2008 20:59:52 -0800 (PST) Date: Sat, 29 Nov 2008 20:59:51 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20081130045944.GA94896@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 22 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: for awk experts only. 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, 30 Nov 2008 05:00:04 -0000 wordnet/wn prints the string "noun" out whereas I'd rather it simply printed "n." Is there a way of making this substitution using awk? (I've never used awk except as a cmdline filter.) The following fails: wn foot -over |grep Overview |awk {if(!strcmp($3,"noun"))$3="n."; '{printf("%s %s\n", $4, $3);}}' If there are any shortcuts, please clue me in! -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 05:11:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B887106564A for ; Sun, 30 Nov 2008 05:11:08 +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 651858FC1E for ; Sun, 30 Nov 2008 05:11:08 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-24-200.dynamic.qsc.de [92.196.24.200]) by mx01.qsc.de (Postfix) with ESMTP id 8C92E3CAFE; Sun, 30 Nov 2008 06:11:06 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mAU5B4r4001847; Sun, 30 Nov 2008 06:11:04 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 30 Nov 2008 06:11:04 +0100 From: Polytropon To: Gary Kline Message-Id: <20081130061104.f595db7e.freebsd@edvax.de> In-Reply-To: <20081130045944.GA94896@thought.org> References: <20081130045944.GA94896@thought.org> 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 Mailing List Subject: Re: for awk experts only. 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: Sun, 30 Nov 2008 05:11:08 -0000 Good morning! On Sat, 29 Nov 2008 20:59:51 -0800, Gary Kline wrote: > wordnet/wn prints the string "noun" out whereas I'd rather it simply > printed "n." Is there a way of making this substitution using awk? > (I've never used awk except as a cmdline filter.) > > The following fails: > > wn foot -over |grep Overview |awk > {if(!strcmp($3,"noun"))$3="n."; '{printf("%s %s\n", $4, $3);}}' Of course. You cannot have $3 as a lvalue (read: You cannot change its value). > If there are any shortcuts, please clue me in! Don't make it more complicated than it is. :-) % wn foot -over | grep "Overview" | awk \ '{ printf("%s %s\n", $4, gsub("noun", "n.", $3)); }' And the more I think about it, the more I believe there are much easier ways to do this. But I'm sure the magic of how it works just opened up to you. Sidenote: I wouldn't consider myself as an AWK expert allthough I did abuse AWK lately to implement a stastistical evaluation program for blood sugar data into a PDF file with diagrams a CVS file, involving gnuplot and \LaTeX{}. =^_^= -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 05:17:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70B8E106564A for ; Sun, 30 Nov 2008 05:17:33 +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 03F6D8FC12 for ; Sun, 30 Nov 2008 05:17:32 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-24-200.dynamic.qsc.de [92.196.24.200]) by mx01.qsc.de (Postfix) with ESMTP id 2CAE23CAD7; Sun, 30 Nov 2008 06:17:33 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mAU5HVEc002270; Sun, 30 Nov 2008 06:17:31 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 30 Nov 2008 06:17:31 +0100 From: Polytropon To: Polytropon Message-Id: <20081130061731.0691f5ea.freebsd@edvax.de> In-Reply-To: <20081130061104.f595db7e.freebsd@edvax.de> References: <20081130045944.GA94896@thought.org> <20081130061104.f595db7e.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: Gary Kline , FreeBSD Mailing List Subject: Re: for awk experts only. 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: Sun, 30 Nov 2008 05:17:33 -0000 Replying to my own message: I found a point for improvement. Why use grep when awk can grep by itself? % wn foot -over | awk '/Overview/ { printf("%s %s\n", $4, gsub("noun", "n.", $3)); }' Ah, much better. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 05:57:38 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86B8A1065673 for ; Sun, 30 Nov 2008 05:57:38 +0000 (UTC) (envelope-from admin@azuni.net) Received: from mail.azuni.net (ns0.azuni.net [217.25.25.3]) by mx1.freebsd.org (Postfix) with ESMTP id 9F0D18FC13 for ; Sun, 30 Nov 2008 05:57:36 +0000 (UTC) (envelope-from admin@azuni.net) Received: (qmail 69596 invoked by uid 1004); 30 Nov 2008 05:57:35 -0000 Received: from admin@azuni.net by mail.azuni.net by uid 89 with qmail-scanner-1.20 (clamscan: 0.65. spamassassin: 2.63. Clear:RC:1(217.25.27.27):. Processed in 0.017387 secs); 30 Nov 2008 05:57:35 -0000 Received: from unknown (HELO ?217.25.27.27?) (admin@azuni.net@217.25.27.27) by ns0.azuni.net with AES256-SHA encrypted SMTP; 30 Nov 2008 05:57:35 -0000 Message-ID: <49322B49.80005@azuni.net> Date: Sun, 30 Nov 2008 09:57:29 +0400 From: admin@azuni.net Organization: UniNet User-Agent: Icedove 1.5.0.14eol (X11/20080724) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: RW Subject: Re: FreeBSD 4.8: can't load kernel after doing "cp -R /" to another 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: Sun, 30 Nov 2008 05:57:38 -0000 >> >> Hello, everyone. This is the problem: our SCSI disk with FreeBSD 4.8 >> on it has been failing recently, so I copied its root partition to a >> fresh IDE disk with cp -pR and > > You should use dump and restore to copy the root partition, see: > I'd done that before trying cp -pR, as outlined by rse@: dump -L -0 -f- /old | (cd /new && restore -r -v -f-) http://people.freebsd.org/~rse/mirror/ which isn't too different. I think I know what the problem is: I made the new single slice and FreeBSD partition on it and ran newfs -U on it using the latest FreeBSD 5.x livecd toolkit, and later 4.8 can't even mount that partition (mount /dev/ad0s1a /mnt) failing with "incorrect superblock", so I think its /boot/loader can't load the kernel because of FS issues (but strangely enough pressing "?" at the boot loader prompt lists directory entries of the root FS just fine). It turns out UFS isn't upwards compatible from releases 4.8 -> 5.5. I'll try running newfs -U from 4.8. Last time I checked many 4.8 binaries couldn't run due to disk errors, I hope newfs runs ok... From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 06:19:40 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8633B1065670 for ; Sun, 30 Nov 2008 06:19:40 +0000 (UTC) (envelope-from libc.mail@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.184]) by mx1.freebsd.org (Postfix) with ESMTP id 119288FC08 for ; Sun, 30 Nov 2008 06:19:39 +0000 (UTC) (envelope-from libc.mail@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so1810944mue.3 for ; Sat, 29 Nov 2008 22:19:38 -0800 (PST) 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:mime-version:subject:date:x-mailer; bh=LbD2UuM2UgJI+enInk/l1NOzBcazVszUD/rZQXzLSxc=; b=rha3TbHbEoeVljF9QtxW7vfJAabtEpNwf1u/a/MFrIKcIuBHc044l2CtwlaYu4XmbO iggAnfiVRHg84110regohRNZe8Ie5y2rzKEgmOfAqFVQ2wztDsRQ7gUlIQ5JaiTx7gFT Jze3xvYsxmCYYOYoXfmQllLa9P+fjRSNUMv1I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:mime-version:subject:date:x-mailer; b=kpg5uAzcpwJRuh9DUjske32PmD5qYTMo9kuVcao22YGzSu5o3V3SrSZDLMJhWGr2Mb c/ObRpXXgvFVQ39fE6q/FZpcSkICV+tJxbMUrjww9OO1kCV5oDLRlSPnRWubdAeF4Ei/ DcU5shkBtm0X24Z835MiAbkpKh7xO+Hf9JO68= Received: by 10.103.229.12 with SMTP id g12mr3901976mur.16.1228024021933; Sat, 29 Nov 2008 21:47:01 -0800 (PST) Received: from ?192.168.1.50? (ppp91-76-54-50.pppoe.mtu-net.ru [91.76.54.50]) by mx.google.com with ESMTPS id 23sm5457114mun.58.2008.11.29.21.47.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 29 Nov 2008 21:47:01 -0800 (PST) Message-Id: From: Eugene Pimenov To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v929.2) Date: Sun, 30 Nov 2008 08:46:59 +0300 X-Mailer: Apple Mail (2.929.2) Content-Type: text/plain; charset=WINDOWS-1251; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Pasting via ssh causes data loss 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, 30 Nov 2008 06:19:40 -0000 Hello everyone, I'm not really sure weither it's related to freebsd or ssh. When I paste a lot of data (6060 bytes, 60 lines 100 bytes each + =20 =91\n=92) via ssh into `cat > test.txt` or the small program, one = freebsd =20 receives 5181, another receives 3221 bytes. The number of bytes freebsd receives are always the same. I can't reproduce this on linux (OpenSSH 4.3p2 on debian and OpenSSH =20 4.7p1 on 2 gentoo boxes). Also, I have one freebsd box without this =20 problem (7.0-STABLE, openssh 4.5p1). Source of the small program: #include int main() { char buf[10000]; size_t readed =3D 0; while(!feof(stdin)) { readed+=3Dfread(buf, 1, sizeof(buf), stdin); } printf("I've received %d bytes\n", readed); return 0; } Versions of sshd are =93OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.8e =20= 23 Feb 2007=94. FreeBSD versions are FreeBSD 7.0-BETA4 and FreeBSD 7.0-=20= RELEASE. Why is it happening? What should I do to stop this? It's pretty =20 annoying. ~ From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 06:52:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADE611065672 for ; Sun, 30 Nov 2008 06:52:37 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 789D38FC13 for ; Sun, 30 Nov 2008 06:52:37 +0000 (UTC) (envelope-from kline@thought.org) 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 mAU6qg5g040317; Sat, 29 Nov 2008 22:52:42 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sat, 29 Nov 2008 22:52:10 -0800 (PST) Date: Sat, 29 Nov 2008 22:52:10 -0800 From: Gary Kline To: Polytropon Message-ID: <20081130065209.GA98518@thought.org> References: <20081130045944.GA94896@thought.org> <20081130061104.f595db7e.freebsd@edvax.de> <20081130061731.0691f5ea.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081130061731.0691f5ea.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 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: FreeBSD Mailing List Subject: Re: for awk experts only. 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, 30 Nov 2008 06:52:37 -0000 On Sun, Nov 30, 2008 at 06:17:31AM +0100, Polytropon wrote: > Replying to my own message: I found a point for improvement. > Why use grep when awk can grep by itself? > > % wn foot -over | awk '/Overview/ { printf("%s %s\n", $4, gsub("noun", "n.", $3)); }' > > Ah, much better. :-) > Thanks for the clue[s], :) $3 isn't only an lvalue, it's a constant. My bad in my first try. What you have above prints: foot 1 // noun foot 0 // verb so doesn't work entirely, but is a good start. (BTW, man gsub turned up nothing, so I'm assuming thhat gsub it part of awk. And [gn]awk.) Um, no, same with nawk, gawk, awk. gary > > -- > Polytropon > From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 07:07:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC02D106564A for ; Sun, 30 Nov 2008 07:07:24 +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 B9BFA8FC0A for ; Sun, 30 Nov 2008 07:07:24 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-24-200.dynamic.qsc.de [92.196.24.200]) by mx02.qsc.de (Postfix) with ESMTP id 9A51516C0064; Sun, 30 Nov 2008 08:07:22 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mAU77LLR003437; Sun, 30 Nov 2008 08:07:21 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 30 Nov 2008 08:07:21 +0100 From: Polytropon To: Gary Kline Message-Id: <20081130080721.af3b36d9.freebsd@edvax.de> In-Reply-To: <20081130065209.GA98518@thought.org> References: <20081130045944.GA94896@thought.org> <20081130061104.f595db7e.freebsd@edvax.de> <20081130061731.0691f5ea.freebsd@edvax.de> <20081130065209.GA98518@thought.org> 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 Mailing List Subject: Re: for awk experts only. 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: Sun, 30 Nov 2008 07:07:25 -0000 On Sat, 29 Nov 2008 22:52:10 -0800, Gary Kline wrote: > What you have above prints: > > foot 1 // noun > foot 0 // verb > > so doesn't work entirely, but is a good start. I'm so stupid. gsub() does not return the result of the substitution (as, for example, sprintf() would return the string), but the success of the substitution, 1 or 0. > (BTW, man gsub turned up > nothing, so I'm assuming thhat gsub it part of awk. Yes, gsub is listed in "man awk" because it's a function from within awk. I've just pkg_add'ed -r WordNet and tried: % wn foot -over | awk '/Overview/ { printf("%s %s\n", $4, ($3 == "noun") ? "n." : ""); }' foot n. foot Of couse, this handles only "noun". If you want to abbreviate other kinds of words (e. g. "verb" -> "v.", "adverb" -> "adv.", "adjective" -> "adj."), it would be better to implement a short awk script as a "wrapper" for the wn command. If you're only interested in the first result mentioned, you could test NR == 1. % wn foot -over | awk '/Overview/ && (NR == 2) { printf("%s %s\n", $4, ($3 == "noun") ? "n." : ""); }' foot n. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 07:24:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19B68106576B for ; Sun, 30 Nov 2008 07:24:44 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id A24F88FC0C for ; Sun, 30 Nov 2008 07:24:43 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so813212eyi.7 for ; Sat, 29 Nov 2008 23:24:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=no1xmoQjJSowt93O8ACVkavjCzgG7vhcQByHJW5siwM=; b=UqarVBDKFIlwynC/WfSw5YL3X5nT5cyk/DC5Cdbb3/dCk7MRgQMjO6CJaowa4fh4om +KA3UAiAk2Mao0GFG83t68sYn6U5o92brDDvurHBXvHHfZeBJ7R5/6mek5p8vwXowWgx nCdGpnY2xuIVJ25/Wgeep5UmrDdxZnpbTUcTE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=WPU43UeImp4J7eef200OTuwgvf/gbbSlzKF7RF3NFWaQXfOrXjUd+0Y4l0sMegsE1G VMbQ804n2l0Ur3HCTLozXE+shFUMVWhtvfh2oR+ZeSCyPDbQGZ/ZvZwu5sYrRQHhU2X0 2IuTb5qXoXGvCHFxFlKpHW2PuO1eJnkUZuKiM= Received: by 10.210.29.11 with SMTP id c11mr3435813ebc.141.1228029882066; Sat, 29 Nov 2008 23:24:42 -0800 (PST) Received: from atlantis.dyndns.org (athedsl-12874.home.otenet.gr [87.202.50.174]) by mx.google.com with ESMTPS id k5sm13974553nfh.0.2008.11.29.23.24.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 29 Nov 2008 23:24:40 -0800 (PST) Message-ID: <49323FB6.3010903@gmail.com> Date: Sun, 30 Nov 2008 09:24:38 +0200 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.17 (X11/20081011) MIME-Version: 1.0 To: FreeBSD-Questions Questions References: <49319A83.6050407@webrz.net> <22771067-1635-4C00-A0EB-4E14569F636C@hughes.net> <4931B00D.2040206@webrz.net> <769E437F-4F3B-44D4-B470-56AD323C6AB3@hughes.net> In-Reply-To: <769E437F-4F3B-44D4-B470-56AD323C6AB3@hughes.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Temporarily blocking ports 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, 30 Nov 2008 07:24:44 -0000 Chris wrote: > > On Nov 29, 2008, at 1:11 PM, Jos Chrispijn wrote: > >> >> From your reply on my message of 29-11-2008 21:47: >>> An even tighter practice is to turn off all password logins and >>> use only keyed connections. This is easier than it might seem >>> though I'll admit I think of ssh as something only a select >>> number of users may use and thus you know them by name >>> and what IPs they are permitted to connect on. >> I have been thinking of that as well, but don't think I should use >> that yet with the knowledge I have on this. >> Do you refer to manual of automatic key connections? >> > It's extremely easy. > > Generate your key and spread it to all systems you want > to connect to. Have other users generate their key and do the > same. After everyone is set, turn off password access in > /etc/ssh/sshd_config, that file contains the docs in comments > on how to do this. You change three parameters. Then sshd > will need to be restarted. Be sure logins by key work first. > > This implies how to set up your keys. This was lifted from > a helpful page on the net and modified but is pretty basic. > Creates the keys in home directory of myuserid on system > www.example.com, then moving the key to a second system > called other.example.com such that myuserid can move > between systems. The userid on the remote does not need > to be the same string as on the local system though it's shown > that way here. > > www$ cd # get to your home directory > www$ ssh-keygen -t rsa > Generating public/private rsa key pair. > Enter file in which to save the key (/home/myuserid/.ssh/id_rsa): > Enter passphrase (empty for no passphrase): > Enter same passphrase again: > Your identification has been saved in /home/myuserid/.ssh/id_rsa. > Your public key has been saved in /home/myuserid/.ssh/id_rsa.pub. > The key fingerprint is: > myuserid@www.example.com > www$ ssh myuserid@other.example.com mkdir -p .ssh > Password: > www$ cat .ssh/id_rsa.pub|ssh myuserid@other.example.com 'cat >> > .ssh/authorized_keys' > Password: > > You are done setting up keys. Sample use of seamless login: > > www$ ssh other.example.com > other$ host > other.example.com > other$ users > myuserid ttyp0 Jul 14 05:28 (www.example.com) > other$ exit > www$ > > I only use this on FreeBSD and OS-X. No idea on Putty and others. > Can be used on Putty too. There are some small helper programs you can download along with Putty: - Puttygen: This will convert your key to a format that can be used by putty - Pageant: This works like "ssh-agent". You simply supply the key, and it is automatically used in your Putty connections it works flawlessly From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 07:59:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1E1B1065672 for ; Sun, 30 Nov 2008 07:59:05 +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 7E7898FC0A for ; Sun, 30 Nov 2008 07:59:05 +0000 (UTC) (envelope-from kline@thought.org) 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 mAU7xHml040697; Sat, 29 Nov 2008 23:59:17 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sat, 29 Nov 2008 23:58:45 -0800 (PST) Date: Sat, 29 Nov 2008 23:58:45 -0800 From: Gary Kline To: Polytropon Message-ID: <20081130075845.GA2296@thought.org> References: <20081130045944.GA94896@thought.org> <20081130061104.f595db7e.freebsd@edvax.de> <20081130061731.0691f5ea.freebsd@edvax.de> <20081130065209.GA98518@thought.org> <20081130080721.af3b36d9.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081130080721.af3b36d9.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 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: FreeBSD Mailing List Subject: Re: for awk experts only. 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, 30 Nov 2008 07:59:05 -0000 On Sun, Nov 30, 2008 at 08:07:21AM +0100, Polytropon wrote: > On Sat, 29 Nov 2008 22:52:10 -0800, Gary Kline wrote: > > What you have above prints: > > > > foot 1 // noun > > foot 0 // verb > > > > so doesn't work entirely, but is a good start. > > I'm so stupid. gsub() does not return the result of the > substitution (as, for example, sprintf() would return the > string), but the success of the substitution, 1 or 0. > > > > > (BTW, man gsub turned up > > nothing, so I'm assuming thhat gsub it part of awk. > > Yes, gsub is listed in "man awk" because it's a function from > within awk. > > I've just pkg_add'ed -r WordNet and tried: > > % wn foot -over | awk '/Overview/ { printf("%s %s\n", $4, ($3 == "noun") ? "n." : ""); }' > foot n. > foot > > Of couse, this handles only "noun". If you want to abbreviate > other kinds of words (e. g. "verb" -> "v.", "adverb" -> "adv.", > "adjective" -> "adj."), it would be better to implement a short > awk script as a "wrapper" for the wn command. If you're only > interested in the first result mentioned, you could test NR == 1. > > % wn foot -over | awk '/Overview/ && (NR == 2) { printf("%s %s\n", $4, ($3 == "noun") ? "n." : ""); }' > foot n. > Yeah, "noun" -> "n.", "verb" -> "v.", "adj." -> "a." "adv" is all right. Benn awhile since I wrote an awk script... but now's the time. thanks much, gary > > > -- > Polytropon > From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 08:40:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C1781065742 for ; Sun, 30 Nov 2008 08:40:21 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 0C54A8FC14 for ; Sun, 30 Nov 2008 08:40:20 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from [10.0.10.6] ([202.69.173.174]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 30 Nov 2008 00:39:03 -0800 Message-ID: <49325198.2060008@a1poweruser.com> Date: Sun, 30 Nov 2008 16:40:56 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: eculp@casasponti.net References: <492E60A8.6080105@a1poweruser.com> <492F82D1.4020000@bah.homeip.net> <492F8E9B.5040805@a1poweruser.com> <492F95EB.8080308@bah.homeip.net> <492F9B68.8080407@a1poweruser.com> <20081128051410.17qwm4xctjy8w4sck@intranet.casasponti.net> In-Reply-To: <20081128051410.17qwm4xctjy8w4sck@intranet.casasponti.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 30 Nov 2008 08:39:03.0916 (UTC) FILETIME=[19A7B2C0:01C952C7] X-Sender: fbsd1@a1poweruser.com Cc: freebsd-questions@freebsd.org Subject: Re: pf or ipf rules to allow p2p Limewire through 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, 30 Nov 2008 08:40:21 -0000 >> eculp@casasponti.net wrote: >> >> So on the Limewire "Advanced -> Firewall" config page enter a port >> number, such as 6346 in both the "Listen on Port" and the "Manual Port >> Forward" boxes. >> >> Then after your NAT rule in pf.conf enter something like the following: >> >> rdr on $ExtIF proto tcp from any to any port 6346 -> 192.168.10.2 port >> 6346 >> >> and a corresponding filter pass rule: >> >> in both the "Listen on Port" and the "Manual Port >> Forward" boxes. >> >> 192.168.10.2 is my desktop machine where I use Limewire. It works just >> fine. >> >> Thank you for the solution to this problem. I was un-aware Limewire had it's own firewall configuration options. In Limewire version 4.18 Tools/Options/Advanced/Firewall I entered the same port number 6666 in both the "Listen on Port" and the "Manual Port Forward" option fill in boxes. Then in IPF rules added these 2 lines. pass out quick on $oif proto igmp from any to any keep state pass out quick on $oif proto tcp from any to any port = 6666 flags S keep state Each XP box on the lan running Limewire gets it's own unique port number and the corresponding firewall rule. No need for NAT RDR rules. Limewire works fine and my firewall is tight as every. From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 09:47:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E8B3106564A for ; Sun, 30 Nov 2008 09:47:42 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 06E5B8FC0C for ; Sun, 30 Nov 2008 09:47:41 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl144-35.kln.forthnet.gr [195.74.243.35]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id mAU9lWx7013967 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 30 Nov 2008 11:47:38 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id mAU9lW7k059377; Sun, 30 Nov 2008 11:47:32 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id mAU9lTpm059376; Sun, 30 Nov 2008 11:47:29 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Gary Kline References: <20081130045944.GA94896@thought.org> Date: Sun, 30 Nov 2008 11:47:29 +0200 In-Reply-To: <20081130045944.GA94896@thought.org> (Gary Kline's message of "Sat, 29 Nov 2008 20:59:51 -0800") Message-ID: <8763m535qm.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: mAU9lWx7013967 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.818, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.58, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: FreeBSD Mailing List Subject: Re: for awk experts only. 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, 30 Nov 2008 09:47:42 -0000 On Sat, 29 Nov 2008 20:59:51 -0800, Gary Kline wrote: > wordnet/wn prints the string "noun" out whereas I'd rather it simply > printed "n." Is there a way of making this substitution using awk? > (I've never used awk except as a cmdline filter.) > > The following fails: > > wn foot -over |grep Overview |awk > {if(!strcmp($3,"noun"))$3="n."; '{printf("%s %s\n", $4, $3);}}' > > If there are any shortcuts, please clue me in! Don't do this with a long stream of if/else/.../else blocks. AWK is a pattern based rule-language. You can apply different blocks of code to lines that match patterns like this: $3 ~ /adjective/ { print $1,"adj." } $3 ~ /noun/ { print $1,"n." } $3 ~ /verb/ { print $1,"v." } From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 11:17:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDB2E106564A for ; Sun, 30 Nov 2008 11:17:39 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from mailrelay002.isp.belgacom.be (mailrelay002.isp.belgacom.be [195.238.6.175]) by mx1.freebsd.org (Postfix) with ESMTP id 50E518FC14 for ; Sun, 30 Nov 2008 11:17:39 +0000 (UTC) (envelope-from tijl@ulyssis.org) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtoEANEEMklR92rK/2dsb2JhbACBbctDgn0 Received: from 202.106-247-81.adsl-dyn.isp.belgacom.be (HELO kalimero.kotnet.org) ([81.247.106.202]) by relay.skynet.be with ESMTP; 30 Nov 2008 12:17:37 +0100 Received: from kalimero.kotnet.org (kalimero.kotnet.org [127.0.0.1]) by kalimero.kotnet.org (8.14.3/8.14.3) with ESMTP id mAUBGTLX001473; Sun, 30 Nov 2008 12:16:29 +0100 (CET) (envelope-from tijl@ulyssis.org) From: Tijl Coosemans To: freebsd-questions@freebsd.org, admin@azuni.net Date: Sun, 30 Nov 2008 12:16:27 +0100 User-Agent: KMail/1.9.10 References: <49322B49.80005@azuni.net> In-Reply-To: <49322B49.80005@azuni.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811301216.28523.tijl@ulyssis.org> Cc: Subject: Re: FreeBSD 4.8: can't load kernel after doing "cp -R /" to another 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: Sun, 30 Nov 2008 11:17:39 -0000 On Sunday 30 November 2008 06:57:29 admin@azuni.net wrote: >>> Hello, everyone. This is the problem: our SCSI disk with FreeBSD >>> 4.8 on it has been failing recently, so I copied its root partition >>> to a fresh IDE disk with cp -pR and >> >> You should use dump and restore to copy the root partition, see: > > I'd done that before trying cp -pR, as outlined by rse@: > > dump -L -0 -f- /old | (cd /new && restore -r -v -f-) > http://people.freebsd.org/~rse/mirror/ > > which isn't too different. I think I know what the problem is: I made > the new single slice and FreeBSD partition on it and ran newfs -U on > it using the latest FreeBSD 5.x livecd toolkit, and later 4.8 can't > even mount that partition (mount /dev/ad0s1a /mnt) failing with > "incorrect superblock", so I think its /boot/loader can't load the > kernel because of FS issues (but strangely enough pressing "?" at the > boot loader prompt lists directory entries of the root FS just fine). > It turns out UFS isn't upwards compatible from releases 4.8 -> 5.5. > I'll try running newfs -U from 4.8. Last time I checked many 4.8 > binaries couldn't run due to disk errors, I hope newfs runs ok... You need to create a UFS1 file system. Also, root file systems usually don't have soft updates (-U) enabled. From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 12:52:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48060106564A for ; Sun, 30 Nov 2008 12:52:02 +0000 (UTC) (envelope-from OttK@zzz.ee) Received: from zzz.ee (kalah.zzz.ee [194.204.30.253]) by mx1.freebsd.org (Postfix) with ESMTP id EBD528FC08 for ; Sun, 30 Nov 2008 12:52:01 +0000 (UTC) (envelope-from OttK@zzz.ee) Received: from zzz.ee (localhost.zzz.ee [127.0.0.1]) by zzz.ee (Postfix) with ESMTP id 0C822FD063 for ; Sun, 30 Nov 2008 14:52:00 +0200 (EET) Received: by zzz.ee (Postfix, from userid 3019) id 022CDFD062; Sun, 30 Nov 2008 14:51:59 +0200 (EET) X-Spam-Checker-Version: SpamAssassin on spamassassin.zzz.ee X-Spam-Level: *** X-Spam-Guessed-Language: X-Spam-Status: No, score=3.1 required=5.0 tests=BAYES_50,RDNS_DYNAMIC, SPF_SOFTFAIL X-Spam-Checker-URL: http://info.zzz.ee Received: from [192.168.1.64] (87-119-181-26.tll.elisa.ee [87.119.181.26]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by zzz.ee (Postfix) with ESMTPS id 61614FD056 for ; Sun, 30 Nov 2008 14:51:57 +0200 (EET) Message-ID: <49328C68.5000302@zzz.ee> Date: Sun, 30 Nov 2008 14:51:52 +0200 From: =?ISO-8859-1?Q?Ott_K=F6stner?= Organization: TIGMA AS User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" References: <26face530811221316y5be5bf40ra5c38f389f554ca1@mail.gmail.com> <20081124173650.GA933@ourbrains.org> <20081124193819.GF55491@gizmo.acns.msu.edu> <20081129160329.GA27853@ourbrains.org> <47D7B64C-E783-48C8-A33B-A48AB66DA2E5@boosten.org> <20081129170434.GB27853@ourbrains.org> <493178CE.8070005@boosten.org> In-Reply-To: <493178CE.8070005@boosten.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP @zzz.ee Subject: Re: Unix program that sends email directly using MX record 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, 30 Nov 2008 12:52:02 -0000 Peter Boosten wrote: > The most recent vulnerabilities of Postfix are from August and September > 2008, and I still use it. Also I use (with great happyness) Sendmail on > two machines, without any problems. The only problem ever caused was by > clamav. > > Would be interesting to know, what kind of problems have been there with CLAMAV? Just to be aware. I am currently using clamav -0.94.2 on some FreeBSD computers. Regards, O.K. From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 12:53:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83BB91065675 for ; Sun, 30 Nov 2008 12:53:50 +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 0DCCF8FC1A for ; Sun, 30 Nov 2008 12:53:49 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id mAUCrj4i073438; Sun, 30 Nov 2008 13:53:45 +0100 (CET) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id mAUCrjT3073437; Sun, 30 Nov 2008 13:53:45 +0100 (CET) (envelope-from mail25@bzerk.org) Date: Sun, 30 Nov 2008 13:53:45 +0100 From: Ruben de Groot To: Gary Kline Message-ID: <20081130125345.GA73233@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Gary Kline , FreeBSD Mailing List References: <20081129225120.GA83398@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081129225120.GA83398@thought.org> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, J_CHICKENPOX_42 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-3.0 (ei.bzerk.org [127.0.0.1]); Sun, 30 Nov 2008 13:53:48 +0100 (CET) Cc: FreeBSD Mailing List Subject: Re: Anybody familiar with "publib"?? 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, 30 Nov 2008 12:53:50 -0000 On Sat, Nov 29, 2008 at 02:51:23PM -0800, Gary Kline typed: > > People, > > I found a neat function in publib that should do what I want, but adding either > > #imclude // as per man publib > > OR > > #include "/usr/local/include/publib.h" > > fails. Yes, I am adding "-lpub" to the enc of gcc. Still bombs. Anybody know > why? Prev'ly when I've used the publib functions, I've had to move/copy a slew > of them into my private build. Be nice if this just-worked! Fails/bombs how? We're not all psychics here From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 13:13:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F20A81065672 for ; Sun, 30 Nov 2008 13:13:58 +0000 (UTC) (envelope-from peter@boosten.org) Received: from smtpq4.gn.mail.iss.as9143.net (smtpq4.gn.mail.iss.as9143.net [212.54.34.167]) by mx1.freebsd.org (Postfix) with ESMTP id A4A638FC0C for ; Sun, 30 Nov 2008 13:13:58 +0000 (UTC) (envelope-from peter@boosten.org) Received: from [212.54.34.133] (helo=smtp2.gn.mail.iss.as9143.net) by smtpq4.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1L6m7Z-0002FV-Hn; Sun, 30 Nov 2008 14:13:57 +0100 Received: from [84.25.72.219] (helo=ra.egypt.nl) by smtp2.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1L6m7S-0004XX-Vv; Sun, 30 Nov 2008 14:13:51 +0100 Received: from [192.168.13.81] (iPod.egypt.nl [192.168.13.81]) by ra.egypt.nl (Postfix) with ESMTP id 9EEA03983A; Sun, 30 Nov 2008 14:13:49 +0100 (CET) References: <26face530811221316y5be5bf40ra5c38f389f554ca1@mail.gmail.com> <20081124173650.GA933@ourbrains.org> <20081124193819.GF55491@gizmo.acns.msu.edu> <20081129160329.GA27853@ourbrains.org> <47D7B64C-E783-48C8-A33B-A48AB66DA2E5@boosten.org> <20081129170434.GB27853@ourbrains.org> <493178CE.8070005@boosten.org> <49328C68.5000302@zzz.ee> Message-Id: From: Peter Boosten To: =?utf-8?Q?Ott_K=C3=B6stner?= In-Reply-To: <49328C68.5000302@zzz.ee> Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Mailer: iPod Mail (5G77) Mime-Version: 1.0 (iPod Mail 5G77) Date: Sun, 30 Nov 2008 14:14:30 +0100 X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1L6m7S-0004XX-Vv X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.424, required 5, BAYES_05 -1.11, SPF_NEUTRAL 0.69) X-ZiggoSMTP-MailScanner-From: peter@boosten.org X-Spam-Status: No Cc: "freebsd-questions@freebsd.org" Subject: Re: Unix program that sends email directly using MX record 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, 30 Nov 2008 13:13:59 -0000 On 30 nov 2008, at 13:51, Ott K=C3=B6stner wrote: > Peter Boosten wrote: > >> The most recent vulnerabilities of Postfix are from August and =20 >> September >> 2008, and I still use it. Also I use (with great happyness) =20 >> Sendmail on >> two machines, without any problems. The only problem ever caused =20 >> was by >> clamav. >> >> > Would be interesting to know, what kind of problems have been there =20= > with CLAMAV? > Just to be aware. I am currently using clamav Clamav>-0.94.2 on some FreeBSD computers. > It has been some time ago, on openbsd, and the problem existed between =20= clamscan vs clamdscan. Never had any problems with clamav from the =20 ports in freebsd. Peter --=20 HTTP://www.boosten.org= From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 13:27:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A313106564A for ; Sun, 30 Nov 2008 13:27:29 +0000 (UTC) (envelope-from jos@webrz.net) Received: from webrz.xs4all.nl (webrz.xs4all.nl [82.95.248.216]) by mx1.freebsd.org (Postfix) with ESMTP id 52F288FC0C for ; Sun, 30 Nov 2008 13:27:29 +0000 (UTC) (envelope-from jos@webrz.net) Received: from webrz.xs4all.nl (localhost [127.0.0.1]) by webrz.xs4all.nl (Postfix) with ESMTP id 0658C50A4E for ; Sun, 30 Nov 2008 14:27:29 +0100 (CET) Received: from [10.10.10.27] (atlantis.webrz.net [10.10.10.27]) by webrz.xs4all.nl (Postfix) with ESMTP id DE4EE50A4D for ; Sun, 30 Nov 2008 14:27:28 +0100 (CET) Message-ID: <493294C1.2040104@webrz.net> Date: Sun, 30 Nov 2008 14:27:29 +0100 From: Jos Chrispijn User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 CC: FreeBSD-Questions Questions References: <49319A83.6050407@webrz.net> <22771067-1635-4C00-A0EB-4E14569F636C@hughes.net> <4931B00D.2040206@webrz.net> <769E437F-4F3B-44D4-B470-56AD323C6AB3@hughes.net> <49323FB6.3010903@gmail.com> In-Reply-To: <49323FB6.3010903@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV using ClamSMTP @triton.webrz.net Subject: Re: Temporarily blocking ports 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, 30 Nov 2008 13:27:29 -0000 Thank you all for your help! Jos Chrispijn From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 13:40:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA2071065676 for ; Sun, 30 Nov 2008 13:40:30 +0000 (UTC) (envelope-from tfcheng@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by mx1.freebsd.org (Postfix) with ESMTP id 8D8158FC0C for ; Sun, 30 Nov 2008 13:40:30 +0000 (UTC) (envelope-from tfcheng@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so2226324wfg.7 for ; Sun, 30 Nov 2008 05:40:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=0CnE/gcsLyQPhhw9gEUD7zT5KawcBSQUOzW5TCJudhg=; b=LCy0UmsXNcraLTpTG8S6cah6m9O3KI2Otzn3GAZeDMR6deHCJSj26SnNkACGo74UBO H6MpWuWbHVs5J0p587XFdG7W+6zW0ySSP9a2cUVmKZJfJpnpbWF1EBYdO4ra8UriVtAf /7+oZJkuuBdhmpC/k3x6Gfw3T6c5p2cP1VGv8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=i+wpzjQnUWKFB9P3rEg4asb7Tb7SAHdAEM0s7JvCrbQ5jBIz/k3yfoaGWve5bZCrkL JD8O9In/pqSXfEIQtQ+SZLTQ1EOjMwhTCzVkonOwPupH/rP64K2zpa7w/4v8/5kwTPSx RLV0b4E7RsEnYuk5BDueLlUZKBPIx218twUmc= Received: by 10.142.132.2 with SMTP id f2mr4115932wfd.6.1228052430095; Sun, 30 Nov 2008 05:40:30 -0800 (PST) Received: by 10.142.13.18 with HTTP; Sun, 30 Nov 2008 05:40:30 -0800 (PST) Message-ID: Date: Sun, 30 Nov 2008 08:40:30 -0500 From: "Tsu-Fan Cheng" To: FreeBSD MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: does not understand "df -H" 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, 30 Nov 2008 13:40:30 -0000 Hi, I have a pretty basic question: when I "df -H" my disk, the numbers cant add up, Filesystem Size Used Avail Capacity Mounted on /dev/ad0c 484G 429G 17G 96% /ad0c there should be more disk space available based on what is shown. why is this like that?? thanks!! TFC From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 14:10:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B294D1065673 for ; Sun, 30 Nov 2008 14:10:01 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id E223F8FC08 for ; Sun, 30 Nov 2008 14:10:00 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id mAUE9r5E001745; Sun, 30 Nov 2008 15:09:53 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id mAUE9rgv001742; Sun, 30 Nov 2008 15:09:53 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 30 Nov 2008 15:09:53 +0100 (CET) From: Wojciech Puchar To: Tsu-Fan Cheng In-Reply-To: Message-ID: <20081130150919.E1731@wojtek.tensor.gdynia.pl> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Subject: Re: does not understand "df -H" 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, 30 Nov 2008 14:10:01 -0000 > Filesystem Size Used Avail Capacity Mounted on > /dev/ad0c 484G 429G 17G 96% /ad0c > > > there should be more disk space available based on what is shown. why > is this like that?? > man newfs man tunefs you used default options with newfs i think, including 8% space reservation From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 14:28:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D3231065673 for ; Sun, 30 Nov 2008 14:28:19 +0000 (UTC) (envelope-from ptkrisada@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.189]) by mx1.freebsd.org (Postfix) with ESMTP id E6A4B8FC17 for ; Sun, 30 Nov 2008 14:28:18 +0000 (UTC) (envelope-from ptkrisada@gmail.com) Received: by ti-out-0910.google.com with SMTP id a1so1322000tib.3 for ; Sun, 30 Nov 2008 06:28:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=SfPzjnJRUzir5zbSAZBQXMweMOmn6vJlsK1feG86U+c=; b=DX3PbsRwE3LXmutBV9Htt1KeT0WbN13cJGBkg/PtM2knnZAkwW97k2AxiEje7R8ySY sCbYRGcdrUFHmc++ZqR7Axla9F7dWCzu3a0dcJg9d2ynI7vmj29cZZhIc6fIFZLN0/fV GnfPM7YCsRyu5TWvehmjkOTqO3f8kr7AiozPY= 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; b=mI1XxOX1CVJD1I/0ijJx11r4tijsTLgIob0Dw04nLg/l6LQXL6mpT9RQKsd3eBA9zH vW3bWii4O73e3WzGR4BywpcTPZ1rtA94yEYTWN1GqtII8tlczC2dhQajF61xwkT5G84T 3KLz4wvuv/GbvMVPetfK+itpyYsuFtGfv2HGg= Received: by 10.110.63.6 with SMTP id l6mr14867541tia.50.1228055297674; Sun, 30 Nov 2008 06:28:17 -0800 (PST) Received: from gmail.com ([203.153.172.30]) by mx.google.com with ESMTPS id 22sm9245006tim.7.2008.11.30.06.28.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 30 Nov 2008 06:28:15 -0800 (PST) Date: Sun, 30 Nov 2008 21:27:57 +0700 From: Pongthep Kulkrisada To: Ian Smith Message-ID: <20081130142757.GA926@gmail.com> Mail-Followup-To: Ian Smith , freebsd-questions@freebsd.org, Manolis Kiagias , Andrew , Fbsd1 References: <20081123120013.8EDF310657E3@hub.freebsd.org> <20081124012858.J43853@sola.nimnet.asn.au> <20081128163044.GA1850@gmail.com> <20081129222143.R34249@sola.nimnet.asn.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081129222143.R34249@sola.nimnet.asn.au> User-Agent: Mutt/1.4.2.3i Cc: Andrew , freebsd-questions@freebsd.org, Fbsd1 , Manolis Kiagias Subject: Re: Problem about ppp -nat 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, 30 Nov 2008 14:28:19 -0000 Hi all, > set log phase chat connect carrier link ipcp ccp ID0 TUN command I still can't dial using this configuration... # ppp -background isp Loading /lib/libalias_cuseeme.so Loading /lib/libalias_ftp.so Loading /lib/libalias_irc.so Loading /lib/libalias_nbt.so Loading /lib/libalias_pptp.so Loading /lib/libalias_skinny.so Loading /lib/libalias_smedia.so Working in background mode Using interface: tun0 Warning: carrier: Invalid log value Warning: link: Invalid log value Warning: usage: set log [local] [+|-]all|async|cbcp|ccp|chat|command|connect|debug|dns|hdlc|id0|ipcp|lcp|lqm|phase|physical|radius|sync|tcp/ip|timer|tun... Attempting redial Attempting redial Attempting redial I then removed ``carrier'' and ``link''. It always keeps redialing without hearing dialing tone from the modem. So I removed ``connect'' again. The result was still the same. > Try /dev/cuaa0. At least in the olden days, cuad0 was configured more > for dialin rather than dialout. This may? explain the next two lines: It keeps redialing without hearing any tone from the modem. So I switched back to /dev/cuad0. Then dial; now I hear dialing tone from the modem but warning message of ``Child failed (errdead)'' occured then line dropped. And can not connect. I tried it many times. Note that /dev/cuad0 appeared in my /usr/share/examples/ppp/ppp.conf.sample, not /dev/cuaa0. If I remember correctly I changed from cuaa0 to cuad0 when I upgraded from FBSD5.4R to FBSD6.2R. [...] Working in background mode Using interface: tun0 Child failed (errdead) >> set ctsrts off # enables software flow control >> set accmap 000a0000 # comments out these 2 lines for hardware flow control > Not sure why you don't want to use hardware flow control? Is this with > a regular external modem? Anyway, I've always used ctsrts (with cuaa0). 5 year ago, I downloaded this ppp.conf from some web site. But anyway, I did follow your suggestion i.e. hardware flow control. It still doesn't work as ``Child failed''. Actually I don't know so much in this area (flow control). I only code C on *Unix. I rarely do this kind of things e.g. system setup or configuration. And yes, it is a regular external modem. >> add! default HISADDR # Add a (sticky) default route >> [...] >> add 0 0 HISADDR > You probably don't want both those add statements. Try taking out the > first one, and replacing the last one with the add! default HISADDR. I changed it before dialing. > Unsure if you need an 'enable pap' as well, maybe default. Can't hurt. I added it before dialing. But all failed. I think it is probably caused by ipdivert. > Anyway, some extra logging should show you when and how it fails, if it > still does .. Nov 30 17:00:00 bsdhost newsyslog[960]: logfile turned over due to size>100K Nov 30 17:00:16 bsdhost ppp[977]: Phase: Using interface: tun0 Nov 30 17:00:16 bsdhost ppp[977]: Phase: deflink: Created in closed state Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: ident user-ppp VERSION (built COMPILATIONDATE) Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: set device /dev/cuad0 Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: set speed 115200 Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: disable pred1 Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: deny pred1 Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: disable lqr Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: deny lqr Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT 180 CONNECT Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: set redial 3 20 Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: enable dns Nov 30 17:00:16 bsdhost ppp[977]: tun0: ID0: 0x28389e78 = fopen("/etc/ppp/ppp.conf", "r") Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: ego: set phone 0123456789 Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: ego: set authname myname@myisp.com Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: ego: set authkey ********** Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: ego: set timeout 0 Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: ego: set openmode active Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: ego: accept pap Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: ego: enable pap Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: ego: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: ego: add! default HISADDR Nov 30 17:00:16 bsdhost ppp[977]: tun0: ID0: 10 = socket(17, 3, 0) Nov 30 17:00:16 bsdhost ppp[977]: tun0: ID0: -1 = write(10, data, 140) Nov 30 17:00:16 bsdhost ppp[978]: tun0: ID0: 0x28389e78 = fopen("/var/run/tun0.pid", "w") Nov 30 17:00:16 bsdhost ppp[978]: tun0: Phase: PPP Started (background mode). Nov 30 17:00:16 bsdhost ppp[978]: tun0: Phase: bundle: Establish Nov 30 17:00:16 bsdhost ppp[978]: tun0: Phase: deflink: closed -> opening Nov 30 17:00:16 bsdhost ppp[978]: tun0: ID0: 0 = uu_lock("cuad0") Nov 30 17:00:16 bsdhost ppp[978]: tun0: ID0: 0 = open("/dev/cuad0", 6) Nov 30 17:00:16 bsdhost ppp[978]: tun0: ID0: 0x28389e78 = fopen("/var/run/cuad0.if", "w") Nov 30 17:00:16 bsdhost ppp[978]: tun0: Phase: deflink: Connected! Nov 30 17:00:16 bsdhost ppp[978]: tun0: Phase: deflink: opening -> dial Nov 30 17:00:16 bsdhost ppp[978]: tun0: Chat: Phone: 1222 Nov 30 17:00:16 bsdhost ppp[978]: tun0: Chat: deflink: Dial attempt 1 of 20 Nov 30 17:00:16 bsdhost ppp[978]: tun0: Chat: Send: AT^M Nov 30 17:00:16 bsdhost ppp[978]: tun0: Chat: Expect(5): OK Nov 30 17:00:16 bsdhost ppp[978]: tun0: Chat: Received: AT^M^M Nov 30 17:00:16 bsdhost ppp[978]: tun0: Chat: Received: OK^M Nov 30 17:00:16 bsdhost ppp[978]: tun0: Chat: Send: ATE1Q0^M Nov 30 17:00:16 bsdhost ppp[978]: tun0: Chat: Expect(5): OK Nov 30 17:00:16 bsdhost ppp[978]: tun0: Chat: Received: ATE1Q0^M^M Nov 30 17:00:16 bsdhost ppp[978]: tun0: Chat: Received: OK^M Nov 30 17:00:16 bsdhost ppp[978]: tun0: Chat: Send: ATDT1222^M Nov 30 17:00:18 bsdhost ppp[978]: tun0: Chat: Expect(180): CONNECT Nov 30 17:00:49 bsdhost ppp[978]: tun0: Chat: Received: ATDT1222^M^M Nov 30 17:00:49 bsdhost ppp[978]: tun0: Chat: Received: CONNECT 115200^M Nov 30 17:00:49 bsdhost ppp[978]: tun0: Phase: deflink: dial -> carrier Nov 30 17:00:50 bsdhost ppp[978]: tun0: Phase: deflink: /dev/cuad0: CD detected Nov 30 17:00:50 bsdhost ppp[978]: tun0: Phase: deflink: carrier -> login Nov 30 17:00:50 bsdhost ppp[978]: tun0: Phase: deflink: login -> lcp Nov 30 17:01:06 bsdhost ppp[978]: tun0: Phase: deflink: Disconnected! Nov 30 17:01:06 bsdhost ppp[978]: tun0: Phase: deflink: lcp -> logout Nov 30 17:01:06 bsdhost ppp[978]: tun0: Phase: deflink: logout -> hangup Nov 30 17:01:06 bsdhost ppp[978]: tun0: Phase: deflink: Disconnected! Nov 30 17:01:06 bsdhost ppp[978]: tun0: Phase: deflink: Connect time: 50 secs: 434 octets in, 295 octets out Nov 30 17:01:06 bsdhost ppp[978]: tun0: Phase: deflink: 1 packets in, 5 packets out Nov 30 17:01:06 bsdhost ppp[978]: tun0: Phase: total 14 bytes/sec, peak 109 bytes/sec on Sun Nov 30 17:00:55 2008 Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 0 = unlink("/var/run/cuad0.if") Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 0 = uu_unlock("cuad0") Nov 30 17:01:06 bsdhost ppp[978]: tun0: Phase: deflink: hangup -> closed Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 0 = socket(17, 3, 0) Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 148 = write(0, data, 148) Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 0 = socket(17, 3, 0) Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 148 = write(0, data, 148) Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 0 = socket(2, 2, 0) Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 0 = ioctl(0, 3223349521, 0xbfbfea5c) Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 0 = ioctl(0, 2149607696, 0xbfbfea5c) Nov 30 17:01:06 bsdhost ppp[978]: tun0: Phase: bundle: Dead Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 0 = ioctl(7, 2148037723, 0xbfbfeb00) Nov 30 17:01:06 bsdhost ppp[978]: tun0: Phase: PPP Terminated (normal). Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 0 = socket(2, 2, 0) Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 0 = ioctl(0, 3223349521, 0xbfbfe6bc) Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 0 = ioctl(0, 2149607696, 0xbfbfe6bc) Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 0 = unlink("/var/run/tun0.pid") Nov 30 17:01:06 bsdhost ppp[977]: tun0: Phase: Parent: Child failed (errdead) Nov 30 17:01:06 bsdhost ppp[978]: tun0: Chat: Parent notified of failure > I was under the impression that divert had to be built into the kernel, > but perhaps kldload ipdivert works allright with 7.x. divert(4) of FBSD7.0R stated that ipfw_load="YES" ipdivert_load="YES" are alternatives to ``options IPFIREWALL'' and ``options IPDIVERT''. So I put these 2 lines in /boot/loader.conf. And don't have to compile kernel. Then reboot and dial as described above > Just as an aside, as you're not using any keep-state rules: you should > do NAT before a check-state, so packets match dynamic rules after NAT. Okay I shall. > More specifically the interface, here tun0, must exist before using > divert sockets using that interface. natd(8) says: Yes, I agreed as said earlier. > You've probably noticed that tun0 doesn't go away when you close ppp, so > it's sufficient to have run ppp once before using the divert rule. In > any case I doubt this'd really do any harm (apart from not working :) Yes, I have long noticed it. > There's another way to bring up ppp (so creating tun0) without dialing > out until you're ready; using ppp -auto, with a dial filter rule/s. See > ppp(8) and the examples in /usr/share/examples/ppp/ppp.conf.sample .. > maybe something like: > > set filter dial 0 0 0 icmp src eq 8 > > which will only dial upon seeing an outbound ping packet. You could > specify some address rather than 0 0 if you want to be more specific. It's very good suggestion. But for now I just can't bring up the connection. So I can't test it for now. > Perhaps others can say if it's ok to kldload ipdivert after ipfw these > days? In any case, this could mean coincidence rather than causation. > You've not shown error messages from ppp.log indicating disconnection? Please see above. > Two things you should always check if there are problems passing traffic > through an interface that's apparently 'UP': > # ifconfig # make sure addresses, netmasks, etc make sense. > # netstat -finet -ran # check the default and other routes make sense. Yes I always do that when connected. > I can't say whether it > would get upset if tun0 was specified and didn't yet exist, but expect > it'll just ignore any packets that don't match the specified interface, > though I can't test that here now. Something like this should work: > > # ipfw nat 123 config if tun0 log deny_in same_ports unreg_only reset > # ipfw add [number] nat 123 ip4 from any to any via tun0 > > where 123 is an arbitary number,and ip4 is more specific than 'all' At boot time ... Flush all rules. ipfw: unknown interface name tun0 ipfw: getsockopt(IP_FW_ADD): Invalid argument 00100 check-state ... After presence of tun0 (after dialing) ... # sh /etc/ipfw.rules Flush all rules. ipfw: ipfw_ctl invalid option 56 ipfw: setsockopt(IP_FW_NAT_CFG): Invalid argument ipfw: getsockopt(IP_FW_ADD): Invalid argument 00100 check-state ... > Well you can solve your loading-order problem with ppp -auto and a dial > filter as above. Then you're free to choose between natd and ipfw nat, > or even ppp -nat if you want. Personally I quit using ppp in favour of > mpd4, and that works well for me (yes with natd, though on a 5.5 system) Well I loaded modules (ipfw and ipdivert) at boot time in /boot/loader.conf. 1. So at first these modules are loaded at boot time. 2. Secondly, rc.conf was read, which in turn enabling gateway and ipfw. 3. Then issue ppp command 4. Then natd -interface tun0 5. Then insert these commands to /etc/ipfw.rules as the first two rules. /sbin/ipfw add divert natd all from any to any via tun0 /sbin/ipfw add pass all from any to any then run the ipfw script to load the new rules. sh /etc/ipfw.rules But I just can't pass step 3, unless I unload ipdivert. Please don't suspect my system. It had just been very freshly installed from CDs before I tried everything. And without ipdivert being loaded into the kernel, I can dial and browse any sites and very fast with my /etc/ppp/ppp.conf. Should note a bug? I think I should go on with ipfw nat, but to correct some syntax in /etc/ipfw.rules. Thank you. Pongthep From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 15:28:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 581D41065672 for ; Sun, 30 Nov 2008 15:28:19 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from aegis.hamla.org (aegis.hamla.org [206.251.255.39]) by mx1.freebsd.org (Postfix) with ESMTP id 311AC8FC12 for ; Sun, 30 Nov 2008 15:28:18 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (localhost [127.0.0.1]) by aegis.hamla.org (Postfix) with ESMTP id 803865C78 for ; Sun, 30 Nov 2008 10:29:44 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tandon.net; h= x-virus-scanned:in-reply-to:content-disposition:content-type :mime-version:references:reply-to:message-id:subject:from:date: received; s=aegis; t=1228058984; bh=55Savij1L8FIrjaBL9La/Z8cmsxE FTNznSkyMp36030=; b=DGr5dCtVKT2aDfInGJdn0cNao38GVR/iyglaOZ6+ou0m x9Yd0yH8sK7Jb4BP3bs3VnbQp/YKn9iBmDtlrwozm2IM47ToYApCx36Xlh2w+aPL zuJAMtYmalCyD7vapKjfQIngEMR7mjW1vvbUcYFeNe6nY6tiOV3FPTIwp/HIOQ0= Received: from aegis.hamla.org ([127.0.0.1]) by localhost (aegis.hamla.org [127.0.0.1]) (amavisd-new, port 10027) with LMTP id ido9GlJMGGKm for ; Sun, 30 Nov 2008 10:29:44 -0500 (EST) Date: Sun, 30 Nov 2008 10:28:16 -0500 From: Sahil Tandon To: freebsd-questions@freebsd.org Message-ID: <20081130152816.GA49413@shepherd> References: <26face530811221316y5be5bf40ra5c38f389f554ca1@mail.gmail.com> <20081124173650.GA933@ourbrains.org> <20081124193819.GF55491@gizmo.acns.msu.edu> <20081129160329.GA27853@ourbrains.org> <47D7B64C-E783-48C8-A33B-A48AB66DA2E5@boosten.org> <20081129170434.GB27853@ourbrains.org> <493178CE.8070005@boosten.org> <49328C68.5000302@zzz.ee> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49328C68.5000302@zzz.ee> X-Virus-Scanned: ClamAV version 0.94, clamav-milter version 0.94 on aegis.hamla.org X-Virus-Status: Clean Subject: Re: Unix program that sends email directly using MX record 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: Sun, 30 Nov 2008 15:28:19 -0000 Ott K?stner wrote: > Peter Boosten wrote: > >> The most recent vulnerabilities of Postfix are from August and September >> 2008, and I still use it. Also I use (with great happyness) Sendmail on >> two machines, without any problems. The only problem ever caused was by >> clamav. >> > Would be interesting to know, what kind of problems have been there with > CLAMAV? None whatsoever. I have used it for several years on FreeBSD without incident. There are, from time to time, some security vulnerabilities, but they are handled swiftly by both the clamav developers and the security/clamav port maintainer. -- Sahil Tandon From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 15:38:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51AD11065670 for ; Sun, 30 Nov 2008 15:38:52 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.173]) by mx1.freebsd.org (Postfix) with ESMTP id 20A118FC08 for ; Sun, 30 Nov 2008 15:38:51 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so2258058wfg.7 for ; Sun, 30 Nov 2008 07:38:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=eWc4otiuEpm0TGClF18ygPC3noivwDGl47Cn9g5vrWE=; b=A1k/iYIPCIKrKYrvBrPt7g2SirUlOMenU+rKVBKRX7nnpsDNjfGWkci+oAKKexrT4D lzLw9tmKyCrXmYbhgGU2Bo7mpnBtvJ/XgT2bKMXD9i75xLZR9q1tJCODH5b4WPMYsXPA EGwvPxLqmVRmZh+nl72m0TvpYgZhU9qWsJ8JQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=UCyyNGuaJIgQclSr42Nxm1QzfIlXDKLloFd3NxqIe2IFvyECY1w63A9ZwUdnC3jSPc i86EicqazQv0u9WVpQN/wZawmAn+R81XChmdfLkWS4q6PdbrZqJrthxrTkOslxMdfk5S W4Ua1z9jSYj8e0TznxEjKU6cfkPG5b7+BTNZo= Received: by 10.142.163.1 with SMTP id l1mr4123477wfe.263.1228059531675; Sun, 30 Nov 2008 07:38:51 -0800 (PST) Received: by 10.142.180.17 with HTTP; Sun, 30 Nov 2008 07:38:51 -0800 (PST) Message-ID: <139b44430811300738h36c1febahe74d8d992f8820d@mail.gmail.com> Date: Sun, 30 Nov 2008 17:38:51 +0200 From: "Valentin Bud" To: Modulok In-Reply-To: <64c038660811281038ld6e20dcq81a1a98b7e9f7ce@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <139b44430811280548x36915301i766bfb15f162c8ca@mail.gmail.com> <64c038660811281038ld6e20dcq81a1a98b7e9f7ce@mail.gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: 5 TB server 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, 30 Nov 2008 15:38:52 -0000 On Fri, Nov 28, 2008 at 8:38 PM, Modulok wrote: > On 11/28/08, Valentin Bud wrote: >> Hello community, >> >> I have to come up with a solution for a company that has as we speak >> 4 TB of data spread among 3 computers with lots of HDDs. Of course >> i've recommend >> them to buy a server for that storage capacity and for data organization. >> >> I thought of going on the ZFS way (on FreeBSD of course) with some >> raidz. One of the problems >> is that the server will stay in their office so it has to be quite silent. >> >> I honestly don't know what hardware to look for so if you have any >> suggestions >> i'm more than open to hear them. >> >> a great day, >> v > > I'm not sure what kind of fans everyone here is running, with all > these complaints about noise... > > For a single server sitting in an office, use a regular desktop case > with some good 12cm fans. Get a few fan-speed-controllers to reduce > the RPMs a little and you can have a computer with several disks in it > that is damn near silent, even when it is sitting right next to you. > Put a good power supply unit, with a slow 14cm fan in it and you can't > hear the computer at all. As far as heat goes, a well ventilated > aluminum desktop case disperses heat very, very well, permitting the > reduction of fan speed. > > I have a server built this way sitting not 2 feet from me, which > contains 5 hard drives providing 24/7 file storage via samba for the > entire local area network, and unless one puts their ear against the > case, it's difficult to tell if it is even running...even under heavy > load. (This is in a quiet room.) As far as heat goes, the case blows > out room temperature air and all components are cold to the touch. > Built for around...$800-$900 USD. (I'm not exactly sure on the figure, > as some components have been upgraded over the years.) > > Case: Lian Li PC-7B Plus II ATX Mid Tower. Best case ever. Cheap. > Simple. Roomy. Very well ventilated. I now personally own 4 of these > cases. No regrets. Ditch the factory fans though. Replace them with a > few Zalman 12cm fans. These usually come with a resistor so you can > reduce the fan speed (and noise). > > Processor: Whatever. I went with a cheap dual core Opteron at the time. > Board: I usually stick with Tyan. whatever fits your processor, your > budget and provides you with enough SATA headers. For a simple file > server, stick with a lower-end single-socket board. Unless you plan to > do some serious number crunching or have a lot of money to spend, you > don't need the extra processors sitting around doing nothing, with > their fans making noise. > > Memory: Start with a few (say 2) gigs, it's cheap. > Power Supply Unit: I've had good luck with Thermaltake W0144 Purepower > RX. They use 14cm fans which are silent, but move a lot of air and > I've had zero problems with them. The ability to only plugin the power > components you require helps maintain good airflow in the case. > > Network: Not all network cards are created equal! Go with one (or two) > PCI Intel network cards. If it's based on the Intel PRO/1000GT, it > will be supported by the em(4) driver on FreeBSD. I use the Intel > PWLA8391GT. Zero problems. > > As far as hard drives go, I've found recently that Western Digital > drives are quite silent, even under heavy read/writes, but I haven't > tried Seagate or any of the other major drive manufacturers in a long > time, so they may be about the same. Thanks for sharing. I'm just wondering what is the maximum number of hard disk a motherboard can support, i mean desktop motherboards. And is it easy to attach a storage unit in case you want more space? This company i'm talking about is growing with 1 Tb per year. I have talked to them to archive the data but it's out of discusion because they almost always need random parts of old projects and they want to access it ASAP. a great day, v > > With a little work, your goal of a silent, high-capacity server is > quite attainable. It can be pretty cheap to build too. > -Modulok- > From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 15:43:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98F9D106564A for ; Sun, 30 Nov 2008 15:43:50 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from aegis.hamla.org (aegis.hamla.org [206.251.255.39]) by mx1.freebsd.org (Postfix) with ESMTP id 76B598FC14 for ; Sun, 30 Nov 2008 15:43:50 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (localhost [127.0.0.1]) by aegis.hamla.org (Postfix) with ESMTP id 00C785C78 for ; Sun, 30 Nov 2008 10:45:16 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tandon.net; h= x-virus-scanned:in-reply-to:content-disposition:content-type :mime-version:references:reply-to:message-id:subject:from:date: received; s=aegis; t=1228059915; bh=ql/joAGqmhcXMOFxb+ZPZFIZXZDo HCKVfI0XgcoLoaQ=; b=qNaSAnpCP8zjrv80cJJ3gZzX3JFN433f9A5mHhPFH9Ws OHNf6YB3RbU0wZeGTeXkoZ5izzq2B+ZEg539li2GBnJ6Rbr+RsADjnF2a8phjL+X OAY3mkjmLJ+0ZdjDtEeADsBzPgA54Zh8v9MgAUozb461KY2J8oyt/pnhGRnA/JQ= Received: from aegis.hamla.org ([127.0.0.1]) by localhost (aegis.hamla.org [127.0.0.1]) (amavisd-new, port 10027) with LMTP id jsA0ZjTqdJLg for ; Sun, 30 Nov 2008 10:45:15 -0500 (EST) Date: Sun, 30 Nov 2008 10:43:49 -0500 From: Sahil Tandon To: freebsd-questions@freebsd.org Message-ID: <20081130154348.GB49413@shepherd> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: ClamAV version 0.94, clamav-milter version 0.94 on aegis.hamla.org X-Virus-Status: Clean Subject: Re: does not understand "df -H" 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: Sun, 30 Nov 2008 15:43:50 -0000 Tsu-Fan Cheng wrote: > Hi, > I have a pretty basic question: when I "df -H" my disk, the numbers > cant add up, > > > Filesystem Size Used Avail Capacity Mounted on > /dev/ad0c 484G 429G 17G 96% /ad0c > > > there should be more disk space available based on what is shown. why > is this like that?? This is default behavior. From tunefs(8): -m minfree Specify the percentage of space held back from normal users; the minimum free space threshold. The default value used is 8%. Note that lowering the threshold can adversely affect perfor- mance: +o Settings of 5% and less force space optimization to always be used which will greatly increase the overhead for file writes. +o The file system's ability to avoid fragmentation will be reduced when the total free space, including the reserve, drops below 15%. As free space approaches zero, throughput can degrade by up to a factor of three over the performance obtained at a 10% threshold. Your df output suggests your minfree is set to the default 8%; to confirm this: % dumpfs /dev/ad0c | grep minfree | cut -f 1-2 -- Sahil Tandon From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 15:45:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E93B21065672 for ; Sun, 30 Nov 2008 15:45:40 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.229]) by mx1.freebsd.org (Postfix) with ESMTP id B908A8FC0C for ; Sun, 30 Nov 2008 15:45:40 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2018533rvf.43 for ; Sun, 30 Nov 2008 07:45:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=/pX4fi7qU/+fhvaPi+VP3gTrMnKwmj85I8m5pSCV3h4=; b=wrorBTpRKRmxKM3zoH8/98cdKu3bopdkUQWISPHzxbSkvZTWfA0tY2eQhb/cDgjgvF MCbPFDW2W2rXvLNMc5M2cJBvpk5nqKvw7tVabVE1UNFOglcTjMbGu/TU+kuXXHonks8x JX8vPfvLoVkdIFR8GN/ZQETA/T5kIUltCyqsA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=bdpwtcl9BplJ1CkaVJzk9/T5VKTfPNfRLFJko/S7hkHF2O4S1kFiRCVoRjJgKHysfZ FKuEu0/YSxKUFqsvjuIlJntQYHPy3XhWpi1jsMDhawWaqpO2ckrgU0AAJvhN9jr4qnFf hxJ734mU7lETEsTqpSxvC0OT49pChpO2sqNoQ= Received: by 10.142.162.5 with SMTP id k5mr3264749wfe.49.1228059940404; Sun, 30 Nov 2008 07:45:40 -0800 (PST) Received: by 10.142.180.17 with HTTP; Sun, 30 Nov 2008 07:45:40 -0800 (PST) Message-ID: <139b44430811300745v350d25b7p680287d9a24544fe@mail.gmail.com> Date: Sun, 30 Nov 2008 17:45:40 +0200 From: "Valentin Bud" To: vogelke+software@pobox.com In-Reply-To: <20081128194531.7B17FB7C5@kev.msw.wpafb.af.mil> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <139b44430811280548x36915301i766bfb15f162c8ca@mail.gmail.com> <20081128194531.7B17FB7C5@kev.msw.wpafb.af.mil> Cc: freebsd-questions@freebsd.org Subject: Re: 5 TB server 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, 30 Nov 2008 15:45:41 -0000 On Fri, Nov 28, 2008 at 9:45 PM, Karl Vogel wrote: >>> On Fri, 28 Nov 2008 15:48:45 +0200, >>> "Valentin Bud" said: > > V> I have to come up with a solution for a company that has as we speak 4 TB > V> of data spread among 3 computers with lots of HDDs. Of course I've > V> recommend them to buy a server for that storage capacity and for data > V> organization. > > Good idea. We had a similar problem here; a SuperMicro server tanked, > and the company that provided the warranty went bankrupt, so all we had > were 12 perfectly good 400-Gb SATA drives and nowhere to put them. > > The drives were the big-cost item, so I didn't want to just dump them. > We finally bought two empty IBM x3400 8-bay enclosures plus some IBM > SAS 3.5" hot-swap trays, and it's working like a charm. > > V> I thought of going on the ZFS way (on FreeBSD of course) with some raidz. > > In my experience, completely new filesystems or operating systems need > at least 5 years in the field to weed out all the weird corner-cases. > I might trust ZFS on Sun hardware (*with* vendor support) at this point, > but I'd wait awhile before trying it on anything else. I perfectly agree with you and yes there might be monsters out there in the ZFS on FreeBSD but the fact that us (the community) embrace the change and apply it makes the development of it possible and even faster. I don't want to offend anyone or to start a war this is just my opinion. > > This isn't a slam at ZFS or the FreeBSD porters, it's just recognition > of the fact that some types of software development are *not* time- > compressible, regardless of who's doing the work. > > V> One of the problems is that the server will stay in their office so it > V> has to be quite silent. > > Not a good idea, especially if this data is their bread-and-butter. > You can walk out the door with a system this size on your shoulder, > so I'd recommend a locked room with reasonable cooling and *clean* > power. You don't need a 10-foot-tall zillion-dollar Liebert A/C, > but you absolutely need a UPS that can take care of power spikes; > the more moderate the environment, the less likely you are to have a > hardware failure. I have thought about a decent UPS and already told them that they should install an alarm system of some sort because neither I nor any IT company can warranty them physical security. The room is not possible :|, that would have been great. What do you think about a rack of some sort? > > I don't use disk mirroring because 99% of our problems come from humans > rather than hardware. If someone zaps the wrong file, a mirror will > simply replicate that mistake; we have two matching servers in separate > rooms, and we run rsync nightly to back up the production box without > deleting any files. I also run hourly backups on the production box > to store anything that's been modified in the last 60 minutes, which > gives us a nice file history and takes care of most recovery problems. This is the actual technology i apply ATM in one of the offices in which i have 2 BSD boxes. I thought about using RAID because of the amount of data and the safety of it and plus the second box is out of the question ATM :|. > > With two servers, I can use basic UFS filesystems and get fine I/O > performance with minimum maintenance. thank you for your thoughts, v > > -- > Karl Vogel I don't speak for the USAF or my company > > The first product Motorola started to develop was a record player for cars. > At that time, the most known player on the market was Victrola, so they > called themselves Motorola. --possibly-true item for a lull in conversation > _______________________________________________ > 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 Nov 30 15:53:45 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9510A1065672 for ; Sun, 30 Nov 2008 15:53:45 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.173]) by mx1.freebsd.org (Postfix) with ESMTP id 649B38FC12 for ; Sun, 30 Nov 2008 15:53:45 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so2262548wfg.7 for ; Sun, 30 Nov 2008 07:53:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=cA7XoHD72Bx88WEBTxHfClp8V1kkr4kzCenUnGWartE=; b=aHju7/c/T7wgY5StT7l0kETY/hvxRHCQMu6xItSoDLkiw0Q3XAZqCLLoTJcoXJ/7iF KryqWdg3WwTKiMN8hzrWXV/c75LphLYvwwps6FNhweCJddxSoZUwoh+hym0PXG5ny/xD KUoWp6ZD4cIIpglTQAAqVyOVTx0wJYIidMFU0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=f82iPElHBMmUgfw0dpWINh5cOgnpOTO8v4U+xElaGZ1yM9MapEcWeXiceuFcLiFRw5 Q7oS2ZTvvd2Q606pIDfblzDJ+hKeO+sa8dTk4oRRF5oOjyGLUOorAoVBR/hq+kGRRZr1 4gRuIp9hHR9oc6SXfQvICzpuC0yrbDYDr+o/A= Received: by 10.143.19.16 with SMTP id w16mr4122704wfi.200.1228060425138; Sun, 30 Nov 2008 07:53:45 -0800 (PST) Received: by 10.142.180.17 with HTTP; Sun, 30 Nov 2008 07:53:45 -0800 (PST) Message-ID: <139b44430811300753o780763c8xf9b4821a837443a1@mail.gmail.com> Date: Sun, 30 Nov 2008 17:53:45 +0200 From: "Valentin Bud" To: vogelke+software@pobox.com In-Reply-To: <20081128215528.35F4BB7C5@kev.msw.wpafb.af.mil> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081128194531.7B17FB7C5@kev.msw.wpafb.af.mil> <20081128212753.D6715@wojtek.tensor.gdynia.pl> <20081128215528.35F4BB7C5@kev.msw.wpafb.af.mil> Cc: freebsd-questions@freebsd.org Subject: Re: 5 TB server 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, 30 Nov 2008 15:53:45 -0000 On Fri, Nov 28, 2008 at 11:55 PM, Karl Vogel wrote: >>> On Fri, 28 Nov 2008 14:45:31 -0500, >>> I spewed something along the lines of: > > K> In my experience, completely new filesystems or operating systems need at > K> least 5 years in the field to weed out all the weird corner-cases. I might > K> trust ZFS on Sun hardware (*with* vendor support) at this point, but I'd > K> wait awhile before trying it on anything else. > >>> On Fri, 28 Nov 2008 21:28:51 +0100, >>> Wojciech Puchar said: > > W> if it will ever be good filesystem, it will be no longer ZFS. just the > W> ideas is in big part wrong. > > I'm not trying to start a religious war, but at least one idea in ZFS is > worth its weight in platinum: end-to-end file-integrity checks. ZFS can > (and does) find and correct file errors introduced by disk firmware and > media problems. With the sheer volume of stuff being stored these days, > that capability (in any filesystem) is going to be crucial. This is one of the main reasons i want to go with ZFS. Another would be the filesystem level compression of the data. I have noticed that 3dmax files (one of the programs the company works with) are very "compressable" (from 50 Mb to ~ 7Mb). thank you, v > > -- > Karl Vogel I don't speak for the USAF or my company > > I think that's how Chicago got started. A bunch of people in New York > said, "Gee, I'm enjoying the crime and the poverty, but it just isn't > cold enough. Let's go west." --Richard Jeni > _______________________________________________ > 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 Nov 30 16:37:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35ABF1065670 for ; Sun, 30 Nov 2008 16:37:19 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 04F9C8FC08 for ; Sun, 30 Nov 2008 16:37:18 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 17336AFC1C6; Sun, 30 Nov 2008 07:37:18 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Sun, 30 Nov 2008 17:36:28 +0100 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200811301736.30079.fbsd.questions@rachie.is-a-geek.net> Cc: Eugene Pimenov Subject: Re: Pasting via ssh causes data loss 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, 30 Nov 2008 16:37:19 -0000 On Sunday 30 November 2008 06:46:59 Eugene Pimenov wrote: > Hello everyone, > > I'm not really sure weither it's related to freebsd or ssh. > > When I paste a lot of data (6060 bytes, 60 lines 100 bytes each + > =91\n=92) via ssh into `cat > test.txt` or the small program, one freebsd > receives 5181, another receives 3221 bytes. > > The number of bytes freebsd receives are always the same. > > I can't reproduce this on linux (OpenSSH 4.3p2 on debian and OpenSSH > 4.7p1 on 2 gentoo boxes). Also, I have one freebsd box without this > problem (7.0-STABLE, openssh 4.5p1). > > Source of the small program: > > #include > > int main() > { > char buf[10000]; > size_t readed =3D 0; > while(!feof(stdin)) { > readed+=3Dfread(buf, 1, sizeof(buf), stdin); > } > > printf("I've received %d bytes\n", readed); > return 0; > } > > Versions of sshd are =93OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.8e > 23 Feb 2007=94. FreeBSD versions are FreeBSD 7.0-BETA4 and FreeBSD 7.0- > RELEASE. > > Why is it happening? What should I do to stop this? It's pretty > annoying. Not sure, but can you copy files via cat? As in: cat /tmp/foo | ssh machine "cat - >/tmp/foo" If that isn't truncated, I can only think of clipboard limitations or tty=20 issues. =2D-=20 Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 16:53:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05C341065670 for ; Sun, 30 Nov 2008 16:53:56 +0000 (UTC) (envelope-from libc.mail@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id 4B6D98FC16 for ; Sun, 30 Nov 2008 16:53:55 +0000 (UTC) (envelope-from libc.mail@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so1105760nfh.33 for ; Sun, 30 Nov 2008 08:53:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=hPNxcgUe6Pdvi+XSLo24ESxlgIU7Ivd/woL2S/UiMMk=; b=e1+oIPw1AgLxaBQzKqxFkcpTNcULSmlBCzs3ja+JC7FH62UqcCIfUH5jNeopqWYNUR j40Lrt3s2csaACCKoQA1T9IwcVQjDluAu8gXCfTgVBqyYQdZhUHHO2dMaSsQk6yZHH/+ KaB1+OXZtirMWRjyIyN3mEXKRPJ+v6NcJQSgs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=qAQjOb77yV59x+FCgy05tPcM4WuBauDk2JPI5Tx9WfWxsL1tA1c0JMxE5aLbVLGGhC WgKwTEDRVIYlhr+lEOLDrfLknrijuMWMFIReFqx5GG6SzaAsHa/j0JNHaDzztPI9R9YT aY27/r0MMVAXcgApx2blCbh48NzQZSShFPLF0= Received: by 10.103.252.17 with SMTP id e17mr4131702mus.14.1228064033930; Sun, 30 Nov 2008 08:53:53 -0800 (PST) Received: from ?192.168.1.50? (ppp91-76-54-50.pppoe.mtu-net.ru [91.76.54.50]) by mx.google.com with ESMTPS id j9sm4184300mue.19.2008.11.30.08.53.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 30 Nov 2008 08:53:53 -0800 (PST) Message-Id: <8392DE41-4800-4CE9-A078-C1921FADDD9A@gmail.com> From: Eugene Pimenov To: Mel In-Reply-To: <200811301736.30079.fbsd.questions@rachie.is-a-geek.net> Content-Type: text/plain; charset=KOI8-R; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v929.2) Date: Sun, 30 Nov 2008 19:53:21 +0300 References: <200811301736.30079.fbsd.questions@rachie.is-a-geek.net> X-Mailer: Apple Mail (2.929.2) Cc: freebsd-questions@freebsd.org Subject: Re: Pasting via ssh causes data loss 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, 30 Nov 2008 16:53:56 -0000 30.11.2008, =D7 19:36, Mel =CE=C1=D0=C9=D3=C1=CC(=C1): > On Sunday 30 November 2008 06:46:59 Eugene Pimenov wrote: > > Not sure, but can you copy files via cat? As in: > cat /tmp/foo | ssh machine "cat - >/tmp/foo" > > If that isn't truncated, I can only think of clipboard limitations =20 > or tty > issues. No, it's not truncated. All of 6060 bytes are copied. What kind of tty issues/clipboard limitations might it be? > > > --=20 > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 17:15:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94F3B1065677 for ; Sun, 30 Nov 2008 17:15:07 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from smtpauth.surewest.net (smtpauth.surewest.net [66.60.130.153]) by mx1.freebsd.org (Postfix) with ESMTP id 7E9DE8FC0C for ; Sun, 30 Nov 2008 17:15:07 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from blacklamb.mykitchentable.net (unknown [69.62.230.77]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpauth.surewest.net (Postfix) with ESMTP id A21A89BEB8 for ; Sun, 30 Nov 2008 09:14:40 -0800 (PST) Received: from [192.168.1.3] (bigdaddy.mykitchentable.net [192.168.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTPSA id CA510164870 for ; Sun, 30 Nov 2008 09:15:04 -0800 (PST) Message-ID: <4932CA0D.8080109@mykitchentable.net> Date: Sun, 30 Nov 2008 09:14:53 -0800 From: Drew Tomlinson User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Regular Expression Help 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, 30 Nov 2008 17:15:07 -0000 I'm attempting to take an ldiff file and flip first/last name order. However I can not figure out how to match hyphenated last names. In vim, my current search/replace string is: %s/cn=\(\w\+\-*\) \(\w\+\),/cn=\2 \1,/gc This will match: cn=Smith Joe, and replace it with: cn=Joe Smith, But it will not match: cn=Smith-Brown Joe, nor replace it with: cn=Joe Smith-Brown, I've tried various incantations of escaping and quantifying yet I can not figure out how to do what I want. Please show me my error. Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 17:15:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20D051065730 for ; Sun, 30 Nov 2008 17:15:24 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id D3DFE8FC13 for ; Sun, 30 Nov 2008 17:15:23 +0000 (UTC) (envelope-from kline@thought.org) 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 mAUHFmsR044291; Sun, 30 Nov 2008 09:15:48 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 30 Nov 2008 09:15:16 -0800 (PST) Date: Sun, 30 Nov 2008 09:15:15 -0800 From: Gary Kline To: Giorgos Keramidas Message-ID: <20081130171515.GA25123@thought.org> References: <20081130045944.GA94896@thought.org> <8763m535qm.fsf@kobe.laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8763m535qm.fsf@kobe.laptop> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 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: FreeBSD Mailing List Subject: Re: for awk experts only. 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, 30 Nov 2008 17:15:24 -0000 On Sun, Nov 30, 2008 at 11:47:29AM +0200, Giorgos Keramidas wrote: > On Sat, 29 Nov 2008 20:59:51 -0800, Gary Kline wrote: > > wordnet/wn prints the string "noun" out whereas I'd rather it simply > > printed "n." Is there a way of making this substitution using awk? > > (I've never used awk except as a cmdline filter.) > > > > The following fails: > > > > wn foot -over |grep Overview |awk > > {if(!strcmp($3,"noun"))$3="n."; '{printf("%s %s\n", $4, $3);}}' > > > > If there are any shortcuts, please clue me in! > > Don't do this with a long stream of if/else/.../else blocks. AWK is a > pattern based rule-language. You can apply different blocks of code to > lines that match patterns like this: > > $3 ~ /adjective/ { print $1,"adj." } > $3 ~ /noun/ { print $1,"n." } > $3 ~ /verb/ { print $1,"v." } Thank you! Would I enclose the three lines with "BEGIN", and end with an "exit;" at the end? > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 17:45:38 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DD3B1065677 for ; Sun, 30 Nov 2008 17:45:38 +0000 (UTC) (envelope-from prad@towardsfreedom.com) Received: from idcmail-mo2no.shaw.ca (idcmail-mo2no.shaw.ca [64.59.134.9]) by mx1.freebsd.org (Postfix) with ESMTP id 767E38FC0A for ; Sun, 30 Nov 2008 17:45:38 +0000 (UTC) (envelope-from prad@towardsfreedom.com) Received: from pd5ml1no-ssvc.prod.shaw.ca ([10.0.153.166]) by pd5mo1no-svcs.prod.shaw.ca with ESMTP; 30 Nov 2008 10:45:37 -0700 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=0 a=KoDPwd6_AAAA:8 a=KkW6-k5YubuMPo-5H-EA:9 a=kE664f_7sJSekuffmGYA:7 a=tXZOJdQCE6MPSSUFqgVBFr0nxocA:4 a=Sllw8v0m4fwA:10 Received: from s0106000d935c7902.du.shawcable.net (HELO gom.home) ([70.67.160.177]) by pd5ml1no-dmz.prod.shaw.ca with ESMTP; 30 Nov 2008 10:45:37 -0700 Received: from gom.home (localhost [127.0.0.1]) by gom.home (Postfix) with ESMTP id 3DCCC1701E; Sun, 30 Nov 2008 09:45:29 -0800 (PST) Date: Sun, 30 Nov 2008 09:45:28 -0800 From: prad To: freebsd-questions@freebsd.org Message-ID: <20081130094528.3bdf8782@gom.home> In-Reply-To: <4932CA0D.8080109@mykitchentable.net> References: <4932CA0D.8080109@mykitchentable.net> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Drew Tomlinson Subject: Re: Regular Expression Help 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, 30 Nov 2008 17:45:38 -0000 On Sun, 30 Nov 2008 09:14:53 -0800 Drew Tomlinson wrote: > I'm attempting to take an ldiff file and flip first/last name order. > you can try using sh (i'm using zsh) file data.txt has the following: joe brown joe brown-smith file t.sh is coded as: #!/usr/local/bin/zsh # while read var; do f=${var% *} l=${var#* } echo $l, $f done < $1 then you just run it as t.sh data.txt -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 18:04:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3ED85106564A for ; Sun, 30 Nov 2008 18:04:14 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id AAE708FC17 for ; Sun, 30 Nov 2008 18:04:13 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from kobe.laptop (adsl144-35.kln.forthnet.gr [195.74.243.35]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id mAUI45In009843 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 30 Nov 2008 20:04:10 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id mAUI45Xl090570; Sun, 30 Nov 2008 20:04:05 +0200 (EET) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id mAUI43An090569; Sun, 30 Nov 2008 20:04:03 +0200 (EET) (envelope-from keramida@freebsd.org) From: Giorgos Keramidas To: Gary Kline References: <20081130045944.GA94896@thought.org> <8763m535qm.fsf@kobe.laptop> <20081130171515.GA25123@thought.org> Date: Sun, 30 Nov 2008 20:04:03 +0200 In-Reply-To: <20081130171515.GA25123@thought.org> (Gary Kline's message of "Sun, 30 Nov 2008 09:15:15 -0800") Message-ID: <877i6lqeek.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: mAUI45In009843 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.247, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.15, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: FreeBSD Mailing List Subject: Re: for awk experts only. 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, 30 Nov 2008 18:04:14 -0000 On Sun, 30 Nov 2008 09:15:15 -0800, Gary Kline wrote: >On Sun, Nov 30, 2008 at 11:47:29AM +0200, Giorgos Keramidas wrote: >> Don't do this with a long stream of if/else/.../else blocks. AWK is >> a pattern based rule-language. You can apply different blocks of >> code to lines that match patterns like this: >> >> $3 ~ /adjective/ { print $1,"adj." } >> $3 ~ /noun/ { print $1,"n." } >> $3 ~ /verb/ { print $1,"v." } > > Thank you! Would I enclose the three lines with "BEGIN", and end with > an "exit;" at the end? Nope. None of the two. 'BEGIN' has a special meaning in awk patterns. It means "run this block of code before you start reading any input records". If you 'exit' somewhere in a code block, then awk will terminate the script after the first line that matches the relevant pattern. This is probably not quite what you want when awk filters through a long list of words. From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 18:14:45 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06BD1106564A for ; Sun, 30 Nov 2008 18:14:45 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 346D38FC14 for ; Sun, 30 Nov 2008 18:14:43 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id mAUIEbEg002821; Sun, 30 Nov 2008 19:14:37 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id mAUIEYPo002818; Sun, 30 Nov 2008 19:14:35 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 30 Nov 2008 19:14:34 +0100 (CET) From: Wojciech Puchar To: Valentin Bud In-Reply-To: <139b44430811300745v350d25b7p680287d9a24544fe@mail.gmail.com> Message-ID: <20081130191349.W2817@wojtek.tensor.gdynia.pl> References: <139b44430811280548x36915301i766bfb15f162c8ca@mail.gmail.com> <20081128194531.7B17FB7C5@kev.msw.wpafb.af.mil> <139b44430811300745v350d25b7p680287d9a24544fe@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: vogelke+software@pobox.com, freebsd-questions@freebsd.org Subject: Re: 5 TB server 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, 30 Nov 2008 18:14:45 -0000 > I perfectly agree with you and yes there might be monsters out there > in the ZFS on FreeBSD but the fact that us (the community) embrace the > change and apply it makes the development of it possible and even faster. > I don't want to offend anyone or to start a war this is just my opinion. everything is fine as long as ZFS is fully optional feature as today. From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 18:19:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8631C1065672 for ; Sun, 30 Nov 2008 18:19:36 +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 0A83F8FC13 for ; Sun, 30 Nov 2008 18:19:35 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) 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 mAUIJRFv063494; Sun, 30 Nov 2008 18:19:28 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk mAUIJRFv063494 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1228069168; bh=L2h5pRPuMTidiT qJyf2bh66A3zX/tJpugzpFrSXszTQ=; 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=Mes sage-ID:=20<4932D91F.5040804@infracaninophile.co.uk>|Date:=20Sun,=2 030=20Nov=202008=2018:19:11=20+0000|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.18=20(X11/20081125)|MIME-Version:=201 .0|To:=20Drew=20Tomlinson=20|CC:=20FreeBSD =20Questions=20|Subject:=20Re:=20Reg ular=20Expression=20Help|References:=20<4932CA0D.8080109@mykitchent able.net>|In-Reply-To:=20<4932CA0D.8080109@mykitchentable.net>|X-En igmail-Version:=200.95.6|Content-Type:=20multipart/signed=3B=20mica lg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp-signature"=3 B=0D=0A=20boundary=3D"------------enig108C1DB5D46C91DE784207F4"; b=PM9TH+CXRFe4afAyQPjJmSfMTFIsSNkKo+Lkjqd7YGdKhxFb9VYEkl4dpKkk9E+fI 0851Q+C87bjD5z/j7/FsgH8q/wzC4jiLFvuchUB82Of520ESKZQ8pUSY1HjcQ9tnhll L500tZ7qivCPcgTpRBYM6SrHHD70gFrXN0bLJ8Q= Message-ID: <4932D91F.5040804@infracaninophile.co.uk> Date: Sun, 30 Nov 2008 18:19:11 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: Drew Tomlinson References: <4932CA0D.8080109@mykitchentable.net> In-Reply-To: <4932CA0D.8080109@mykitchentable.net> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig108C1DB5D46C91DE784207F4" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (smtp.infracaninophile.co.uk [IPv6:::1]); Sun, 30 Nov 2008 18:19:28 +0000 (GMT) X-Virus-Scanned: ClamAV 0.94.2/8698/Sun Nov 30 15:09:19 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=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 Subject: Re: Regular Expression Help 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, 30 Nov 2008 18:19:36 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig108C1DB5D46C91DE784207F4 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Drew Tomlinson wrote: > I'm attempting to take an ldiff file and flip first/last name order. =20 > However I can not figure out how to match hyphenated last names. In=20 > vim, my current search/replace string is: >=20 > %s/cn=3D\(\w\+\-*\) \(\w\+\),/cn=3D\2 \1,/gc >=20 > This will match: >=20 > cn=3DSmith Joe, >=20 > and replace it with: >=20 > cn=3DJoe Smith, >=20 > But it will not match: >=20 > cn=3DSmith-Brown Joe, >=20 > nor replace it with: >=20 > cn=3DJoe Smith-Brown, >=20 > I've tried various incantations of escaping and quantifying yet I can=20 > not figure out how to do what I want. Well, assuming that none of the surnames contain ',' and that the first '= ' (space) is always the delimiter between the surname and that anything els= e is forenames ...=20 % cat foo.txt=20 cn=3DSmith Joe, cn=3DSmith-Brown Joe, % perl -p -e 's/cn=3D([^ ,]+) ([^,]+),/cn=3D$2 $1,/' < foo.txt=20 cn=3DJoe Smith, cn=3DJoe Smith-Brown, ie. you need a s/// command that understands negated character classes. = I think sed(1) and vi(1) will do that, but I haven't time to look up the pr= ecise syntax. Perl, of course, just does the job for me. 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 --------------enig108C1DB5D46C91DE784207F4 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.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkky2S8ACgkQ8Mjk52CukIxj7ACfSDDR6rlLZD2jrcqchD3wZn76 VvUAmwWmew53xvsyMmB84SO2NhWVtBOv =+rGm -----END PGP SIGNATURE----- --------------enig108C1DB5D46C91DE784207F4-- From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 18:24:32 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B9251065670 for ; Sun, 30 Nov 2008 18:24:32 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 793FF8FC1A for ; Sun, 30 Nov 2008 18:24:31 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl144-35.kln.forthnet.gr [195.74.243.35]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id mAUIOMXX010624 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 30 Nov 2008 20:24:27 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id mAUIOMxb090757; Sun, 30 Nov 2008 20:24:22 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id mAUIOLRu090756; Sun, 30 Nov 2008 20:24:21 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Drew Tomlinson References: <4932CA0D.8080109@mykitchentable.net> Date: Sun, 30 Nov 2008 20:24:21 +0200 In-Reply-To: <4932CA0D.8080109@mykitchentable.net> (Drew Tomlinson's message of "Sun, 30 Nov 2008 09:14:53 -0800") Message-ID: <873ah9qdgq.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: mAUIOMXX010624 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.8, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.60, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: FreeBSD Questions Subject: Re: Regular Expression Help 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, 30 Nov 2008 18:24:32 -0000 On Sun, 30 Nov 2008 09:14:53 -0800, Drew Tomlinson wrote: > I'm attempting to take an ldiff file and flip first/last name order. > However I can not figure out how to match hyphenated last names. In > vim, my current search/replace string is: > > %s/cn=\(\w\+\-*\) \(\w\+\),/cn=\2 \1,/gc Hi Drew, Depending on the VI implementation you are using this may not work because some versions don't support `\w' as a character class. The regular expession, when translated to Perl, works fine though: $ cat foo cn=Smith Joe, cn=Smith-Brown Joe, $ perl -pe 's/^cn=(\w+-*\w+) (\w+),/cn=$2 $1,/' foo cn=Joe Smith, cn=Joe Smith-Brown, $ So you can just use Perl and the `extended regexp' syntax that includes `\w', `\d' and other special character classes. If you really _have_ to use VI to do this sort of replacement though, you may have to write the fully expanded form of `\w' to make this work: %s/^cn=\([A-Za-z]\+[A-Za-0-9]*[A-Za-z]*\) \([A-Za-z]\+[A-Za-0-9]*[A-Za-z]*\),/cn=\2 \1,/ Using the same \(...\) expression for both the `name' and `surname' part may be useful if you want to switch _back_ to the original format too, since it will swap words for all of the following: cn=Smith Joe, cn=Smith-Brown Joe, cn=Smith Marie, cn=Smith Anne-Marie, cn=Smith-Brown Anne-Marie, From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 19:25:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2CDA1065670 for ; Sun, 30 Nov 2008 19:25:35 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from smtpauth.surewest.net (smtpauth.surewest.net [66.60.130.153]) by mx1.freebsd.org (Postfix) with ESMTP id CA55F8FC14 for ; Sun, 30 Nov 2008 19:25:35 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from blacklamb.mykitchentable.net (unknown [69.62.230.77]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpauth.surewest.net (Postfix) with ESMTP id 07DC89BF82; Sun, 30 Nov 2008 11:25:09 -0800 (PST) Received: from [192.168.1.3] (bigdaddy.mykitchentable.net [192.168.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTPSA id 4C050164D88; Sun, 30 Nov 2008 11:25:33 -0800 (PST) Message-ID: <4932E8A2.6030804@mykitchentable.net> Date: Sun, 30 Nov 2008 11:25:22 -0800 From: Drew Tomlinson User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Matthew Seaman References: <4932CA0D.8080109@mykitchentable.net> <4932D91F.5040804@infracaninophile.co.uk> In-Reply-To: <4932D91F.5040804@infracaninophile.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Regular Expression Help 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, 30 Nov 2008 19:25:36 -0000 Matthew Seaman wrote: > Drew Tomlinson wrote: >> I'm attempting to take an ldiff file and flip first/last name order. >> However I can not figure out how to match hyphenated last names. In >> vim, my current search/replace string is: >> >> %s/cn=\(\w\+\-*\) \(\w\+\),/cn=\2 \1,/gc >> >> This will match: >> >> cn=Smith Joe, >> >> and replace it with: >> >> cn=Joe Smith, >> >> But it will not match: >> >> cn=Smith-Brown Joe, >> >> nor replace it with: >> >> cn=Joe Smith-Brown, >> >> I've tried various incantations of escaping and quantifying yet I can >> not figure out how to do what I want. > > Well, assuming that none of the surnames contain ',' and that the > first ' ' > (space) is always the delimiter between the surname and that anything > else > is forenames ... > % cat foo.txt cn=Smith Joe, > cn=Smith-Brown Joe, > % perl -p -e 's/cn=([^ ,]+) ([^,]+),/cn=$2 $1,/' < foo.txt cn=Joe Smith, > cn=Joe Smith-Brown, > > ie. you need a s/// command that understands negated character > classes. I > think sed(1) and vi(1) will do that, but I haven't time to look up the > precise > syntax. Perl, of course, just does the job for me. Thank you for your reply. The particular editor I was attempting to use is vim 7.1.315. However it doesn't like the above string so I tried you perl example verbatim. It works and even handles such lines as: cn=Smith-Brown Joe & Jane, to cn=Joe & Jane Smith-Brown, which I hadn't considered. I still don't really understand *why* the above works but I'm trying to pick it apart now. Thanks to you and the others for the replies. Cheers, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 19:39:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A188D1065673 for ; Sun, 30 Nov 2008 19:39:06 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.234]) by mx1.freebsd.org (Postfix) with ESMTP id 745D48FC08 for ; Sun, 30 Nov 2008 19:39:06 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2078646rvf.43 for ; Sun, 30 Nov 2008 11:39:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Y8fM1nASrNA5PFFR/F0ivO7SA9PR0L3VW6XmFXnP7Gw=; b=lBibMAEF6VSzYhsrKiuWmAr+OiiUK6IekaOgT8fnF5nwTPSeYJBn5qeW51DX+kLmyH u3b8g0qDDWPudwwDhe/tUaCizvEi5kevpuFmlgbAIVMYszH4eJGrgg85MA6AVfZPuYKJ jBAQuz4ocwXIN7bqqeCXRPR8KkKmJWUgu5U/Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=sJuISh4X9NtpOuBf3zKEPw7Af0F/bniRTTICZNfMdfLOEhYNoGjxZMqBj9xKTPbK2x 85m5IYBkobbkFdhDxa+25eTqNmI+BtkBvOcub52cpAeXranJBRuvhYiRbHuav+GoNiEg 5LwbWXeXy2ZwgzkNwP8ZSyDQkpjlZ9FFu46So= Received: by 10.142.140.14 with SMTP id n14mr4186017wfd.201.1228073946094; Sun, 30 Nov 2008 11:39:06 -0800 (PST) Received: by 10.142.180.20 with HTTP; Sun, 30 Nov 2008 11:39:06 -0800 (PST) Message-ID: <1bd550a00811301139r5f14f8bej9a80c3d30bd64d57@mail.gmail.com> Date: Sun, 30 Nov 2008 20:39:06 +0100 From: "=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=" To: "Tore Lund" In-Reply-To: <49306C09.40308@next.online.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1227874986.00041844.1227863401@10.7.7.3> <49306C09.40308@next.online.no> Cc: freebsd-questions@freebsd.org Subject: Re: FBSD 7.1 BETA2 and RTL8168/8111 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: Sun, 30 Nov 2008 19:39:06 -0000 On Fri, Nov 28, 2008 at 11:09 PM, Tore Lund wrote: > Fernando Apestegu=EDa wrote: >> Hi all, >> >> I recently installed FreeBSD 7.1 BETA2 on my system. During >> installation using FTP option, I could notice the following: >> >> After some random time (two, five or six minutes, for instance) the >> installation stalled and sysinstall lost the connection. I was taken >> back to the "Select FTP site" screen, and I had to configure my NIC >> again. Then, the install resumed and I got a usable system (MINIMAL + >> docs + manpages) >> >> But the problem persists. From time to time, it seems the kernel can't >> see the NIC. It happens during normal operation and no message is >> shown in /var/log/messages. ifconfig doesn't show my 're0' device, so >> I can't run dhclient on it and I have to reboot. I have to say that >> sometimes, even when I reboot, the NIC (RTL8168/8111 PCI Express) is >> not present. >> >> This device works fine in the same computer with either Vista or >> Fedora 9, though I have to say I had similar problems with earlier >> versions of Fedora (device disappearing or not present after boot), >> but after a kernel upgrade everything run smoothly. >> >> Does FreeBSD use the same driver than Linux does? Anybody else with >> this problem? >> >> Thanks in advance. > > All I can say is that I have the same NIC, which is built into my Asus > M2A-VM motherboard. I have used it since March 2008 with no problems at > all. For the past three days I have been running 7.1-BETA2, also with > no problems. I should like to provide more detail if that can be of any > help to you. > -- > Tore > Hi again, As Pegasus remarked, I can see two "PHY write failed" in dmesg. I did a freebsd-update a couple of days ago and I haven't seen this issue so far. I'll watch and report it should I get this error again. Cheers > _______________________________________________ > 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 Nov 30 20:20:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7AEAC106564A for ; Sun, 30 Nov 2008 20:20:27 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 2E8548FC0A for ; Sun, 30 Nov 2008 20:20:26 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1L6smF-0007NU-9w for freebsd-questions@freebsd.org; Sun, 30 Nov 2008 20:20:23 +0000 Received: from 93-138-125-188.adsl.net.t-com.hr ([93.138.125.188]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Nov 2008 20:20:23 +0000 Received: from ivoras by 93-138-125-188.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Nov 2008 20:20:23 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Sun, 30 Nov 2008 21:20:00 +0100 Lines: 39 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig02F91044EC1B4FDC652FD154" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 93-138-125-188.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) In-Reply-To: X-Enigmail-Version: 0.95.7 Sender: news Subject: Re: Pasting via ssh causes data loss 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, 30 Nov 2008 20:20:27 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig02F91044EC1B4FDC652FD154 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Eugene Pimenov wrote: > Hello everyone, >=20 > I'm not really sure weither it's related to freebsd or ssh. >=20 > When I paste a lot of data (6060 bytes, 60 lines 100 bytes each + =E2=80= =98\n=E2=80=99) > via ssh into `cat > test.txt` or the small program, one freebsd receive= s > 5181, another receives 3221 bytes. I regularly do copy-pastes of textual data of that size (and larger) in interactive sessions (with text editors) without problems, between FreeBSD machines and from Linux to FreeBSD machines. Are you sure it's not a problem with your terminal application and not on the server side? (try a different terminal). --------------enig02F91044EC1B4FDC652FD154 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 iEYEARECAAYFAkky9XAACgkQldnAQVacBchz5QCfWAeDbPzpOg7go9fnIBauftDt I84AoJFKMT0eE99JmaprcclKVN/llKQz =zaO4 -----END PGP SIGNATURE----- --------------enig02F91044EC1B4FDC652FD154-- From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 21:50:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5028C1065672; Sun, 30 Nov 2008 21:50:00 +0000 (UTC) (envelope-from shinjii@maydias.com) Received: from smtp.po.exetel.com.au (pecan.exetel.com.au [220.233.0.17]) by mx1.freebsd.org (Postfix) with ESMTP id 194538FC17; Sun, 30 Nov 2008 21:49:59 +0000 (UTC) (envelope-from shinjii@maydias.com) Received: from 196.43.96.58.exetel.com.au ([58.96.43.196] helo=enterprise.blackthorn.nu) by smtp.po.exetel.com.au with esmtp (Exim 4.68) (envelope-from ) id 1L6uAu-0005ZZ-BE; Mon, 01 Dec 2008 08:49:58 +1100 Message-ID: <49330AA9.9080204@maydias.com> Date: Mon, 01 Dec 2008 07:50:33 +1000 From: Warren Liddell User-Agent: Thunderbird 2.0.0.17 (X11/20081016) MIME-Version: 1.0 To: kde@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Error Building Qt4-sql 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, 30 Nov 2008 21:50:00 -0000 Just updated my ports via csup and i need qt4-sql installed as a dependency for KDE4.1.3, but it refuses to let me compile it with the following error... The target system byte order could not be detected! Turn on verbose messaging (-v) to see the final report. You can use the -little-endian or -big-endian switch to ./configure to continue. ===> Script "configure" failed unexpectedly. Please report the problem to kde@FreeBSD.org [maintainer] and attach the "/usr/ports/databases/qt4-sql/work/qt-x11-opensource-src-4.4.1/src/sql/../..//config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/databases/qt4-sql. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.13456.0 env make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! databases/qt4-sql (unknown build error) From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 22:20:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86E1F106564A for ; Sun, 30 Nov 2008 22:20:10 +0000 (UTC) (envelope-from libc.mail@gmail.com) Received: from yx-out-2122.google.com (yx-out-2122.google.com [74.125.44.25]) by mx1.freebsd.org (Postfix) with ESMTP id 494088FC13 for ; Sun, 30 Nov 2008 22:20:10 +0000 (UTC) (envelope-from libc.mail@gmail.com) Received: by yx-out-2122.google.com with SMTP id 35so639498yxh.13 for ; Sun, 30 Nov 2008 14:20:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.100.153.6 with SMTP id a6mr844497ane.12.1228083609607; Sun, 30 Nov 2008 14:20:09 -0800 (PST) Date: Sun, 30 Nov 2008 14:20:09 -0800 (PST) In-Reply-To: X-IP: 83.237.103.45 References: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_5; ru-ru) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1, gzip(gfe), gzip(gfe) Message-ID: From: Eugene Pimenov To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Mon, 01 Dec 2008 00:14:44 +0000 Subject: Re: Pasting via ssh causes data loss 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, 30 Nov 2008 22:20:10 -0000 On 30 =CE=CF=D1=C2, 23:20, Ivan Voras wrote: > > I regularly do copy-pastes of textual data of that size (and larger) in > interactive sessions (with text editors) without problems, between > FreeBSD machines and from Linux to FreeBSD machines. Are you sure it's > not a problem with your terminal application and not on the server side? > (try a different terminal). Tried a different terminal. iTerm to be exact. The same problem, the same number of bytes. A friend of mine tried from gentoo linux on his laptop (he'is using yakukake (terminal)), and reproduced the same issue, but different amount of bytes (3221 for the server that receives 5181 from me). Is there some stupid sysctl setting? or something like that? I'm so tired of pasting into a linux box and wget from it into a freebsd box. > > =9Asignature.asc > < 1K=C2=F0=D2=CF=D3=CD=CF=D4=D2=C5=D4=D8=FA=C1=C7=D2=D5=DA=C9=D4=D8 From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 00:34:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0C7D106564A for ; Mon, 1 Dec 2008 00:34:36 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 2F4D88FC12 for ; Mon, 1 Dec 2008 00:34:35 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id mB10YTMw004809; Mon, 1 Dec 2008 01:34:29 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id mB10YRSg004806; Mon, 1 Dec 2008 01:34:28 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 1 Dec 2008 01:34:27 +0100 (CET) From: Wojciech Puchar To: Valentin Bud In-Reply-To: <139b44430811300753o780763c8xf9b4821a837443a1@mail.gmail.com> Message-ID: <20081201013409.Y4805@wojtek.tensor.gdynia.pl> References: <20081128194531.7B17FB7C5@kev.msw.wpafb.af.mil> <20081128212753.D6715@wojtek.tensor.gdynia.pl> <20081128215528.35F4BB7C5@kev.msw.wpafb.af.mil> <139b44430811300753o780763c8xf9b4821a837443a1@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: vogelke+software@pobox.com, freebsd-questions@freebsd.org Subject: Re: 5 TB server 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, 01 Dec 2008 00:34:37 -0000 > This is one of the main reasons i want to go with ZFS. Another would be the > filesystem level compression of the data. I have noticed that 3dmax > files (one of > the programs the company works with) are very "compressable" (from 50 > Mb to ~ 7Mb). will it be majority of data??? From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 02:03:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FEB7106564A for ; Mon, 1 Dec 2008 02:03:30 +0000 (UTC) (envelope-from numardbsd@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by mx1.freebsd.org (Postfix) with ESMTP id 273DC8FC36 for ; Mon, 1 Dec 2008 02:03:30 +0000 (UTC) (envelope-from numardbsd@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so2453438wfg.7 for ; Sun, 30 Nov 2008 18:03:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:face:mime-version :content-type:content-transfer-encoding; bh=rYrQ6GRd+oMT60oQMq/Fl7AkNkuuIRm179E3aTpbTro=; b=YD18NeJHws/60u5ZbtLib1S385GKz+Ey5daGYkli1UsORbCIIo+8W0DB2yzGAnXeT1 J2CvdhNPtFsB1HJtRHJDBEdnXIb9sFz6i1Qy1U6eyxEYAcCVAuARp4Lq8gQbuO7TsBAW pQvG8LJnktQXq1oGF13eXcokji/8cVixeKhfk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :face:mime-version:content-type:content-transfer-encoding; b=sCKfJhVvgD8Jn0RD3cDFKV9aIpt60WvK4Lw8KpMPBRKZRZB3FIzTAqfebJS4ALkig5 /9RFgGde7qcc5Cn+H87kdmUwg5a6G5DnY/UHZri25yb9K+aN1vMOUM62RAOKkRONjCzi Q+ftPEzItD2xXdvkI37A1BzG7Quo8fCRfIIdI= Received: by 10.142.78.8 with SMTP id a8mr4295557wfb.348.1228097009694; Sun, 30 Nov 2008 18:03:29 -0800 (PST) Received: from ayiin (124-170-24-179.dyn.iinet.net.au [124.170.24.179]) by mx.google.com with ESMTPS id 27sm4871707wff.31.2008.11.30.18.03.25 (version=SSLv3 cipher=RC4-MD5); Sun, 30 Nov 2008 18:03:28 -0800 (PST) Date: Mon, 1 Dec 2008 13:03:05 +1100 From: Norberto Meijome To: freebsd-questions@freebsd.org Message-ID: <20081201130305.0424216c@ayiin> In-Reply-To: <492F9032.6060906@a1poweruser.com> References: <492E60A8.6080105@a1poweruser.com> <27ade5280811270927o1aa1bdeem320ffba24e70814d@mail.gmail.com> <492F9032.6060906@a1poweruser.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.1) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: pf or ipf rules to allow p2p Limewire through 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, 01 Dec 2008 02:03:30 -0000 On Fri, 28 Nov 2008 14:31:14 +0800 Fbsd1 wrote: > I think you are missing the fact that limewire does not use dedicated > port numbers. Every session uses different port numbers and the remote > computers come in on different hight port numbers. Limewire starts off > with a proto igmp multicast packet to the limewire master server where > all the other users online computers are listed. Hi there, not totally true, it's quite easy. You can configure your client to listen on 1 specific port, disable UPNP, and tell it to advertise itself on the same port number . Then punch a hole from your firewall device straight to your client on that port (both tcp + udp) and you'll be connected QUITE well that way. you may not make it to ultrapeer in every run, but you just may after a while ;). B _________________________ {Beto|Norberto|Numard} Meijome Quantum Logic Chicken: The chicken is distributed probabalistically on all sides of the road until you observe it on the side of your course. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 02:04:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E08B106567B for ; Mon, 1 Dec 2008 02:04:06 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from smtprelay.b.hostedemail.com (smtprelay0080.b.hostedemail.com [64.98.42.80]) by mx1.freebsd.org (Postfix) with ESMTP id B9DDE8FC26 for ; Mon, 1 Dec 2008 02:04:05 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from filter.hostedemail.com (b-bigip1 [10.5.19.254]) by smtprelay02.b.hostedemail.com (Postfix) with SMTP id F209238A6B5C for ; Mon, 1 Dec 2008 02:04:03 +0000 (UTC) X-SpamScore: 1 X-Spam-Summary: 2, 0, 0, f1de0b0fe1d55a79, 944facfeb153b4f0, eagletree@hughes.net, freebsd-questions@freebsd.org, RULES_HIT:152:355:379:541:564:599:601:945:946:960:966:967:968: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:2198:2199:2200:2234:2393:2525:2553:2559:2563:2682:2685:2827:2857:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3027:3355:3636:3740:3865:3866:3867:3868:3869:3870:3871:3872:3873:3874:3876:3877:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4385:4860:5007:6114:6117:6119:6120:7652:7679:7901:7903:8501:8603:9010:9025:9388:9391, 0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:, MSBL:none, DNSBL:none Received: from [192.168.0.3] (dpc6744118153.direcpc.com [67.44.118.153]) (Authenticated sender: eagletree@hughes.net) by omf09.b.hostedemail.com (Postfix) with ESMTP for ; Mon, 1 Dec 2008 02:03:58 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v753) In-Reply-To: References: Content-Type: text/plain; charset=UTF-8; delsp=yes; format=flowed Message-Id: <7A98FEF9-AA2E-4860-A1BD-A15BD9CACA34@hughes.net> Content-Transfer-Encoding: quoted-printable From: Chris Date: Sun, 30 Nov 2008 18:03:49 -0800 To: FreeBSD-Questions Questions X-Mailer: Apple Mail (2.753) X-session-marker: 6561676C6574726565406875676865732E6E6574 Subject: Re: Pasting via ssh causes data loss 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, 01 Dec 2008 02:04:06 -0000 On Nov 30, 2008, at 2:20 PM, Eugene Pimenov wrote: > > > On 30 =D0=BD=D0=BE=D1=8F=D0=B1, 23:20, Ivan Voras = wrote: >> >> I regularly do copy-pastes of textual data of that size (and =20 >> larger) in >> interactive sessions (with text editors) without problems, between >> FreeBSD machines and from Linux to FreeBSD machines. Are you sure =20 >> it's >> not a problem with your terminal application and not on the server =20= >> side? >> (try a different terminal). > > Tried a different terminal. iTerm to be exact. The same problem, the > same number of bytes. > I was curious about your situation and set up a couple of tests. Noting you mentioned iTerm, I thought I might be able to recreate it on a Mac (OS-X 10.4 with 1.4.3 (100) version Terminal, I had removed iTerm due to unreliability sometime back). I copied a 23094 byte program I was working on locally in MacVIM. I =20 first did a cat >testfile then pasted through an ssh terminal.app connection =20 over satellite (very bad connection) into a FreeBSD 7.0 box I built in the last month. At the far end it received 23094 bytes. sftp of the file to the remote and diff showed no differences. I then opened an ssh session to a FreeBSD =20= server on my local lan and repeated with the same results. No problems. The problem does not appear to be obvious or common so there must be =20 something unique about how this situation if you have reproduced it on two different terminal programs using ssh that would work correctly to other servers using the same shell and collection method (e.g. cat >blah). Something missing here. Have you checked if you have errors shown on the interface of the server? Are there losses if you =20 sftp the files from your machine to the remote (Try pushing a 1.5 MB file and see if that shows failures). Did you install something other than the =20= default OpenSSH on the server? Do the text files have something other than text in them or even control sequences for the remote? Just taking =20 potshots here. A somewhat side note here, I would personally never think to move =20 files this way since it's quite possible that content of files can disrupt the =20 stream. I tend to use sftp. > A friend of mine tried from gentoo linux on his laptop (he'is using > yakukake (terminal)), and reproduced the same issue, but different > amount of bytes (3221 for the server that receives 5181 from me). > > Is there some stupid sysctl setting? or something like that? I'm so > tired of pasting into a linux box and wget from it into a freebsd box. > >> >> signature.asc >> < 1K=D0=B1=D0=9F=D1=80=D0=BE=D1=81=D0=BC=D0=BE=D1=82=D1=80=D0=B5=D1=82=D1= =8C=D0=97=D0=B0=D0=B3=D1=80=D1=83=D0=B7=D0=B8=D1=82=D1=8C > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-=20 > unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 02:06:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61924106564A for ; Mon, 1 Dec 2008 02:06:29 +0000 (UTC) (envelope-from numardbsd@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.172]) by mx1.freebsd.org (Postfix) with ESMTP id 23C808FC1B for ; Mon, 1 Dec 2008 02:06:29 +0000 (UTC) (envelope-from numardbsd@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so2454612wfg.7 for ; Sun, 30 Nov 2008 18:06:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:face:mime-version :content-type:content-transfer-encoding; bh=OmUYdotOzy8EBlEyvUoEDpyPBOSMGqaRDVLkeo8j8+I=; b=lVTIZFIvKS/QEEIyTZCDi3XENPCTr+H6ZJ2P8Lo+v94HQKLcWXlV4Vxmzb+0BEos6R nzOQWALbezYIqf4SzHsRRaFIAQczlq2gdNB8jDUguT898enrhYkDGxouYzj5rwqOV/7Q acc0vt8kX8yOCgfFAUlFZuX5xt86XTpNYWeRc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :face:mime-version:content-type:content-transfer-encoding; b=tSdi1Lgmr0FC0lY2Zd9zlzToFJ2FhLMwCLbbGw0UX4CJwPRNX0RMc3kgqy4VUzD1zu T3FgbXMrmVLp4MMjb5lxN9WdJaYFHzJ5SPLUslsnOjBXSVvYIiXyFkcsEvbWnAwDAEKs JqH9NX60wpSUTYq1MEn9D1OxaH7KvmgOXLd28= Received: by 10.142.214.11 with SMTP id m11mr4322312wfg.57.1228097188513; Sun, 30 Nov 2008 18:06:28 -0800 (PST) Received: from ayiin (124-170-24-179.dyn.iinet.net.au [124.170.24.179]) by mx.google.com with ESMTPS id 27sm4874062wff.31.2008.11.30.18.06.24 (version=SSLv3 cipher=RC4-MD5); Sun, 30 Nov 2008 18:06:26 -0800 (PST) Date: Mon, 1 Dec 2008 13:06:13 +1100 From: Norberto Meijome To: freebsd-questions@freebsd.org Message-ID: <20081201130613.2511028b@ayiin> In-Reply-To: <20081127120731.P1759@wojtek.tensor.gdynia.pl> References: <492D51CB.9000201@a1poweruser.com> <20081126081306.17qwm4xcthtwcgw0o@intranet.casasponti.net> <20081126174157.C66781@wojtek.tensor.gdynia.pl> <20081126194804.26273396.dick@nagual.nl> <492DEC60.9070105@a1poweruser.com> <27ade5280811262230x319bff2ajc65b8df771c9143f@mail.gmail.com> <20081127120731.P1759@wojtek.tensor.gdynia.pl> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.1) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: firewall rules for bitlord, yahoo, limewire 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, 01 Dec 2008 02:06:29 -0000 On Thu, 27 Nov 2008 12:07:50 +0100 (CET) Wojciech Puchar wrote: > > Yeah. Limewire is written in Java (iirc), which makes it extremely > > easy to port it to any system that can run java. > > for P2P sharing rtorrent (/usr/ports/net-p2p/rtorrent) works excellent if you only want BT ... didn't know rtorrent supported gnutella... _________________________ {Beto|Norberto|Numard} Meijome "I abhor a system designed for the 'user', if that word is a coded pejorative meaning 'stupid and unsophisticated'. Ken Thompson I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 02:07:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 559231065675 for ; Mon, 1 Dec 2008 02:07:28 +0000 (UTC) (envelope-from numardbsd@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by mx1.freebsd.org (Postfix) with ESMTP id 185E38FC19 for ; Mon, 1 Dec 2008 02:07:27 +0000 (UTC) (envelope-from numardbsd@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so2454994wfg.7 for ; Sun, 30 Nov 2008 18:07:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:face:mime-version :content-type:content-transfer-encoding; bh=cAQcQWO0KOsldE1sShhT6/eVUc4ldsyDNx59KbT99Uo=; b=TzuqDJMIZ30EStGqP/mGpWV9wj0ybo1UC/mbcgTly+nx6A76PQxPrGeKybq6CALlYW yvKNd5kf/OXcH1vZ75rXTeE5ieF9mohuh8VEADEwkth4r/6JKGdf5FpbChhLtzL2JOcM mo82LH1NZhG/X8g8fhfJ9TbM0FPWMwos+pAao= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :face:mime-version:content-type:content-transfer-encoding; b=tOWc8Yi7Ez/tDEevxV15OJxxlCq0ehL6RWBtDLCv+QLFzrgwwGLbUCLkCvaCyzR2VH Mhswa6bc+dCFKL4uivFOGLm8AU+YkgbZ1A5NjtxP+T6k8r/6xzQFnrtJgrmm+rti4JmX bW2AK4WDzSLa/L8QTNJ4ZoYXIyvoK9kekTPy4= Received: by 10.143.30.10 with SMTP id h10mr4306300wfj.179.1228097247727; Sun, 30 Nov 2008 18:07:27 -0800 (PST) Received: from ayiin (124-170-24-179.dyn.iinet.net.au [124.170.24.179]) by mx.google.com with ESMTPS id 22sm6397603wfg.50.2008.11.30.18.07.21 (version=SSLv3 cipher=RC4-MD5); Sun, 30 Nov 2008 18:07:26 -0800 (PST) Date: Mon, 1 Dec 2008 13:07:08 +1100 From: Norberto Meijome To: freebsd-questions@freebsd.org Message-ID: <20081201130708.1ed72873@ayiin> In-Reply-To: References: <492D51CB.9000201@a1poweruser.com> <20081126081306.17qwm4xcthtwcgw0o@intranet.casasponti.net> <20081126174157.C66781@wojtek.tensor.gdynia.pl> <20081126194804.26273396.dick@nagual.nl> <492DEC60.9070105@a1poweruser.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.1) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: firewall rules for bitlord, yahoo, limewire 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, 01 Dec 2008 02:07:28 -0000 On Wed, 26 Nov 2008 23:25:21 -0600 "Andrew Gould" wrote: > The Limewire website says it has versions for Windows, Mac OS X, Linux and > others, including OS/2 and Solaris. furthermore, you can just download the source and make it run from within Eclipse (with some tweaks regarding to the GUI toolkit...) B _________________________ {Beto|Norberto|Numard} Meijome "Ugly programs are like ugly suspension bridges: they're much more liable to collapse than pretty ones, because the way humans (especially engineer-humans) perceive beauty is intimately related to our ability to process and understand complexity. A language that makes it hard to write elegant code makes it hard to write good code." Eric Raymond I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 02:26:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEDAB1065672 for ; Mon, 1 Dec 2008 02:26:01 +0000 (UTC) (envelope-from juan.pablo.roig@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by mx1.freebsd.org (Postfix) with ESMTP id B63988FC1A for ; Mon, 1 Dec 2008 02:26:01 +0000 (UTC) (envelope-from juan.pablo.roig@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so2462278wfg.7 for ; Sun, 30 Nov 2008 18:26:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=i+rm3PGQug+nQ8jjeZugnkqI0RoPk2xe1r6LOz6Xt/M=; b=tiA9cwUsT7XOtOSsUEyWziYi2J4FDM7pGHj70RdKnlX1zp4Fd1Q2eWFjca77CsgbNU MSsDX9ZRnKDC36iKR52DMbqjPKyajR2PaWYa+emcgNoU+TgDoWVBr9JgXbbIUflSOUpY suCsuHVHHfTi1W9+lKjHU/e9I9VhDWWWySedA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=cLoQMupNzQ2MB80ud7nto5ajb8kzCdrNtOfkPmYdqlL7yA31a3/KfmB90DZM3EPgGh bvKy/pH57iB2EYFerq/kyi1Q5XQP9VvMtdlbe+th42tAVCeKQd9/ykliEt48xh53YYMT 0uxDERk7jmWZr1SeoA8MutnEptHfU3IWNybnY= Received: by 10.142.147.15 with SMTP id u15mr4292679wfd.317.1228096809511; Sun, 30 Nov 2008 18:00:09 -0800 (PST) Received: by 10.142.170.2 with HTTP; Sun, 30 Nov 2008 18:00:09 -0800 (PST) Message-ID: <5ea9ed1c0811301800k1422e70egccec3916a41ee652@mail.gmail.com> Date: Mon, 1 Dec 2008 00:00:09 -0200 From: "Juan Pablo Roig" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ports mirror 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, 01 Dec 2008 02:26:01 -0000 Hi all: i want trying to make in my lan a mirror of the ports. I have the cvsup mirror , and an rsync of all the ports. But in a client i made a cvsup of the ports list, but then when i make a port it going to get the tar.bz from an external ftp... i have an idea, to nfs mount all the rsynced ports in the client's /usr/ports/distfiles ... but i think there is another way. any ideas? Thanks From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 02:42:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 378EB1065670 for ; Mon, 1 Dec 2008 02:42:08 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from aegis.hamla.org (aegis.hamla.org [206.251.255.39]) by mx1.freebsd.org (Postfix) with ESMTP id 1A6528FC0C for ; Mon, 1 Dec 2008 02:42:07 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (localhost [127.0.0.1]) by aegis.hamla.org (Postfix) with ESMTP id ECBA25C78 for ; Sun, 30 Nov 2008 21:43:33 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tandon.net; h= x-virus-scanned:in-reply-to:content-disposition:content-type :mime-version:references:reply-to:message-id:subject:from:date: received; s=aegis; t=1228099413; bh=1j1zzrYgs/tdfLs/yJjF2vFU/jql ee8IpoxODfZyr2Q=; b=u3dALLmRdnXB0k9c2S48KCrAYLaT5sNR9Ty03qsh6ca4 V5LgYJ9DryiOIolXh05WHBwEi45P/esksKH+MbdTJQBbp9gGibViuo3DeBzmlC8z 0hQtebuXQkdmLuEmGWT5VWU+I9wfRZBuHUGtH2m1WVj2NosAAW6lbTesHWTJiUA= Received: from aegis.hamla.org ([127.0.0.1]) by localhost (aegis.hamla.org [127.0.0.1]) (amavisd-new, port 10027) with LMTP id 5F1pGA+YkA8L for ; Sun, 30 Nov 2008 21:43:33 -0500 (EST) Date: Sun, 30 Nov 2008 21:42:06 -0500 From: Sahil Tandon To: freebsd-questions@freebsd.org Message-ID: <20081201024205.GB52294@shepherd> References: <5ea9ed1c0811301800k1422e70egccec3916a41ee652@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5ea9ed1c0811301800k1422e70egccec3916a41ee652@mail.gmail.com> X-Virus-Scanned: ClamAV version 0.94, clamav-milter version 0.94 on aegis.hamla.org X-Virus-Status: Clean Subject: Re: ports mirror 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, 01 Dec 2008 02:42:08 -0000 Juan Pablo Roig wrote: > i want trying to make in my lan a mirror of the ports. I have the cvsup > mirror , and an rsync of all the ports. But in a client i made a cvsup of > the ports list, but then when i make a port it going to get the tar.bz from > an external ftp... If you want to grab distfiles from a non-default MASTER_SITE when building ports, look into the MASTER_SITE_OVERRIDE variable. Search for it in the Handbook and ports(7). -- Sahil Tandon From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 04:03:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EEB71065676 for ; Mon, 1 Dec 2008 04:03:20 +0000 (UTC) (envelope-from brett@net24.co.nz) Received: from omr2.mail.isx.net.nz (omr2.mail.isx.net.nz [210.5.49.99]) by mx1.freebsd.org (Postfix) with ESMTP id D87298FC1C for ; Mon, 1 Dec 2008 04:03:19 +0000 (UTC) (envelope-from brett@net24.co.nz) Received: from 210.55.30.56 (EHLO _127.0.0.1_) ([210.55.30.56]) by omr2.mail.isx.net.nz (MOS 3.8.3-GA FastPath queued) with ESMTP id AAR84640 (AUTH brett@net24.co.nz); Mon, 01 Dec 2008 16:52:12 +1300 (NZDT) Message-ID: <49335F6C.3060802@net24.co.nz> Date: Mon, 01 Dec 2008 16:52:12 +1300 From: Brett Davidson Organization: Net24 Limited User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Is there anything weird I should know about using ipfw on alias addresses? 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, 01 Dec 2008 04:03:20 -0000 ifconfig shows the alias addresses correctly bound. Creating an ipfw rule and testing it from the command line works (connects out from master address, not alias) From website on alias address, the firewall blocks the packets. The weird thing is that it tags them (in the security log) as coming from the master address (not the alias) out the correct interface. In a normal world that would mean the packet would match!!!!! What's goin' on here Willis? From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 05:48:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A87121065670 for ; Mon, 1 Dec 2008 05:48:10 +0000 (UTC) (envelope-from manjunathreddy1@gmail.com) Received: from mail-gx0-f19.google.com (mail-gx0-f19.google.com [209.85.217.19]) by mx1.freebsd.org (Postfix) with ESMTP id 5626B8FC1B for ; Mon, 1 Dec 2008 05:48:10 +0000 (UTC) (envelope-from manjunathreddy1@gmail.com) Received: by gxk12 with SMTP id 12so1059333gxk.19 for ; Sun, 30 Nov 2008 21:48:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=rKsoHJNyYnwT0SzmiRncettLO+Cy2OnKtE/NGwRXZzg=; b=YWP+T81D+6jM4Fp3jmAqsSzYN1xB8N2dGTnziEbPT7RFZ1cavlqXMv/zXJ/if6FaEb 3n6v3+sY6B0HqOOAUwJOsAfap3Vueqa9hDjxbQucuIiVpzeEzEthu0QtCrmxTmRbFM/z +jsUtsTINWHF4KKaZhJQuIfnaz5OZFzAO3m8Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=w7nzAy0L7vbnC29ayEWT/XWo/5ClLeAygjpErxV3CvBUiwFj6aEIhMg00fIliQ6yv8 GeglfhCAWJKYfRBsBaBJScPBzYCrKJIgp5T3dowCKG1ZlRtO4Jz4EyqVU/Jtmml2qNJ7 1hEAf8yEfytwqy387YGS54A5su4kBxV6EIuQ8= Received: by 10.65.44.11 with SMTP id w11mr11183579qbj.58.1228108956594; Sun, 30 Nov 2008 21:22:36 -0800 (PST) Received: by 10.65.239.7 with HTTP; Sun, 30 Nov 2008 21:22:36 -0800 (PST) Message-ID: <904021480811302122s7570bb81vb2a399f911cc66bc@mail.gmail.com> Date: Sun, 30 Nov 2008 21:22:36 -0800 From: "manjunath reddy" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: doubt about contribution 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, 01 Dec 2008 05:48:10 -0000 derar sir , I have downloaded freebsd code and I have made some modifications to it. But now feeling difficulty in sending that code to cvs. can u please give me the instructions to upload code to CVS archieve. I am also intrested in knowing the development process of freebsd, can u please give more information about it. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 06:11:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B158E106564A for ; Mon, 1 Dec 2008 06:11:35 +0000 (UTC) (envelope-from stupendoussteve@hotmail.com) Received: from bay0-omc1-s35.bay0.hotmail.com (bay0-omc1-s35.bay0.hotmail.com [65.54.246.107]) by mx1.freebsd.org (Postfix) with ESMTP id 962478FC13 for ; Mon, 1 Dec 2008 06:11:35 +0000 (UTC) (envelope-from stupendoussteve@hotmail.com) Received: from hotmail.com ([207.46.10.149]) by bay0-omc1-s35.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 30 Nov 2008 22:11:35 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 30 Nov 2008 22:11:35 -0800 Message-ID: Received: from 68.225.143.90 by BAY122-DAV11.phx.gbl with DAV; Mon, 01 Dec 2008 06:11:30 +0000 X-Originating-IP: [68.225.143.90] X-Originating-Email: [stupendoussteve@hotmail.com] X-Sender: stupendoussteve@hotmail.com Message-ID: <4933800E.8030303@hotmail.com> Date: Mon, 01 Dec 2008 00:11:26 -0600 From: Steven Susbauer User-Agent: Thunderbird 2.0.0.18 (X11/20081122) MIME-Version: 1.0 To: manjunath reddy References: <904021480811302122s7570bb81vb2a399f911cc66bc@mail.gmail.com> In-Reply-To: <904021480811302122s7570bb81vb2a399f911cc66bc@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig45FB11C70F32553B7321BB7E" X-OriginalArrivalTime: 01 Dec 2008 06:11:35.0567 (UTC) FILETIME=[AA0A89F0:01C9537B] Cc: freebsd-questions@freebsd.org Subject: Re: doubt about contribution 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, 01 Dec 2008 06:11:35 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig45FB11C70F32553B7321BB7E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable manjunath reddy wrote: > derar sir , > I have downloaded freebsd code and I have made some > modifications to it. But now feeling difficulty in sending that code to= cvs. >=20 > can u please give me the instructions to upload code to = CVS > archieve. >=20 > I am also intrested in knowing the development process o= f > freebsd, can u please give more information about it. > _______________________________________________ > 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 >=20 Only a few people have commit access to the tree, things go through them.= For a general overview of how to contribute read through http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/index.ht= ml --------------enig45FB11C70F32553B7321BB7E 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.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkkzgBEACgkQ2i3YYzbDt0/0mQCgvT3qrRAdf8lQMLBJUEp5TFQ1 1d0AoLg35bWCjpgx8lEsN0IC64Ere7Tt =+uTE -----END PGP SIGNATURE----- --------------enig45FB11C70F32553B7321BB7E-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 06:11:37 2008 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 3B2271065673 for ; Mon, 1 Dec 2008 06:11:37 +0000 (UTC) (envelope-from bryant.eadon@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id E1E4B8FC16 for ; Mon, 1 Dec 2008 06:11:36 +0000 (UTC) (envelope-from bryant.eadon@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so889084yxb.13 for ; Sun, 30 Nov 2008 22:11:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=fBqlza5+6rY0b8fUwuCaH6xncM1nkif/MxnBtAR8Rxw=; b=vJQgJ4P3ODedaM/dPrR/Pxe0ufP/NdRPukhlc2MaZInbiH0IzLH2LM+Xti9sTuSzAI Wz+6d4Ocs9xralT34GcEpR5VN+PLk+sYU6/dKZ/DBhby3V4FPZ1fWZ9LQKyqXqBxyU8y vFfNRXbf2Qx7HQgOmyAsdgQWj9iNJXoFzpImU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=mBHqk38uIcOdY1Bj9K9rdJ9JbSbvZNItGylbPxSz9eGYYKBMhaI2F7MN6kQUM9/ql1 Pf+eA5JYKqhEnEq4cU4dOO9OXcXOSUo2fpjZ97QUEYu7mbd06qv4tLKdWgoDB0CKqehu /lSxF5uibeGopZd8SHbu1KGqlPalvXFBUIt8g= Received: by 10.150.137.12 with SMTP id k12mr21117644ybd.27.1228110221109; Sun, 30 Nov 2008 21:43:41 -0800 (PST) Received: from ?192.168.1.4? (itsf207.itsnpt.com [64.119.85.207]) by mx.google.com with ESMTPS id i27sm7758194elf.14.2008.11.30.21.43.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 30 Nov 2008 21:43:40 -0800 (PST) Message-ID: <4933798A.5040907@gmail.com> Date: Mon, 01 Dec 2008 00:43:38 -0500 From: Bryant Eadon User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Harry Veltman References: <001301c951e4$e0b93fc0$f75afb48@harryveltman> In-Reply-To: <001301c951e4$e0b93fc0$f75afb48@harryveltman> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@FreeBSD.org Subject: Re: Purchase of FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bryant.eadon@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2008 06:11:37 -0000 Harry Veltman wrote: > Where can I buy it on CD, and how do I know if it is compatible with my hardware? > _______________________________________________ Harry, This may be an obvious statement, but this can be downloaded (an ISO image is an exact copy of a CD or DVD -- http://en.wikipedia.org/wiki/ISO_image ). But, if you're on a modem, this download could take a week or more. :-/ Maybe a local library, school or Internet Cafe would have a faster connection and/or CD writer for you to use ? where / how: http://www.freebsd.org/where.html supported Hardware : http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-hardware.html Thanks, Bryant From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 06:33:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4C53106564A for ; Mon, 1 Dec 2008 06:33:12 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id A80B28FC14 for ; Mon, 1 Dec 2008 06:33:12 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 08E0DAFC1C6; Sun, 30 Nov 2008 21:33:11 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Mon, 1 Dec 2008 06:31:34 +0100 User-Agent: KMail/1.9.7 References: <200811301736.30079.fbsd.questions@rachie.is-a-geek.net> <8392DE41-4800-4CE9-A078-C1921FADDD9A@gmail.com> In-Reply-To: <8392DE41-4800-4CE9-A078-C1921FADDD9A@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200812010631.35147.fbsd.questions@rachie.is-a-geek.net> Cc: Eugene Pimenov Subject: Re: Pasting via ssh causes data loss 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, 01 Dec 2008 06:33:12 -0000 On Sunday 30 November 2008 17:53:21 Eugene Pimenov wrote: > 30.11.2008, =D7 19:36, Mel =CE=C1=D0=C9=D3=C1=CC(=C1): > > On Sunday 30 November 2008 06:46:59 Eugene Pimenov wrote: > > > > Not sure, but can you copy files via cat? As in: > > cat /tmp/foo | ssh machine "cat - >/tmp/foo" > > > > If that isn't truncated, I can only think of clipboard limitations > > or tty > > issues. > > No, it's not truncated. All of 6060 bytes are copied. > > What kind of tty issues/clipboard limitations might it be? *If* it's a tty issue, should be reproducable with telnet. If it's not, the= n I=20 suggest logging in with ssh -v and see if anything weird comes up. The oddball out of the box answer would be that some character gets transla= ted=20 as EOF from linux to bsd by the term settings, but it's a stretch. =2D-=20 Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 06:36:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85BFE106564A for ; Mon, 1 Dec 2008 06:36:51 +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 0A57C8FC14 for ; Mon, 1 Dec 2008 06:36:50 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) 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 mB16ahMU095361; Mon, 1 Dec 2008 06:36:44 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk mB16ahMU095361 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1228113404; bh=RgCmYsMDtTuZNY fk6MKT6AI8YskeEhUWuJ6YEszO/vw=; 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=Mes sage-ID:=20<493385F4.6010809@infracaninophile.co.uk>|Date:=20Mon,=2 001=20Dec=202008=2006:36:36=20+0000|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.18=20(X11/20081125)|MIME-Version:=201 .0|To:=20Drew=20Tomlinson=20|CC:=20FreeBSD =20Questions=20|Subject:=20Re:=20Reg ular=20Expression=20Help|References:=20<4932CA0D.8080109@mykitchent able.net>=20<4932D91F.5040804@infracaninophile.co.uk>=20<4932E8A2.6 030804@mykitchentable.net>|In-Reply-To:=20<4932E8A2.6030804@mykitch entable.net>|X-Enigmail-Version:=200.95.6|Content-Type:=20multipart /signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application /pgp-signature"=3B=0D=0A=20boundary=3D"------------enigE77D70B09862 C5E486412140"; b=fPhIJdhFweCRld20w+AtMnZb6oIQlyojmiIciz3AhsqbcasfMc JfZJGV7/Sb5tuugIyHGSZMmvz0ZQ3SKTPFyfxuX2JVZ26+0cVDbedsgK5tJ4jM4Mg37 pahgrvn8jVLzXR+r980WDJp9Tx1U9amsTwfM9MXffaBZfRV+ok3KGs= Message-ID: <493385F4.6010809@infracaninophile.co.uk> Date: Mon, 01 Dec 2008 06:36:36 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: Drew Tomlinson References: <4932CA0D.8080109@mykitchentable.net> <4932D91F.5040804@infracaninophile.co.uk> <4932E8A2.6030804@mykitchentable.net> In-Reply-To: <4932E8A2.6030804@mykitchentable.net> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigE77D70B09862C5E486412140" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (smtp.infracaninophile.co.uk [IPv6:::1]); Mon, 01 Dec 2008 06:36:44 +0000 (GMT) X-Virus-Scanned: ClamAV 0.94.2/8698/Sun Nov 30 15:09:19 2008 on 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 Subject: Re: Regular Expression Help 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, 01 Dec 2008 06:36:51 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE77D70B09862C5E486412140 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Drew Tomlinson wrote: > Matthew Seaman wrote: >> % perl -p -e 's/cn=3D([^ ,]+) ([^,]+),/cn=3D$2 $1,/' < foo.txt=20 > I still don't really understand *why* the above works but I'm trying to= =20 > pick it apart now. The RE breaks down like this: /cn=3D([^ ,]+) ([^,]+),/ cn=3D Match literal text 'cn=3D' ( capture #1 begin [^ ,] Character class: anything that is not space or c= omma + At least one of the above ) end capture #1 Match a literal space ( capture #2 begin [^,] Character class: anything that is not a comma + At least one of the above ) end capture #2 , Match literal comma 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 --------------enigE77D70B09862C5E486412140 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.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkkzhfsACgkQ8Mjk52CukIxGvwCgkVhmWcapYq6lVOxbuJdhtYDd vHcAn1zUhhXsVkOt9kmDtbJjRXIsDCc3 =L8PS -----END PGP SIGNATURE----- --------------enigE77D70B09862C5E486412140-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 06:56:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63D751065672 for ; Mon, 1 Dec 2008 06:56:30 +0000 (UTC) (envelope-from vishnux@toray.com.my) Received: from grp-smtp.toray.com.my (grp-smtp.toray.com.my [202.186.44.7]) by mx1.freebsd.org (Postfix) with ESMTP id 0D5138FC0A for ; Mon, 1 Dec 2008 06:56:30 +0000 (UTC) (envelope-from vishnux@toray.com.my) Received: from localhost (localhost.toray.com.my [127.0.0.1]) by grp-smtp.toray.com.my (Postfix) with ESMTP id C0F365094F for ; Mon, 1 Dec 2008 14:37:57 +0800 (MYT) X-Virus-Scanned: amavisd-new at toray.com.my Received: from grp-smtp.toray.com.my ([127.0.0.1]) by localhost (grp-smtp.toray.com.my [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jArtEnYnmjXj for ; Mon, 1 Dec 2008 14:37:56 +0800 (MYT) Received: from notes01.toray.com.my (notes01.toray.com.my [10.200.1.1]) by grp-smtp.toray.com.my (Postfix) with ESMTP id 9423C509A0 for ; Mon, 1 Dec 2008 14:36:45 +0800 (MYT) From: vishnux@toray.com.my To: freebsd-questions@freebsd.org Message-ID: Date: Mon, 1 Dec 2008 14:31:04 +0800 X-MIMETrack: Serialize by Router on Notes01/Pen-Group(Release 6.5.1|January 21, 2004) at 12/01/2008 02:36:46 PM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Subject: Vishnu is out of the office. 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, 01 Dec 2008 06:56:30 -0000 I will be out of the office starting 12/01/2008 and will not return until 12/12/2008. Please contact helpdesk directly for urgent matters at 043854184. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 07:29:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A7091065675 for ; Mon, 1 Dec 2008 07:29:14 +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 176678FC13 for ; Mon, 1 Dec 2008 07:29:12 +0000 (UTC) (envelope-from on@cs.ait.ac.th) 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 mB17RsRJ066022 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 1 Dec 2008 14:27:54 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.2/8.12.11) id mB17T8n2055195; Mon, 1 Dec 2008 14:29:08 +0700 (ICT) Date: Mon, 1 Dec 2008 14:29:08 +0700 (ICT) Message-Id: <200812010729.mB17T8n2055195@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org In-reply-to: <493385F4.6010809@infracaninophile.co.uk> (message from Matthew Seaman on Mon, 01 Dec 2008 06:36:36 +0000) References: <4932CA0D.8080109@mykitchentable.net> <4932D91F.5040804@infracaninophile.co.uk> <4932E8A2.6030804@mykitchentable.net> <493385F4.6010809@infracaninophile.co.uk> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Subject: Re: Regular Expression Help 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, 01 Dec 2008 07:29:14 -0000 Hi, > I still don't really understand *why* the above works but I'm trying > to pick it apart now. Whenever I have a doubt about regular expression, I use the regexp coach. It works on Windows, but I find it a very intelligent and usefull tool. http://weitz.de/regex-coach/ Best regards, Olivier From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 08:03:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47A5F106567A for ; Mon, 1 Dec 2008 08:03:56 +0000 (UTC) (envelope-from veltman@intergate.com) Received: from mail02.mx.maxen.net (mail02.mx.maxen.net [216.139.86.2]) by mx1.freebsd.org (Postfix) with ESMTP id 1A3A78FC0A for ; Mon, 1 Dec 2008 08:03:55 +0000 (UTC) (envelope-from veltman@intergate.com) Received: from smtp9.trip.net (smtp9.trip.net [216.139.64.9]) by mail02.mx.maxen.net (8.14.2/8.14.2) with ESMTP id mB17p56t005620 for ; Mon, 1 Dec 2008 01:51:05 -0600 (CST) Received: from harryveltman (node0.91.251.72.1dial.com [72.251.91.0]) (authenticated bits=0) by smtp9.trip.net (8.14.1/8.14.1) with ESMTP id mB17okws036053 for ; Mon, 1 Dec 2008 01:50:47 -0600 (CST) Message-ID: <002701c9538a$10ff0330$005bfb48@harryveltman> From: "Harry Veltman" To: Date: Sun, 30 Nov 2008 23:54:38 -0800 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Scanned-By: MIMEDefang 2.56 on 216.139.64.8 X-Virus-Scanned: ClamAV devel-20080904-exp/8698/Sun Nov 30 09:09:19 2008 on mail02.mx.maxen.net X-Virus-Status: Clean Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Which FreeBSD is best for my PC? 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, 01 Dec 2008 08:03:56 -0000 Which version and GUI will work best on the internet with my AT Pentium = II 350MHz x86-based PC? Some web sites require Flash Player 8 or = higher, and some require 128-bit encryption I think, but doesn't 40-bit = encryption process data 3 times faster? How many bit encryption is the = various versions of FreeBSD? Thanks. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 09:06:55 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F10321065672 for ; Mon, 1 Dec 2008 09:06:55 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.freebsd.org (Postfix) with ESMTP id 7BF1E8FC1D for ; Mon, 1 Dec 2008 09:06:55 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so1234402nfh.33 for ; Mon, 01 Dec 2008 01:06:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=QGhfn7roDOyoMkaVliznN0D2UxZVFWmZsxGs5J0gbE0=; b=jLpKG6/hCMMKf1UV2wPDFVckRGJtmF6PTTB3yC/pzT5dor5Bb3RoNetj/XpdphzNsE /39D2JLxWXDlbEDaJVVOW746XxkXM7Kq1MRjcklQ+TITAcGHL3Rzt5A03mgCQrPTTGMP 0KgdAu786c7HMUUp1xDQAqHQI1DfC8nTHq2Mc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=AoOKgUajvxTAg8IyyEMa4Mi0aS552fKsoF91uQktmQj9fB/0RgkVsCHJNBSWjiRFi7 x0pkxsXsCesmLrVQH/XtPeBZ6M6dvDqAEC7Vn5X4UqdCBAcKPeDoVzdLSG2F1vHdoafO W8wB+Fdmi5xfJvX6DbyOVduLcJPeopTmqxczc= Received: by 10.210.66.1 with SMTP id o1mr12270373eba.193.1228122414192; Mon, 01 Dec 2008 01:06:54 -0800 (PST) Received: by 10.210.117.7 with HTTP; Mon, 1 Dec 2008 01:06:54 -0800 (PST) Message-ID: <139b44430812010106n78ba2e05r5cbffd36adde8311@mail.gmail.com> Date: Mon, 1 Dec 2008 11:06:54 +0200 From: "Valentin Bud" To: "Wojciech Puchar" In-Reply-To: <20081201013409.Y4805@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081128194531.7B17FB7C5@kev.msw.wpafb.af.mil> <20081128212753.D6715@wojtek.tensor.gdynia.pl> <20081128215528.35F4BB7C5@kev.msw.wpafb.af.mil> <139b44430811300753o780763c8xf9b4821a837443a1@mail.gmail.com> <20081201013409.Y4805@wojtek.tensor.gdynia.pl> Cc: vogelke+software@pobox.com, freebsd-questions@freebsd.org Subject: Re: 5 TB server 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, 01 Dec 2008 09:06:56 -0000 On Mon, Dec 1, 2008 at 2:34 AM, Wojciech Puchar wrote: >> This is one of the main reasons i want to go with ZFS. Another would be >> the >> filesystem level compression of the data. I have noticed that 3dmax >> files (one of >> the programs the company works with) are very "compressable" (from 50 >> Mb to ~ 7Mb). > > will it be majority of data??? About 40% of it. 50% adobe *.psd and the other 10% all sort of data. a great day, v > From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 09:07:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A047C1065672 for ; Mon, 1 Dec 2008 09:07:54 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 98EE08FC27 for ; Mon, 1 Dec 2008 09:07:52 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id mB197iCd007443; Mon, 1 Dec 2008 10:07:44 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id mB197iVX007440; Mon, 1 Dec 2008 10:07:44 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 1 Dec 2008 10:07:44 +0100 (CET) From: Wojciech Puchar To: Valentin Bud In-Reply-To: <139b44430812010106n78ba2e05r5cbffd36adde8311@mail.gmail.com> Message-ID: <20081201100726.Q7435@wojtek.tensor.gdynia.pl> References: <20081128194531.7B17FB7C5@kev.msw.wpafb.af.mil> <20081128212753.D6715@wojtek.tensor.gdynia.pl> <20081128215528.35F4BB7C5@kev.msw.wpafb.af.mil> <139b44430811300753o780763c8xf9b4821a837443a1@mail.gmail.com> <20081201013409.Y4805@wojtek.tensor.gdynia.pl> <139b44430812010106n78ba2e05r5cbffd36adde8311@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: vogelke+software@pobox.com, freebsd-questions@freebsd.org Subject: Re: 5 TB server 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, 01 Dec 2008 09:07:54 -0000 >>> Mb to ~ 7Mb). >> >> will it be majority of data??? > > About 40% of it. 50% adobe *.psd and the other 10% all sort of data. so make sense. but make sure you do regular backups. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 09:21:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70BD51065675 for ; Mon, 1 Dec 2008 09:21:26 +0000 (UTC) (envelope-from libc.mail@gmail.com) Received: from mail-gx0-f61.google.com (mail-gx0-f61.google.com [209.85.217.61]) by mx1.freebsd.org (Postfix) with ESMTP id 999B68FC2D for ; Mon, 1 Dec 2008 09:21:25 +0000 (UTC) (envelope-from libc.mail@gmail.com) Received: by gxk21 with SMTP id 21so2970561gxk.27 for ; Mon, 01 Dec 2008 01:21:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.151.41.21 with SMTP id t21mr28048ybj.27.1228123284823; Mon, 01 Dec 2008 01:21:24 -0800 (PST) Date: Mon, 1 Dec 2008 01:21:24 -0800 (PST) In-Reply-To: <7A98FEF9-AA2E-4860-A1BD-A15BD9CACA34@hughes.net> X-IP: 83.237.103.45 References: <7A98FEF9-AA2E-4860-A1BD-A15BD9CACA34@hughes.net> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_5; ru-ru) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1, gzip(gfe), gzip(gfe) Message-ID: From: Eugene Pimenov To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Subject: Re: Pasting via ssh causes data loss 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, 01 Dec 2008 09:21:26 -0000 On 1 =C4=C5=CB, 05:03, Chris wrote: > > I was curious about your situation and set up a couple of tests. Noting > you mentioned iTerm, I thought I might be able to recreate it on a Mac > (OS-X 10.4 with 1.4.3 (100) version Terminal, I had removed iTerm due > to unreliability sometime back). I've downloaded iTerm for this test. I'm using Apple's Terminal.app. > > I copied a 23094 byte program I was working on locally in MacVIM. I > first did > a cat >testfile then pasted through an ssh terminal.app connection > over satellite (very > bad connection) into a FreeBSD 7.0 box I built in the last month. At > the far end it received 23094 bytes. sftp of the file to the remote and > diff showed no differences. I then opened an ssh session to a FreeBSD > server > on my local lan and repeated with the same results. No problems. I believe that FreeBSD fetches all data. When I ssh back to my mac from FreeBSD, I recieve all data all the time. TCP should handle errors, so nothing surprising here. > > The problem does not appear to be obvious or common so there must be > something > unique about how this situation if you have reproduced it on two > different terminal programs using ssh that would work correctly to other > servers using the same shell and collection method (e.g. cat >blah). I tried zsh, sh, bash and my program on the freebsd box. > > Something missing here. Have you checked if you have > errors shown on the interface of the server? Are there losses if you > sftp > the files from your machine to the remote (Try pushing a 1.5 MB file and > see if that shows failures). Did you install something other than the > default > OpenSSH on the server? Do the text files have something other than text > in them or even control sequences for the remote? Just taking > potshots here. sftp doesn't lose data. Even cat file | ssh host 'cat >file' doesn't. Only pasting. It's 100% reproducible, I don't think it's some kind of side effect. $ netstat -I bge0 Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll bge0 1500 00:a0:d1:e3:fd:9c 55134708 0 48858321 0 0 (no errors) Terminal sessions: http://pastie.org/327615.txt?key=3Dopkxhrjptnh3lebyn8rjlq http://pastie.org/327617.txt?key=3Dgaznt1zmfi7usps74n2h5w I believe nothing strange was installed on the server... it's a typical freebsd web-server. > > A somewhat side note here, I would personally never think to move > files this > way since it's quite possible that content of files can disrupt the > stream. > I tend to use sftp. > I never do that for binary files. I use sftp either. However, when I need to change some source on a server, I already have an opened text editor with the file and a terminal, in that case cat >file is just quickier. BTW, thank you for your help, guys... From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 09:23:34 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A59651065673 for ; Mon, 1 Dec 2008 09:23:34 +0000 (UTC) (envelope-from theultramage@gmail.com) Received: from mail-gx0-f19.google.com (mail-gx0-f19.google.com [209.85.217.19]) by mx1.freebsd.org (Postfix) with ESMTP id 4C4D38FC14 for ; Mon, 1 Dec 2008 09:23:34 +0000 (UTC) (envelope-from theultramage@gmail.com) Received: by gxk12 with SMTP id 12so1102203gxk.19 for ; Mon, 01 Dec 2008 01:23:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=robZOAzXlqF8VtcZNLTSoxwF1UNmeRWODT3y/YK7x3I=; b=e92bQ+ga8L5+VdSsURWTNXXYEb0BTQgrGi5mkhxYIhA2bIsvfQXKwF41YkWuvlDfyJ JFvFtDdEHO/HfCUvdUbccAa5mx8Yfc+S2KX+3/IN39+8FAmsI9rglMcyQZ45lxUQSPSj gd8G2VxkJMZpvuizz1j946IMhdZlaYjFeBIoY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=Iy/UVzaRPTiZU2iJXc8UE3SAF7bQ7LXCE1pVbgwTeQv6qYLgb2ml67FkTbyTMs1dPF HiAzdBjyOGznqbqCTjwlJXFfaSk2IfCtoEx8FEVy2YLvx6KWEuyh+3Shfyn8HWyUArmv 2RBj/22M9KXL4tSi/opUMe74DBbixCignLPQk= Received: by 10.142.187.8 with SMTP id k8mr4422641wff.261.1228121506037; Mon, 01 Dec 2008 00:51:46 -0800 (PST) Received: by 10.142.231.20 with HTTP; Mon, 1 Dec 2008 00:51:46 -0800 (PST) Message-ID: <890fa77e0812010051p2ab5c7cbv6e960124d699967b@mail.gmail.com> Date: Mon, 1 Dec 2008 09:51:46 +0100 From: "=?UTF-8?Q?Viktor_=C5=A0tujber?=" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: documentation problem for times(3) man page 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, 01 Dec 2008 09:23:34 -0000 Hi. Half a year ago I started the following thread: http://lists.freebsd.org/pipermail/freebsd-questions/2008-April/172448.html. The subject was a documentation issue where a man page mismatched the actual system behavior. The issue is still present in 7.0-RELEASE and probably no action was taken since I submitted the report. I'd like to ask that someone acknowledge the issue and re-open http://www.freebsd.org/cgi/query-pr.cgi?pr=122359. Thank you. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 10:37:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 300CC106564A for ; Mon, 1 Dec 2008 10:37: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 E52FD8FC0C for ; Mon, 1 Dec 2008 10:37:19 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-24-200.dynamic.qsc.de [92.196.24.200]) by mx01.qsc.de (Postfix) with ESMTP id 86A953CA78; Mon, 1 Dec 2008 11:37:05 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mB1Aawrk001515; Mon, 1 Dec 2008 11:36:59 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 1 Dec 2008 11:36:58 +0100 From: Polytropon To: "Harry Veltman" Message-Id: <20081201113658.b0264e2e.freebsd@edvax.de> In-Reply-To: <002701c9538a$10ff0330$005bfb48@harryveltman> References: <002701c9538a$10ff0330$005bfb48@harryveltman> 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: Which FreeBSD is best for my PC? 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, 01 Dec 2008 10:37:20 -0000 On Sun, 30 Nov 2008 23:54:38 -0800, "Harry Veltman" wrote: > Which version and GUI will work best on the internet with my > AT Pentium II 350MHz x86-based PC? Allthough the FreeBSD base system gets better and faster in each version, the additional software and the GUI toolkits that belong to them eat up more and more ressources. Regarding the OS, you're be best off with the newest version of FreeBSD (version 7). This enables you to use the software that is present from the source tree of the ports collection or from the precompiled packages. Regarding GUI, I think you're talking about the window manager or desktop environment. It depends on your individual preferences and what / how / how much you're willing to learn. For example, I use WindowMaker as my window manager, but on slower systems, XFCE 3, Fluxbox, IceWM or even FVWM perform well and can be configured easily and according to your needs and preferences. On a system as you described it initially, you will need to build a system by your own in order to get best performance. When you did it correctly, you'll have an entirely good system - I know it, I have such an "oldie", too. :-) Then you need to choose your software (multimedia players, browser, mail client etc.), what you're going to use. Finally, it's a bit "trial and error", read: You'll have to test by yourself what fits your needs. There's nothing that is intended to fit per se. I can't answer your question regarding "Flash" and encryption; sadly, I never saw any need for this. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 10:53:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88CD81065670 for ; Mon, 1 Dec 2008 10:53:17 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 57F4E8FC0A for ; Mon, 1 Dec 2008 10:53:16 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 15DBAAFC1C6; Mon, 1 Dec 2008 01:53:16 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org, Polytropon Date: Mon, 1 Dec 2008 11:53:11 +0100 User-Agent: KMail/1.9.7 References: <002701c9538a$10ff0330$005bfb48@harryveltman> <20081201113658.b0264e2e.freebsd@edvax.de> In-Reply-To: <20081201113658.b0264e2e.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812011153.12902.fbsd.questions@rachie.is-a-geek.net> Cc: Harry Veltman Subject: Re: Which FreeBSD is best for my PC? 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, 01 Dec 2008 10:53:17 -0000 On Monday 01 December 2008 11:36:58 Polytropon wrote: > I can't answer your question regarding "Flash" and encryption; > sadly, I never saw any need for this. Even if you get the software to work (which is a project in itself), performance will be very very bad. My parents have a similar machine using windows and a flash 8+ that's not just an advertisement takes about a minute to load after downloading and does 8-10 fps if it's a movie. We have a few oldies, just installed KDE 3.5 on a: CPU: VIA Nehemiah (997.17-MHz 686-class CPU) Origin = "CentaurHauls" Id = 0x698 Stepping = 8 That's pretty much as low as I'd go for normal desktop usage. The machine you're describing, still makes for a good router or LAN resolver with low traffic webserving. Backup machine if disks are good. Getting a decent performing desktop on there is as Polytropon said, a project you'd do for fun, not cause you need a desktop. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 11:11:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE7E11065678 for ; Mon, 1 Dec 2008 11:11:23 +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 992E18FC30 for ; Mon, 1 Dec 2008 11:11:23 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-24-200.dynamic.qsc.de [92.196.24.200]) by mx01.qsc.de (Postfix) with ESMTP id 1D9BD3C9CB; Mon, 1 Dec 2008 12:11:14 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mB1BBDeu001611; Mon, 1 De