Re: openssl from ports

2012-03-02 Thread Maxim Khitrov
On Fri, Mar 2, 2012 at 5:00 PM, Randal L. Schwartz mer...@stonehenge.com wrote: I know openssl is in the core, but the version in FreeBSD 8.2 is vulnerable to some recent attacks.  (Hmm, I wonder why there hasn't been an 8.2 update then...) Which attacks are you referring to? I installed

Re: One or Four?

2012-02-17 Thread Maxim Khitrov
On Fri, Feb 17, 2012 at 5:05 PM, Robison, Dave david.robi...@fisglobal.com wrote: Hiya, A question has arisen with the implementation of bsdinstall in 9.x as opposed to sysinstall in 8.x and previous versions of FreeBSD. It has always been FreeBSD's default to create four partitions and swap

Re: Applying local patches after updating FreeBSD source

2012-01-24 Thread Maxim Khitrov
On Mon, Jan 23, 2012 at 2:13 PM, Maxim Khitrov m...@mxcrypt.com wrote: On Mon, Jan 23, 2012 at 1:25 PM, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: On 23/01/2012 18:03, Maxim Khitrov wrote: Hi all, When I need to apply a custom patch to a port, I can set EXTRA_PATCHES make

Applying local patches after updating FreeBSD source

2012-01-23 Thread Maxim Khitrov
Hi all, When I need to apply a custom patch to a port, I can set EXTRA_PATCHES make variable in /usr/local/etc/ports.conf (when using portconf), and the patch will be automatically applied whenever that port is built. Is there equivalent functionality for building FreeBSD world and kernel? When

Re: Applying local patches after updating FreeBSD source

2012-01-23 Thread Maxim Khitrov
On Mon, Jan 23, 2012 at 1:25 PM, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: On 23/01/2012 18:03, Maxim Khitrov wrote: Hi all, When I need to apply a custom patch to a port, I can set EXTRA_PATCHES make variable in /usr/local/etc/ports.conf (when using portconf), and the patch

Re: dot snap folder

2012-01-15 Thread Maxim Khitrov
On Sun, Jan 15, 2012 at 6:40 PM, Jim Pazarena fqu...@paz.bz wrote: Is it permissible to delete the dot snap folder which is created in a filesystem? See dump(8) -L option. Deleting .snap is safe as long you don't need to dump that file system while it is mounted in rw mode. - Max

Unexpected sh behavior with EXIT trap and errexit

2011-12-27 Thread Maxim Khitrov
Can anyone explain this behavior (FreeBSD 9.0-RC3 amd64): Script: #!/bin/sh cleanup() { echo 'first' echo 'second' } fail() { return 42; } trap cleanup EXIT set -o errexit fail Output: first Now comment out 'set -o errexit', replace 'fail' with 'fail || exit'

Re: Unexpected sh behavior with EXIT trap and errexit

2011-12-27 Thread Maxim Khitrov
On Tue, Dec 27, 2011 at 4:36 PM, Devin Teske devin.te...@fisglobal.com wrote: -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of Maxim Khitrov Sent: Tuesday, December 27, 2011 12:25 PM To: FreeBSD Subject

Re: Implementation details of altq hfsc scheduler in pf 4.5

2011-12-15 Thread Maxim Khitrov
On Tue, Dec 13, 2011 at 8:15 AM, RW rwmailli...@googlemail.com wrote: On Mon, 12 Dec 2011 21:51:39 -0500 Maxim Khitrov wrote: I've read everything I could find on the topic of configuring hfsc altq in pf (4.5, FreeBSD 9), but I still have no clear idea of how it is actually implemented. I

Implementation details of altq hfsc scheduler in pf 4.5

2011-12-12 Thread Maxim Khitrov
I've read everything I could find on the topic of configuring hfsc altq in pf (4.5, FreeBSD 9), but I still have no clear idea of how it is actually implemented. I even started looking through the source code, but that might take a while. My main questions are: 1. Difference between 'realtime'

Re: Entropy Key for FreeBSD?

2011-12-11 Thread Maxim Khitrov
On Mon, Nov 8, 2010 at 12:51 PM, Per olof Ljungmark p...@intersonic.se wrote: Hi, Did anyone in the community try to adopt the Entropy Key http://www.entropykey.com/ for use with FreeBSD? As a non-programmer I would not even try but perhaps someone with better skills already did? FWIW

Re: pf rdr (redirect) syntax solved

2011-11-30 Thread Maxim Khitrov
On Wed, Nov 30, 2011 at 11:49 AM, Mark Moellering m...@msen.com wrote: My apologies for posting an answer without a question but this is something I want searchable in the future. To use redirection ( rdr ) in pf, you MUST specify an ip address or interface. For example, if you want to force

Re: shopping for a new server

2011-08-25 Thread Maxim Khitrov
On Thu, Aug 25, 2011 at 12:45 PM, Tim Kellers timot...@wallnet.com wrote: Dell 2500 from 10 years back is soon to be very dead in the machine room at work.  I'm thinking about replacing it with a Rack mount Dell R610  has anyone used that and has compatibility issues or successes?  I'll be

Re: shopping for a new server

2011-08-25 Thread Maxim Khitrov
On Thu, Aug 25, 2011 at 2:33 PM, Jerry je...@seibercom.net wrote: On Thu, 25 Aug 2011 14:08:28 -0400 Tim Kellers articulated: Thank you Max, that sounds like good news so far. One minor issue I ran into is that disabling serial ports in BIOS causes FreeBSD to freeze when booting. The

Re: Enable Sqlite3 module in python

2011-05-24 Thread Maxim Khitrov
On Tue, May 24, 2011 at 4:21 AM, Odhiambo Washington odhia...@gmail.com wrote: Hello members, I am on FreeBSD 8.2-STABLE and I am running with python2.7. However I have a problem: mail# python2.7 -c 'import sqlite3' Traceback (most recent call last):  File string, line 1, in module  File

Re: OT: Security question (openssl vs openssh)

2011-05-03 Thread Maxim Khitrov
On Tue, May 3, 2011 at 10:22 AM, Mark Moellering m...@msen.com wrote: Everyone, I am looking into setting up a webserver to hold some very sensitive information.  I am trying to figure out which is more secure, forcing any web connections to be done using an ssh tunnel or forcing ssl. I have

Re: Options for Secondary DNS Service?

2011-04-11 Thread Maxim Khitrov
On Sun, Apr 10, 2011 at 11:43 PM, Pierre-Luc Drouin pldro...@pldrouin.net wrote: Hi, I am looking for a secondary DNS service. Any suggestion? It is not for a non-profit organisation so I am not necessarily looking for a free solution, but I am wondering if there are reliable solutions for

Re: glabel causes GEOM: ada1: media size does not match label messages

2011-03-21 Thread Maxim Khitrov
On Mon, Mar 21, 2011 at 12:30 AM, Carl Johnson ca...@peak.org wrote: Maxim Khitrov m...@mxcrypt.com writes: On Sun, Mar 20, 2011 at 4:38 PM, Maxim Khitrov m...@mxcrypt.com wrote: Hi all, Executing the following commands on any valid storage device seems to cause media size does not match

glabel causes GEOM: ada1: media size does not match label messages

2011-03-20 Thread Maxim Khitrov
Hi all, Executing the following commands on any valid storage device seems to cause media size does not match label kernel messages (FreeBSD 8.2 amd64). I understand why they happen - glabel metadata occupies the last sector, so bsdlabel sees a device that is 1 sector smaller than what the kernel

Re: glabel causes GEOM: ada1: media size does not match label messages

2011-03-20 Thread Maxim Khitrov
On Sun, Mar 20, 2011 at 4:38 PM, Maxim Khitrov m...@mxcrypt.com wrote: Hi all, Executing the following commands on any valid storage device seems to cause media size does not match label kernel messages (FreeBSD 8.2 amd64). I understand why they happen - glabel metadata occupies the last

Re: Shell script termination with exit function in backquotes

2011-03-19 Thread Maxim Khitrov
On Mon, Mar 14, 2011 at 6:40 PM, Andres Perera andre...@zoho.com wrote: On Mon, Mar 14, 2011 at 7:46 AM, Maxim Khitrov m...@mxcrypt.com wrote: On Mon, Mar 14, 2011 at 3:16 AM, Andres Perera andre...@zoho.com wrote: On Sun, Mar 13, 2011 at 9:49 PM, Devin Teske dte...@vicor.com wrote: If you

Re: Shell script termination with exit function in backquotes

2011-03-19 Thread Maxim Khitrov
On Sat, Mar 19, 2011 at 12:44 PM, Devin Teske dte...@vicor.com wrote: On Mar 19, 2011, at 9:15 AM, Maxim Khitrov wrote: On Mon, Mar 14, 2011 at 6:40 PM, Andres Perera andre...@zoho.com wrote: On Mon, Mar 14, 2011 at 7:46 AM, Maxim Khitrov m...@mxcrypt.com wrote: On Mon, Mar 14, 2011 at 3:16

Re: Shell script termination with exit function in backquotes

2011-03-14 Thread Maxim Khitrov
On Mon, Mar 14, 2011 at 3:16 AM, Andres Perera andre...@zoho.com wrote: On Sun, Mar 13, 2011 at 9:49 PM, Devin Teske dte...@vicor.com wrote: If you make the changes that I've suggested, you'll have consistent execution. The reason you're having inconsistent behavior is because Linux has

Shell script termination with exit function in backquotes

2011-03-13 Thread Maxim Khitrov
Hello everyone, I might be doing something dumb here, but this doesn't make sense to me. When I run the following script, I would expect to see no output: #!/bin/sh exit_prog() { echo -n 'before' exit 0 echo -n 'after' } echo line 1: `exit_prog` echo line 2: echo

Re: Shell script termination with exit function in backquotes

2011-03-13 Thread Maxim Khitrov
On Sun, Mar 13, 2011 at 9:59 PM, Scott Ballantyne boyva...@gmail.com wrote: On Sun, Mar 13, 2011 at 8:26 PM, Maxim Khitrov m...@mxcrypt.com wrote: Hello everyone, I might be doing something dumb here, but this doesn't make sense to me. When I run the following script, I would expect to see

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Maxim Khitrov
On Wed, Mar 2, 2011 at 5:18 PM, Nerius Landys nlan...@gmail.com wrote: On Wed, Mar 2, 2011 at 8:24 AM, Nerius Landys nlan...@gmail.com wrote: Another way to do this, but is quite rare, is to log in via serial console.  This requires you to configure serial logins to your server (quite easy,

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Maxim Khitrov
On Wed, Mar 2, 2011 at 7:10 PM, Nerius Landys nlan...@gmail.com wrote: I just got a new Supermicro Atom board a few days ago (X7SPA-HF-D525). It has a Nuvoton BMC chip that is attached to LAN1 and provides IPMI and KVM-over-IP functionality. The chip gets its own IP address (separate from em0

Re: FreeBSD and SSD drives

2011-02-13 Thread Maxim Khitrov
On Sun, Feb 13, 2011 at 11:47 AM, Chad Perrin per...@apotheon.com wrote: On Sun, Feb 13, 2011 at 08:58:05AM -0500, Jerry wrote: On Sun, 13 Feb 2011 13:10:51 + Bruce Cran br...@cran.org.uk articulated: On Sun, 13 Feb 2011 07:38:01 -0500 Jerry freebsd.u...@seibercom.net wrote:

Re: pf, binat, rdr, and one ip

2011-02-09 Thread Maxim Khitrov
On Wed, Feb 9, 2011 at 6:34 AM, Da Rock freebsd-questi...@herveybayaustralia.com.au wrote: On 02/09/11 21:16, Daniel Bye wrote: On Wed, Feb 09, 2011 at 09:08:53AM +1000, Da Rock wrote: On 02/09/11 01:18, Daniel Bye wrote: On Wed, Feb 09, 2011 at 12:20:56AM +1000, Da Rock wrote: A very

Re: pf, binat, rdr, and one ip

2011-02-09 Thread Maxim Khitrov
On Wed, Feb 9, 2011 at 7:40 PM, Da Rock freebsd-questi...@herveybayaustralia.com.au wrote: On 02/09/11 22:38, Maxim Khitrov wrote: On Wed, Feb 9, 2011 at 6:34 AM, Da Rock freebsd-questi...@herveybayaustralia.com.au  wrote: On 02/09/11 21:16, Daniel Bye wrote: On Wed, Feb 09, 2011 at 09

Same priority pf/altq queues not supported?

2010-07-02 Thread Maxim Khitrov
Hello all, I'm configuring pf on FreeBSD 7.3 and would like to use the following altq settings: altq on $ext priq bandwidth 9240Kb queue {low, red, med, top} altq on {$int1, $int2, $srv} priq bandwidth 100Mb queue {low, red, med, top} queue low priority 1 priq(default) # Default priority queue

Re: Same priority pf/altq queues not supported?

2010-07-02 Thread Maxim Khitrov
On Fri, Jul 2, 2010 at 8:17 PM, krad kra...@googlemail.com wrote: On 3 July 2010 00:05, Maxim Khitrov mkhit...@gmail.com wrote: Hello all, I'm configuring pf on FreeBSD 7.3 and would like to use the following altq settings: altq on $ext priq bandwidth 9240Kb queue {low, red, med, top

Re: reliable rs-232

2010-04-11 Thread Maxim Khitrov
2010/4/11 Grzegorz Daniluk li...@o2.pl: Thank you very much for all your advices. The device I'm going to 'talk to' is cesium clock with rs-232 interface. So it is not possible to simply change the interface to differential one. Connection cable can be short and the transmission speed can be

Re: slow clock on FreeBSD 7.2 on vmware

2009-12-12 Thread Maxim Khitrov
On Sat, Dec 12, 2009 at 1:18 PM, Robert Fitzpatrick li...@webtent.net wrote: On 12/12/2009 12:30 PM, Maxim Khitrov wrote: On Sat, Dec 12, 2009 at 12:06 PM, Robert Fitzpatrickrob...@webtent.com  wrote: I found posts about this and a possible solution is to disable APIC by adding hint.apic.0

Re: Dangerously Dedicated

2009-12-09 Thread Maxim Khitrov
On Wed, Dec 9, 2009 at 8:33 PM, Rolf Nielsen listrea...@lazlarlyricon.com wrote: RW wrote: On Wed, 9 Dec 2009 11:42:31 -0800 (PST) James Phillips anti_spam...@yahoo.ca wrote: I sort of followed the discussion as well. There was some disagreement about what dangreously dedicated means. Does

Re: How do I create large partitions in FreeBSD?

2009-12-08 Thread Maxim Khitrov
On Tue, Dec 8, 2009 at 1:36 PM, Peter Steele pste...@maxiscale.com wrote: We have 3U systems with 3Ware raid controllers configured to give us large 11TB logical drives. The diskinfo command shows this: # diskinfo -v da1 da1        512             # sectorsize        1133104128  #

Re: How do I create large partitions in FreeBSD?

2009-12-08 Thread Maxim Khitrov
On Tue, Dec 8, 2009 at 2:24 PM, Peter Steele pste...@maxiscale.com wrote: You cannot use fdisk for this, because fdisk creates MBR partition tables and these partitions are limited to 2 TB. You have three options: 1. Use GPT instead of MBR. This is handled by gpt (FreeBSD 7) and gpart (FreeBSD

Re: Is there the equivalent of a Windows fast format for UFS?

2009-12-04 Thread Maxim Khitrov
On Fri, Dec 4, 2009 at 2:23 PM, Peter Steele pste...@maxiscale.com wrote: I suspect I know the answer to this question but I'll ask it anyway. We're dealing with some very large disks (11TB raid array) and a newfs operation takes a significant time. Is there any way to get a volume formatted

Re: 8.0-RELEASE and dangerously dedicated disks

2009-12-02 Thread Maxim Khitrov
On Tue, Dec 1, 2009 at 11:34 PM, Randi Harper ra...@freebsd.org wrote: I'm going to just reply to all of these at once. On Tue, Dec 1, 2009 at 1:03 PM, Jerry McAllister jerr...@msu.edu wrote: On Tue, Dec 01, 2009 at 07:59:42AM -0500, Maxim Khitrov wrote: On Sat, Nov 28, 2009 at 12:28 PM

Re: 8.0-RELEASE and dangerously dedicated disks

2009-12-01 Thread Maxim Khitrov
On Sat, Nov 28, 2009 at 12:28 PM, Peggy Wilkins enli...@gmail.com wrote: Can someone elaborate on what exactly this statement in the 8.0 detailed release notes means? http://www.freebsd.org/releases/8.0R/relnotes-detailed.html#FS 2.2.5 File Systems “dangerously dedicated” mode for the UFS

Re: Apache 2.2 mod_ldap refusing to work over SSL/TLS

2009-11-25 Thread Maxim Khitrov
On Wed, Nov 25, 2009 at 10:46 AM, Brian A. Seklecki (CFI NOC) sekle...@noc.cfi.pgh.pa.us wrote: As far as I can tell, it doesn't even get to the certificate verification phase even though the STARTTLS command is successful. Is there any level of debugging that can be increased on the Apache

Apache 2.2 mod_ldap refusing to work over SSL/TLS

2009-11-19 Thread Maxim Khitrov
Hello all, Wasted many hours on this and am no closer to a solution. I'm trying to get apache 2.2 on FreeBSD 7.2 to authenticate against our active directory (Windows 2003). The current status is that authentication works without problems when SSL/TLS are not used. Furthermore, I can establish

Re: Apache 2.2 mod_ldap refusing to work over SSL/TLS (solved)

2009-11-19 Thread Maxim Khitrov
On Thu, Nov 19, 2009 at 11:33 AM, Maxim Khitrov mkhit...@gmail.com wrote: Hello all, Wasted many hours on this and am no closer to a solution. I'm trying to get apache 2.2 on FreeBSD 7.2 to authenticate against our active directory (Windows 2003). The current status is that authentication

Re: pf, ssh related question

2009-10-17 Thread Maxim Khitrov
2009/10/17 Dánielisz László laszlo_daniel...@yahoo.com: Hello, I have the following annoying thing: all the time I runpfctl -F all -f /etc/pf.conf I got disconnected from my remote machine. Do you have any idea how can I avoid this? If you are just trying to reload the changes made to

Show bandwidth usage by IP address (through pf)

2009-10-07 Thread Maxim Khitrov
Hello all, I have pf filtering traffic to our network. Is there any easy way to see the current bandwidth usage sorted by ip? Someone is using up almost 100% of total bandwidth and parsing pfctl -ss -v isn't getting me anywhere. - Max ___

Re: Show bandwidth usage by IP address (through pf)

2009-10-07 Thread Maxim Khitrov
On Wed, Oct 7, 2009 at 3:27 PM, Doug Poland d...@polands.org wrote: On Wed, Oct 07, 2009 at 03:22:33PM -0400, Maxim Khitrov wrote: Hello all, I have pf filtering traffic to our network. Is there any easy way to see the current bandwidth usage sorted by ip? Someone is using up almost 100

Rule equivalence of pf uRPF check

2009-09-12 Thread Maxim Khitrov
Hello all, I sent this message to -pf list, but no one answered. I would like to verify my assumptions regarding the way pf's uRPF check works. I'm using a Soekris net5501 board as a firewall; port 0 ($ext_if) is internet uplink, ports 1-3 ($int_if, $mil_if, $vpn_if) are separate lan segments

Re: Rule equivalence of pf uRPF check

2009-09-12 Thread Maxim Khitrov
On Sat, Sep 12, 2009 at 9:10 AM, Matthew Seamanm.sea...@infracaninophile.co.uk wrote: Maxim Khitrov wrote: block in quick on $int_if from !$int_if:network block in quick on !$int_if from $int_if:network block in quick from $int_if The OpenBSD pf faq states that urpf-check is equivalent

Re: Correct way to configure an IP range for firewall

2009-09-10 Thread Maxim Khitrov
On Wed, Sep 9, 2009 at 3:03 PM, Matthew Seamanm.sea...@infracaninophile.co.uk wrote: Maxim Khitrov wrote: Am I correct in assuming that I just need to add four ifconfig_vr0_alias[0-3] lines to rc.conf? What happens if in the future we get a much bigger IP block, is there a more efficient way

Correct way to configure an IP range for firewall

2009-09-09 Thread Maxim Khitrov
Hello all, A quick question - I have a /29 block of IPs that needs to be handled by a firewall I'm setting up. Two addresses are lost to broadcast and network, one is the ISP gateway, so we end up with 5 usable IPs that can be assigned to the external interface. The question is how to do this

Continuous backup of critical system files

2009-08-24 Thread Maxim Khitrov
Hello all, I'm setting up a firewall using FreeBSD 7.2 and thought that it may not be a bad idea to have a continuous backup for important files like pf and dnsmasq configurations. By continuous I mean some script that would be triggered every few minutes from cron to automatically create a

Re: UFS2 tuning for heterogeneous 4TB file system

2009-07-26 Thread Maxim Khitrov
On Sun, Jul 26, 2009 at 3:56 AM, b. f.bf1...@googlemail.com wrote: The file system in question will not have a common file size (which is what, as I understand, bytes per inode should be tuned for). There will be many small files ( 10 KB) and many large ones ( 500 MB). A similar, in terms of

UFS2 tuning for heterogeneous 4TB file system

2009-07-25 Thread Maxim Khitrov
Hi all, I've spent a few hours now reading on how to set newfs parameters for various environments (many small files, many large files, etc.). I must say that I still don't have a clear picture of the relationships between cylinders, blocks, fragments, and inodes. That's making things difficult

Re: ZFS or UFS for 4TB hardware RAID6?

2009-07-16 Thread Maxim Khitrov
On Mon, Jul 13, 2009 at 4:08 PM, Richard Mahlerweinmahle...@yahoo.com wrote: Just as a question: how ARE you planning on backing this beast up?  While I don't want to sound like a worry-wort, I have had odd things happen at the worst of times.  RAID cards fail, power supplies let out the

Re: ZFS or UFS for 4TB hardware RAID6?

2009-07-13 Thread Maxim Khitrov
On Mon, Jul 13, 2009 at 1:46 PM, Richard Mahlerweinmahle...@yahoo.com wrote: Your mileage may vary, but... I would investigate either using more spindles if you want to stick to RAID6, or perhaps using another RAID level if you will be with 4 drives for a while.  The reasoning is that

Re: ZFS or UFS for 4TB hardware RAID6?

2009-07-13 Thread Maxim Khitrov
On Mon, Jul 13, 2009 at 2:13 PM, Richard Mahlerweinmahle...@yahoo.com wrote: --- On Mon, 7/13/09, Maxim Khitrov mkhit...@gmail.com wrote: From: Maxim Khitrov mkhit...@gmail.com Subject: Re: ZFS or UFS for 4TB hardware RAID6? To: mahle...@yahoo.com Cc: Free BSD Questions list freebsd

ZFS or UFS for 4TB hardware RAID6?

2009-07-12 Thread Maxim Khitrov
Hello all, I'm about to build a new file server using 3ware 9690SA-8E controller and 4x Western Digital RE4-GP 2TB drives in RAID6. It is likely to grow in the future up to 10TB. I may use FreeBSD 8 on this one, since the release will likely be made by the time this server goes into production.

Measuring CPU usage via SNMP

2009-05-05 Thread Maxim Khitrov
Hello all, Simple question - does the sum of differences in ssCpuRawIdle, ssCpuRawUser, ssCpuRawNice, ssCpuRawKernel, and ssCpuRawInterrupt OIDs on a FreeBSD 7.2 system give me total CPU allocation (i.e. is a constant)? I've configured a few scripts to read these values from bsnmpd, store them

Re: bsnmpd vs net-snmp

2009-04-30 Thread Maxim Khitrov
On Wed, Apr 29, 2009 at 8:35 PM, Brandon Weisz li...@avioc.org wrote: Maxim Khitrov wrote: On Mon, Apr 27, 2009 at 2:19 PM, Anton Yuzhaninov cit...@citrin.ru wrote: On Mon, 27 Apr 2009 12:28:01 -0400, Maxim Khitrov wrote: MK I'm setting up a firewall and would like to monitor certain system

Re: bsnmpd vs net-snmp

2009-04-30 Thread Maxim Khitrov
On Thu, Apr 30, 2009 at 9:20 AM, Steve Bertrand st...@ibctech.ca wrote: Maxim Khitrov wrote: On Wed, Apr 29, 2009 at 8:35 PM, Brandon Weisz li...@avioc.org wrote: I cant speak to the documentation, but this seems to limit it to listening on a single address: Example.. # open standard SNMP

Re: bsnmpd vs net-snmp

2009-04-30 Thread Maxim Khitrov
On Thu, Apr 30, 2009 at 9:39 AM, Steve Bertrand st...@ibctech.ca wrote: I see now what you are saying: # sockstat -l4 root     bsnmpd     2857  5  udp4   *:*                   *:* root     bsnmpd     2857  6  udp4   127.0.0.1:161         *:* root     bsnmpd     2857  7  udp4  

Re: bsnmpd vs net-snmp

2009-04-29 Thread Maxim Khitrov
On Mon, Apr 27, 2009 at 2:19 PM, Anton Yuzhaninov cit...@citrin.ru wrote: On Mon, 27 Apr 2009 12:28:01 -0400, Maxim Khitrov wrote: MK I'm setting up a firewall and would like to monitor certain system MK parameters like network, cpu, and memory usage. SNMP is an obvious MK choice to do

bsnmpd vs net-snmp

2009-04-27 Thread Maxim Khitrov
Hello all, I'm setting up a firewall and would like to monitor certain system parameters like network, cpu, and memory usage. SNMP is an obvious choice to do the monitoring and I'm planning to set up rrdtool to generate graphs of captured data. The question is what SNMP agent to use. I found

Re: Software raid5 through a sata port multiplier

2009-04-26 Thread Maxim Khitrov
On Sat, Apr 25, 2009 at 6:02 PM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: thinking that a software raid5 solution may not be such a bad idea. software raid5 isn't any more bad than hardware raid5 most cases. just raid5 is bad if you use it in ANY type of load except: a) mostly

Software raid5 through a sata port multiplier

2009-04-25 Thread Maxim Khitrov
Hello all, I'm building a file server that must use an external sata hard drive enclosure. It will begin with 3 2TB (RE4-GP) hard drives and expand as needed. I've looked at 3ware and Areca hardware raid controllers with external sata/sas ports and currently have some doubts of whether the cost

Re: where is spl_autoload found in PHP

2009-04-06 Thread Maxim Khitrov
On Mon, Apr 6, 2009 at 3:13 PM, af300...@gmail.com wrote: Hi, I saw Zend in the ports and so I'm hoping that some here use it and can help me with this one. I've installed the latest stable Zend, which is a little newer than what I found in ports, and I'm running PHP version 5.2.8 (which I

Re: Shuttle for a BSD file server?

2009-02-01 Thread Maxim Khitrov
On Thu, Jan 29, 2009 at 10:33 PM, Maxim Khitrov mkhit...@gmail.com wrote: Greetings, I'm planning to build a new home file server for myself, starting with about 2TB of RAID6 space, but with room to grow in the future. Most of that will be on SATA drives, but I may throw in two SAS drives

Re: Shuttle for a BSD file server?

2009-01-30 Thread Maxim Khitrov
On Fri, Jan 30, 2009 at 3:11 AM, Michael Powell nightre...@verizon.net wrote: I'm not really answering the direct question, per se, but there is a data point you may wish to know a little more about. There exists a difference in hard drives, ala Enterprise vs Desktop. The difference is in the

Re: Shuttle for a BSD file server?

2009-01-30 Thread Maxim Khitrov
On Fri, Jan 30, 2009 at 7:33 AM, Maxim Khitrov mkhit...@gmail.com wrote: On Fri, Jan 30, 2009 at 3:11 AM, Michael Powell nightre...@verizon.net wrote: I'm not really answering the direct question, per se, but there is a data point you may wish to know a little more about. There exists

Shuttle for a BSD file server?

2009-01-29 Thread Maxim Khitrov
Greetings, I'm planning to build a new home file server for myself, starting with about 2TB of RAID6 space, but with room to grow in the future. Most of that will be on SATA drives, but I may throw in two SAS drives in RAID1 for the base OS, hence the SAS raid controller and enclosure. The

Re: shell scripting, how to auto-timeout?

2009-01-22 Thread Maxim Khitrov
On Thu, Jan 22, 2009 at 3:41 PM, Nerius Landys nlan...@gmail.com wrote: This is a shell scripting question, it is not specific to FreeBSD. I am writing a script that I want to terminate after 1 second (because it has the potential to infinite loop). The script I have so far is: #!/bin/sh

Re: shell scripting, how to auto-timeout?

2009-01-22 Thread Maxim Khitrov
On Thu, Jan 22, 2009 at 5:58 PM, Nerius Landys nlan...@gmail.com wrote: Actually, because of the exec in the parent script, the line below it, the killing terminator process line, never gets reached. So the terminator process that waits to kill its parent always waits the full 5 seconds in

Re: slices to dangerously dedicated

2009-01-20 Thread Maxim Khitrov
On Tue, Jan 20, 2009 at 2:47 PM, Robert Huff roberth...@rcn.com wrote: Suppose I have a disk which was - for various reasons - lebeled using slices. Is it possible to change it to dangerously dedicated without backup-wipe-relabel-restore cycle?

Re: Release schedules

2008-12-12 Thread Maxim Khitrov
On Fri, Dec 12, 2008 at 1:28 PM, Glen Barber glen.j.bar...@gmail.com wrote: On Fri, Dec 12, 2008 at 1:03 PM, Robert Huff roberth...@rcn.com wrote: When it's ready used to be the scheduling principle. Then came 5.0 debacle: behind schedule big-time (and arguably not ready when it

Re: Release schedules

2008-12-12 Thread Maxim Khitrov
On Fri, Dec 12, 2008 at 2:28 PM, Glen Barber glen.j.bar...@gmail.com wrote: On Fri, Dec 12, 2008 at 2:13 PM, Maxim Khitrov mkhit...@gmail.com wrote: For example, RC2 builds were scheduled for 29 September 2008. When that day comes (or same week perhaps), whoever has the ability to change

Re: FreeBSD not stable enough for Xen environments?

2008-11-17 Thread Maxim Khitrov
On Mon, Nov 17, 2008 at 12:38 PM, N.J. Thomas [EMAIL PROTECTED] wrote: * Redd Vinylene [EMAIL PROTECTED] [2008-11-14 17:32:34+]: depends on how they do their installs, i know of a couple hosting companies doing it already Hey! Which ones? To respond to what another poster said on

Re: FreeBSD not stable enough for Xen environments?

2008-11-14 Thread Maxim Khitrov
On Fri, Nov 14, 2008 at 11:39 AM, Thomas Abthorpe [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On November 14, 2008 11:32:34 am Redd Vinylene wrote: Hey! Which ones? http://www.rootbsd.net I have been a happy customer of their xen system for almost 1 year. If the

Re: High Performance Computing Mini-Cluster

2008-10-20 Thread Maxim Khitrov
On Mon, Oct 20, 2008 at 2:09 PM, Gerardo Paredes [EMAIL PROTECTED] wrote: Sean, the link you provided does a good job of helping someone understand the process involved in setting up a cluster, even if it doesn't provide detailed information in a HOW-TO like fashion. Then i guess is up to me

Re: Working ccache configuration for buildworld on amd64?

2008-08-15 Thread Maxim Khitrov
On Fri, Aug 15, 2008 at 10:48 AM, RW [EMAIL PROTECTED] wrote: On Thu, 14 Aug 2008 16:04:52 -0400 Maxim Khitrov [EMAIL PROTECTED] wrote: This is an old problem, but so far I haven't been able to find a solution. When ccache is used to build world on amd64, the process fails when /usr/src/lib

Working ccache configuration for buildworld on amd64?

2008-08-14 Thread Maxim Khitrov
This is an old problem, but so far I haven't been able to find a solution. When ccache is used to build world on amd64, the process fails when /usr/src/lib/csu/i386-elf/crt1.c is compiled. If WITHOUT_LIB32 is added to src.conf, this problem does not happen. Likewise, building without ccache works

64-bit Linux Binary Compatibility (for Matlab)

2008-08-07 Thread Maxim Khitrov
Hello all, Simple question - am I able to run 64-bit linux binaries using the ABI emulation under FreeBSD 7.0 amd64? In the NOTES for amd64 kernel configuration the COMPAT_LINUX option is commented out, but I don't understand the explanation at the top of the section: #XXX keep these here for

Re: 64-bit Linux Binary Compatibility (for Matlab)

2008-08-07 Thread Maxim Khitrov
On Thu, Aug 7, 2008 at 10:37 AM, Kris Kennaway [EMAIL PROTECTED] wrote: Maxim Khitrov wrote: Hello all, Simple question - am I able to run 64-bit linux binaries using the ABI emulation under FreeBSD 7.0 amd64? In the NOTES for amd64 kernel configuration the COMPAT_LINUX option is commented

Re: 64-bit Linux Binary Compatibility (for Matlab)

2008-08-07 Thread Maxim Khitrov
On Thu, Aug 7, 2008 at 10:52 AM, Sean Cavanaugh [EMAIL PROTECTED] wrote: Date: Thu, 7 Aug 2008 09:47:45 -0400 From: [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Subject: 64-bit Linux Binary Compatibility (for Matlab) Apparently Matlab tries to allocate a continuous chunk of memory,

Linking amd64 binary with a 32-bit linux library

2008-08-07 Thread Maxim Khitrov
My knowledge of compilers is insufficient to answer this question. I'm currently going through the process of installing a 32-bit version of Matlab onto FreeBSD 7.0 amd64. In fact, Matlab itself has been installed and seems to be running fine (albeit without a GUI due to some java-related issues).

Re: Linking amd64 binary with a 32-bit linux library

2008-08-07 Thread Maxim Khitrov
On Thu, Aug 7, 2008 at 2:03 PM, Kris Kennaway [EMAIL PROTECTED] wrote: Maxim Khitrov wrote: I take it that this happens because libmat.so is a linux binary, but is there any way to do what I'm after? You can't mix and match Linux and FreeBSD code in the same binary. You will have to make

Re: How do they do their VPS product? [was Re: FreeBSD based web hosting?]

2008-06-19 Thread Maxim Khitrov
On Thu, Jun 19, 2008 at 12:29 PM, George Hartzell [EMAIL PROTECTED] wrote: Sahil Tandon writes: Maxim Khitrov [EMAIL PROTECTED] wrote: I'm currently with JohnCompanies. Overall, it's been a positive experience, though I wish they offered FreeBSD 7. Beta testing

Re: FreeBSD based web hosting?

2008-06-18 Thread Maxim Khitrov
On Wed, Jun 18, 2008 at 9:27 PM, cpghost [EMAIL PROTECTED] wrote: On Thu, 19 Jun 2008 10:31:31 +1000 Greg 'groggy' Lehey [EMAIL PROTECTED] wrote: I'm looking for somebody to host some web sites for me. Ideally I'd like a complete machine, but a jail would do too. I can find plenty of

Re: Trying to start/stop nginx via rc.d/nginx

2008-05-04 Thread Maxim Khitrov
On Sun, May 4, 2008 at 3:15 PM, Michael Breen [EMAIL PROTECTED] wrote: I'm pretty new to FreeBSD and nginx. The problem I am having is that when I try to start or stop nginx from /usr/local/rc.d/nginx nothing happens. You need to add nginx_enable=YES to /etc/rc.conf. - Max

Re: mysql client

2008-04-20 Thread Maxim Khitrov
On Sat, Feb 16, 2008 at 12:57 PM, Peter Boosten [EMAIL PROTECTED] wrote: Hi all, Just after upgrading the mysql client to mysql-client-5.1.23 on 6.3, it seems that it's completely ignoring ~/.my.cnf. Anyone else has this problem? Peter I just ran into the same problem on 7.0. This is a

Re: other jail howto

2008-04-09 Thread Maxim Khitrov
On Wed, Apr 9, 2008 at 2:10 PM, Wojciech Puchar [EMAIL PROTECTED] wrote: anyone interested in my jail configuring How-To? it's very different from standard method, uses shared programs and - i think - is much easier to administer. but for sure there are bugs in it, so it should be reviewed

Re: Documentation for port config options?

2008-04-05 Thread Maxim Khitrov
On Sat, Apr 5, 2008 at 4:09 PM, Steven Friedrich [EMAIL PROTECTED] wrote: cups-base has several options: [X] GNUTLSBuild with GNUTLS library [ ] PHP Build PHP support [ ] PYTHONBuild PYTHON support [ ] LIBPAPER Build with libpaper support [ ] DNSSD Build with

Re: FreeBSD 7.0

2008-02-27 Thread Maxim Khitrov
On Wed, Feb 27, 2008 at 8:57 AM, Kris Kennaway [EMAIL PROTECTED] wrote: Rudi Kramer - MWEB wrote: I did some digging and found it on the main ftp server: ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/7.0/ Rudi People always try to get the jump on the official release

Re: speeding up buildworld/kernel

2008-01-25 Thread Maxim Khitrov
On Jan 25, 2008 1:50 AM, Brian [EMAIL PROTECTED] wrote: Hmm, 2 queries here. 1-wonder how much more gain would be gotten by using a speedy flash drive for the ccache folder. Actually you get the opposite. Here are my results with a USB 2.0 flash drive: cache directory

Re: speeding up buildworld/kernel

2008-01-24 Thread Maxim Khitrov
On Jan 24, 2008 3:15 PM, Aryeh M. Friedman [EMAIL PROTECTED] wrote: I update my sources at least once a day and do buildworld/kernel just as often... It seems some stuff that needs not be recompiled is on every single run for example gcc and kerbos. I have NO_CLEAN in /etc/make.conf is there

Re: speeding up buildworld/kernel

2008-01-24 Thread Maxim Khitrov
On Jan 24, 2008 4:05 PM, Erik Trulsson [EMAIL PROTECTED] wrote: On Thu, Jan 24, 2008 at 03:32:18PM -0500, Maxim Khitrov wrote: On Jan 24, 2008 3:15 PM, Aryeh M. Friedman [EMAIL PROTECTED] wrote: I update my sources at least once a day and do buildworld/kernel just as often... It seems

Re: speeding up buildworld/kernel

2008-01-24 Thread Maxim Khitrov
On Jan 24, 2008 11:01 PM, Aryeh M. Friedman [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maxim Khitrov wrote: On Jan 24, 2008 4:05 PM, Erik Trulsson [EMAIL PROTECTED] wrote: On Thu, Jan 24, 2008 at 03:32:18PM -0500, Maxim Khitrov wrote: On Jan 24, 2008 3:15

Re: Blocking undesirable domains using BIND

2007-12-30 Thread Maxim Khitrov
On Dec 28, 2007 11:28 AM, Rob [EMAIL PROTECTED] wrote: Kevin Kinsey wrote: Just a question, and I'm not trying to cast doubt on your plan; I'm curious why using BIND for this purpose instead of a proxy, which is a more typical application as I understand it? I was trying to do something

Re: Blocking undesirable domains using BIND

2007-12-30 Thread Maxim Khitrov
On Dec 30, 2007 12:31 PM, Darren Spruell [EMAIL PROTECTED] wrote: On Dec 30, 2007 9:52 AM, Maxim Khitrov [EMAIL PROTECTED] wrote: I was trying to do something similar. I didn't research too hard, but figured the only way to use Bind would be to make my server authoritative for all

Blocking undesirable domains using BIND

2007-12-27 Thread Maxim Khitrov
Hello, I'm currently setting up a new firewall for my home network using FreeBSD 7. The firewall will also act as our local name server (authoritative for the local domain, and caching for everything else). One of the things I'd like to do with it is use BIND to block various undesirable domains

Re: Blocking undesirable domains using BIND

2007-12-27 Thread Maxim Khitrov
On Dec 27, 2007 7:16 PM, Kevin Kinsey [EMAIL PROTECTED] wrote: Maxim Khitrov wrote: Hello, I'm currently setting up a new firewall for my home network using FreeBSD 7. The firewall will also act as our local name server (authoritative for the local domain, and caching for everything

  1   2   >