Author name: Dan Langille

I've been playing with Open Source software, starting with FreeBSD, since New Zealand Post installed DSL on my street in 1998. From there, I started writing at The FreeBSD Diary, moving my work here after I discovered WordPress. Along the way, I started the BSDCan and PGCon conferences. I slowly moved from software development into full time systems administration and now work for very-well known company who has been a big force in the security industry.

Configuration options – showconfig

When people ask me about packages versus ports, the one main advantage of ports over packages is the ability to set the configuration options. To set the configuration options for a given port, issue this command: make config Configuration options are stored in /var/db/ports. For example, the options for sysutils/bacula-server are: $ less /var/db/ports/bacula-server/options #

Configuration options – showconfig Read More »

Out of date ports tree

Today I noticed a problem with my development machine. It has been in storage for about a month. Yesterday it started processing FreshPorts emails again. Overnight, I noticed a strange error which I could not follow: Unusual System Events =-=-=-=-=-=-=-=-=-=-= Dec 31 20:33:11 ngaio FreshPorts[93781]: error executing make command for sysutils/rsyslog-mysql: This command (FreshPorts code

Out of date ports tree Read More »

vuxml issue – vulnx.txt did not contain UTF-8

A few days ago, I noticed portaudit telling me about a few things that needed to be updated: # portaudit Affected package: rubygem-rails-1.2.3 Type of problem: rubygem-rails — session-fixation vulnerability. Reference: <http://www.FreeBSD.org/ports/portaudit/30acb8ae-9d46-11dc-9114-001c2514716c.html> Affected package: rubygem-rails-1.2.3 Type of problem: rubygem-rails — JSON XSS vulnerability. Reference: <http://www.FreeBSD.org/ports/portaudit/44fb0302-9d38-11dc-9114-001c2514716c.html> Affected package: rubygem-activesupport-1.4.2 Type of problem: rubygem-rails — JSON XSS

vuxml issue – vulnx.txt did not contain UTF-8 Read More »

MSNPTC/1.0

MSNPTC/1.0 appears to be a poorly written spider bot. It has no concept of distributing requests. I am not the only person that thinks this: http://www.webmasterworld.com/forum11/2845.htm http://www.botsvsbrowsers.com/details/4800/index.html http://boardreader.com/t/Spiders_Crawlers_509179/MSNPTC_1_0_2849.html Let me demonstrate with an example: $ grep -c “MSNPTC/1.0” freshports.org-access.log 1975 $ grep “MSNPTC/1.0” freshports.org-access.log | head -1 219.142.53.25 – – [01/Nov/2007:16:52:00 -0400] “GET /login.php?origin=%2Fcommit.php%3Fcategory%3Dwww %26port%3Deventum%26files%3Dyes%26message_id

MSNPTC/1.0 Read More »

The RAM shortage fix

Here is the patch I just comitted which reduces the amount of RAM consumed. [dan@ngaio:/usr/websites/freshports.org/classes] $ cvs di -ub display_commit.php Index: display_commit.php =================================================================== RCS file: /home/repositories/freshports-1/classes/display_commit.php,v retrieving revision 1.8 diff -u -b -r1.8 display_commit.php — display_commit.php 10 Jul 2007 11:39:07 -0000 1.8 +++ display_commit.php 22 Oct 2007 17:22:23 -0000 @@ -87,19 +87,16 @@ $i=0; $GlobalHideLastChange

The RAM shortage fix Read More »

Scroll to Top