Author: andrews
Date: 2008-03-31 15:02:18 +0200 (Mon, 31 Mar 2008)
New Revision: 3442

Modified:
   branches/andrews_n2n_3436/edge.c
   branches/andrews_n2n_3436/n2n.c
   branches/andrews_n2n_3436/tuntap_linux.c
Log:
--------
M      edge.c

 * Twofish interface completeness.

--------
M      tuntap_linux.c

 * Fix up Linux tunnel initialisation so it uses TAP device instead of TUN 
(which was wrong).

--------
M      n2n.c

 * Fix up logging of MAC addresses.

--------
Commentary:

 * This version works and was tested on FC4 and FC6 hosts (FC4 running supernode
+ edge; FC6 running another edge).

 * The tuntap device was wrongly initialised to bring up a TUN device which has
no hardware address and cannot produce or accept layer 2 packets.

 * There is a major problem in the handling of packets. The current code does a
simple cast from the byte buffer to a struct which will clearly break the system
if ever two hosts of opposite endian try and communicate. A proper byte
marshalling routine needs to be perform instead of casts to and from
n2n_packet_header.


_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to