Personal tools
You are here: Home Documentation Software README Files README Faker.py
Document Actions

README Faker.py

by dredd last modified 2005-10-17 06:54 AM

A Python based tool which for connections on a specified port. Upon connection, it logs the connection attempt, sleeps for a given time, then closes the connection.

Copyright:

Copyright (c) 2005, George Bobeck

Download:

Available for download at http://www.cs.luc.edu/projects/comp412/dredd/downloads/

Usage::

  # python faker.py <port>

OR :

  # chmod 0700 faker.py
  # ./faker.py <port>


Configurables:

delay - The ammount of time the program will delay the offender in seconds. By default, delay = 90

=====

conn_msg - conn_msg is a string which is sent to the offender upon connection. By default, the conn_msg is "Go Away, Lamer!", however this can be easily changed.

=====

log - log is used to select logging methods. You can log to syslog, console, file, bell, none, or any combination of those five. The default value of log is:

  log = ('console', 'file', 'bell')

=====

filedir - Specifies which directory a log file will be created in. Log files are (if under 1024) named <service>-faked.log or (if over 1024) <port>-faked.log and are in plain ascii format. By default, filedir = "/root"

« November 2009 »
Su Mo Tu We Th Fr Sa
1234567
891011121314
15161718192021
22232425262728
2930
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: