Index of /projects/map/distribution
Name Last modified Size Description
Parent Directory -
Command.tcl 03-Jul-2011 18:12 24K
Installation_Notes.html 03-Jul-2011 18:12 3.0K
ecc2.tki 03-Jul-2011 18:12 21K
etherspeed.tcl 03-Jul-2011 18:12 3.3K
getTcpInfo.tcl 03-Jul-2011 18:12 371
getTcpPrcnt.pl 03-Jul-2011 18:12 1.3K
ip_monitor.tcl 03-Jul-2011 18:12 26K
map.pl 03-Jul-2011 18:12 7.4K
mapMaster.txt 03-Jul-2011 18:12 2.2K
tranNmap.pl 03-Jul-2011 18:12 1.4K
README
Installation notes (read 'em all, you'll need them):
To get map-generator (the program we modified to bring you this) go to:
http://netmon.itb.ac.id/~ismail/project/map-generator/
You will need the following file:
map-generator.tar.Z
gunzip and untar it and then copy the files somewhere (typically /usr/local/map/ is used). We'll refer to this directory as MAP_DIR
Get NMAP from:
http://www.insecure.org/nmap/index.html
and install it.
Get the following files from us (look up):
Command.tcl
etherspeed.tcl
getTcpInfo.tcl
getTcpPrcnt.pl
ip_monitor.tcl
map.pl
mapMaster.txt
tranNmap.pl
Place map.pl in MAP_DIR/bin/
Change $file_map to the directory you want the HTML file to be stored in.
Also change $file_mapMaster to the directory where you're going to install mapMaster.cgi (see below, it's CGI-BIN_DIR)
Currently we're using tkined 1.4.10 and scotty 2.1.10 so if you're using different versions you're going to have to re-configure ip_monitor.tcl, Command.tcl, and etherspeed.tcl
Either way, you're going to have to configure the directories at the top of the scripts. Note that this is primarily in MAP_DIR/bin/map.pl and MAP_DIR/bin/tki-table.pl
ip_monitor.tcl and Command.tcl will *replace* TKINED's files of the same type. Whatever your TKINED directory is, we'll call it TKINED_DIR. ip_monitor is in TKINED_DIR/apps/ and Command.tcl is in TKINED_DIR/library/
It's probably a good idea to backup your originals... :)
*Note* that map-generator wants you to make some changes to these files by hand. We did that, which is why we're including them. We didn't make any actual modifications past his, so if things get screwy, use your originals and follow his instructions on your own.
mapMaster.txt needs to go into your cgi-bin (CGI-BIN_DIR).
Once it's there, change it to mapMaster.cgi
etherspeed.tcl, getTcpInfo.tcl, getTcpPrcnt.pl and tranNmap can go anywhere, just make sure you set $prog_path in mapMaster.cgi to the correct directory (often MAP_DIR/bin/).
MAKE SURE THOSE ARE ALL EXCECUTABLE.
To actually run the bloody thing:
[follow the instructions on how to run map-generator, which are:]
1) Run TKINED
2) Open or create your network (see ecc2.tki for ours)
[the following three steps can be put in a batch file]
3) Go to MAP_DIR/bin and type ./tki-table.pl > tki.table
4) cp tki.table ../log/
5) ./map.pl ../log/tki.table
6) IF YOU WANT THE HTML TO BE UPDATED REGULARLY you need to keep TKINED running and add MAP_DIR/bin/map.pl MAP_DIR/log/tki-table to chron (try every minute or 55 seconds)
7) Look at all the cool HTML stuff you just made! Send us praising e-mail and job offers.
Ken, Ryan and Chris.