I changed the mtu for the EN10MB DLT type in
globals-core.c table to 9000 as you described:
_mtuSize[DLT_EN10MB] = 9000;
Its a kludge but works for me (my C is weak sauce).
Gig ints are now happily plugging away without
too-large packet warnings.
Thanks!
-wP
--- Burton Strauss <[EMAIL PROTECTED]> wrote:
> The FAQ is in the source, and also available
> HTMLized through About | Help.
>
> There is no explicit support. To the extent jumbo
> frames are just large
> Ethernet frames, ntop will work.
>
> First, let's move this to ntop-dev...
>
> The code to handle "DLT" (Data Link Type) is largely
> in pbuf.c, although the
> table is in globals-core.c.
>
>
> The mtu table is set in initNtopGlobals(), look for
> _mtu:
>
> { int ii;
> for (ii=0; ii<MAX_DLT_ARRAY; ii++) {
> _mtuSize[ii] = CONST_UNKNOWN_MTU;
> _headerSize[ii] = 0;
> }
> }
>
> _mtuSize[DLT_NULL] = 8232
> /* no
> link-layer encapsulation */;
> _headerSize[DLT_NULL] = CONST_NULL_HDRLEN;
>
> So we need to figure out the values.
>
> Run ntop w/ -t 4 (trace level 4) and grep out the
> DLT: messages, e.g.:
>
> Apr 1 14:39:21 tigger ntop[2434]: DLT: Device 0
> [eth1] is 1, mtu 1514,
> header 14
> Apr 1 14:39:21 tigger ntop[2434]: DLT: Device 1
> [eth2] is 1, mtu 1514,
> header 14
>
> That will show how ntop is seeing the frames. It
> may simply be a matter of
> increasing the mtu upper value, or it may be another
> ethertype, which will
> require coding in pbuf.c
>
>
> -----Burton
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> frank rizzo
> Sent: Friday, April 01, 2005 4:39 PM
> To: [email protected]
> Subject: [Ntop] Jumbo frame support question
>
> I am relatively new to ntop and this list, so I
> apologize if this is
> something that has been covered (the FAQ site is
> also down apparently).
>
> I have a gig nic that I have enabled jumbo frames on
> -- the specific application that I am working with
> consists primary of
> jumbo-frame multicast data. The MTU shows as 1500
> in the ntop status -- my
> nic is set to 9000. I see no ability to change this
> in the config of ntop.
> Am I missing something? Can ntop deal with jumbo
> frames?
>
> Thanks,
>
> -wP
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Personals - Better first dates. More second
> dates.
> http://personals.yahoo.com
>
> _______________________________________________
> Ntop mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop
>
> _______________________________________________
> Ntop mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop
>
__________________________________
Yahoo! Messenger
Show us what our next emoticon should look like. Join the fun.
http://www.advision.webevents.yahoo.com/emoticontest
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev