Re: FreeBSD kernel init slower than linux

2011-03-04 Thread ill...@gmail.com
On 4 March 2011 17:10, David Demelier wrote: > Hello, > > I know this is a awful subject, but I recently tried a Gentoo on my laptop > and I was surprised to see Linux booting about 2-3 times faster than > FreeBSD. > > I don't talk about the init/rc script but only kernel initialisation. For > lin

Re: Simplest way to deny access to a class C

2011-03-04 Thread Patrick Gibson
The original question had to do with requests to a web server, and it would not be practical nor typical to route all http traffic through inetd. As well, tcpwrappers require manual work; mod_security and fail2ban are both ban automatically based on specified criteria and patterns. While mod_secur

Re: Simplest way to deny access to a class C

2011-03-04 Thread Gary Gatten
Null (bogus) route that /24 seems the most simple to me: 5 seconds and no upgrades or add ons. - Original Message - From: Jorge Biquez [mailto:jbiq...@intranet.com.mx] Sent: Friday, March 04, 2011 08:07 PM To: freebsd-questions@freebsd.org Subject: Re: Simplest way to deny access to a cl

Re: Simplest way to deny access to a class C

2011-03-04 Thread Jorge Biquez
I wonder why nobodies mentioned a quite simple method with tcpwrappers and hosts.allow / hosts.deny also Hello. I guess something simple could work For some reason, don ask me why becasue I did not find why, the: Order Deny, Allow Deny IP Allow all under httpd.conf and outsite as .ht

Re: Purchased Binaries

2011-03-04 Thread Jerome Herman
Le 04/03/2011 22:24, Doug Hardie a écrit : I have a client who has purchased some software. I don't know anything much about it yet other than it claims to run on Debian and CentOS. I suspect its binaries. I will have access to things like the developer, name etc. on Monday. However, thats

Re: FreeBSD kernel init slower than linux

2011-03-04 Thread Damien Fleuriot
On 4 Mar 2011, at 23:10, David Demelier wrote: > Hello, > > I know this is a awful subject, but I recently tried a Gentoo on my laptop > and I was surprised to see Linux booting about 2-3 times faster than FreeBSD. > > I don't talk about the init/rc script but only kernel initialisation. For

Re: Simplest way to deny access to a class C

2011-03-04 Thread Robison, Dave
Check out portsentry perhaps? I used to use it quite a bit. Whenever someone would hit one of a number of defined ports, I'd automatically add a rule denying them in IPFW and also drop their route to a non-existent IP on my class C. On 03/04/11 16:14, Patrick Gibson wrote: fail2ban by def

Fwd: multimedia/py-gstreamer build failure [SOLVED]

2011-03-04 Thread Jimmie James
It would appear there was some python 2.6 cruft left floating around, rebuilding gstreamer and related ports fixed this. Sorry about the noise. `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/gst' CC _gst_la-gst-argtypes.lo CC _gst_la-gstmodule.lo CC _gst_la-pygsti

multimedia/py-gstreamer build failure

2011-03-04 Thread Jimmie James
Anyone have an idea on this? It's blocking dozens of apps that need updating. ---> Installing 'py27-gstreamer-0.10.21' from a port (multimedia/py-gstreamer) ---> Building '/usr/ports/multimedia/py-gstreamer' ===> Cleaning for py27-gstreamer-0.10.21 ===> License LGPL21 accepted by the user

Re: "portmaster -a" command fails - *** Error code 1

2011-03-04 Thread RW
On Fri, 04 Mar 2011 18:37:32 + Arthur Chance wrote: > On 03/04/11 17:36, Ed Flecko wrote: > > Thanks Aurthur. > > > > :-) > > > > It's funny...I DID what it asks and it still didn't work (make > > deinstall, etc.). > ... > > Apparently, I installed it from a package, so I did a pkg_delete > >

Re: Simplest way to deny access to a class C

2011-03-04 Thread Outback Dingo
On Fri, Mar 4, 2011 at 7:14 PM, Patrick Gibson wrote: > fail2ban by default only bans an IP for 10 minutes, and that's > configurable. It can also email you anytime it imposes a ban, so one > can keep an eye on things at least in the beginning to see if it's > causing a problem for legitimate user

Re: Simplest way to deny access to a class C

2011-03-04 Thread Patrick Gibson
fail2ban by default only bans an IP for 10 minutes, and that's configurable. It can also email you anytime it imposes a ban, so one can keep an eye on things at least in the beginning to see if it's causing a problem for legitimate users. On Thu, Mar 3, 2011 at 4:02 PM, Gary Gatten wrote: > Be ca

Re: Purchased Binaries

2011-03-04 Thread David Brodbeck
On Fri, Mar 4, 2011 at 2:54 PM, Doug Hardie wrote: > Pretty much I will have the real software on Monday and will need to get it > up and going very quickly.  I want to use FreeBSD because all the other parts > of what he needs I already have running on various FreeBSD servers.  Also, I > very

Re: FreeBSD kernel init slower than linux

2011-03-04 Thread David Brodbeck
On Fri, Mar 4, 2011 at 2:51 PM, Bruce Cran wrote: > I think it's because no concerted effort has been put into optimizing > the boot time on FreeBSD. I tested a stripped-down kernel on my iBook G4 > a while ago and it would boot in a couple of seconds - but that was > without any network card, USB

Re: Purchased Binaries

2011-03-04 Thread Chad Perrin
On Fri, Mar 04, 2011 at 01:24:32PM -0800, Doug Hardie wrote: > > I have a client who has purchased some software. I don't know anything > much about it yet other than it claims to run on Debian and CentOS. I > suspect its binaries. I will have access to things like the developer, > name etc. on

Re: Purchased Binaries

2011-03-04 Thread Charlie Kester
On Fri 04 Mar 2011 at 13:24:32 PST Doug Hardie wrote: I have a client who has purchased some software. I don't know anything much about it yet other than it claims to run on Debian and CentOS. I suspect its binaries. I will have access to things like the developer, name etc. on Monday. However, t

Re: Purchased Binaries

2011-03-04 Thread Doug Hardie
On 4 March 2011, at 14:45, Charlie Kester wrote: > On Fri 04 Mar 2011 at 13:24:32 PST Doug Hardie wrote: >> I have a client who has purchased some software. I don't know anything >> much about it yet other than it claims to run on Debian and CentOS. I >> suspect its binaries. I will have access t

Re: FreeBSD kernel init slower than linux

2011-03-04 Thread Bruce Cran
On Fri, 2011-03-04 at 23:10 +0100, David Demelier wrote: > Why FreeBSD is so slower than Linux to boot the kernel? I think it's because no concerted effort has been put into optimizing the boot time on FreeBSD. I tested a stripped-down kernel on my iBook G4 a while ago and it would boot in a coup

Re: xdm-options - non-bsd user needs bsd rc.d advice

2011-03-04 Thread David Brodbeck
On Fri, Mar 4, 2011 at 9:34 AM, Polytropon wrote: > While I found that generic > UNIX knowledge was applicable everywhere, "Linux knowledge" > was not, as you could see from file names and locations, > procedures, and configuration statements which could not > be transferred 1:1 between the system

Re: FreeBSD kernel init slower than linux

2011-03-04 Thread Pierre-Luc Drouin
I guess part of it must have something to do with how the devices are identified by the FreeBSD kernel vs linux. I know also that when using a ZFS boot partition, it takes a lot longer to my system to boot compared to UFS... On Fri, Mar 4, 2011 at 5:10 PM, David Demelier wrote: > Hello, > > I kno

FreeBSD kernel init slower than linux

2011-03-04 Thread David Demelier
Hello, I know this is a awful subject, but I recently tried a Gentoo on my laptop and I was surprised to see Linux booting about 2-3 times faster than FreeBSD. I don't talk about the init/rc script but only kernel initialisation. For linux kernel it's around 5-6 seconds vs 15-18 seconds for

Re: Purchased Binaries

2011-03-04 Thread Polytropon
On Fri, 4 Mar 2011 13:24:32 -0800, Doug Hardie wrote: > I have a client who has purchased some software. I don't know > anything much about it yet other than it claims to run on Debian > and CentOS. I suspect its binaries. I will have access to > things like the developer, name etc. on Monday.

Purchased Binaries

2011-03-04 Thread Doug Hardie
I have a client who has purchased some software. I don't know anything much about it yet other than it claims to run on Debian and CentOS. I suspect its binaries. I will have access to things like the developer, name etc. on Monday. However, thats when he needs to know if I can make it run o

Re: Simplest way to deny access to a class C

2011-03-04 Thread David Brodbeck
On Thu, Mar 3, 2011 at 4:02 PM, Gary Gatten wrote: > Be careful of automated responses.  What if someone spoofs IP's of legit > users / customers / whatever and your automated response blocks them?  Not > good. Fortunately this is a relatively low risk with fail2ban, because to spoof a failed S

Re: mysql missing from my home-page WordPress....

2011-03-04 Thread Chip Camden
Quoth Gary Kline on Friday, 04 March 2011: ✂ snip ✂ > it into my www/data/blog/* and extract. My proposed site is > titled "...And miles to go before I sleep"; the blog directory > is, literally "blog". (I posted a question on the forum about > where to change the autho

Re: license of the code in freebsd documantation

2011-03-04 Thread Frank Shute
On Thu, Mar 03, 2011 at 11:53:14PM +0900, Kouichiro Iwao wrote: > > I'm writing a script based on the code in freebsd docs, > and caring about the license of it. The original scripts are > example 6 and 7 of the following page. How do I have to treat > my code if I distribute it? > http://www.fre

Re: mysql missing from my home-page WordPress....

2011-03-04 Thread Gary Kline
[Just a top post to say that recent troubles of unknown cause on my server --7.3-- have drained time from my thought of joining the "Blogger World."] On Fri, Mar 04, 2011 at 09:09:20AM -0800, Chip Camden wrote: > Quoth Chad Perrin on Friday, 04 March 2011: > > On Fri, Mar

Re: determining freebsd-update status

2011-03-04 Thread Jason Helfman
On Fri, Mar 04, 2011 at 02:05:15PM -0500, Tom Worster thus spake: thanks for the answers, jason. two more questions below. np On 3/4/11 1:09 PM, "Jason Helfman" wrote: On Fri, Mar 04, 2011 at 11:32:11AM -0500, Tom Worster thus spake: to determine roughly where a server is in its updates

Re: "portmaster -a" command fails - *** Error code 1

2011-03-04 Thread Tom Worster
these situations arise quite often where you have to delete a port before portmaster will continue. sometimes you can predict it by reading /usr/ports/UPDATING not that this is the only reason to read UPDATING. On 3/4/11 1:37 PM, "Arthur Chance" wrote: >On 03/04/11 17:36, Ed Flecko wrote: >>

Re: determining freebsd-update status

2011-03-04 Thread Tom Worster
thanks for the answers, jason. two more questions below. On 3/4/11 1:09 PM, "Jason Helfman" wrote: >On Fri, Mar 04, 2011 at 11:32:11AM -0500, Tom Worster thus spake: >>to determine roughly where a server is in its updates (we're running only >>RELEASE) i do: >> >>1 - check the 1st 4 fields of t

Re: "portmaster -a" command fails - *** Error code 1

2011-03-04 Thread Arthur Chance
On 03/04/11 17:36, Ed Flecko wrote: Thanks Aurthur. :-) It's funny...I DID what it asks and it still didn't work (make deinstall, etc.). A tip for the future: always say what you've tried. It lets us save our waning mind reading powers for important cases, like working out what the wife act

Re: determining freebsd-update status

2011-03-04 Thread Jason Helfman
On Fri, Mar 04, 2011 at 11:32:11AM -0500, Tom Worster thus spake: to determine roughly where a server is in its updates (we're running only RELEASE) i do: 1 - check the 1st 4 fields of the tag file in the freebsd-update working dir. Just because the 1st 4 fields are populated, doesn't necessar

Re: "portmaster -a" command fails - *** Error code 1

2011-03-04 Thread Ed Flecko
Thanks Aurthur. :-) It's funny...I DID what it asks and it still didn't work (make deinstall, etc.). Apparently, I installed it from a package, so I did a pkg_delete automake and then started my portmaster -a again and it seems to be running fine. :-) Ed ___

Re: xdm-options - non-bsd user needs bsd rc.d advice

2011-03-04 Thread Polytropon
Readers will surely see more and more people having similar reasons why those who happily use FreeBSD do not want to go back to Linux, or even worse, "Windows". I may include myself here, with the special case that I've never been a "Windows" user, so my mind is clean and healthy and unspoiled of M

Re: "portmaster -a" command fails - *** Error code 1

2011-03-04 Thread Arthur Chance
On 03/04/11 17:00, Ed Flecko wrote: Thanks gentlemen; I was not running portmaster as root. When I re-run portmaster -a as root, I get the following: ===>>> Starting check for runtime dependencies ===>>> Gathering dependency list for devel/automake from ports ===>>> Dependency check complete

Re: mysql missing from my home-page WordPress....

2011-03-04 Thread Chip Camden
Quoth Chad Perrin on Friday, 04 March 2011: > On Fri, Mar 04, 2011 at 07:27:44AM -0800, Chip Camden wrote: > > > > I have not had a lot of luck with upgrading from within the admin panel, > > but it is still easy to upgrade by downloading the latest tarball and > > simply extracting it over the in

Re: Cannot build jdk16

2011-03-04 Thread Ruslan Mahmatkhanov
04.03.2011 14:23, Redd Vinylene пишет: Hello! /usr/ports/java/jdk16 instructs me to manually fetch tzupdater-1_3_34-2010o.zip and put it in /usr/ports/distfiles - this file however is no longer available and has been replaced by tzupdater-1_3_35-2011b. So what's the best way of installing jdk16

Re: "portmaster -a" command fails - *** Error code 1

2011-03-04 Thread Ed Flecko
Thanks gentlemen; I was not running portmaster as root. When I re-run portmaster -a as root, I get the following: ===>>> Starting check for runtime dependencies ===>>> Gathering dependency list for devel/automake from ports ===>>> Dependency check complete for devel/automake en-freebsd-do

Re: mysql missing from my home-page WordPress....

2011-03-04 Thread Chad Perrin
On Fri, Mar 04, 2011 at 07:27:44AM -0800, Chip Camden wrote: > > I have not had a lot of luck with upgrading from within the admin panel, > but it is still easy to upgrade by downloading the latest tarball and > simply extracting it over the installation. Then go into the admin panel > to see if

determining freebsd-update status

2011-03-04 Thread Tom Worster
to determine roughly where a server is in its updates (we're running only RELEASE) i do: 1 - check the 1st 4 fields of the tag file in the freebsd-update working dir. 2 - check the output of freebsd-update IDS. is it the case that freebsd-update IDS checks base system status relative to what's r

Re: "portmaster -a" command fails - *** Error code 1

2011-03-04 Thread Arthur Chance
On 03/04/11 15:37, Ed Flecko wrote: [Snips] Given this: ===>/usr/ports/textproc/docproj-nojadetex/work not writable, skipping Any ideas on what my problem(s) is and how to solve it??? Either you've got a read-only /usr/ports or you've forgotten to run as root. [I will admit to doing t

"portmaster -a" command fails - *** Error code 1

2011-03-04 Thread Ed Flecko
Hi folks, I see I have some ports that need to be updated, so I'm using portmaster (portmaster -a to be specific), and it fails with the following - ===>>> Starting check for build dependencies ===>>> Gathering dependency list for textproc/docproj-nojadetex from ports ===>>> No dependencies for te

Re: xdm-options - non-bsd user needs bsd rc.d advice

2011-03-04 Thread Chad Perrin
On Fri, Mar 04, 2011 at 03:28:10PM +0100, Christopher J. Ruwe wrote: > > Later, I tried OpenSolaris and FreeBSD and am now using FreeBSD due to > the same reasons as Chad Perrin stated: Being a power-user, wanting to > control things and (now diverting from Chad's reasons) wanting to use > technol

Re: mysql missing from my home-page WordPress....

2011-03-04 Thread Chip Camden
Quoth Zbigniew Szalbot on Friday, 04 March 2011: > Hello, > > >        Thanks duly noted to everyone.  I was beginning to wonder if I > >        had lost what mind I've got left!  Not used to losing my two trial > >        blog, (1), and beyond that, being dumbfounded at how messy it > >        ma

Re: Simplest way to deny access to a class C

2011-03-04 Thread krad
On 4 March 2011 02:43, Jorge Biquez wrote: > Thank you all for your time and comments. > > I guess that I will install a firewall, that way I can also block those > Class C's from sending tons of emails to non existing accounts > I will read the website to see the best options. Any suggestio

Re: CPU heating!

2011-03-04 Thread Julian H. Stacey
Hi, [ I'm late on thread, so briefly ] If you get desperate overheating & crashes, try eg /usr/sbin/powerd -a min -b min -n min Thats what I'm doing on one box, till I can remove, review/ regrease. One can also observe subsets of values from sysctl -a | grep temp in a while (1)

Re: xdm-options - non-bsd user needs bsd rc.d advice

2011-03-04 Thread Christopher J. Ruwe
On Thu, 03 Mar 2011 17:01:10 -0500 "John D. Hendrickson and Sara Darnell" wrote: > [snip] > If anyone would like to quickly comment I'd love to hear why bsd > would be a better choice than ubantu (for what audience it is better). > > Thanks all, > > John > > __

Re: xdm-options - non-bsd user needs bsd rc.d advice

2011-03-04 Thread RW
On Thu, 03 Mar 2011 17:01:10 -0500 "John D. Hendrickson and Sara Darnell" wrote: > Hi. I'm a BSD idiot I use [Debian] linux. > > rc.d question > > I'm trying to release a project (just below) to the widest possible > unix audience. I need a line in "/etc/inittab" and to have a > start/stop in

Re: Cannot build jdk16

2011-03-04 Thread Polytropon
On Fri, 4 Mar 2011 12:23:23 +0100, Redd Vinylene wrote: > Hello! > > /usr/ports/java/jdk16 instructs me to manually fetch > tzupdater-1_3_34-2010o.zip and put it in /usr/ports/distfiles - this file > however is no longer available and has been replaced by > tzupdater-1_3_35-2011b. So what's the b

Cannot build jdk16

2011-03-04 Thread Redd Vinylene
Hello! /usr/ports/java/jdk16 instructs me to manually fetch tzupdater-1_3_34-2010o.zip and put it in /usr/ports/distfiles - this file however is no longer available and has been replaced by tzupdater-1_3_35-2011b. So what's the best way of installing jdk16 despite of this? Rename tzupdater-1_3_35-

Re: Bit order == byte order??

2011-03-04 Thread Erik Trulsson
On Fri, Mar 04, 2011 at 01:09:23AM -0800, per...@pluto.rain.com wrote: > Erik Trulsson wrote: > > On Thu, Mar 03, 2011 at 11:26:12AM -0500, Frank Solensky wrote: > > > In sys/netinet/ip.h, the first octet of the ip header structure > > > tests the byte ordering to determine the ordering of the hea

Re: Bit order == byte order??

2011-03-04 Thread perryh
Erik Trulsson wrote: > On Thu, Mar 03, 2011 at 11:26:12AM -0500, Frank Solensky wrote: > > In sys/netinet/ip.h, the first octet of the ip header structure > > tests the byte ordering to determine the ordering of the header > > length (ip_hl) and version (ip_v) fields. > > > > My question: that al