HowTos

Prepping FreeBSD 6.x for Quotas

Bold indicates a button clicked or key pressed.
“quotes” indicates a value which has been entered.

Grey block quote is a command typed directly into the console.

Procedures

#cd /usr/src/sys/i386/conf
#cp GENERIC MYKERNEL
#echo “options QUOTA” >> MYKERNEL
#cd /usr/src
#make buildkernel KERNCONF=MYKERNEL
#make installkernel KERNCONF=MYKERNEL
#reboot

Edit the /etc/fstab file and add “userquota,groupquota” to the /home filesystem line

Thats it.

FreeBSD
HowTos

Comments Off

Permalink

Quick Fix: snmpd listen on all interfaces for Debian/Ubuntu

Bold indicates a button clicked or key pressed.
“quotes” indicates a value which has been entered.

Grey block quote is a command typed directly into the console.

Purpose

If you have ever installed the snmpd package for Debian or Ubuntu and wondered why it did not bind to all active interfaces no matter what configuration you have, here is the solution.

Procedures

  1. You need to modify the “/etc/defaults/snmpd” file and remove the reference to 127.0.0.1 in the startup command to allow it to fall back to defaults. This was put in as a security measure, but there are very valid reasons to remove it.
  2. Change the following in the “/etc/defaults/snmpd” file.

SNMPDOPTS=’-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1′

SNMPDOPTS=’-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid’

Quick Fixes

Comments Off

Permalink

Defeating MAC Access List on Wireless

Bold indicates a button clicked or key pressed.
“quotes” indicates a value which has been entered.

Grey block quote is a command typed directly into the console.

Purpose

If an 802.11 wireless network ever employs a MAC access list, this is a simple solution for easily defeating this terrible security measure. This already assumes you have BackTrack loaded and a wireless card capable of monitor mode.

Procedures

1.  In a terminal brought up the wireless interface, and turn on airmon as show in Figure 1

figure1
Figure 1: Starting card up in monitor mode.

2. Started airodump-ng to collect a valid MAC address of a collected client as seen in Figure 2.
figure2
Figure 2: Locating an assocated station to mimic.

3.  Copy out a valid MAC address and apply it to the the current wireless interface as seen in Figure 3.

figure3

Figure 3: Mimic the stolen station MAC address.

4. Use this wireless interface to associate to the MAC filtering network with success. If you experience intermittent connection issues, this is because you are sharing a MAC address with another associated client and this can cause unexpected results.

Linux
Network Penetration

Comments Off

Permalink

Windows Server 2003 R2 IAS Installation

Bold indicates a button clicked or key pressed.
“quotes” indicates a value which has been entered.

Grey block quote is a command typed directly into the console.

Procedures

1. Navigate to Start | Control Panel | Add/Remove Programs | Add/Remove Windows Components

2. Networking Services | Details | Internet Authentication Service | Ok | Next | Finish | Close

Add RADIUS Clients

1. Navigate to Start | Administrative Tools | Internet Authentication Service

2. Right-click  RADIUS Clients | Click New RADIUS Client

HowTos
Windows

Comments Off

Permalink

Install & Setup TFTP On Debian Lenny

Bold indicates a button clicked or key pressed.
“quotes” indicates a value which has been entered.

Grey block quote is a command typed directly into the console.

Procedures

1. Log in as root or an administrative user.

#apt-get install tftpd
#mkdir /tftpboot
#chmod 777 /tftpboot

2. Edit /etc/inetd.conf, change /srv/tftp to /tftpboot under the tftp section. This is a matter of personal choice, however many programs use the /tftpboot directory as their base of operations for TFTP transactions.

#/etc/init.d/openbsd-inetd restart

HowTos
Linux

Comments Off

Permalink