# # Watcher revsion # PRODUCT=Watcher-II REVISION=2.0devel # Specify the modules TO BE STARTED # # Note: If 'WatchMX' is used its companion 'WatchMB' # is automatically started by WatchMX # No need to include 'WatchMB' here # # Example: # MODULES="WatchLG WatchMX" #----------------------------------------- MODULES="WatchLG WatchMX WatchWB GeoTrack" # # Set 'USE_RAMDISK' to a # _NON-EMPTY_STRING_ # to use it # Leave it blank to disable it. # USE_RAMDISK=UhhYeah # Configure RAM disk size in bytes; e.g. '20m' for 20 mega-bytes RDSIZE=20m # Copy some frequently used tools to the RAM disk at $POOL/bin for speed-up USE_RDCOPIES=UhhYeah # List of RAMDisk copies to be used in PATH RDCOPIES='awk grep date nft sqlite3' # Path where common tools are linked by the master and modules # Should be included in the PATH variable for 'root' TOOLS_LINK=/usr/local/sbin # Tools to be symlinked from $MASTER_PATH/bin to TOOLS_LINK TOOLS=' Freeme Huntip MyRouter MyFritzBox Blacklist Whitelist Procrate Attackrate Trace Masterpath Watcher-Report Refresh Module Dynload Rules Jump ' # Base directory for the FIFOs (named pipes) # # -------------------------------------------------------------- # # NOTE: System loggers (rsyslog & syslog-ng as well) are # # _not_ permitted to write outside the standard log # # directory '/var/log' by SElinux rules. # # There is no other choice here to place them in # # /var/log/... # # -------------------------------------------------------------- FIFO_BASE="/var/log/.pipes" ############################################################### ############## Do not change anything below! ################## ############################################################### # Export some important stuff # Programs should not normally source 'watcher.conf' # Be careful when changing this! export PRODUCT REVISION TOOLS_LINK FIFO_BASE # Link APIs into PATH ... if [ -z "$AWKPATH" ] then AWKPATH=$MASTER_PATH/api/awk else AWKPATH=$MASTER_PATH/api/awk:$AWKPATH fi if [ -z "$BASHLIB" ] then BASHLIB=$MASTER_PATH/api/bash else BASHLIB=$MASTER_PATH/api/bash:$BASHLIB fi export AWKPATH BASHLIB export PATH=$AWKPATH:$BASHLIB:$MASTER_PATH/bin:$TOOLS_LINK:$PATH