These classnotes are depreciated. As of 2005, I no longer teach the classes. Notes will remain online for legacy purposes

UNIX03/Test Firewall

Classnotes | UNIX03 | RecentChanges | Preferences

Set the debugging of your blockip "on" and run the test script like this:

 $ blockiptest 2> ~/results

Then review the results file and check the mail of the person you are sending the alert to. You should get a message roughly like this one:


 From: root <root@mail.geekcomix.com>
 To: sam@mail.geekcomix.com
 Subject: DENYnew/cracker.com/Zservice?/111.222.33.44/U=joe
 Date: Sat, 21 Jun 2003 02:42:04 +0000 (UTC)	

 Automatically locked out of all: host=cracker.com
    IP=111.222.33.44\n  MAC=
 Test email input to blockip

If you do not, you may get a failure like this one:
 From: root <root@mail.geekcomix.com>
 To: sam@mail.geekcomix.com
 Subject:
 DENYnew_FAILED_TO_ADD:lock/cracker.com/Zservice?/111.222.33.44/U=joe
 Date: Sat, 21 Jun 2003 02:40:31 +0000 (UTC)	

 Test email input to blockip

Review the results file and see where the error occured.

Classnotes | UNIX03 | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited June 21, 2003 4:31 am (diff)
Search:
(C) Copyright 2003 Samuel Hart
Creative Commons License
This work is licensed under a Creative Commons License.