Age | Commit message (Collapse) | Author | Files | Lines |
|
svn path=/trunk/; revision=16308
|
|
buffer allocation less rpone to memory leaks and buffer overflows.
svn path=/trunk/; revision=16232
|
|
IPv6 addresses. Use "tvb_get_ipv4()" in the WINS Replication dissector,
so that it gets the right answer on little-endian *AND* big-endian
machines.
svn path=/trunk/; revision=15753
|
|
svn path=/trunk/; revision=15273
|
|
the README file.
svn path=/trunk/; revision=15271
|
|
documentation in README.developer
svn path=/trunk/; revision=15270
|
|
values.
svn path=/trunk/; revision=15211
|
|
svn path=/trunk/; revision=14679
|
|
Minor corrections to README.developer and README.tapping
svn path=/trunk/; revision=14593
|
|
A few doxygen updates and an improved section on
writing dissectors that don't use tcp_dissect_pdus().
svn path=/trunk/; revision=14538
|
|
protocol during different stages of an application cycle.
This is very naughty and will cause problems when we have assigned a dissector to a dynamic port using conversation_set_dissector().
To make ethereal handle this case I have changed the try_conversation_dissector() to allow it to fail and return 0, meaning yes there is indeed a protocol registered for this conversation but that protocol rejected this packet.
(which only happens for "new" style dissectors, "old" style dissectors will never reject a packet that way)
When this happens the decode_udp_port() helper will still allow other dissectors to be tried, in the hope that the conversation is now used for some other protocol and thus someone else might be able to decode the packet.
Update SNMP and TFTP dissectors to check that even if there already is a conversation but that conversation does NOT have snmp/tftp registered as the dissector for it, then create a new conversation anyway and attach the proper dissector.
Since ethereal keeps track of which frame number a conversation started in, this actually works really well.
svn path=/trunk/; revision=14345
|
|
Update to README.developer for the conversation changes
svn path=/trunk/; revision=14135
|
|
svn path=/trunk/; revision=14050
|
|
length of a fixed-length header from the length of the item with that
fixed-length header.
svn path=/trunk/; revision=13926
|
|
svn path=/trunk/; revision=13875
|
|
big-endian to little-endian - that doesn't work on big-endian machines.
svn path=/trunk/; revision=13874
|
|
svn path=/trunk/; revision=13745
|
|
svn path=/trunk/; revision=13725
|
|
vulnerability due to somebody fetching a string into a fixed-length
buffer.
svn path=/trunk/; revision=13708
|
|
svn path=/trunk/; revision=13227
|
|
svn path=/trunk/; revision=12979
|
|
svn path=/trunk/; revision=12847
|
|
svn path=/trunk/; revision=12300
|
|
svn path=/trunk/; revision=12224
|
|
compilers, and thus shouldn't be used.
svn path=/trunk/; revision=12029
|
|
the platform for which we're building (and that both should be avoided
if possible, i.e. write your code so that it works on all platforms).
svn path=/trunk/; revision=11973
|
|
particularly, should disregard all the renaming they did of some
routines, as the old names work Just Fine in 2.x but the new names don't
work in 1.2[.x]).
svn path=/trunk/; revision=11936
|
|
svn path=/trunk/; revision=11864
|
|
can be found, to epan/dissectors
svn path=/trunk/; revision=11858
|
|
integers.
Make FT_INT64 and FT_UINT64 add numerical values, rather than byte-array
values, to the protocol tree, and add routines to add specified 64-bit
integer values to the protocol tree.
Use those routines in the RSVP dissector.
svn path=/trunk/; revision=11796
|
|
don't fit in 32 bits, rather than using "LL" at the end.
Clean up some other 64-bit-integer items.
svn path=/trunk/; revision=11779
|
|
before using its value, or must check for a null return value and handle
it specially, otherwise you put Ethereal at risk of crashing with bad
packet data.
svn path=/trunk/; revision=11475
|
|
and coding guidelines.
svn path=/trunk/; revision=11418
|
|
they have LF at the end of the line on UN*X and CR/LF on Windows;
hopefully this means that if a CR/LF version is checked in on Windows,
the CRs will be stripped so that they show up only when checked out on
Windows, not on UN*X.
svn path=/trunk/; revision=11400
|
|
have to", indicating that if it's too much work to explicitly test for a
null protocol tree, you might want to avoid those tests and rely on the
protocol tree routines not to do much work if passed a null protocol
tree pointer.
svn path=/trunk/; revision=11346
|
|
Replace it where used and update README.developer accordingly.
svn path=/trunk/; revision=11235
|
|
use to format 64-bit integers.
Fix the RSVP dissector to use that rather than hardcoding "%ll" in.
Remove the "only if G_HAVE_GINT64 is defined" bit from the discussion of
64-bit integers - we're too dependent on having them to support
compilers that don't have a 64-bit integral data type. Do, however,
note that neither "long" nor "long long" are acceptable, and also note
that you shouldn't assume "%ll" does the trick for printing them.
svn path=/trunk/; revision=11182
|
|
convenient to put into a command line (no capital letters, no spaces to
require quotes), and one that's a detailed description for use in the
UI. Allow either of them in the preferences file or "-o" option; use
the detailed description in the UI, and also use it when writing the
preferences out, so that the preference will be readable by older
versions of Ethereal (assuming the preference existed in that version).
Update "README.developer" to give more detail about an enum_val_t (and
to put the _t in), and to give a more detailed description of the
"radio_buttons" argument to "prefs_register_enum_preference()".
svn path=/trunk/; revision=10982
|
|
svn path=/trunk/; revision=10481
|
|
svn path=/trunk/; revision=10408
|
|
"tvb_get_ptr()".
Add a section on roubustness, giving a number of potential problems that
aren't just portability problems.
Document "tvb_get_string()" and "tvb_get_stringz()", better document
"tvb_memcpy()" and "tvb_memdup()".
Fix a typo.
svn path=/trunk/; revision=10239
|
|
svn path=/trunk/; revision=10115
|
|
a Bad Idea).
Add a note on the new col_append_sep_str() and col_append_sep_fstr() methods.
svn path=/trunk/; revision=10061
|
|
Makefile.nmake into a shared file named Makefile.common
svn path=/trunk/; revision=9772
|
|
to export to other dissectors.
Describe the "if (tree)" construct and its sense by introducing 2 operation
modes of Ethereal:
(a) operational dissection (tree == NULL)
and
(b) detailed dissection (tree != NULL).
Fix some typos.
svn path=/trunk/; revision=9495
|
|
forbidden.
svn path=/trunk/; revision=9356
|
|
adding to DISSECTOR_SRC instead, and update it to mention
"Makefile.nmake" in the first instance.
svn path=/trunk/; revision=8966
|
|
printf's implement.
svn path=/trunk/; revision=8898
|
|
svn path=/trunk/; revision=8797
|
|
pointer arguments to "proto_tree_add_XXX" functions are copied - if you
allocated a buffer for one of them (e.g., a string), and you don't free
that buffer when you're done with it, you'll leak memory.
svn path=/trunk/; revision=8796
|