It was never such a heavily visited site, so I guess you're wondering why I started a topic just to tell you this...

Well, the website is now 100% custom-coded XHTML/CSS-valid PHP with high-level database and caching system, running on a self-compiled, self-administrated FreeBSD server. Before I started this project, I knew next to nothing about all these topics.

So to me, it's the end of an epic journey, while to you it's just another website with 10 downloads and a guestbook :)

By the way, first one to find a security hole in the server gets a cookie :) (I'm not doing anything important on there just yet...)
Posted on 2005-01-26 16:22:23 by Qweerdy
Absolutely too cool! I just posted elsewhere that I've given up on .NET and was going to go with Apache, mySQL, and so forth. I'm creating a website for a wholesale company but I want to start up my own server for it and others.

FreeBSD was my first choice but, since I only decided this today, Linux, of course, came to mind as well as running Apache on Windows. Any thoughts?

One concern is whether FreeBSD, ie Unix, is just not a good option anymore.
Posted on 2005-01-26 22:58:35 by drhowarddrfine
I'll nmap you once to see if it turns up anything :)
Posted on 2005-01-27 09:21:48 by Hiroshimator
just ftp and http :)

your ftp server is vulnerable to a user list though, may wish to upgrade to 1.2.11 or not use ftp directly (tunneled via ssh for instance or just use scp)
Posted on 2005-01-27 09:25:27 by Hiroshimator
FTP and HTTP are definately not the only services I'm letting through the firewall, could you tell me what settings you used on nmap? You're right about ftp though. I'm thinking about installing a different FTP server, preferably one that's easy to configure, secure, and doesn't have a new vulnerability every 2 days. Any suggestions? :)

DrHoward: I don't really see any Linux distribution that can compete with FreeBSD in ease of installation/maintainance, and that includes Debian. Dependancy hell can bite you on both systems, but on FreeBSD it's much harder to actually break anything. And of course, you can always and easily compile from source if the packages just don't fit. As for performance, I'm really not qualified to say anything about that since I've never really pushed either OS. I've heard MySQL does significantly better on Linux though, but that may have been solved with FreeBSD 5.x.

Edit: Hiro, is it just me or is proFTPd v 1.2.11 not yet released?
Posted on 2005-01-27 14:53:37 by Qweerdy
hey, Qweerdy
the ppa.exe written by you is wonderful. where have the and pnglib.lib?

Posted on 2005-01-28 00:24:59 by dcskm4200
hello, all
i'v found it at :

good luck everyone.
Posted on 2005-01-28 01:02:21 by dcskm4200
just standard nmap and those 2 were the only services that seem to respond, I could probe deeper I guess but I value my internet-access :grin:

well they talked about 1.2.11 having the fix so I assume it exists :)

some distros do the renumbering game though. I use pure-ftpd myself

I find debian, gentoo and freebsd pretty easy to manage/install, just the old installer sucks. The new installer is peachy. :)
Posted on 2005-01-28 03:57:07 by Hiroshimator
perhaps freebsd detects the nmap probe and decides to drop packets from the scanning host for a while? I had that behaviour with my linux firewall...
Posted on 2005-01-28 04:03:07 by f0dder
I could nessus it once if you want
Posted on 2005-01-28 10:56:47 by Hiroshimator
Hiro - thanks, but I think it may be beter if I just run that myself. It'll probably be usefull later anyway, and there's no point in sending more portscans over your internet connection than is absolutely necessary.

As for the missing services on your nmap scan, I think you ran your scan in a really short period in which I was messing with the firewall config. It's really the only logical explaination I can think of. I've never heard of ipfilter being able to detect portscans. still lists 1.2.10 as being current; perhaps they haven't released the patch yet?

Edit: Just checked out PureFTP. Sounds really good, I think I'll give it a shot :)
Posted on 2005-01-29 06:52:44 by Qweerdy

Does FreeBSD have a built in server? I'm trying to figure out Apache.
Posted on 2005-01-29 10:08:07 by drhowarddrfine

FreeBSD's base installation doesn't include a webserver but selecting the Apache package during installation is really all that is needed to install it. You'll still have to do some minor configuration in httpd.conf, but the comments should help you through that. And of course there's about a zillion tutorials out there on httpd.conf.
I forgot if the line APACHE_ENABLE="YES" is added to /etc/rc.conf by the installer, if not then you'll have to do that as well.
PHP support is as easy as installing the "Apache + PHP" package instead of the "Apache" package. If you also want HTTPS support you'll have to compile it yourself, check the fine FreeBSD handbook for info on that (
Posted on 2005-01-29 13:21:14 by Qweerdy
How long did it take you to get everything running?
Did you have many struggles coming from a Windows and MASM background? (I'm assuming)

I'm having a helluva time trying to figure out Apache. My thoughts are that if you want to use PHP of Perl you're all set. Anything else and it's a struggle. Especially since I don't know Unix. A lot of the code examples use it and I can't follow it.
Posted on 2005-02-20 16:41:52 by drhowarddrfine
Nice looking site!
Posted on 2005-02-26 16:22:37 by Xor Stance
drhowarddrfinedrhoward, I too have recently setup a FreeBSD server running Apache, PHP, MySQL, python, etc. Plus a mail server with web interface.

Before this I knew nothing about Unix but the process wasn't too painful, the FreeBSD ports system makes installing (and upgrading) everything very simple. The only really difficult thing was the webmail, but I followed a qmail rocks guide which walked me through it.

BTW if anyones interested check out my pages that use MathML. Its a really cool way of writing math in web pages.
Posted on 2005-02-26 19:47:39 by Eóin
Perhaps you know the answer to my problem with Apache. I was just trying to get it to call my app whenever I went to index.html so the app would dynamically generate the index page. I set a directive to do that, and it does execute when I go to, but I wanted ALL html pages to be created dynamically. Just like isapi does. When the address is called, the server calls your program.
Posted on 2005-02-26 20:55:19 by drhowarddrfine
Hmm, well don't know specifically, but on the wiki I setup in which every page would be dynamic I had to include a script alais to the cgi. That way every address actually gets interpeted by the wiki I believe. Here's the alias, maybe its useful to you:
<VirtualHost *:80>

DocumentRoot /usr/local/www/binarynotions/moin

Alias /wiki/ "/usr/local/share/moin/htdocs/"
ScriptAlias / "/usr/local/share/moin/mainwiki/cgi-bin/moin.cgi/"

I run VirtualHosts cause theres more than one site on the server, also I believe the DocumentRoot there has no effect case the aliases overwrite it.
Posted on 2005-02-27 08:55:48 by Eóin
I had gotten so frustrated I uninstalled everything just a few days ago. I'll reinstall Apache and see if that works for me. I tried ScriptAlias but I may not have done it right. Let you know later today. Thanks.
Posted on 2005-02-27 09:50:13 by drhowarddrfine

Did you try mod_rewrite? Perhaps something like this will work:

RewriteEngine on

RewriteRule ^(.*)/index.html /index.cgi [E=DIR:$1]

... will internally redirect requests for any index.html to /index.cgi, and set the environment variable DIR to the part of the url that came before the /index.html part. Untested, but this should work.
Posted on 2005-03-01 09:05:30 by Qweerdy