Re: bash shell colors

2008-09-17 Thread Anselm Strauss
Hi, I use something like this (heavily inspired by Gentoo): if [[ ${EUID} == 0 ]] ; then PS1='\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] ' else PS1='\[\033[01;[EMAIL PROTECTED];34m\] \w \$\[\033[00m\] ' fi One could maybe also include a check of $TERM for different terminal types,

Re: Auto blacklist ssh connections ...

2008-09-17 Thread Matthew Seaman
Nathan Lay wrote: I employed this solution: http://johan.fredin.info/openbsd/block_ssh_bruteforce.html You have to enable pf, but man it works and it works well! Agreed. I use a slight modification of this configuration on a number of firewalls. As specified in the page referenced above, the

Re: Auto blacklist ssh connections ...

2008-09-17 Thread DA Forsyth
On 17 Sep 2008 , [EMAIL PROTECTED] entreated about "freebsd-questions Digest, Vol 233, Issue 7": > Does anyone know of a utility that I can use with sshd to auto-block by IP if > there are more then N failed attempts in a row? yes, 'pf' the packet filter. http://home.nuug.no/~peter/pf/en/brutef

Re: pc with 4G memory

2008-09-17 Thread Kris Kennaway
Ivan Voras wrote: * Use a PAE kernel, which works fairly well, but doesn't support kernel modules (if you are not familiar with kernel modules then you probably don't need them so ignore this). There's a pre-packaged kernel configuration named "PAE" for this. PAE has supported kernel modules fo

Re: Upgrading to 64 bit from a 32 bit installation on FBSD 7

2008-09-17 Thread Kris Kennaway
Andrew Berry wrote: Hi, I've got a server which will be upgraded to my "castoff" parts which support amd64. This machine has been running Freebsd since the 5.0 RC's, starting on a P2 233Mhz, upgraded incrementally for a few years - a real testament to the stability of a FreeBSD install! What

Re: problem with ng_ipacct

2008-09-17 Thread Alexey A. Ukhov
Hello all. I found reason - recompile kernel with the following options. options IPFIREWALL #firewall options IPFIREWALL_DEFAULT_TO_ACCEPT#allow everything by default options IPDIVERT#divert sockets Alexey

Upgrading to 64 bit from a 32 bit installation on FBSD 7

2008-09-17 Thread Andrew Berry
Hi, I've got a server which will be upgraded to my "castoff" parts which support amd64. This machine has been running Freebsd since the 5.0 RC's, starting on a P2 233Mhz, upgraded incrementally for a few years - a real testament to the stability of a FreeBSD install! What I've done in the

bash shell colors

2008-09-17 Thread Sam Fourman Jr.
Hello list, I am looking to configure FreeBSD's Bash can anyone post a config file that would make FreeBSD's Bash shell color code like the default gentoo bash shell or if you have a config that you like and feel like posting it I will take a look at it. Sam Fourman Jr. Fourman Networks ___

a1exus wants to keep up with you on Twitter

2008-09-17 Thread a1exus
To find out more about Twitter, visit the link below: http://twitter.com/i/0f39b27348d49a3bb634bc713c0c43b8c91cf2f3 Thanks, -The Twitter Team About Twitter Twitter is a unique approach to communication and networking based on the simple concept of status. What are you doing? What are your frie

problem with ng_ipacct

2008-09-17 Thread Alexey A. Ukhov
Hello friend! I try to start ng_ipacct on my gif interface. And have problem with initialization: looks that system does not understand divert keyword startext# ngctl + mkpeer ipacct ctl ctl + name .:ctl ipacct_gif0 + mkpeer ipacct_gif0: ksocket gif0_in inet/raw/divert ngctl: send msg: Protocol

Maxtor STM3250310AS is recognized as SATA150 instead of SATA300

2008-09-17 Thread Roman Serbski
Hi list- I'm running FreeBSD 7.1-PRERELEASE (cvsuped and built yesterday) on Asus P5KPL-VM with Maxtor STM3250310AS (250GB) for some reason being recognized as SATA150. According to P5KPL-VM specs (http://www.asus.com/products.aspx?l1=3&l2=11&l3=563&l4=0&model=1772&modelmenu=2) it does support 3Gb

Re: Auto blacklist ssh connections ...

2008-09-17 Thread Nathan Lay
I employed this solution: http://johan.fredin.info/openbsd/block_ssh_bruteforce.html You have to enable pf, but man it works and it works well! Best Regards, Nathan Lay Marc G. Fournier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Does anyone know of a utility that I can use with ssh

Re: Auto blacklist ssh connections ...

2008-09-17 Thread Agus
2008/9/17 Mel <[EMAIL PROTECTED]>: > On Thursday 18 September 2008 01:15:45 Marc G. Fournier wrote: >> Does anyone know of a utility that I can use with sshd to auto-block by IP >> if there are more then N failed attempts in a row? > > # crontab -l > @reboot /usr/sbin/daemon -p /var/run/grok-ssh.pi

You Talk ... We Listen

2008-09-17 Thread PC Tools Newsletter
If you are unable to see the imag= es, add the domain @email.pctools.com to your Safe Sender list. [1] 3D= 3D"" 3D"" [2] ="" Have your= say and be rewarded... Are we meeting YOUR needs?= We would love to know. Take part in our short survey by the end of Septe= mber &

Want to create own package cd

2008-09-17 Thread matt donovan
I am trying to follow http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng-packages/index.htmlto make my own package cd. The documentation doesn't really explain a whole lot but when I look at the cvs it is missing the script print-cdrom-packages.sh. Where can I get this script from?

NTP authentication using kerberos

2008-09-17 Thread Da Rock
This may be a stupid question, and/or a chicken and egg conundrum: Is it possible to use kerberos in authentication with an ntp server? Here is my reasoning for this (and please correct any wrong assumptions I have here): In the handbook regarding kerberos (and nearly every other reliable source)

Mystical Server Shutdown.

2008-09-17 Thread Grant Peel
Hi all, I started getting watchmouse errors about on pf my servers not responding. There is a DRAC on the machine, and the sensor data was all good. When I got the machine back up and running, I seen this in lastlog: client1 ftp hostname1here Wed Sep 17 17:02 - shutdown (00:46)

Re: Auto blacklist ssh connections ...

2008-09-17 Thread Mel
On Thursday 18 September 2008 01:15:45 Marc G. Fournier wrote: > Does anyone know of a utility that I can use with sshd to auto-block by IP > if there are more then N failed attempts in a row? # crontab -l @reboot /usr/sbin/daemon -p /var/run/grok-ssh.pid /usr/local/bin/grok -f /etc/pf/grok-ssh.c

Re: port: security/cfs

2008-09-17 Thread Edwin Groothuis
On Wed, Sep 17, 2008 at 06:38:56PM -0400, Christopher Sean Hilton wrote: > The port security/cfs, Matt Blaze's userland Cryptographic filesystem, > is marked as broken because it does not compile under FreeBSD-7.0 or > later. ports/127457 Edwin -- Edwin Groothuis |Personal

Re: Auto blacklist ssh connections ...

2008-09-17 Thread Vulpes Velox
On Wed, 17 Sep 2008 20:15:45 -0300 "Marc G. Fournier" <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > Does anyone know of a utility that I can use with sshd to > auto-block by IP if there are more then N failed attempts in a row? > > ie: > > # grep "Invalid u

Re: OO 2.4.1 package problem

2008-09-17 Thread Vinny
Hi Ghirai, I installed OOo_2.4.1_FreeBSD70Intel_install_en-US.tbz, along with the required deps, as well as diablo-jre-freebsd7.i386.1.6.0.07.02.tbz. Now i'm getting this error: [EMAIL PROTECTED] /usr/home/ghirai]$ openoffice.org-2.4.1 javaldx: Could not find a Java Runtime Environment! The

Re: Auto blacklist ssh connections ...

2008-09-17 Thread Tom Marchand
Why don't you have sshd listen on a different port? I was getting 1000's of ssh login attempts until I changed the port sshd was listening on. I've found script kiddies aren't smart enough to check alt ports. On Sep 17, 2008, at 7:15 PM, Marc G. Fournier wrote: -BEGIN PGP SIGNED ME

Re: Auto blacklist ssh connections ...

2008-09-17 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marc G. Fournier wrote: > > Does anyone know of a utility that I can use with sshd to auto-block by IP if > there are more then N failed attempts in a row? > > ie: > > # grep "Invalid user" /var/log/auth.log| awk '{print $10}' | sort | uniq -c | >

Re: port: security/cfs

2008-09-17 Thread Edwin Groothuis
On Wed, Sep 17, 2008 at 06:38:56PM -0400, Christopher Sean Hilton wrote: > The port security/cfs, Matt Blaze's userland Cryptographic filesystem, > is marked as broken because it does not compile under FreeBSD-7.0 or > later. I got patches which I (stupidely) never commited. I'll send0pr them

Re: Auto blacklist ssh connections ...

2008-09-17 Thread Chuck Swiger
On Sep 17, 2008, at 4:15 PM, Marc G. Fournier wrote: Does anyone know of a utility that I can use with sshd to auto-block by IP if there are more then N failed attempts in a row? Certainly. See: % cat /usr/ports/security/denyhosts/pkg-descr DenyHosts is a script intended to be run by *ix sy

Re: Auto blacklist ssh connections ...

2008-09-17 Thread freebsdemail
Grock and swatch are two that are pretty flexible and would do what you want. They are both in ports. Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: "Marc G. Fournier" <[EMAIL PROTECTED]> Date: Wed, 17 Sep 2008 20:15:45 To: Subject: Auto blackli

Auto blacklist ssh connections ...

2008-09-17 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Does anyone know of a utility that I can use with sshd to auto-block by IP if there are more then N failed attempts in a row? ie: # grep "Invalid user" /var/log/auth.log| awk '{print $10}' | sort | uniq -c | sort -nr 5268 140.113.210.174 4863 72

port: security/cfs

2008-09-17 Thread Christopher Sean Hilton
The port security/cfs, Matt Blaze's userland Cryptographic filesystem, is marked as broken because it does not compile under FreeBSD-7.0 or later. I've managed to get it to compile through some simple changes but I don't know enough about RPC to know if I am on the right track. I'm asking

Re: GCC Compliler

2008-09-17 Thread Paul A. Procacci
Dean Huffaker wrote: I need to compile a c module called camerad. I have a makefile that is suppose to be used to perform this compile job. Problem is that I get an error and I don't understand exactly what the problem is. Here is the execution of the makefile with the error and then I did a ca

GCC Compliler

2008-09-17 Thread Dean Huffaker
I need to compile a c module called camerad.  I have a makefile that is suppose to be used to perform this compile job.  Problem is that I get an error and I don't understand exactly what the problem is.  Here is the execution of the makefile with the error and then I did a cat on the makefile i

Re: Intel 82567LM on a Dell Latitude E6500

2008-09-17 Thread Adam McDougall
Leslie Jensen wrote: I've just got myself a new laptop. The ethernet card is the above. I found a readme file on how to install the driver, and there's also instructions on where to download this driver. When browsing to Intels download center and finding the right driver one is directed to the

Re: irq19 interrupt storm?

2008-09-17 Thread John Baldwin
On Wednesday 17 September 2008 11:00:24 am Scott Gasch wrote: > You're right: atapci1, atapci2, fwohci0 and uhci4 are all sharing the same > irq (19) while irqs 20, 21, 22 at least seem completely unused. Here's a > dumb question: how do I fix it? I tried setting "plug and play OS" in the > BIOS

freeBSD 7.0 supports ACE Proactor?

2008-09-17 Thread Mungyung Ryu
Hi freeBSD users, I've developed couple of server applications on Windows platform with ACE Proactor and it worked quite well. But, because of the expensive Windows Server, I wanna move to Linux or freeBSD. Recently, I'm considering to build a server application on freeBSD but the important issu

Login Shells /SSHd causing high CPU load....

2008-09-17 Thread Agus
Hi guys... I've been experiencing a weird increase in the percentage of CPU Load... It was weird cause after i logged in..just that second the load begins to decreaseso i assumed there was maybe some backup or cron running...And as i was busy i didnt have the time to investigate Now i too

Build error while upgrading 'kdesdk-3.5.9' to 'kdesdk-3.5.10' (devel/kdesdk3)

2008-09-17 Thread Michal Petrucha
Hello everybody, I get an error while upgrading the port mentioned in $subj. When I run # portupgrade -c devel/kdesdk3 it starts compiling, but after a while it always crashes at this point: - Making all in libgettext gmake[4]: Entering directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.5

Re: OO 2.4.1 package problem

2008-09-17 Thread Ghirai
On Wed, 17 Sep 2008 19:28:29 +0200 Todor Genov <[EMAIL PROTECTED]> wrote: > Hi Ghirai, > > Is your home directory on an NFS partition by any chance? I ran into > similar issues on my diskless environment and resolved it by adding the > following to the NFS server and clients' rc.conf files: > >

Re: Sound on Dell Latitude E6500

2008-09-17 Thread Sam Fourman Jr.
> I'm running > > 7.1-BETA GENERIC amd64 > > I have never used CURRENT and I don't know if I want to go there. > > /Leslie > here is a patch that I found posted on the -current mailing list you may have some luck with this http://people.freebsd.org/~mav/hda.7.20080913.patch Sam Fourman Jr. __

Re: OO 2.4.1 package problem

2008-09-17 Thread Todor Genov
Hi Ghirai, Is your home directory on an NFS partition by any chance? I ran into similar issues on my diskless environment and resolved it by adding the following to the NFS server and clients' rc.conf files: rpc_lockd_enable="yes" rpc_statd_enable="yes" rpcbind_enable="yes" Also my /usr/local/o

Re: Sound on Dell Latitude E6500

2008-09-17 Thread Leslie Jensen
Sam Fourman Jr. skrev: On Wed, Sep 17, 2008 at 11:20 AM, Leslie Jensen <[EMAIL PROTECTED]> wrote: I need a little help to get the sound to work on my laptop. The sound card is "IDT HD Audio codec" in Windows Vista. My loader.conf has the following: sound_load="YES" snd_hda_load="YES" I thin

Re: Sound on Dell Latitude E6500

2008-09-17 Thread Sam Fourman Jr.
On Wed, Sep 17, 2008 at 11:20 AM, Leslie Jensen <[EMAIL PROTECTED]> wrote: > >> I need a little help to get the sound to work on my laptop. >> >> The sound card is "IDT HD Audio codec" in Windows Vista. >> >> My loader.conf has the following: >> sound_load="YES" >> snd_hda_load="YES" >> >> I think

Re: Sound on Dell Latitude E6500

2008-09-17 Thread Leslie Jensen
I need a little help to get the sound to work on my laptop. The sound card is "IDT HD Audio codec" in Windows Vista. My loader.conf has the following: sound_load="YES" snd_hda_load="YES" I think the driver is loaded cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64) Insta

Re: FB on 3BSD

2008-09-17 Thread Sergey Kovalev
Graham Bentley пишет: So if you rebuild your fluxbox port with the default settings, transparency should work fine. And that is exactlyt why I am asking - it doesnt! As reported issuing a plain make results in fluxbox -info output of -RENDER ie. it is NOT included !!! Of course the first thi

Re: FreeBSD CVS tag

2008-09-17 Thread N. Raghavendra
At 2008-09-17T10:15:37-04:00, Lowell Gilbert wrote: > The comments in the CVSROOT-src/config file seem to confirm that, > although I'm not sure where the definition is *really* added. I missed that config file. OTOH, there is http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/CVSROOT/options in su

Re: Multiple installation of one ports

2008-09-17 Thread FreeBSD
John Nielsen a écrit : On Tuesday 16 September 2008 01:26:35 pm FreeBSD wrote: I've been asked by a customer to install Drupal on one server to manage a new site. No problem yet. But, he also asked if it would be possible to install it for other sites. I know that there is a warning if you w

Re: How to split a C string by a string?

2008-09-17 Thread Giorgos Keramidas
On Wed, 17 Sep 2008 06:32:56 -0700 (PDT), Unga <[EMAIL PROTECTED]> wrote: > --- On Wed, 9/17/08, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: >> From: Giorgos Keramidas <[EMAIL PROTECTED]> >> Subject: Re: How to split a C string by a string? >> To: [EMAIL PROTECTED] >> Cc: freebsd-questions@freebsd

Re: Multiple installation of one ports

2008-09-17 Thread FreeBSD
Matthew Seaman a écrit : FreeBSD wrote: Hi everyone, I've been asked by a customer to install Drupal on one server to manage a new site. No problem yet. But, he also asked if it would be possible to install it for other sites. I know that there is a warning if you want to install a port tha

Sound on Dell Latitude E6500

2008-09-17 Thread Leslie Jensen
I need a little help to get the sound to work on my laptop. The sound card is "IDT HD Audio codec" in Windows Vista. My loader.conf has the following: sound_load="YES" snd_hda_load="YES" I think the driver is loaded cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64) Install

FreeBSD 7 server in hang

2008-09-17 Thread Chris
There is a PR about this issue: http://www.freebsd.org/cgi/query-pr.cgi?pr=125592 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

epiphany stalls on dbus-launch?

2008-09-17 Thread Anton Shterenlikht
I've built ports/www/epiphany on FBSD-6.3-stable on Alpha. On launch epiphany never opens the graphical window. ps shows: 67097 p5 I 0:01.21 epiphany 67098 p5 I 0:00.05 dbus-launch --autolaunch 76514f0130361463d40d7f1348d11bf3 --binary-syn 67101 p5 I 0:00.00 dbus-launch --aut

Sell Cisco Systems equipment items

2008-09-17 Thread [EMAIL PROTECTED]
Hello, We are professional manufacturer,we can supply lots of networking products: 100% compatible,3rd party Cisco Card,GBIC,SFP,module,WIC,Cisco Console cable items,and so on... we have competitive price and excellent capability of filling customers requirements. In addition to high quality,i

Re: irq19 interrupt storm?

2008-09-17 Thread Scott Gasch
You're right: atapci1, atapci2, fwohci0 and uhci4 are all sharing the same irq (19) while irqs 20, 21, 22 at least seem completely unused. Here's a dumb question: how do I fix it? I tried setting "plug and play OS" in the BIOS and then using device.hints to push different devices to different irq

Re: FreeBSD CVS tag

2008-09-17 Thread Lowell Gilbert
"N. Raghavendra" <[EMAIL PROTECTED]> writes: > At 2008-09-16T14:40:15-04:00, Lowell Gilbert wrote: > >> The CVSROOT/config file supports "LocalKeyword". > > Is it supported in the version of CVS that comes with the base system? > It didn't work for me with the system CVS. According to the CVS CVS

Re: How to split a C string by a string?

2008-09-17 Thread Robert Huff
Unga writes: > Thank you very much for the reply. That is, there is no existing > split function. Not in standard C. There may be in third party libraries; however linking against, oh, GTK just to get the one function seems ... excessive. Robert Huff

OO 2.4.1 package problem

2008-09-17 Thread Ghirai
Hello list, I installed OOo_2.4.1_FreeBSD70Intel_install_en-US.tbz, along with the required deps, as well as diablo-jre-freebsd7.i386.1.6.0.07.02.tbz. Now i'm getting this error: [EMAIL PROTECTED] /usr/home/ghirai]$ openoffice.org-2.4.1 javaldx: Could not find a Java Runtime Environment! The a

Re: FreeBSD 7.1 BETA and update to RELEASE

2008-09-17 Thread RW
On Wed, 17 Sep 2008 03:29:55 -0400 Michael Powell <[EMAIL PROTECTED]> wrote: > If the Beta installs and runs successfully you won't have any problem > updating the system when 7.1-Release makes it out the door. It should be very straightforward if you later upgrade to RELENG_7_1 by from source,

Re: How to split a C string by a string?

2008-09-17 Thread Unga
--- On Wed, 9/17/08, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > From: Giorgos Keramidas <[EMAIL PROTECTED]> > Subject: Re: How to split a C string by a string? > To: [EMAIL PROTECTED] > Cc: freebsd-questions@freebsd.org > Date: Wednesday, September 17, 2008, 6:17 PM > On Wed, 17 Sep 2008 00:45

Re: Port for drawing directed graphs?

2008-09-17 Thread Matt Emmerton
At 2008-09-15T10:31:57-04:00, John Almberg wrote: I am working on some software that must, as it's final output, produce a printout of a directed graph... nodes, connected by directed links. The printout could be generated by a postscript file, jpg, whatever. Does anyone know of a utility (in

netgraph one2many question

2008-09-17 Thread Omer Faruk SEN
Hi, I want to setup a one2many setup so a traffic comes to one interface should be duplicated to other 2 interfaces like: # Plumb nodes together /usr/sbin/ngctl mkpeer vr1: one2many upper one /usr/sbin/ngctl connect vr1: vr1:upper lower many0 /usr/sbin/ngctl connect vr2: vr1:upper lower many

Re: g_ufs_done() WHAT does it mean?

2008-09-17 Thread Kris Kennaway
Bob Falanga wrote: I have installed freeBSD on a SATA 320 gig hard drive. After running for a few minutes I get several of the following error messages: g_ufs_done():ad4s1d[WRITE(offset=385482752, length=16384)]error=6. After two pages like that the computer stops and requires a hard boot to rest

Re: How to split a C string by a string?

2008-09-17 Thread Giorgos Keramidas
On Wed, 17 Sep 2008 00:45:46 -0700 (PDT), Unga <[EMAIL PROTECTED]> wrote: > Hi all > > I'm writing an C application on FreeBSD 7+. I need to split a string > by another string (ie. the delimiter is "xxx") similar to strtok split > a string by a single char. Is there a standard function or is there

How to split a C string by a string?

2008-09-17 Thread Unga
Hi all I'm writing an C application on FreeBSD 7+. I need to split a string by another string (ie. the delimiter is "xxx") similar to strtok split a string by a single char. Is there a standard function or is there a FreeBSD functions for this? Many thanks in advance. Kind regards Unga

Re: FreeBSD 7.1 BETA and update to RELEASE

2008-09-17 Thread Michael Powell
Fernando Apesteguía wrote: > Hi all, > > I tried to install FreeBSD 7.0 on my computer but my NIC was not > supported, so finally I didn't install it. > Yesterday I tried 7.1 Beta bootinst and the network card was > recognized during the installation. I was planning to install 7.1 Beta > now, but

FreeBSD 7.1 BETA and update to RELEASE

2008-09-17 Thread Fernando Apesteguía
Hi all, I tried to install FreeBSD 7.0 on my computer but my NIC was not supported, so finally I didn't install it. Yesterday I tried 7.1 Beta bootinst and the network card was recognized during the installation. I was planning to install 7.1 Beta now, but I have some questions: - Is it difficult