Tip: Changing Interface Names in FreeBSD

Posted by Ron Valente Fri, 01 Feb 2008 15:31:00 GMT

If you are building a firewall/NAT/Snort box and you want/need to rename the interfaces from the device names themselves it can easily be done in FreeBSD.

Edit your /etc/rc.conf file

ifconfig_rl0_name="internal"
ifconfig_rl1_name="external"
ifconfig_rl2_name="DMZ"

ifconfig_rl0="inet 10.0.0.1 netmask 255.255.255.0"
ifconfig_rl1="dhcp"
ifconfig_rl2="192.168.0.1"

The above is just a simple example of a three interface firewall that has a DMZ network for servers and a internal network for all NAT'd machines.

TextMate & Logitech Control Center

Posted by Ron Valente Tue, 29 Jan 2008 14:57:00 GMT

Just another reason to never use crappy drivers, TextMate throws and error when run from the command line after Logitech Control Center 2.4 is installed. Remove the drive via the "LCC Uninstaller" and reboot. After that everything will be hunky dory again.

Note: There are three other good alternatives to that mouse driver including SteerMouse, USBOverdrive, and ControllerMate.

Tip of the Day - SSH Keys and Mac OS X Leopard

Posted by Ben Allen Sat, 19 Jan 2008 03:09:00 GMT

Create a standard SSH keypair by using the ssh-keygen command. When prompted for a passphrase enter one. Copy your ~/.ssh/id_rsa.pub to your destination's authorized_keys file. Now login to your destination from the Terminal with ssh. You will be pleasantly surprised with a pop-up box asking for the password associated with the id_rsa SSH key. It gives you the option to store this password in your Leopard keychain if you wish. This effectively takes place of using a ssh-agent to store SSH keys. SSH Key Password Prompt

Tip of the Day - Solaris Reconfigure

Posted by Ron Valente Sun, 13 Jan 2008 15:51:00 GMT

Introduction

It is possible to reconfigure the system just as if it were a new install. This is possible when you add or change your hardware on the system.

On SPARC hardware you startup with

boot -r

On x86/64 hardware you edit your grub startup by pressing e when the prompt appears then e again when the multiboot kernel line is highlighted. Now you can edit your startup options. Append the following on the end of the line.

-r

Press return to save your edit and b to boot up that modified entry.

-Ron

Security Warning: Ruby on Rails Deployment with Apache

Posted by Ron Valente Fri, 11 Jan 2008 16:34:00 GMT

Be advised that there are multiple vulnerabilities in the reverse proxy load balancer module for apache. The full report is written up here.

-Ron

Older posts: 1 2 3 4 5 6