tun device i used (openvpn) must have same ethernet header as normal ones. i can get mtu from `ifconfig -a` and it depends (have 1500 and 1255, sit1 is 1480).If you can figure out the data link level header length and the associated DLT code, you can try adding them to the table in globals-core.c at 380ff:
_mtuSize[DLT_NULL] = 8232 /* no link-layer encapsulation */; _headerSize[DLT_NULL] = CONST_NULL_HDRLEN;
/* 1500 + 14 bytes header Courtesy of Andreas Pfaller <[EMAIL PROTECTED]> */ _mtuSize[DLT_EN10MB] = 1500+sizeof(struct ether_header) /* Ethernet (10Mb) */; _headerSize[DLT_EN10MB] = sizeof(struct ether_header); ...
for header size, i will ask on openvpn mailing-list.
last interface is sit1 (ipv6 tunnel), but it doesn't matter for now (as far as i'm concerned).
Regards
Julien
_______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
