Age | Commit message (Collapse) | Author | Files | Lines |
|
differently.
Remove a redundant "break" statement.
svn path=/trunk/; revision=9811
|
|
svn path=/trunk/; revision=9793
|
|
for all algorithms other than RSAMD5.
Make "compute_key_id()" return a "guint16", as the key IDs are 16-bit
and as it can no longer return -1 meaning "I don't know how to compute
the key ID for that algorithm".
svn path=/trunk/; revision=9746
|
|
svn path=/trunk/; revision=9561
|
|
a typo in the AUTHORS file.
svn path=/trunk/; revision=9363
|
|
length) - zero-length keys "shouldn't happen", but what the heck....
svn path=/trunk/; revision=9328
|
|
svn path=/trunk/; revision=9317
|
|
svn path=/trunk/; revision=9316
|
|
RFC 2930.
svn path=/trunk/; revision=9315
|
|
svn path=/trunk/; revision=9314
|
|
we're dissecting. (Some RR's still don't do that check, as they don't
maintain an "rr_len" variable, and as "get_dns_name()" doesn't do any
length checking.)
That obviates the need for having "compute_key_id()" check the length,
as we won't even get to calling it if the RR is too short. Have it
still do a check for sanity, but just abort if the check fails, and have
it return -1 if the algorithm is unsupported.
Don't bother processing T_CERT RRs if we're not building a protocol
tree, don't fetch data from a T_CERT RR until we put it into the tree,
and fix the bug that change found, namely that we were using the wrong
variable in the "val_to_str()" call for the certificate type.
svn path=/trunk/; revision=9250
|
|
and have its caller put an entry into the tree for "we don't support the
algorithm" (the "RR too short" error is a "can't happen").
svn path=/trunk/; revision=9243
|
|
svn path=/trunk/; revision=9241
|
|
possible.
svn path=/trunk/; revision=9232
|
|
svn path=/trunk/; revision=9101
|
|
svn path=/trunk/; revision=9096
|
|
svn path=/trunk/; revision=8613
|
|
off chance that someone has amazingly long service names defined on
their system. Discovered by Timo Sirainen.
svn path=/trunk/; revision=7734
|
|
but not for <buf_size> or greater. Discovered by Timo Sirainen.
svn path=/trunk/; revision=7731
|
|
svn path=/trunk/; revision=7645
|
|
svn path=/trunk/; revision=7643
|
|
svn path=/trunk/; revision=7065
|
|
Put in a note about one capture I've seen.
svn path=/trunk/; revision=7059
|
|
request works quite nicely but I'm not sure what to call for the response.
Currently it just displays "Unknown header: (cls=2, cons=1, tag=1) which
looks like it's some more ASN.1 data.
svn path=/trunk/; revision=7002
|
|
to cast away the constness of pointers passed to it.
svn path=/trunk/; revision=6718
|
|
Support for mDNS/LLMNR "cache flush" bit
Label mDNS and DNS differently in the Protocol column
Clean up summary line for PTR records
svn path=/trunk/; revision=6709
|
|
svn path=/trunk/; revision=6145
|
|
svn path=/trunk/; revision=6135
|
|
winapi_cleanup tool written by Patrik Stridvall for the wine
project.
svn path=/trunk/; revision=6117
|
|
svn path=/trunk/; revision=6022
|
|
equivalents for the toplevel directory. The removal of winsock2.h will
hopefully not cause any problems under MSVC++, as those files using
struct timeval still include wtap.h, which still includes winsock2.h.
svn path=/trunk/; revision=5932
|
|
"snprintf()" but weren't including "snprintf.h".
svn path=/trunk/; revision=5887
|
|
extended labels.
svn path=/trunk/; revision=5672
|
|
NBNS.
svn path=/trunk/; revision=5475
|
|
loops.
svn path=/trunk/; revision=5443
|
|
extracting PDUs from it and possibly doing reassembly. Make the COPS,
DNS, DSI, Gryphon, and SCCP dissectors use it.
Add "set_actual_length()", "tcp_dissect_pdus()",
"decode_boolean_bitfield()", "decode_numeric_bitfield()", and
"decode_enumerated_bitfield()" to the list of routines available to
dissectors on platforms where routines in the main program aren't
available to dynamically-loaded code.
Declare routines in "to_str.h" as "extern"; as I remember, that's
necessary to allow the "decode_XXX_bitfield()" routines declared therein
to be made available to plugins as per the above.
Note that new exported routines should be added to the end of the table
if that's the only change being made to the table.
Create a new "plugin_api_decls.h" header file, used to declare both the
"p_" variables and the "p_" structure members in the routine-exporting
mechanism; this reduces the number of places you have to change to
change the list of exported routines.
svn path=/trunk/; revision=5394
|
|
svn path=/trunk/; revision=4979
|
|
svn path=/trunk/; revision=4788
|
|
when dissecting messages over TCP, so that an error in one message
doesn't stop us from dissecting the next message in the segment, if any.
Put an XXX comment before the code that constructs the tvbuff for each
message inside a TCP segment, noting that we really want tvbuffs to have
three lengths and to have a new type of exception thrown if you go past
the second length but not past the reported length.
svn path=/trunk/; revision=4782
|
|
across segment boundaries and to, for each DNS-over-TCP PDU, create a
tvbuff containing the header and the body of the PDU, handing that to
the DNS PDU dissector.
svn path=/trunk/; revision=4776
|
|
"epan/..." pathnames, so as to avoid collisions with header files in any
of the directories in which we look (e.g., "proto.h", as some other
package has its own "proto.h" file which it installs in the top-level
include directory).
Don't add "-I" flags to search "epan", as that's no longer necessary
(and we want includes of "epan" headers to fail if the "epan/" is left
out, so that we don't re-introduce includes lacking "epan/").
svn path=/trunk/; revision=4586
|
|
items to the protocol tree; it's interpreted as "the rest of the data in
the tvbuff". This can be used if
1) the item covers the entire packet or the remaining payload in
the packet
or
2) the item's length won't be known until it's dissected, and
will be then set with "proto_item_set_len()" - if an
exception is thrown in the dissection, it means the item ran
*past* the end of the tvbuff, so saying it runs to the end of
the tvbuff is reasonable.
Convert a number of "proto_tree_add_XXX()" calls using
"tvb_length_remaining()", values derived from the result of
"tvb_length()", or 0 (in the case of items whose length is unknown) to
use -1 instead (using 0 means that if an exception is thrown, selecting
the item highlights nothing; using -1 means it highlights all the data
for that item that's available).
In some places where "tvb_length()" or "tvb_length_remaining()" was used
to determine how large a packet is, use "tvb_reported_length()" or
"tvb_reported_length_remaining()", instead - the first two calls
indicate how much captured data was in the packet, the latter two calls
indicate how large the packet actually was (and the fact that using the
latter could cause BoundsError exceptions to be thrown is a feature - if
such an exception is thrown, the frame really *was* short, and it should
be tagged as such).
Replace some "proto_tree_add_XXX()" calls with equivalent
"proto_tree_add_item()" calls.
Fix some indentation.
svn path=/trunk/; revision=4578
|
|
the end of the data in the packet, so we don't need to do those checks
in the callers of those routines - and thus don't need to do those
checks in the callers of *those* routines.
svn path=/trunk/; revision=4574
|
|
structure to the "packet_info" structure; only stuff that's permanently
stored with each frame should be in the "frame_data" structure, and the
"column_info" structure is not guaranteed to hold the column values for
that frame at all times - it was only in the "frame_data" structure so
that it could be passed to dissectors, and, as all dissectors are now
passed a pointer to a "packet_info" structure, it could just as well be
put in the "packet_info" structure.
That saves memory, by shrinking the "frame_data" structure (there's one
of those per frame), and also lets us clean up the code a bit.
svn path=/trunk/; revision=4370
|
|
take a dissector handle as an argument, rather than a pointer to a
dissector function and a protocol ID. Associate dissector handles with
dissector table entries.
svn path=/trunk/; revision=4308
|
|
Make the default for NBSS and ONC RPC-over-TCP desegmentation "on",
rather than "off"; the default for desegmentation in general is "off",
so this won't change the default behavior, but it lets you turn
desegmentation on by flipping only one switch (and turn it off for
particular protocols if you desire).
svn path=/trunk/; revision=3943
|
|
Rename the "cap_len" argument to "dissect_dns_common()" to "msg_len", as
it's just the length of the DNS message being dissected.
svn path=/trunk/; revision=3941
|
|
microseconds.
Fix some "signed vs. unsigned" comparison warnings.
svn path=/trunk/; revision=3934
|
|
"proto_item_set_text()" except that it appends the result of the
formatting to the item's current text, rather than replacing the item's
current text. Use it in the DNS dissector.
svn path=/trunk/; revision=3880
|
|
but, before you set the text, you throw an exception while putting stuff
under the subtree, you end up with an absolutely blank protocol tree
item, which is really gross. Instead of calling
"proto_tree_add_notext()", call "proto_tree_add_text()" with at least a
minimal label - yes, it does mean you do some work that will probably be
unnecessary, but, absent a scheme to arrange to do that work if it *is*
necessary (e.g., catching exceptions), the alternative is an ugly
protocol tree display.
svn path=/trunk/; revision=3879
|