aboutsummaryrefslogtreecommitdiffstats
path: root/packet-netflow.c
AgeCommit message (Collapse)AuthorFilesLines
2003-03-07Add in some additional Cisco URLs for NetFlow documentation.Guy Harris1-13/+33
According to the V9 documentation at the first of those URLs, the length field in a data flowset includes the lengths of the flowset ID and length fields, so subtract that before calling "dissect_v9_data()" - and don't call "dissect_v9_data()" if the length isn't positive after that's done. Don't bother checking whether there's data in the tvbuff in the loop that dissects V9 data flowsets - if there isn't, we *want* an exception to be thrown, as that's a short or malformed frame. Do, however, make sure we have at least as much data left in the flowset as the template claims should be there - otherwise, we have padding, not a record. Display that padding as such. Make the length argument to "dissect_v9_data()" unsigned, so that we don't get compiler warnings when comparing it with the unsigned "length" field of a template. If we don't find the template for a data flowset, just show the data as such. svn path=/trunk/; revision=7306
2003-03-04From Matthew Smart:Guy Harris1-37/+457
1. Make NetFlow UDP port user configurable 2. Cache v9 templates 3. Decode v9 data svn path=/trunk/; revision=7270
2003-02-12From Matthew Smart: partial NetFlow V9 support.Guy Harris1-16/+282
svn path=/trunk/; revision=7127
2002-10-08From Lutz Jaenicke: use "g_htonl()" rather than "htonl()".Guy Harris1-2/+2
svn path=/trunk/; revision=6381
2002-10-08Include <string.h> to declare "memcpy()".Guy Harris1-2/+3
Cast the argument to "ip_to_str()" to eliminate a compiler warning. svn path=/trunk/; revision=6376
2002-09-22Major updates from Bill Fumerola.Gerald Combs1-374/+922
Remove packet-netflow.h, since it is no longer needed. svn path=/trunk/; revision=6314
2002-09-09From Matthew Smart:Guy Harris1-124/+363
o Added support for v1 and v7 o Use proto_tree_add_item() instead of proto_tree_add_text() to enable filtering. Thanks sahlberg AT optushome.com.au for pointing that out. svn path=/trunk/; revision=6236
2002-09-07Use g_ntohXXX instead of ntohXXXJörg Mayer1-8/+8
svn path=/trunk/; revision=6206
2002-09-06From Hannes Gredler: decode the sample rate factor in cflowd5 headers.Guy Harris1-4/+14
svn path=/trunk/; revision=6200
2002-09-04From Matthew Smart: Cisco NetFlow protocol support.Guy Harris1-0/+233
svn path=/trunk/; revision=6178