This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
lanmap2 /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Tue Jun 02 12:01:00 -0700 2009 | |
| |
README | Mon Jun 15 09:13:44 -0700 2009 | |
| |
data/ | Mon Mar 16 03:49:57 -0700 2009 | |
| |
db/ | Mon Mar 16 03:49:57 -0700 2009 | |
| |
doc/ | Mon Mar 16 03:49:57 -0700 2009 | |
| |
graph/ | Mon Mar 16 03:49:57 -0700 2009 | |
| |
img/ | Mon Mar 16 03:49:57 -0700 2009 | |
| |
lib/ | Mon Mar 16 03:49:57 -0700 2009 | |
| |
ref/ | Mon Mar 16 03:49:57 -0700 2009 | |
| |
src/ | Mon Mar 16 03:49:57 -0700 2009 | |
| |
tools/ | Mon Mar 16 03:49:57 -0700 2009 | |
| |
web/ | Mon Mar 16 03:49:57 -0700 2009 |
README
# ex: set ff=dos ts=2 et:
About
-----
lanmap2 is a successor to my original lanmap software; it passively listens
to LAN traffic and can construct an interactive visualization of the machines,
operating systems and applications present on the LAN from the "hints" it
extracts.
lanmap2 is a bottom-up rewrite of lanmap; it fixes a lot of protocol parsing
and abstracts much of the internal application behind well-defined interfaces;
something lanmap did not do.
That being said, it doesn't currently work quite as lanmap does, so buyer
beware; however, lanmap2 contains the structure that will allow it to surpass
lanmap once it is mature.
Installation
------------
Everything is pretty much manual at this point, oh well.
Dependencies:
sqlite3 and libsqlite3 (sqlite2 not acceptable!)
libpcap
gcc
php (to interface with db and generate graphviz input; plan on replacing with lua)
graphviz (for graph generating)
debian based (including ubuntu):
sudo apt-get install libpcap-dev libsqlite3-dev gcc graphviz php5-cli php5-sqlite sqlite3
1. Build the database
db/build-db.sh
2. Build the capture
cd src && make 2>&1 | grep -v bit-field
Use
---
1. Start capturing
cd db && sudo ../src/cap && cd -
The application has to run as root, which is a potential security hazard.
This currently produces prodigious amounts of output; sue me.
2. Generate a graph after letting the capture run for a while.
cd graph && ./graph.sh && cd -
This will generate a graph at graph/net.png
This runs a bunch of php scripts.
3. View the graph via the web/ crap
I suggest you map/symlink apache to the web/ directory if you are capable
TODO
----
* Replace php-based "graph"ing scripts with lua-based ones, and include lua
runtime and libraries within the lanmap2 package; this will simplify the
dependencies and allow more people to run it.







