Age | Commit message (Collapse) | Author | Files | Lines |
|
In the RADIUS dissector, the function radius_register_avp_dissector() registers
vendors that are not already present in the dictionary hash-table. As far as I
can see, there are two problems with this:
1. The function does not set the number of type/length octets and the has_flags
variable for that AVP, which is required to correctly decode AVP/VSA values
2. In some situations, the function is called _before_ radius_load_dictionary()
is called (for example for the vendor 3GPP (ID: 10415))
Therefore, all vendor entries that are created by calling
radius_register_avp_dissector() leave their type_octets and length_octets un-initialized,
which causes incorrect decoding.
[Result: Radius dissector displays messages such as:
"Malformed Packet: RADIUS" and "Error/Malformed: Malformed Packet(Exception occurred)"]
The attached patch fixes this problem by assuming that the dictionary knows the
'ground truth' about the type/length octet and the has_flags information and allows it to
overwrite these values even for vendors that have already been loaded.
Also: (from Bill Meier): set the type/length octet and the has_flags variables to default
"standard" values (1,1,FALSE) in radius_register_avp_dissector().
Fixes Bug #3651 (and Bug #3635).
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3651
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3635
svn path=/trunk/; revision=28937
|
|
packet-ndmp.c:562: warning: unused parameter 'pinfo'
svn path=/trunk/; revision=28936
|
|
NDMP fragmentation fix.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3395
svn path=/trunk/; revision=28935
|
|
svn path=/trunk/; revision=28934
|
|
(defragmentation of RT fragments "FRAG-PDU" is still not implemented)
svn path=/trunk/; revision=28932
|
|
(plus some additional changes by me).
Handle BASE_RANGE_STRING display types properly
We always treat header field info strings as value_string's undiscriminated.
However, if the header field info display is marked as BASE_RANGE_STRING, we
need to treat them as range_string's. This wasn't properly handled in the
filter expression dialog and in the filter toolbar which would cause a crash
upon referencing any fields marked as BASE_RANGE_STRING.
svn path=/trunk/; revision=28931
|
|
svn path=/trunk/; revision=28930
|
|
svn path=/trunk/; revision=28929
|
|
and forth while the packet list is open without having
to go into the preferences. The new column ordering is
not saved for next time though. Perhaps it should be.
svn path=/trunk/; revision=28928
|
|
The template cache contains pointers that are session-scope (only freed in
netflow_reinit()) but still we use g_malloc(). This patch changes that so we
now use se_alloc(). With this patch I'm able to reproduce the crash
("Per-session memory corrupted").
svn path=/trunk/; revision=28927
|
|
svn path=/trunk/; revision=28926
|
|
KHciLoggerDatalinkTypeBCSP and KHciLoggerDatalinkTypeH5 aren't supported
- just explicitly say "BSCP" or "H5".
For unknown link-layer types, say "unknown or unsupported", as other
Wiretap modules do.
svn path=/trunk/; revision=28925
|
|
This fix will be included in Wireshark 1.2.1.
svn path=/trunk/; revision=28924
|
|
svn path=/trunk/; revision=28923
|
|
svn path=/trunk/; revision=28922
|
|
way. And "clicking" on the column titles will resort the list.
svn path=/trunk/; revision=28921
|
|
it's arguably the only place we _should_ use it. Add create_tempdir() to
tempfile.c and use it to create a temp directory for IP maps. This
should fix bug 3530.
(This still doesn't work on IE 8 / Vista here. IE gives an access denied
error in OpenLayers.js, but this is a separate issue).
svn path=/trunk/; revision=28920
|
|
Support for new NFSv4 features.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3258
svn path=/trunk/; revision=28919
|
|
the new packet list, because we relay on the columns for time values.
This fixes bug 3640.
svn path=/trunk/; revision=28918
|
|
Small patch to make it compile on AIX.
svn path=/trunk/; revision=28917
|
|
svn path=/trunk/; revision=28916
|
|
- Use g_get_tmp_dir, just like get_tempfile_path.
- Don't make the caller worry about the path buffer length.
svn path=/trunk/; revision=28915
|
|
svn path=/trunk/; revision=28914
|
|
svn path=/trunk/; revision=28913
|
|
svn path=/trunk/; revision=28912
|
|
template, differentiate between Netflow v9 and IPFIX, which require
different interpretations. Add other minor fixes and comments.
svn path=/trunk/; revision=28911
|
|
svn path=/trunk/; revision=28910
|
|
svn path=/trunk/; revision=28909
|
|
unnecessary functions. Clean up code in a couple of places.
svn path=/trunk/; revision=28908
|
|
svn path=/trunk/; revision=28907
|
|
svn path=/trunk/; revision=28906
|
|
svn path=/trunk/; revision=28905
|
|
svn path=/trunk/; revision=28904
|
|
one compile error. It still fails in file.c trying to include gtk/gtk.h in new_packet_list.h
svn path=/trunk/; revision=28903
|
|
and generic support for other interfaces.
svn path=/trunk/; revision=28902
|
|
that filtering on edp is not going to help
- Make it possible to filter on ismp.edp
- In case of edp fill info column
svn path=/trunk/; revision=28901
|
|
rid of another, as the pointer in question is non-null in all calls (if
somebody adds another call with a null pointer, it'll crash when
dereferencing the pointer in any case).
svn path=/trunk/; revision=28900
|
|
items.
svn path=/trunk/; revision=28899
|
|
which case it won't crash, or it will be null, in which case that just
trades one crash for another, and we should fix the crash.
svn path=/trunk/; revision=28898
|
|
svn path=/trunk/; revision=28897
|
|
svn path=/trunk/; revision=28896
|
|
Also: a few minor mostly formatting changes by me.
svn path=/trunk/; revision=28895
|
|
svn path=/trunk/; revision=28894
|
|
svn path=/trunk/; revision=28893
|
|
To use the GTK2 based packet list, define NEW_PACKET_LIST when compiling.
To do this with gcc, set the environment variable CPPFLAGS to
"-DNEW_PACKET_LIST" and re-run configure.
Many features do not yet work. This work began with prototypes by Ulf
quite a while back. I've put quite a bit of work into this so far and
as discussed with a few of the core team members at Sharkfest09 and it was
decided that it would be best to commit what I have so far to allow others to
help work on this.
svn path=/trunk/; revision=28892
|
|
list/pair seen;
Fixes crash reported in Bug #3578. [https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3578]
Essentially: CLEANUP_CALL_AND_POP wasn't being executed for certain error exits from
dissect_attribute_pairs() thus leaving a CLEANUP entry on the exception stack.
Also: vsa_buffer_table wasn't being destroyed if an exception occurred in dissect_attribute_pairs.
svn path=/trunk/; revision=28891
|
|
svn path=/trunk/; revision=28890
|
|
The previous check is incorrect when the first ldap frame in the capture is
selected and the filter is changed, or selecting "Follow TCP Stream".
Also removed check_col().
svn path=/trunk/; revision=28889
|
|
svn path=/trunk/; revision=28888
|
|
svn path=/trunk/; revision=28887
|