
Description
EXAMPLE:If you have ipchains to log all denied packets to you, u can add "/var/log/messages", with the word "Packet", so every intent of sending packets to denied ports will popup the window, and alert you
Principal Features:
1) Infinite numbers of files
2) Infinite numbers of words
3) Execute a command when word is found, %l to include the line
4) Transparent Window and tint
5) Show all lines option.
6) Search through Regular Expresions
Whenever i get enough mails asking for regular expresions
i will implement them.
7) Configuration done trough Graphical Interface
8) Inteligent behavior (save location and size of all windows)
9) You can save the content of the main window
-----------------rules for doing that--------------------------------
ipchains -A input -s 0/0 -p TCP -d 0/0 1:1023 -i ppp+/eth+ -j DENY -l
ipchains -A input -s 0/0 -p UDP -d 0/0 1:1023 -i ppp+/eth+ -j DENY -l
^choose one
---------------------------------------------------------------------
You have to do this, when there is not files being watched. All is made trough the "configure" button, and that window, u have 4 buttons
"add watcher": This selects a file on your sistem, and ask u for a [color], With this color all the files of this files will be displayed.
"Show All": If you enable this option then ALL the lines in the file will be shown. If u want to execute something just add a word with anything on it.
"add word": This prompts for a hot words to look for in the file that you must select before adding a word.
"Execute": You can type here, commands that will be passed to the shell, with system(), if u put, %l , the current line with the word that trigered the execute will be replaced in there. ie: echo %l >/somefile, will be translated as: echo "this line has the word that you want to look for in the logs"/somefile
"del watcher": Deletes a watcher or a word in the file.
"change": Changes the color that the line will use.
All the changes in the location and size of all the windows are SAVED in the config file, so the next time it will have the exact size and location as the last time. Theres also a button "Save" for saving the actual content of the output of the files. If you want to change something that the GUI doesnt let you, just edit: ~/.sportal/config