NSIS-ka
A free C++ implementation of NSIS protocols

Changes between Version 5 and Version 6 of GistAwareNatGateway


Ignore:
Timestamp:
Jun 24, 2010, 9:35:01 AM (7 years ago)
Author:
roehricht
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GistAwareNatGateway

    v5 v6  
    5656== Evaluation ==
    5757
    58 We performed evaluations of the implementation in a testbed environment, consisting of four standard PCs being interconnected in a topology as depicted below.
     58We performed evaluations of the implementation in a testbed environment, consisting of four standard PCs, acting as routers, being interconnected in a topology as depicted below.
    5959
    6060[[Image(ganat-topology.png)]]
    6161
    62 All four PCs run Ubuntu 10.04 with Linux kernel 2.6.32 and are equipped with Intel Pentium IV 2.8 GHz CPUs, 4 GB DDR-400 RAM, and four 1000TX Ethernet cards.
     62All four routers run Ubuntu 10.04 with Linux kernel 2.6.32 and are equipped with Intel Pentium IV 2.8 GHz CPUs, 4 GB DDR-400 RAM, and four 1000TX Ethernet cards.
     63
     64The two intermediate routers were configured as GIST-aware NAT gateways as described above. In order to send NSIS signaling messages from the Querying Node towards the Responding Node, both end systems were equipped with the GIST implementation of the NSIS-ka suite. A GIST instance is built and started as following:
     65
     66{{{
     67$ svn co https://svn.ipv6.tm.uka.de/nsis/dist/gist-ka/trunk gist-ka-trunk
     68$ cd gist-ka-trunk
     69$ make
     70[add proper IP addresses in etc/nsis-ka.conf configuration file]
     71$ cd ntlp/src/
     72$ sudo ./gistka --echo 1 --config ../../etc/nsis-ka.conf
     73}}}
     74
     75Once you started GIST on the Querying Node and on the Responding Node, you can use the telnet console on the Querying Node in order to initiate simple Echo-NSLP messages towards the Responding Node:
     76
     77{{{
     78$ telnet localhost 40023
     79gist>set template 1 10.1.2.1 10.3.5.5 no no
     80gist>Msend 5 7200 0
     81}}}
     82
     83The above command issues 5 Echo-NSLP messages with an offset of 7200ms. The Echo-NSLP is bound to NSLP-ID 1, is sent from 10.1.2.1 to 10.3.5.5 and uses neither a reliable, nor a secure transport protocol.
     84
     85In order to mitigate performance delays from too much I/O transfer, the GIST instances were built without logging output ({{{make LOGGING=0}}}). Furthermore, we set the timeout for NAT bindings on both intermediate NAT gateways to a very small value in order to measure initial handshakes only:
     86
     87{{{
     88$ sudo sysctl -w net.ipv4.netfilter.ip_conntrack_udp_timeout_stream=1
     89}}}
     90
     91Packet dumps can easily be obtained on each router via tcpdump:
     92
     93{{{
     94$ sudo tcpdump -i any -s 0 -tttt udp port 4 or tcp port 30000 -w gist-aware-nat-gateway.pcap
     95}}}
     96
    6397
    6498=== Measurement Results ===