From 1382078aa187e79055be5494448778eec303b36c Mon Sep 17 00:00:00 2001 From: Laurent Ghigonis Date: Wed, 5 Jun 2013 19:37:36 +0200 Subject: update some notes, merged from 'traceroute' branch --- doc/ARCHITECTURE.txt | 20 ++++++++++++++++++++ gg_sniff/README.txt | 3 +++ libglouglou/README.txt | 16 ++++++++++++++-- 3 files changed, 37 insertions(+), 2 deletions(-) diff --git a/doc/ARCHITECTURE.txt b/doc/ARCHITECTURE.txt index 721b094..70b32ab 100644 --- a/doc/ARCHITECTURE.txt +++ b/doc/ARCHITECTURE.txt @@ -1,3 +1,23 @@ +=============================================================================== +2012-12-18_20-36 + +After Json talk: + +Probe +* sends packets / connections about nodes that are around +* sends informations about nodes that are around distance, path ... +* forwards informations about other probes + +Processing server +* a graph out of network informations, which nodes are connected to which +* has the state of all the network + +Visualisation client (small, no processing) +* transfers full graph on connection +* then graph updates, about nodes +* push / pull ? + + =============================================================================== 2012-11-06_00-19 diff --git a/gg_sniff/README.txt b/gg_sniff/README.txt index 095384c..fddbb3f 100644 --- a/gg_sniff/README.txt +++ b/gg_sniff/README.txt @@ -48,6 +48,9 @@ Note that gg_sniff activates extra protections on libpcap file descriptor, by setting it to readonly, for now on OpenBSD only. It does so by reimplementing some of libpcap functions, see pcap.c my_pcap_open_live() +If you run gg_sniff in active mode (-a), it will open a readwrite raw socket +(with libpcap) and a readwrite ip socket (with libdnet) which render the +previous protection useless. Limitations =========== diff --git a/libglouglou/README.txt b/libglouglou/README.txt index 003db0a..8e67cc6 100644 --- a/libglouglou/README.txt +++ b/libglouglou/README.txt @@ -3,15 +3,27 @@ libglouglou - underlaying library for glougloud and glouglou clients Requirements ============ -* libevent2 +* libevent +* libpcap +* libdnet * libbsd (linux only) +Fedora 17: +sudo yum install libevent-devel libpcap-devel libdnet-devel libbsd-devel + libggnet ======== -libglouglou includes libggnet a helper to keep track of network nodes and +libglouglou includes libggnet, a helper to keep track of network nodes and connections. +libggnet_dns +============ + +libglouglou includes libggnet_dns, a wrapper around evdns to do asyncronous +DNS reverse resolving with a simple API. +It can be reused independently by using libggnet_dns.c and libggnet_dns.h. + sendbuf ======= -- cgit v1.2.3-59-g8ed1b