SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

Secure Portal

http://sportal.sourceforge.net

This programs is made for the people that needs to know what is going on, in their systems, what it does is keep an eye on the files that you select , for "hot Words" that u also select, all this is made trough a graphical interface, u never have to touch a config file, but if u want u can. When a "hot Word" is found on the file being watched, the Main Window goes to the front of your desktop, leaving all the other windows on the back, so u dont have to keep looking at it, it will let u know when a word is found. There is no restriction on the numbers of files or hot words, u can have as many as u want.It only needs "read access" to the files. I would recomend not runing th as root, only becouse it doesnt need it.

EXAMPLE:When u 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 thouse ports will popup the window, and alert you.

-------------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


This rules will deny any packet that comes from ppp or eth, to port 1:1023

Configuration

U 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

Install

It needs gtk>1.20, and the transparent window will need imlib. just do as usual:
$./configure --prefix=/usr or --prefix=/usr/local $make
$make install

If u have bug reports please send them to: bruj0@phreaker.net, u can down load it from http://sportal.sourceforge.net
Argentina (Cordoba) May/28/20000


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.