Using FreeBSD as a network bridge and use dummynet to shape the traffic

Here’s a quick note/tutorial about how to setup FreeBSD 7.0 as a network bridge and use dummynet to shape the traffic, There is a pretty good tutorial on the net but I found it’s rather outdated. So here is mine.
First of all we’ll need to setup FreeBSD as a network bridge.
ifconfig bridge create
This should […]

Never think your password is complicated enough

Last week I was asked to help a friend to check out his server that has been hacked. First I was thinking some kind of PHP leak or SQL injection. But I was wrong. The crack uses some kind of SSH user/password scanner and got his root password.
I find this out because the cracker created […]

File based virtual user settings for Vsftpd on FreeBSD

I’ve done this before with the help of a very good blog entry. But when I tried to do the same thing today I can’t find that page. So I decide to write this down, in case I’ll need it later.
The most problem of setting up Vsftpd with file based virtual user on FreeBSD is […]

Notes on moving mail system to a new server

Well I did this some time ago, I still think writing things done may help if I encounter this again.
To move the mail server to another server, and lost mails as less as possible, here is my steps:
- Set your DNS server so your domains get a lower TTL. Do this as early as possible […]

Why the FreeBSD ports system rocks

Well I need to handle some PHP upgrade on a Debian server some days ago, and it turns out to be a nightmire…
Debian is famous for its “apt-get” package management system, and I thought it would be easy. However, it turns out all the packages are binary and have exact version numbers in dependency. To […]

The new Microsoft Natural Ergonomic Keyboard 4000

Well, together with the LX5 my wife also get me a Microsoft Natural Ergonomic Keyboard 4000. There’s nothing wrong with my old Dell keyboad and/or the BTC 9019URF wireless keyboard. It is my wrist. With more and more typing, I began to feel the pain of RSI so I decided to give this famous […]

Logitech LX5 on FreeBSD

Last weekend my wife get me a LX5 and I really like it.
Seeing my old mouse going to its EOL and I was looking for a new one. I don’t need those funny functions cause I’m a heavy keyboard user. And with FreeBSD being my desktop all those funny keys will be useless. And my […]

Tiling Window Management with Fvwm

 
Contents

Why
The target
What we need
Yeal, show me the code!

 
Why
If you have 10+ GUI applications running and spend lots of time
dragging them to the right place, you need a tiling window manager.
On contrary to most modern window systems, which allow you to put one
window on top of another, and mess up your work space, a tiling window
manager […]

svn: make the branches directory before make a branch

Well, this is a short note to myself so the next time I want to create a branch of a new project, I won’t need to search through the Internet.
Before doing
$ svn copy http://svn.example.com/repos/calc/trunk \
http://svn.example.com/repos/calc/branches/my-calc-branch \
-m "Creating a private branch of /calc/trunk."
to make a new branch of a new project (which don’t have any branches […]

an introduction to openssh part 4 — SSH on Windows

It is ideal if we can live in a Unix only world. However sometimes we’ll need MS windows. In this part we’ll talk about using OpenSSH, or SSH in general, on MS Windows platform. On the OpenSSH Alternatives for Windows page, there is a list of available free/open source software. We’ll talk about the two […]

Close
E-mail It