Re: openssl from ports

2012-03-02 Thread Maxim Khitrov
On Fri, Mar 2, 2012 at 5:00 PM, Randal L. Schwartz 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 the version from po

Re: One or Four?

2012-02-17 Thread Maxim Khitrov
On Fri, Feb 17, 2012 at 5:05 PM, Robison, Dave 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 as > such: > > / > /t

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 wrote: > On Mon, Jan 23, 2012 at 1:25 PM, Matthew Seaman > 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 >>

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 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 >>

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 I

Re: dot snap folder

2012-01-15 Thread Maxim Khitrov
On Sun, Jan 15, 2012 at 6:40 PM, Jim Pazarena 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 _

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 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 >

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' (whic

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 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 actu

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' and

Re: Entropy Key for FreeBSD?

2011-12-11 Thread Maxim Khitrov
On Mon, Nov 8, 2010 at 12:51 PM, Per olof Ljungmark 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 MirBSD seem

Re: pf rdr (redirect) syntax solved

2011-11-30 Thread Maxim Khitrov
On Wed, Nov 30, 2011 at 11:49 AM, Mark Moellering 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 external

Re: shopping for a new server

2011-08-25 Thread Maxim Khitrov
On Thu, Aug 25, 2011 at 2:33 PM, Jerry 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 solution

Re: shopping for a new server

2011-08-25 Thread Maxim Khitrov
On Thu, Aug 25, 2011 at 12:45 PM, Tim Kellers 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 using a > RAID 5 setup

Re: Enable Sqlite3 module in python

2011-05-24 Thread Maxim Khitrov
On Tue, May 24, 2011 at 4:21 AM, Odhiambo Washington 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 "", line 1, in >  File "/usr/local/lib/py

Re: OT: Security question (openssl vs openssh)

2011-05-03 Thread Maxim Khitrov
On Tue, May 3, 2011 at 10:22 AM, Mark Moellering 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 not been

Re: Options for Secondary DNS Service?

2011-04-11 Thread Maxim Khitrov
On Sun, Apr 10, 2011 at 11:43 PM, Pierre-Luc Drouin 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 less than what dynd

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 wrote: > Maxim Khitrov writes: > >> On Sun, Mar 20, 2011 at 4:38 PM, Maxim Khitrov wrote: >>> Hi all, >>> >>> Executing the following commands on any valid storage device seems to >>> cause "medi

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 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 occup

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 kerne

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 wrote: > > On Mar 19, 2011, at 9:15 AM, Maxim Khitrov wrote: > >> On Mon, Mar 14, 2011 at 6:40 PM, Andres Perera wrote: >>> On Mon, Mar 14, 2011 at 7:46 AM, Maxim Khitrov wrote: >>>> On Mon, Mar 14, 2011 at 3:1

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 wrote: > On Mon, Mar 14, 2011 at 7:46 AM, Maxim Khitrov wrote: >> On Mon, Mar 14, 2011 at 3:16 AM, Andres Perera wrote: >>> On Sun, Mar 13, 2011 at 9:49 PM, Devin Teske wrote: >>>> If you make the changes th

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 wrote: > On Sun, Mar 13, 2011 at 9:49 PM, Devin Teske 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 /bin/sh symbolically linked to

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 wrote: > On Sun, Mar 13, 2011 at 8:26 PM, Maxim Khitrov wrote: >> >> Hello everyone, >> >> I might be doing something dumb here, but this doesn't make sense to >> me. When I run the following s

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 li

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 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 in FreeBSD

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 wrote: >> On Wed, Mar 2, 2011 at 8:24 AM, Nerius Landys 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, but you should test it fir

Re: FreeBSD and SSD drives

2011-02-13 Thread Maxim Khitrov
On Sun, Feb 13, 2011 at 11:47 AM, Chad Perrin wrote: > On Sun, Feb 13, 2011 at 08:58:05AM -0500, Jerry wrote: >> On Sun, 13 Feb 2011 13:10:51 + >> Bruce Cran articulated: >> >> > On Sun, 13 Feb 2011 07:38:01 -0500 >> > Jerry wrote: >> > >> > > Despite all of the rubbish the FOSS community >>

Re: pf, binat, rdr, and one ip

2011-02-09 Thread Maxim Khitrov
On Wed, Feb 9, 2011 at 7:40 PM, Da Rock wrote: > On 02/09/11 22:38, Maxim Khitrov wrote: >> >> On Wed, Feb 9, 2011 at 6:34 AM, Da Rock >>  wrote: >> >>> >>> On 02/09/11 21:16, Daniel Bye wrote: >>> >>>> >>>> On Wed, F

Re: pf, binat, rdr, and one ip

2011-02-09 Thread Maxim Khitrov
On Wed, Feb 9, 2011 at 6:34 AM, Da Rock 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 q

Re: Same priority pf/altq queues not supported?

2010-07-02 Thread Maxim Khitrov
On Fri, Jul 2, 2010 at 8:17 PM, krad wrote: > > > On 3 July 2010 00:05, Maxim Khitrov 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 92

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: reliable rs-232

2010-04-11 Thread Maxim Khitrov
2010/4/11 Grzegorz Daniluk : > 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 slow. The

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 wrote: > On 12/12/2009 12:30 PM, Maxim Khitrov wrote: >> >> On Sat, Dec 12, 2009 at 12:06 PM, Robert Fitzpatrick >>  wrote: >> >>> >>> I found posts about this and a possible solution is to disable

Re: Dangerously Dedicated

2009-12-09 Thread Maxim Khitrov
On Wed, Dec 9, 2009 at 8:33 PM, Rolf Nielsen wrote: > RW wrote: >> >> On Wed, 9 Dec 2009 11:42:31 -0800 (PST) >> James Phillips wrote: >> >> >>> I sort of followed the discussion as well. There was some disagreement >>> about what "dangreously dedicated" means. Does it mean getting rid of the >>>

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 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 8) command

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 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  # mediasize in bytes

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 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 faster > than the

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 wrote: > I'm going to just reply to all of these at once. > > On Tue, Dec 1, 2009 at 1:03 PM, Jerry McAllister wrote: >> On Tue, Dec 01, 2009 at 07:59:42AM -0500, Maxim Khitrov wrote: >> >>> On Sat, Nov 28, 200

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 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 file sy

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) 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 side ? >  Possibly a

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 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

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 SS

Re: pf, ssh related question

2009-10-17 Thread Maxim Khitrov
2009/10/17 Dánielisz László : > 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 pf.conf, use "/etc/rc.d/pf

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 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

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 ___ freebsd-ques

Re: Rule equivalence of pf uRPF check

2009-09-12 Thread Maxim Khitrov
On Sat, Sep 12, 2009 at 9:10 AM, Matthew Seaman 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-che

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 that

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 Seaman 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 corr

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 backup

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. 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 content, 2TB ntfs

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 fo

Re: ZFS or UFS for 4TB hardware RAID6?

2009-07-16 Thread Maxim Khitrov
On Mon, Jul 13, 2009 at 4:08 PM, Richard Mahlerwein 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 magic >> smoke

Re: ZFS or UFS for 4TB hardware RAID6?

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

Re: ZFS or UFS for 4TB hardware RAID6?

2009-07-13 Thread Maxim Khitrov
On Mon, Jul 13, 2009 at 1:46 PM, Richard Mahlerwein 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 there's an

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. Th

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 via

Re: bsnmpd vs net-snmp

2009-04-30 Thread Maxim Khitrov
On Thu, Apr 30, 2009 at 9:39 AM, Steve Bertrand 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   208.70.106.1:161      *

Re: bsnmpd vs net-snmp

2009-04-30 Thread Maxim Khitrov
On Thu, Apr 30, 2009 at 9:20 AM, Steve Bertrand wrote: > Maxim Khitrov wrote: >> On Wed, Apr 29, 2009 at 8:35 PM, Brandon Weisz wrote: > >>> I cant speak to the documentation, but this seems to limit it to listening >>> on a single address: >>> >>&

Re: bsnmpd vs net-snmp

2009-04-30 Thread Maxim Khitrov
On Wed, Apr 29, 2009 at 8:35 PM, Brandon Weisz wrote: > Maxim Khitrov wrote: >> >> On Mon, Apr 27, 2009 at 2:19 PM, Anton Yuzhaninov >> wrote: >>> >>> On Mon, 27 Apr 2009 12:28:01 -0400, Maxim Khitrov wrote: >>> MK> I'm setting up a

Re: bsnmpd vs net-snmp

2009-04-29 Thread Maxim Khitrov
On Mon, Apr 27, 2009 at 2:19 PM, Anton Yuzhaninov 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> c

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 net-s

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 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 reads - then set LARGE

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 ca

Re: where is spl_autoload found in PHP

2009-04-06 Thread Maxim Khitrov
On Mon, Apr 6, 2009 at 3:13 PM, 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 > did install f

Re: Shuttle for a BSD file server?

2009-02-01 Thread Maxim Khitrov
On Thu, Jan 29, 2009 at 10:33 PM, Maxim Khitrov 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 d

Re: Shuttle for a BSD file server?

2009-01-30 Thread Maxim Khitrov
On Fri, Jan 30, 2009 at 7:33 AM, Maxim Khitrov wrote: > On Fri, Jan 30, 2009 at 3:11 AM, Michael Powell > 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

Re: Shuttle for a BSD file server?

2009-01-30 Thread Maxim Khitrov
On Fri, Jan 30, 2009 at 3:11 AM, Michael Powell 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 length > of the t

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 highest

Re: shell scripting, how to auto-timeout?

2009-01-22 Thread Maxim Khitrov
On Thu, Jan 22, 2009 at 5:58 PM, Nerius Landys 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 the backgrou

Re: shell scripting, how to auto-timeout?

2009-01-22 Thread Maxim Khitrov
On Thu, Jan 22, 2009 at 3:41 PM, Nerius Landys 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 > cd `dirname

Re: slices to "dangerously dedicated"

2009-01-20 Thread Maxim Khitrov
On Tue, Jan 20, 2009 at 2:47 PM, Robert Huff 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? > > >R

Re: Release schedules

2008-12-12 Thread Maxim Khitrov
On Fri, Dec 12, 2008 at 2:28 PM, Glen Barber wrote: > On Fri, Dec 12, 2008 at 2:13 PM, Maxim Khitrov 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 the release schedu

Re: Release schedules

2008-12-12 Thread Maxim Khitrov
On Fri, Dec 12, 2008 at 1:28 PM, Glen Barber wrote: > On Fri, Dec 12, 2008 at 1:03 PM, Robert Huff 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 went out the door). >>

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 p

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 y

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

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 us

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 f

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 Fr

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: 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 chu

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 k

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 now

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, th

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

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.

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

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

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 releas

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 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

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 buil

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

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 wo

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 s

Re: Blocking undesirable domains using BIND

2007-12-27 Thread Maxim Khitrov
On Dec 27, 2007 4:27 PM, Schiz0 <[EMAIL PROTECTED]> wrote: > > On Dec 27, 2007 3:46 PM, Maxim Khitrov <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I'm currently setting up a new firewall for my home network using > > FreeBSD 7. The

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 > > (authori

  1   2   >