How process CPU percentage is calculated?

2009-01-06 Thread Yuri
I have a process that is CPU intense. 'top -C' shows CPU usage for this process no higher than 20%, more like 15-18%. But TIME field grows 10 sec for every 15-17 secs or real time. top(1) says: Each time -C flag is passed it toggles between "raw cpu" mode and "weighted cpu" mode So I a

Re: Foiling MITM attacks on source and ports trees

2009-01-06 Thread Chad Perrin
On Tue, Jan 06, 2009 at 11:11:52AM -0900, Mel wrote: > On Tuesday 06 January 2009 10:31:26 Chad Perrin wrote: > > > > Out-of-band corroboration of a certificate's authenticity is kind of > > necessary to the security model of SSL/TLS. A self-signed certificate, > > in and of itself, is not really

Re: FreeBSD 7.1, nvidia-driver, GeForce 8500 GT

2009-01-06 Thread Giuseppe Pagnoni
Dear Paul, thank you very much for your help, that surely clarifies things. best giuseppe On Wed, Jan 7, 2009 at 12:51 AM, Paul Procacci wrote: > Paul Procacci wrote: >> >> Giuseppe Pagnoni wrote: >>> >>> Hello, >>> >>> well that is interesting. I do have 4 Gigs of RAM but I thought that >>

Re: FreeBSD 7.0-RELEASE-i386 will changing root shell break anything?

2009-01-06 Thread Frank Shute
On Sun, Jan 04, 2009 at 02:09:03PM -0800, David Christensen wrote: > > freebsd-questions: > > I'm building a fresh Amanda server using FreeBSD 7.0-RELEASE-i386: > > > http://portsmon.freebsd.org/portoverview.py?category=misc&portname=amand > a-server > > > Most of my software background is GN

setfib+pf

2009-01-06 Thread Dimitar Vasilev
Hello, I'd like to ask on the best options for using setfib and pf in a non-BGP environment. I will run 2 uplinks, with VLANs for internal networks and want to fail over external links if one of them fails. Currently pf supports to the best of my knowledge: a) rtable - this means i can create the

Re: mergemaster goof when src upgrading 7.0 -> 7.1

2009-01-06 Thread Peter Boosten
Yuri Pankov wrote: > On Wed, Jan 07, 2009 at 07:06:53AM +0100, Peter Boosten wrote: >> >> Also: most scripts updated by mergemaster during 7.0->7.1 are only >> version numbering diffs. Is there no smarter way to do this, apart from >> typing 'i' every time? > > I think you want -U option (auto upg

Re: mergemaster goof when src upgrading 7.0 -> 7.1

2009-01-06 Thread Robert Huff
Yuri Pankov writes: > > Also: most scripts updated by mergemaster during 7.0->7.1 are only > > version numbering diffs. Is there no smarter way to do this, apart from > > typing 'i' every time? > > I think you want -U option (auto upgrade files that have not been > modified by user) along

Re: Foiling MITM attacks on source and ports trees

2009-01-06 Thread Walt Pawley
At 12:31 PM -0700 1/6/09, Chad Perrin wrote: >On the other hand, I don't trust Verisign, either. What's to trust? If you pay them, you "in." -- Walter M. Pawley Wump Research & Company 676 River Bend Road, Roseburg, OR 97471 541-672-8975 __

Re: mergemaster goof when src upgrading 7.0 -> 7.1

2009-01-06 Thread Yuri Pankov
On Wed, Jan 07, 2009 at 07:06:53AM +0100, Peter Boosten wrote: > Johann Hasselbach wrote: > > I was doing a src upgrade from 7.0 to 7.1 > > > > After installkernel, i rebooted, and accidently ran "mergemaster" > > instead of "mergemaster -p" before installworld. I ctrl-c'd once I > > realized what

Re: mergemaster goof when src upgrading 7.0 -> 7.1

2009-01-06 Thread Peter Boosten
Johann Hasselbach wrote: > I was doing a src upgrade from 7.0 to 7.1 > > After installkernel, i rebooted, and accidently ran "mergemaster" > instead of "mergemaster -p" before installworld. I ctrl-c'd once I > realized what I had done, but the damage was done. > > It seems to have overwritten my

Re: PHP setup question

2009-01-06 Thread stan
On Tue, Jan 06, 2009 at 10:01:58PM -0500, Steve Bertrand wrote: > stan wrote: > > On Mon, Jan 05, 2009 at 09:45:23PM -0600, Kelly D. Grills wrote: > >> On Mon, Jan 05, 2009 at 04:51:08PM -0500, stan wrote: > >>> Clearly I am still confused. :-( > >>> > >>> I just duid as you sugested, and all went

OT: The future of CA's (Was: Re: Foiling MITM attacks on source and ports trees)

2009-01-06 Thread Mel
On Tuesday 06 January 2009 17:56:43 Olivier Nicole wrote: > Hi, > > > It shouldn't be so hard to give every citizen the option to "get an > > online certificate corresponding with their passport" and similarly for > > Chambers of Commerce to provide certificates for businesses. > > Only that would

Re: PHP setup question

2009-01-06 Thread Steve Bertrand
stan wrote: > On Mon, Jan 05, 2009 at 09:45:23PM -0600, Kelly D. Grills wrote: >> On Mon, Jan 05, 2009 at 04:51:08PM -0500, stan wrote: >>> Clearly I am still confused. :-( >>> >>> I just duid as you sugested, and all went well untill I pushed the "Write >>> Config" button at Step 2. At this point

Re: Foiling MITM attacks on source and ports trees

2009-01-06 Thread Olivier Nicole
Hi, > It shouldn't be so hard to give every citizen the option to "get an online > certificate corresponding with their passport" and similarly for Chambers of > Commerce to provide certificates for businesses. Only that would mean that 200 countries become Certificate Authorities and tens of t

Re: PHP setup question

2009-01-06 Thread stan
On Mon, Jan 05, 2009 at 09:45:23PM -0600, Kelly D. Grills wrote: > On Mon, Jan 05, 2009 at 04:51:08PM -0500, stan wrote: > > > > Clearly I am still confused. :-( > > > > I just duid as you sugested, and all went well untill I pushed the "Write > > Config" button at Step 2. At this point I was off

Upgrade a USB-stick contained system

2009-01-06 Thread Steve Bertrand
Hi everyone, I run numerous systems (mostly networking gear) from 2GB USB thumb sticks. These systems do not have hard disks. To update one of these systems, I'd generally copy the thumb drive filesystem to a hard disk in another PC, upgrade it, and then transfer the necessary data back to the US

RE: Hold all the aces in love 73T5N (verification)

2009-01-06 Thread RealTracker
Message from RealTracker / Bericht van RealTracker http://www.realtracker.com/images/flags/us.gif"; border="0"> I'm protecting myself from receiving junk mail and spam. http://www.realtracker.com/images/flags/nl.gif"; border="0"> Ik probeer mijzelf te beschermen tegen spam en ongewenste email. K

Re: FreeBSD 7.0-Stable Crashed with Cacti

2009-01-06 Thread kalpin
> On Tue, Jan 6, 2009 at 3:30 AM, Kalpin Erlangga Silaen > wrote: >> Dear All, >> >> we face problem with running cacti on FreeBSD 7.0-Stable. From top >> command output: >> > > - > snip > - > >> We realized that all cacti process just eat my cpu and memory (STATE: >> pfault) and my server

Eric Yeo is no longer in FLY Entertainment

2009-01-06 Thread Eric
Dear all, Please note that Eric Yeo is no longer an employee of FLY Entertainment with immediate effect. He no longer represent FLY or any of FLY's clients/entity for any matter. For further enquiries, please contact the following person in charge: Cindy Teo: ci...@fly.com.sg Keifer Ang: kei.

Re: FreeBSD 7.1, nvidia-driver, GeForce 8500 GT

2009-01-06 Thread Paul Procacci
Paul Procacci wrote: Giuseppe Pagnoni wrote: Hello, well that is interesting. I do have 4 Gigs of RAM but I thought that the nvidia driver would not work only if the 64 bit version of FreeBSD was installed. I installed the i386 version, so I assumed that I was just wasting some memory. In ca

Re: FreeBSD 7.1, nvidia-driver, GeForce 8500 GT

2009-01-06 Thread Paul Procacci
Giuseppe Pagnoni wrote: Hello, well that is interesting. I do have 4 Gigs of RAM but I thought that the nvidia driver would not work only if the 64 bit version of FreeBSD was installed. I installed the i386 version, so I assumed that I was just wasting some memory. In case I would want to use

Re: PHP setup question

2009-01-06 Thread stan
On Mon, Jan 05, 2009 at 09:45:23PM -0600, Kelly D. Grills wrote: > On Mon, Jan 05, 2009 at 04:51:08PM -0500, stan wrote: > > > > Clearly I am still confused. :-( > > > > I just duid as you sugested, and all went well untill I pushed the "Write > > Config" button at Step 2. At this point I was off

Re: FreeBSD 7.1, nvidia-driver, GeForce 8500 GT

2009-01-06 Thread Giuseppe Pagnoni
Hello, well that is interesting. I do have 4 Gigs of RAM but I thought that the nvidia driver would not work only if the 64 bit version of FreeBSD was installed. I installed the i386 version, so I assumed that I was just wasting some memory. In case I would want to use the nvidia driver, would

RE: Do UDP broadcasts work in FreeBSD?

2009-01-06 Thread Peter Steele
> I've already looked at the ISC DHCP source code. They use raw sockets to > send their broadcasts, which seems to us to be a convoluted way of > sending a simple broadcast. I've seen examples of DHCP client/server > code written in Java using standard UDP. Unfortunately, our own system > is alread

Re: FreeBSD 7.1, nvidia-driver, GeForce 8500 GT

2009-01-06 Thread Paul Procacci
Giuseppe Pagnoni wrote: Dear all, I have just installed FreeBSD 7.1 Release on a machine with a GeForce 8500 GT (I think this is the card, but more about that later...) and an LCD screen with a native resolution of 1680 x 1050. Xorg works fine with the standard "nv" driver. However, if I try t

Re: USB printer problem [SOLVED]

2009-01-06 Thread Mario Lobo
On Tuesday 06 January 2009 10:57:27 you wrote: > Your PPD is probably wrong ... > > Accorfing to: > http://hplipopensource.com/hplip-web/models/deskjet/deskjet_d1500_series.ht >ml > > Your printer is fully supported. But the right PPD seem to be: DJ3320 > > Get into the cups web interface, remove y

FreeBSD 7.1, nvidia-driver, GeForce 8500 GT

2009-01-06 Thread Giuseppe Pagnoni
Dear all, I have just installed FreeBSD 7.1 Release on a machine with a GeForce 8500 GT (I think this is the card, but more about that later...) and an LCD screen with a native resolution of 1680 x 1050. Xorg works fine with the standard "nv" driver. However, if I try to install the x11/nvidia-d

mergemaster goof when src upgrading 7.0 -> 7.1

2009-01-06 Thread Johann Hasselbach
I was doing a src upgrade from 7.0 to 7.1 After installkernel, i rebooted, and accidently ran "mergemaster" instead of "mergemaster -p" before installworld. I ctrl-c'd once I realized what I had done, but the damage was done. It seems to have overwritten my password and group files. I successful

RE: Do UDP broadcasts work in FreeBSD?

2009-01-06 Thread Peter Steele
> What you're trying to do with sending to the all-ones broadcast > address is known as sending a "link-local" packet. On some systems, > sending a UDP packet to 255.255.255.255 will actually cause a packet > with that destination to be generated from all network interfaces > which are "UP

Re: Transparent SOCKS proxy (server side)?

2009-01-06 Thread David Naylor
2009/1/6 Mel : > On Tuesday 06 January 2009 10:07:17 David Naylor wrote: >> 2009/1/6 Mel : >> > On Tuesday 06 January 2009 05:49:22 David Naylor wrote: >> >> Hi, >> >> >> >> My ISP's NAT, unfortunately, does not work more than it does. This is a >> >> problem as I need to provide 'direct' internet

Re: Do UDP broadcasts work in FreeBSD?

2009-01-06 Thread Chuck Swiger
On Jan 6, 2009, at 8:49 AM, Peter Steele wrote: Our efforts so far indicate the answer is no, which baffles us. We want to send a limited broadcast to 255.255.255.255 but the message never arrives. The same code works fine under Linux. Is there a trick for doing this kind of thing under FreeBSD

schedule the test

2009-01-06 Thread Gustavo Millani
Hi, Where can I schedule the test for certification? I found the site of Prometric and Vue. Gustavo Millani Brazil, Porto Alegre Veja quais são os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com ___ freebsd-questions@f

Re: iwi on 7-STABLE

2009-01-06 Thread Peter Harrison
Sunday, 4 January 2009 at 20:43:24 +0100, Per olof Ljungmark said: > Peter Harrison wrote: > >Wednesday, 31 December 2008 at 2:06:55 +0100, Per olof Ljungmark said: > >>Peter Harrison wrote: > >>>Tuesday, 30 December 2008 at 23:49:23 +0100, Per olof Ljungmark said: > >>> > Hi all, > > >>

Re: Foiling MITM attacks on source and ports trees

2009-01-06 Thread Mel
On Tuesday 06 January 2009 10:31:26 Chad Perrin wrote: > On Tue, Jan 06, 2009 at 10:22:29AM +0100, Wojciech Puchar wrote: > > >>someone like the FreeBSD Foundation as an appropriate body to own the > > >>cert. > > > > > > > > >I would actually trust a self-signed cert by the FreeBSD security > > >

GEOM: da0: corrupt or invalid GPT detected.

2009-01-06 Thread Ott Köstner
Dear List! I have such a problem (or is it a problem?): # dmesg | grep da0 da0 at twa0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-5 device da0: 100.000MB/s transfers da0: 1430481MB (2929625088 512 byte sectors: 255H 63S/T 182360C) GEOM: da0: corrupt or invalid GPT detected. GEOM: da0: G

Re: Transparent SOCKS proxy (server side)?

2009-01-06 Thread Mel
On Tuesday 06 January 2009 10:07:17 David Naylor wrote: > 2009/1/6 Mel : > > On Tuesday 06 January 2009 05:49:22 David Naylor wrote: > >> Hi, > >> > >> My ISP's NAT, unfortunately, does not work more than it does. This is a > >> problem as I need to provide 'direct' internet access for the compute

Re: Foiling MITM attacks on source and ports trees

2009-01-06 Thread Chad Perrin
On Tue, Jan 06, 2009 at 10:22:29AM +0100, Wojciech Puchar wrote: > >>someone like the FreeBSD Foundation as an appropriate body to own the > >>cert. > > > > > >I would actually trust a self-signed cert by the FreeBSD security officer, > >more then one by Verisign. > of course. > > there is no nee

Re: Transparent SOCKS proxy (server side)?

2009-01-06 Thread David Naylor
2009/1/6 Mel : > On Tuesday 06 January 2009 05:49:22 David Naylor wrote: >> Hi, >> >> My ISP's NAT, unfortunately, does not work more than it does. This is a >> problem as I need to provide 'direct' internet access for the computers >> inside my network. >> >> I would like to set up a transparent

Re: pkg_info & php

2009-01-06 Thread andrew clarke
On Tue 2009-01-06 10:50:39 UTC-0600, Kevin Kinsey (k...@daleco.biz) wrote: > IANAE, but (and I don't intend a personal offense) this is a very > convoluted configuration. Having PHP4 and PHP5 side by side isn't > something I'd try on one box Presumably one could make use of FreeBSD's jails then

Re: Do UDP broadcasts work in FreeBSD?

2009-01-06 Thread Wojciech Puchar
why 255.255.255.255 not your net broadcast address? On Tue, 6 Jan 2009, Peter Steele wrote: Our efforts so far indicate the answer is no, which baffles us. We want to send a limited broadcast to 255.255.255.255 but the message never arrives. The same code works fine under Linux. Is there a tric

Re: Transparent SOCKS proxy (server side)?

2009-01-06 Thread Mel
On Tuesday 06 January 2009 05:49:22 David Naylor wrote: > Hi, > > My ISP's NAT, unfortunately, does not work more than it does. This is a > problem as I need to provide 'direct' internet access for the computers > inside my network. > > I would like to set up a transparent SOCKS proxy (similar to

Do UDP broadcasts work in FreeBSD?

2009-01-06 Thread Peter Steele
Our efforts so far indicate the answer is no, which baffles us. We want to send a limited broadcast to 255.255.255.255 but the message never arrives. The same code works fine under Linux. Is there a trick for doing this kind of thing under FreeBSD? __

Re: pkg_info & php

2009-01-06 Thread Kevin Kinsey
Grant Peel wrote: Hi all, I am getting 'segmentation faults' when using php (apache module) on a server that recently had php 4 instlalled when php 5 was already there. /var/log/httpd-error.log: [Tue Jan 06 09:44:39 2009] [notice] child pid 8209 exit signal Segmentation fault (11) Is there a

Re: pkg_info & php

2009-01-06 Thread Fred Condo
On Tue, Jan 6, 2009 at 7:47 AM, Grant Peel wrote: > Hi all, > > I am getting 'segmentation faults' when using php (apache module) on a server > that recently had php 4 instlalled when php 5 was already there. > > /var/log/httpd-error.log: > > [Tue Jan 06 09:44:39 2009] [notice] child pid 8209 exi

pkg_info & php

2009-01-06 Thread Grant Peel
Hi all, I am getting 'segmentation faults' when using php (apache module) on a server that recently had php 4 instlalled when php 5 was already there. /var/log/httpd-error.log: [Tue Jan 06 09:44:39 2009] [notice] child pid 8209 exit signal Segmentation fault (11) Is there a way to completely

Transparent SOCKS proxy (server side)?

2009-01-06 Thread David Naylor
Hi, My ISP's NAT, unfortunately, does not work more than it does. This is a problem as I need to provide 'direct' internet access for the computers inside my network. I would like to set up a transparent SOCKS proxy (similar to transparent HTTP proxy, aka squid) on the server. Does anyone

Re: compilation vs binary files

2009-01-06 Thread Polytropon
On Tue, 6 Jan 2009 14:16:51 +0100, "Stefan Miklosovic" wrote: > hi, > > i would like to know, if it has a sense to compile software provided > in form of ports in /usr/ports. I mean, I know there is a bunch of > options you can choose from and make certain application more > suitable for your ha

Re: FreeBSD 7.0-Stable Crashed with Cacti

2009-01-06 Thread APseudoUtopia
On Tue, Jan 6, 2009 at 3:30 AM, Kalpin Erlangga Silaen wrote: > Dear All, > > we face problem with running cacti on FreeBSD 7.0-Stable. From top command > output: > - snip - > We realized that all cacti process just eat my cpu and memory (STATE: pfault) > and my server should be reboot

Re: PHP Apache module no longer loads /usr/local/etc/php.ini

2009-01-06 Thread APseudoUtopia
On Tue, Jan 6, 2009 at 12:26 AM, Morgan Wesström wrote: > Hi. > > I have two almost identical FreeBSD servers with FreeBSD 7.0, Apache > 2.2.11 and PHP 5.2.8. After a restart of Apache four days ago, the PHP > module on one of those servers no longer loads /usr/local/etc/php.ini > and I can't for

compilation vs binary files

2009-01-06 Thread Stefan Miklosovic
hi, i would like to know, if it has a sense to compile software provided in form of ports in /usr/ports. I mean, I know there is a bunch of options you can choose from and make certain application more suitable for your hardware / software needs. I just want to know, if I can install software in b

re0 losing connection when idle

2009-01-06 Thread Warren Liddell
Since i updated my ports/source/world on a FREEBSD 7.1-PRERELEASE AMD64 a few days ago and had to do a reboot, all of a sudden my network connection is dropping out if no consistent traffic is being done, more then simply an IRC chats. i've had to have a few torrents seeding to maintain the co

Re: Portsnap "Not Found" Issues

2009-01-06 Thread fsw
Hi, thank for the tip! portsnap3 just worked good right now for me, it surely has to do with the release of FreeBSD 7.1 as said in this post: http://www.nabble.com/FYI%2C-portsnap-problems-td21301895.html Jeffrey Goldberg wrote: > > On Jan 5, 2009, at 2:40 PM, Matthew Pounsett wrote: > >>

Re: PHP setup question

2009-01-06 Thread stan
On Mon, Jan 05, 2009 at 09:45:23PM -0600, Kelly D. Grills wrote: > On Mon, Jan 05, 2009 at 04:51:08PM -0500, stan wrote: > > > > Clearly I am still confused. :-( > > > > I just duid as you suggested, and all went well until I pushed the "Write > > Config" button at Step 2. At this point I was off

Re: Foiling MITM attacks on source and ports trees

2009-01-06 Thread Wojciech Puchar
someone like the FreeBSD Foundation as an appropriate body to own the cert. I would actually trust a self-signed cert by the FreeBSD security officer, more then one by Verisign. of course. there is no need to have an "authority" to make key pairs, everybody do it alone. actually i would fe

FreeBSD 7.0-Stable Crashed by Cacti

2009-01-06 Thread kalpin
Dear all, we faced problem with running cacti on FreeBSD 7.0-Stable. From top command output: last pid: 5836; load averages: 0.03, 0.17, 0.24 up 0+01:17:30 15:24:11 96 processes: 1 running, 95 sleeping CPU: 0.

Re: Foiling MITM attacks on source and ports trees

2009-01-06 Thread Tait
> > Unless designed carefully, there will be substantial logistical > > problems to maintaining such lists of signatures. > ... > > You can then verify the correctness of what's on your disk ... > > The idea is that one needs to get this public key only once > ... > IMHO, this could or should take

FreeBSD 7.0-Stable Crashed with Cacti

2009-01-06 Thread Kalpin Erlangga Silaen
Dear All, we face problem with running cacti on FreeBSD 7.0-Stable. From top command output: last pid: 5836; load averages: 0.03, 0.17, 0.24 up 0+01:17:30 15:24:11 96 processes: 1 running, 95 sleeping CPU: 0