######################################################## # # Configuration section # ######################################################## # Enable tracing by setting TRACE to a non-empty string # 'TRACE=' turns tracing off TRACE=do # Enable geo tracking by setting GEOTRACK to a non-empty string # 'GEOTRACK=' turns geo tracking off GEOTRACK=do # # How many attempts for burglars and attackers? # MAX_AFFAIRS=5 # Time slice for the blocking in the timed ipset 'tarpit' # # This value is internally multiplied with the number of 'affairs' # # The blocking scheme is logarithmic as '2^AFFAIRS'; i.e. # # the factor to TIME_SLICE doubles with every affair resulting # # in 2,4,8,16,32 minutes blocking, if TIME_SLICE is set to 60s # # (1 minute) # # Setting it to 300 (5 minutes) results in # # 10, 20, 40, 80 (1h20m) minutes blocking # # Setting it to 600 (10 minutes) results in # # 20, 40, 80 (1h20m), 160 (2h40m), 320 (5h20m) blocking # # Default: 60 seconds TIME_SLICE=60 # Want compressed 'filter' at runtime ? # Then set COMPRESS_FILTER to a non-empty string # Otherwise set 'COMPRESS_FILTER=' COMPRESS_FILTER=oh_yes # # Self-lockout prevention ... #DYN_CMD=MyFritzBox #DYN_CMD="dig +short @$DYN_PROVIDER $DYN_ADDRESS" DYN_CMD="cat $LOG_DIR/DYN_IP" ######################################################## ################################# # Don't change anything below ################################# MODULE=WatchMB THIS_TYPE=Mailbox # TABLE=mailhogs DB=../WatchMX/$TABLE.db # We share mother's DB! SQL="sqlite3 $DB" PIPE=$FIFO_BASE/$MODULE