Re: How to set device permissions at startup

2009-10-09 Thread Aryeh M. Friedman
Herbert J. Skuhra wrote: Den 9. okt. 2009 kl. 05.25 skrev Aryeh M. Friedman aryeh.fried...@gmail.com: Since certain currently unused devices are not created in /dev (specifically in my case /dev/fuse*) how do I tell what ever (I can't tell it is devfs or what) to always make /dev/fuse* (when

Re: tar --unlink ?

2009-10-09 Thread jhell
On Fri, 9 Oct 2009 07:58 +0200, guru@ wrote: Hello, To move a file tree from one place to another I see as an example: # tar -cf - local | tar --unlink -xpf - -C /mnt What does '--unlink' do exactly? I can't see it in the man page of tar(1). Thanks in advance matthias man 2

Re: How to set device permissions at startup

2009-10-09 Thread Roland Smith
On Thu, Oct 08, 2009 at 11:25:12PM -0400, Aryeh M. Friedman wrote: Since certain currently unused devices are not created in /dev (specifically in my case /dev/fuse*) how do I tell what ever (I can't tell it is devfs or what) to always make /dev/fuse* (when needed) with 777 perms (the

Re: tar --unlink ?

2009-10-09 Thread Matthias Apitz
El día Friday, October 09, 2009 a las 02:07:21AM -0400, jhell escribió: On Fri, 9 Oct 2009 07:58 +0200, guru@ wrote: Hello, To move a file tree from one place to another I see as an example: # tar -cf - local | tar --unlink -xpf - -C /mnt What does '--unlink' do exactly? I can't

Re: How to set device permissions at startup

2009-10-09 Thread Aryeh M. Friedman
Roland Smith wrote: On Thu, Oct 08, 2009 at 11:25:12PM -0400, Aryeh M. Friedman wrote: Since certain currently unused devices are not created in /dev (specifically in my case /dev/fuse*) how do I tell what ever (I can't tell it is devfs or what) to always make /dev/fuse* (when needed) with

Re: / almost out of space just after installation

2009-10-09 Thread Randi Harper
On Thu, Oct 8, 2009 at 1:02 AM, per...@pluto.rain.com wrote: At least as far back as SunOs 3.5* the installer was able to auto- size the partitions based on the selected distribution sets. Of course, this means that the installer must know the size of each distribution set -- on each of /,

binutils

2009-10-09 Thread Alex R
Hi Guys, Is there any news on when the version of binutils that ships as part of the base system will be updated? The version that ships with 7.x etc is about 5 years old now. It creates problems on amd64 when compiling mplayer (assembly language directive errors), and can be resolved by

Re: tar --unlink ?

2009-10-09 Thread Dan Nelson
In the last episode (Oct 09), Matthias Apitz said: El día Friday, October 09, 2009 a las 02:07:21AM -0400, jhell escribió: On Fri, 9 Oct 2009 07:58 +0200, guru@ wrote: To move a file tree from one place to another I see as an example: # tar -cf - local | tar --unlink -xpf - -C /mnt

Re: / almost out of space just after installation

2009-10-09 Thread Jon Radel
Randi Harper wrote: I was thinking that a more acceptable default layout (leaving swap at it's current default size) would be: / = 1GB /var = 2GB /tmp = 2GB One thing to remember is that these are just suggested defaults. Most experienced users are going to use a custom layout when setting up

Re: / almost out of space just after installation

2009-10-09 Thread Randi Harper
On Fri, Oct 9, 2009 at 12:06 AM, Jon Radel j...@radel.com wrote: I believe it's been years since I didn't bump up the sizes on an install, otherwise I just end up with all this space where it's least likely to save me from a filled disk in the future. While I am actually running some

When is it worth enabling hyperthreading?

2009-10-09 Thread Scott Bennett
On Wed, 07 Oct 2009 23:24:48 -0400 Pierre-Luc Drouin pldro...@pldrouin.net wrote: Could someone explain me in which cases it is useful to enable hyperthreading on a machine running FreeBSD 8.0 and in which other cases it is not a good idea? Is that possible that hyperthreading is

Re: tar --unlink ?

2009-10-09 Thread Matthias Apitz
El día Friday, October 09, 2009 a las 01:52:45AM -0500, Dan Nelson escribió: I know the unlink(2) sys call, but what does this --unlink flag in tar(1) on restore (-x)? It's the same as the -U option, provided for gnutar compatibility. Dan, Thanks for your helping answer. Maybe someone

for perl wizards.

2009-10-09 Thread Gary Kline
Whenever I save a wordpeocessoe file [OOo, say] into a text file, I get a slew of hex codes to indicate the char to be used. I'm looking for a perl one-liner or script to translate hex back into ', , -- [that's a dash), and so forth. Why does this fail to

Re: netbeans 6.0.1 not run

2009-10-09 Thread BigDes
cuongvt wrote: Hi all! full explanation: FreeBSD 7.0-RELEASE (i386) uid=1001(mak) gid=0(wheel) groups=0(wheel),69(network) installed: jdk-1.6.0.3p4_1 diablo-jdk-1.5.0.07.01_10 javavmwrapper-2.3.2 I'm using zsh so I set JAVA_HOME and PATH of java into in my .zshrc. java

Re: for perl wizards.

2009-10-09 Thread Matthew Seaman
Gary Kline wrote: Whenever I save a wordpeocessoe file [OOo, say] into a text file, I get a slew of hex codes to indicate the char to be used. I'm looking for a perl one-liner or script to translate hex back into ', , -- [that's a dash), and so forth. Why does

Re: for perl wizards.

2009-10-09 Thread Lars Eighner
On Fri, 9 Oct 2009, Gary Kline wrote: Whenever I save a wordpeocessoe file [OOo, say] into a text file, I get a slew of hex codes to indicate the char to be used. I'm looking for a perl one-liner or script to translate hex back into ', , -- [that's a dash),

Re: binutils

2009-10-09 Thread Paul B Mahol
On 10/9/09, Alex R a...@mailinglist.ahhyes.net wrote: Hi Guys, Is there any news on when the version of binutils that ships as part of the base system will be updated? The version that ships with 7.x etc is about 5 years old now. It creates problems on amd64 when compiling mplayer (assembly

Re: for perl wizards.

2009-10-09 Thread Oliver Fromme
Gary Kline kl...@thought.org wrote: Whenever I save a wordpeocessoe file [OOo, say] into a text file, I get a slew of hex codes to indicate the char to be used. I'm looking for a perl one-liner or script to translate hex back into ', , -- [that's a

Re: How to set device permissions at startup

2009-10-09 Thread Oliver Fromme
Aryeh M. Friedman wrote: Herbert J. Skuhra wrote: Den 9. okt. 2009 kl. 05.25 skrev Aryeh M. Friedman aryeh.fried...@gmail.com: Since certain currently unused devices are not created in /dev (specifically in my case /dev/fuse*) how do I tell what ever (I can't tell it is

Re: / almost out of space just after installation

2009-10-09 Thread Oliver Fromme
Randi Harper wrote: 1.) Look at the PR database and search for sysinstall. See all those open reports, some from 8 years ago? sysinstall needs some babying. It doesn't need babying, it needs killing. :-) Quotes from the sysinstall(8) manpage: This product is currently at the end of its life

Re: Trouble getting new raid array to boot

2009-10-09 Thread David LeCount
Then my answer would be missing MBR or boot blocks, an active partition alone won't make a system boot. it's just a flag to say which partition is bootable, but doesn't mean that the boot flag itself makes the partition boot. fdisk(8) and bsdlabel(8) -- see the -B option to both.

security run output

2009-10-09 Thread Bernt Hansson
Hello list! I'm getting the messages below far one machine and I can't remeber how managed to do that. I want that for my other machines as well, but can not remeber how to activate it. Checking for a current audit database: Database created: Wed Oct 7 03:55:02 CEST 2009 Checking for

RE: security run output

2009-10-09 Thread Sean Cavanaugh
Date: Fri, 9 Oct 2009 13:31:56 +0200 From: be...@bah.homeip.net To: freebsd-questions@freebsd.org Subject: security run output Hello list! I'm getting the messages below far one machine and I can't remeber how managed to do that. I want that for my other machines as well, but can

Re: for perl wizards.

2009-10-09 Thread Steve Bertrand
Lars Eighner wrote: On Fri, 9 Oct 2009, Gary Kline wrote: Whenever I save a wordpeocessoe file [OOo, say] into a text file, I get a slew of hex codes to indicate the char to be used. I'm looking for a perl one-liner or script to translate hex back into ', , -- [that's a

xorg-server package update on 7.2-STABLE

2009-10-09 Thread Obrien, John W
Good morning, The problem I'm having is that startx gives a garbage-filled screen and locks up the console. When I run it through ssh from another computer I can see that it complains: /libexec/ld-elf.so.1: /usr/local/bin/X: Undefined symbol shmctl before dying and leaving the main display

Re: for perl wizards.

2009-10-09 Thread Warren Block
On Fri, 9 Oct 2009, Oliver Fromme wrote: Gary Kline kl...@thought.org wrote: Whenever I save a wordpeocessoe file [OOo, say] into a text file, I get a slew of hex codes to indicate the char to be used. I'm looking for a perl one-liner or script to translate

Re: / almost out of space just after installation

2009-10-09 Thread Richard Mahlerwein
From: Randi Harper ra...@freebsd.org I was thinking that a more acceptable default layout (leaving swap at it's current default size) would be: / = 1GB /var = 2GB /tmp = 2GB Similar enough to what I use for general systems that I vote YES. I'd love to add one more - on a drive bigger

Automatic chmod

2009-10-09 Thread Victor Subervi
Hi; I have a python script that automatically writes another script. I need to be able to automatically chmod the script so that it will execute. Also, it appears that's not enough, because when I manually chmod the script (775), it throws this error: fopen: Permission denied TIA, V

Re: Automatic chmod

2009-10-09 Thread Richard Mahlerwein
From: Victor Subervi victorsube...@gmail.com Subject: Automatic chmod To: freebsd-questions@freebsd.org Date: Friday, October 9, 2009, 10:19 AM Hi; I have a python script that automatically writes another script. I need to be able to automatically chmod the script so that it will execute. Also,

Russian Translator

2009-10-09 Thread Владимир Романов
Hi there. I want to be the translator from English to Russian in freebsd.com. I see, that in http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/ there is written: Copyright [http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/LEGALNOTICE.html] © 1995, 1996, 1997, 1998, 1999, 2000, 2001,

Re: Automatic chmod

2009-10-09 Thread Richard Mahlerwein
From: Victor Subervi victorsube...@gmail.com Subject: Automatic chmod To: freebsd-questions@freebsd.org Date: Friday, October 9, 2009, 10:19 AM Hi; I have a python script that automatically writes another script. I need to be able to automatically chmod the script so that it will execute. Also,

Re: Automatic chmod

2009-10-09 Thread Victor Subervi
User? I only have one user on this shared server. Here's the code: #!/usr/local/bin/python import cgitb; cgitb.enable() import MySQLdb import cgi import sys,os sys.path.append(os.getcwd()) from login import login user, passwd, db, host = login() form = cgi.FieldStorage() picid =

Re: tar --unlink ?

2009-10-09 Thread Dan Nelson
In the last episode (Oct 09), Matthias Apitz said: El día Friday, October 09, 2009 a las 01:52:45AM -0500, Dan Nelson escribió: I know the unlink(2) sys call, but what does this --unlink flag in tar(1) on restore (-x)? It's the same as the -U option, provided for gnutar compatibility.

Re: / almost out of space just after installation

2009-10-09 Thread Oliver Fromme
Randi Harper wrote: / = 1GB /var = 2GB /tmp = 2GB Depending on the size of installed RAM, /tmp could also be a memory disk by default. I do that on all of my machines. I never have /tmp physically on disk anywhere. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG,

Re: Automatic chmod

2009-10-09 Thread Victor Subervi
I should have mentioned the import of the login works for other scripts, so that is not the issue. V On Fri, Oct 9, 2009 at 10:20 AM, Victor Subervi victorsube...@gmail.comwrote: User? I only have one user on this shared server. Here's the code: #!/usr/local/bin/python import cgitb;

Re: / almost out of space just after installation

2009-10-09 Thread krad
2009/10/9 Oliver Fromme o...@lurza.secnetix.de Randi Harper wrote: / = 1GB /var = 2GB /tmp = 2GB Depending on the size of installed RAM, /tmp could also be a memory disk by default. I do that on all of my machines. I never have /tmp physically on disk anywhere. Best regards

Re: How to set device permissions at startup

2009-10-09 Thread Roland Smith
On Fri, Oct 09, 2009 at 02:18:46AM -0400, Aryeh M. Friedman wrote: Roland Smith wrote: On Thu, Oct 08, 2009 at 11:25:12PM -0400, Aryeh M. Friedman wrote: Since certain currently unused devices are not created in /dev (specifically in my case /dev/fuse*) how do I tell what ever (I

Re: How to set device permissions at startup

2009-10-09 Thread Roland Smith
On Fri, Oct 09, 2009 at 12:34:21PM +0200, Oliver Fromme wrote: Aryeh M. Friedman wrote: Herbert J. Skuhra wrote: Den 9. okt. 2009 kl. 05.25 skrev Aryeh M. Friedman aryeh.fried...@gmail.com: Since certain currently unused devices are not created in /dev (specifically in

ipfw - TRAFFIC SHAPER

2009-10-09 Thread alexus
I'm trying to fight with ipfw and unfortunately unsuccessfully... I created following rules ipfw pipe 1 config bw 1Mbit/s ifpw add 8080 pipe 1 tcp from any to any src-port www ifpw add 8080 pipe 1 tcp from any to any dst-port www yet I see peaks of my traffic is way higher them 1Mbit/s i have

Re: Russian Translator

2009-10-09 Thread Matthew Seaman
Владимир Романов wrote: Hi there. I want to be the translator from English to Russian in freebsd.com. ITYM freebsd.org ? I see, that in http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/ there is written: Copyright [http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/LEGALNOTICE.html]

Re: How to set device permissions at startup

2009-10-09 Thread Oliver Fromme
Roland Smith wrote: Oliver Fromme wrote: Quote from the manpage: The devfs.rules file provides an easy way to create and apply devfs(8) rules, even for devices that are not available at boot. The rules take effect whenever a new node (devide) appears, even after devfs was

Re: Upgrade to 7.2 broke network connections-SOLVED

2009-10-09 Thread fbsd-ml
I tried booting up with ACPI disabled, and suddenly the network connections worked like a charm. Thanks, Renee Gehlbach Today I updated a server from 6.4 to 7.2. I cvsup'ed, built world, built kernel, installed kernel, installed world, mergemastered, and rebooted. And sat there, while

Re: ipfw - TRAFFIC SHAPER

2009-10-09 Thread Brent Bloxam
alexus wrote: I'm trying to fight with ipfw and unfortunately unsuccessfully... I created following rules ipfw pipe 1 config bw 1Mbit/s ifpw add 8080 pipe 1 tcp from any to any src-port www ifpw add 8080 pipe 1 tcp from any to any dst-port www yet I see peaks of my traffic is way higher them

Re: for perl wizards.

2009-10-09 Thread Oliver Fromme
Warren Block wrote: Oliver Fromme wrote: Gary Kline wrote: Whenever I save a wordpeocessoe file [OOo, say] into a text file, I get a slew of hex codes to indicate the char to be used. I'm looking for a perl one-liner or script to translate hex back into ', , -- [that's

Capturing netflows

2009-10-09 Thread Jay Hall
I have run into a need to capture netflows from the internal interface of my FreeBSD 6 server. The internal interface is em0 and the external interface is em1. I am using the following to setup the netflows. /usr/sbin/ngctl -f- SEQ mkpeer em0: netflow lower iface0 name:

Re: ipfw - TRAFFIC SHAPER

2009-10-09 Thread alexus
On Fri, Oct 9, 2009 at 12:57 PM, Brent Bloxam bre...@beanfield.com wrote: alexus wrote: I'm trying to fight with ipfw and unfortunately unsuccessfully... I created following rules ipfw pipe 1 config bw 1Mbit/s ifpw add 8080 pipe 1 tcp from any to any src-port www ifpw add 8080 pipe 1 tcp

Re: ipfw - TRAFFIC SHAPER

2009-10-09 Thread alexus
On Fri, Oct 9, 2009 at 1:22 PM, alexus ale...@gmail.com wrote: On Fri, Oct 9, 2009 at 12:57 PM, Brent Bloxam bre...@beanfield.com wrote: alexus wrote: I'm trying to fight with ipfw and unfortunately unsuccessfully... I created following rules ipfw pipe 1 config bw 1Mbit/s ifpw add 8080

Re: for perl wizards.

2009-10-09 Thread Warren Block
On Fri, 9 Oct 2009, Oliver Fromme wrote: Warren Block wrote: Oliver Fromme wrote: Gary Kline wrote: Whenever I save a wordpeocessoe file [OOo, say] into a text file, I get a slew of hex codes to indicate the char to be used. I'm looking for a perl one-liner or script to translate

Re: for perl wizards.

2009-10-09 Thread Oliver Fromme
Warren Block wrote: Oliver Fromme wrote: Warren Block wrote: Oliver Fromme wrote: Gary Kline wrote: Whenever I save a wordpeocessoe file [OOo, say] into a text file, I get a slew of hex codes to indicate the char to be used. I'm looking for a perl one-liner

Re: How to set device permissions at startup

2009-10-09 Thread Aryeh M. Friedman
Oliver Fromme wrote: Roland Smith wrote: Oliver Fromme wrote: Quote from the manpage: The devfs.rules file provides an easy way to create and apply devfs(8) rules, even for devices that are not available at boot. The rules take effect whenever a new node (devide) appears,

postfix/amavids/sa/etc in FreeBSD jail?

2009-10-09 Thread Len Conrad
is a FreeBSD jail enough of a virtualized OS to run a full filtering MX config setup exactly as on a native FreeBSD? Len ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send

best FBSD version for commercial use.

2009-10-09 Thread Marwan Sultan
Hello Gurus, Im planing to move out of my FreeBSD 4.8-R! which served me like a charm for many years. But not sure if I should go for 6.3 or 7.2 This server will be a DNS server, apache, shell accounts..php, mysql.. anything i should be aware of? Advices? Thank

Re: best FBSD version for commercial use.

2009-10-09 Thread Adam Vande More
On Fri, Oct 9, 2009 at 1:28 PM, Marwan Sultan dead_l...@hotmail.com wrote: Hello Gurus, Im planing to move out of my FreeBSD 4.8-R! which served me like a charm for many years. But not sure if I should go for 6.3 or 7.2 This server will be a DNS server, apache, shell

Re: for perl wizards.

2009-10-09 Thread Lars Eighner
On Fri, 9 Oct 2009, Warren Block wrote: On Fri, 9 Oct 2009, Oliver Fromme wrote: Gary Kline kl...@thought.org wrote: Whenever I save a wordpeocessoe file [OOo, say] into a text file, I get a slew of hex codes to indicate the char to be used. I'm looking for a perl

Re: Capturing netflows

2009-10-09 Thread Vincent Hoffman
Jay Hall wrote: I have run into a need to capture netflows from the internal interface of my FreeBSD 6 server. The internal interface is em0 and the external interface is em1. I am using the following to setup the netflows. /usr/sbin/ngctl -f- SEQ mkpeer em0: netflow lower iface0

Re: best FBSD version for commercial use.

2009-10-09 Thread Mikel King
On Oct 9, 2009, at 2:28 PM, Marwan Sultan wrote: Hello Gurus, Im planing to move out of my FreeBSD 4.8-R! which served me like a charm for many years. But not sure if I should go for 6.3 or 7.2 This server will be a DNS server, apache, shell accounts..php, mysql..

Re: How to set device permissions at startup

2009-10-09 Thread Oliver Fromme
Aryeh M. Friedman wrote: Oliver Fromme wrote: Roland Smith wrote: But one has to run '/etc/rc.d/devfs restart' for newly added rules to take effect! (or reboot the system, which is overkill). Yes, of course. I thought that was obvious. Maybe I whould add that to

Re: for perl wizards.

2009-10-09 Thread Warren Block
On Fri, 9 Oct 2009, Oliver Fromme wrote: Warren Block wrote: Certainly \x will not help in sed; sed doesn't have it. Right, that's an annoying flaw in sed (it doesn't even support the \0 syntax for octal values, which is more standard than \x). From my perspective, sed is a tiny, gooey

Re: How to set device permissions at startup

2009-10-09 Thread Aryeh M. Friedman
Oliver Fromme wrote: Aryeh M. Friedman wrote: Oliver Fromme wrote: Roland Smith wrote: But one has to run '/etc/rc.d/devfs restart' for newly added rules to take effect! (or reboot the system, which is overkill). Yes, of course. I thought that was obvious. Maybe I

Re: for perl wizards.

2009-10-09 Thread Matthew Seaman
Oliver Fromme wrote: This isn't about regular expressions at all. This is about replacing fixed strings. Fixed strings are regular expressions. Pretty unexciting ones, but perfectly valid none the less. This has been your daily pedantry minute. Cheers, Matthew -- Dr

Re: best FBSD version for commercial use.

2009-10-09 Thread Polytropon
On Fri, 9 Oct 2009 15:04:42 -0400, Mikel King mikel.k...@olivent.com wrote: Recommend sticking with 7.x branch until 8.0 has been through one or two solid releases. Then you should be able to perform a csup and rebuild the world to the current version of 8.x at the time. So you would not

Re: for perl wizards.

2009-10-09 Thread Matthew Seaman
Lars Eighner wrote: On Fri, 9 Oct 2009, Warren Block wrote: That's twice now people have suggested sed instead of perl. Why? For many uses, perl is a better sed than sed. The regex engine is far more powerful and escapes are much simpler. Because sed is stable and perl is getting all

Re: best FBSD version for commercial use.

2009-10-09 Thread jhell
On Fri, 9 Oct 2009 18:28 -, dead_line@ wrote: Hello Gurus, Im planing to move out of my FreeBSD 4.8-R! which served me like a charm for many years. But not sure if I should go for 6.3 or 7.2 This server will be a DNS server, apache, shell accounts..php, mysql.. anything i

Re: best FBSD version for commercial use.

2009-10-09 Thread Ross Cameron
On Fri, Oct 9, 2009 at 8:28 PM, Marwan Sultan dead_l...@hotmail.com wrote: Hello Gurus, Im planing to move out of my FreeBSD 4.8-R! which served me like a charm for many years. But not sure if I should go for 6.3 or 7.2 This server will be a DNS server, apache, shell

Re: / almost out of space just after installation

2009-10-09 Thread RW
On Fri, 9 Oct 2009 17:28:09 +0200 (CEST) Oliver Fromme o...@lurza.secnetix.de wrote: Randi Harper wrote: / = 1GB /var = 2GB /tmp = 2GB Depending on the size of installed RAM, /tmp could also be a memory disk by default. I don't see why it should depend on the amount of RAM, since

Re: best FBSD version for commercial use.

2009-10-09 Thread Warren Block
On Fri, 9 Oct 2009, Polytropon wrote: On Fri, 9 Oct 2009 15:04:42 -0400, Mikel King mikel.k...@olivent.com wrote: Recommend sticking with 7.x branch until 8.0 has been through one or two solid releases. Then you should be able to perform a csup and rebuild the world to the current version of

Re: best FBSD version for commercial use.

2009-10-09 Thread ill...@gmail.com
2009/10/9 Polytropon free...@edvax.de: On Fri, 9 Oct 2009 15:04:42 -0400, Mikel King mikel.k...@olivent.com wrote: Recommend sticking with 7.x branch until 8.0 has been through one or two solid releases. Then  you should be able to perform a csup and rebuild the world to the current version of

Security blocking question

2009-10-09 Thread Aflatoon Aflatooni
Hi, The production server that has a public IP address has SSH enabled. This server is continuously under dictionary attack: Oct  8 12:58:40 seven sshd[32248]: Invalid user europa from 83.65.199.91 Oct  8 12:58:40 seven sshd[32250]: Invalid user hacked from 83.65.199.91 Oct  8 12:58:40 seven

Re: Security blocking question

2009-10-09 Thread Adam Vande More
On Fri, Oct 9, 2009 at 4:45 PM, Aflatoon Aflatooni aaflato...@yahoo.comwrote: Hi, The production server that has a public IP address has SSH enabled. This server is continuously under dictionary attack: Oct 8 12:58:40 seven sshd[32248]: Invalid user europa from 83.65.199.91 Oct 8 12:58:40

Re: Security blocking question

2009-10-09 Thread Jonathan Chen
On Fri, Oct 09, 2009 at 02:45:51PM -0700, Aflatoon Aflatooni wrote: [...] Is there a way that I could configure the server so that if there are for example X attempts from an IP address then for the next Y hours all the SSH requests would be ignored from that IP address? There are only a

Re: Security blocking question

2009-10-09 Thread APseudoUtopia
On Fri, Oct 9, 2009 at 5:45 PM, Aflatoon Aflatooni aaflato...@yahoo.com wrote: Hi, The production server that has a public IP address has SSH enabled. This server is continuously under dictionary attack: Oct  8 12:58:40 seven sshd[32248]: Invalid user europa from 83.65.199.91 Oct  8 12:58:40

RE: Security blocking question

2009-10-09 Thread Gary Gatten
I might also add, if it's only a handful that have legitimate access requirements, maybe black hole all ip's from locations (countries, etc.) they'll never be in. We see a lot of bad traffic from well, certain countries and we simply null route them. Or if I feel like playing a bit I'll route

Re: Security blocking question

2009-10-09 Thread Matthew Seaman
Aflatoon Aflatooni wrote: Hi, The production server that has a public IP address has SSH enabled. This server is continuously under dictionary attack: Oct 8 12:58:40 seven sshd[32248]: Invalid user europa from 83.65.199.91 Oct 8 12:58:40 seven sshd[32250]: Invalid user hacked from

Error Compiling qt4-dbus

2009-10-09 Thread Warren Liddell
Running AMD64 7.2-STABLE src kernel upto date an trying to get ports updated when encountering the below issue which is now affecting a lot of programs.. cd /usr/ports/devel/dbus-qt4/work/qt-x11-opensource-src-4.5.2/./tools/qdbus/qdbus make first c++ -c -O2

Re: Security blocking question

2009-10-09 Thread Aflatoon Aflatooni
- Original Message From: Gary Gatten ggat...@waddell.com To: Adam Vande More amvandem...@gmail.com; Aflatoon Aflatooni aaflato...@yahoo.com Cc: freebsd-questions@freebsd.org Sent: Fri, October 9, 2009 5:53:10 PM Subject: RE: Security blocking question I might also add, if

Re: best FBSD version for commercial use.

2009-10-09 Thread Mikel King
On Oct 9, 2009, at 3:40 PM, Polytropon wrote: On Fri, 9 Oct 2009 15:04:42 -0400, Mikel King mikel.k...@olivent.com wrote: Recommend sticking with 7.x branch until 8.0 has been through one or two solid releases. Then you should be able to perform a csup and rebuild the world to the current

Automated login, X and xdm

2009-10-09 Thread Polytropon
Dear list, in order to do something that I haven't done for many years, I'd like to have some suggestions or pointers if I do it right. It's a strange, but still typical idea. :-) Here's the problem: A FreeBSD workstation should run X for a specified user after system startup. If the user logs

Re: best FBSD version for commercial use.

2009-10-09 Thread krad
2009/10/9 Mikel King mikel.k...@olivent.com On Oct 9, 2009, at 3:40 PM, Polytropon wrote: On Fri, 9 Oct 2009 15:04:42 -0400, Mikel King mikel.k...@olivent.com wrote: Recommend sticking with 7.x branch until 8.0 has been through one or two solid releases. Then you should be able to

Re: for perl wizards.

2009-10-09 Thread Steve Bertrand
Lars Eighner wrote: On Fri, 9 Oct 2009, Warren Block wrote: On Fri, 9 Oct 2009, Oliver Fromme wrote: Gary Kline kl...@thought.org wrote: Whenever I save a wordpeocessoe file [OOo, say] into a text file, I get a slew of hex codes to indicate the char to be

text2html ?

2009-10-09 Thread stan
I had a contractor uppgrade a freebsd machine a while back. Now I am finding things that did not get done corectly. The latest is that I have some other machines that create text files copy them over to this machine, and put them iin the webservers space. Looks like in the past, these files were

Re: text2html ?

2009-10-09 Thread Polytropon
On Fri, 9 Oct 2009 19:19:54 -0400, stan st...@panix.com wrote: Can anyone sugest either where I can find this utlity, or what I might use as an alternative? The text files to process are very simple reports of system statistics. Maybe this is usable for you: Port: txt2html-2.45 Path:

Re: Security blocking question

2009-10-09 Thread Svante Kvarnstrom
On Oct 9, 2009, at 11:56 PM, Matthew Seaman wrote: plus you'll need to add a cron job to clear old entries out of the ssh-bruteforce table after a suitable amount of time has passed. Use expiretable to do that. I believe that security/expiretable is superfluous nowadays since pfctl

Re: / almost out of space just after installation

2009-10-09 Thread Karl Vogel
On Thu, 8 Oct 2009 23:39:58 -0700, Randi Harper ra...@freebsd.org said: R I was thinking that a more acceptable default layout (leaving swap at R it's current default size) would be: R / = 1GB R /var = 2GB R /tmp = 2GB I usually create something like this: / = 200M /usr = 8G

Re: best FBSD version for commercial use.

2009-10-09 Thread 牛粥
Marwan Sultan wrote: Im planing to move out of my FreeBSD 4.8-R! which served me like a charm for many years. But not sure if I should go for 6.3 or 7.2 This server will be a DNS server, apache, shell accounts..php, mysql.. IMHO, i think that you should wait until 8.0-R out.

Re: Automatic chmod

2009-10-09 Thread Richard Mahlerwein
From: Victor Subervi victorsube...@gmail.com Subject: Re: Automatic chmod To: mahle...@yahoo.com, freebsd-questions@freebsd.org Date: Friday, October 9, 2009, 11:20 AM User? I only have one user on this shared server. Here's the code: #!/usr/local/bin/python import cgitb; cgitb.enable() import

RE: text2html ?

2009-10-09 Thread Paul Schmehl
-Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of stan Sent: Friday, October 09, 2009 6:20 PM To: Free BSD Questions list Subject: text2html ? I had a contractor uppgrade a freebsd machine a while back. Now I am finding

Re: best FBSD version for commercial use.

2009-10-09 Thread Nerius Landys
My 2 cents, as far as I know 7.1 will be maintained longer than 7.2 according to the freebsd.org website. That is, security fixes will be rolled out for 7.1 a while after 7.2 reaches End Of Life. That made me decide to go with 7.1 when I had to make the switch from 7.0 a few months ago. 8.0 was