Commit graph

13880 commits

Author SHA1 Message Date
Ulf Lamping
55e312bb41 bugfix: show the right filesize after a live capture finished
svn path=/trunk/; revision=14118
2005-04-17 22:44:13 +00:00
Gerald Combs
5caccdd94e Change a bunch of instances where we manually fetch a string and call
proto_tree_add_string() to just use proto_tree_add_item().  Add a note
about a memory leak.  Fixes bug 65.


svn path=/trunk/; revision=14117
2005-04-17 22:08:22 +00:00
Ulf Lamping
f315d0976c add "Decode As" and "Checkbox" (Enabled Protocols) Icons
svn path=/trunk/; revision=14116
2005-04-17 21:38:52 +00:00
Gerald Combs
6dabb04f4e Make sure frag_size doesn't underflow, which would make us to try to
allocate a huge amount of memory.  Fixed bug 63.

svn path=/trunk/; revision=14115
2005-04-17 20:44:58 +00:00
Gerald Combs
e39e982856 Add a description and usage message. Handle invalid capture files.
svn path=/trunk/; revision=14114
2005-04-17 18:55:42 +00:00
Gerald Combs
02f67fd19f Add some length checking.
svn path=/trunk/; revision=14113
2005-04-17 18:28:50 +00:00
Gerald Combs
8e46cb49b7 Add a tvb_ensure_bytes_exist(). Fixes bug 62.
svn path=/trunk/; revision=14112
2005-04-17 05:14:44 +00:00
Gerald Combs
efd08d91bc Add even more calls to tvb_ensure_bytes_exist().
svn path=/trunk/; revision=14111
2005-04-17 05:11:25 +00:00
Gerald Combs
67a2c952a6 Ham-fistedly drop in a bunch of tvb_ensure_bytes_exist() calls. One of
them fixes bug 46.

svn path=/trunk/; revision=14110
2005-04-17 01:42:10 +00:00
Gerald Combs
d19929cd62 Add a few tvb_ensure_bytes_exist() calls. Fixes bug 35.
svn path=/trunk/; revision=14109
2005-04-16 22:25:54 +00:00
Ulf Lamping
fdb2184315 temporarily fix a GTK1.x related bug
svn path=/trunk/; revision=14108
2005-04-16 22:19:59 +00:00
Gerald Combs
83f3aa6e08 Add an extra_info_type field to smb_extra_info_t so that we can make
sure we're not referencing a fid when we think we're referencing an
smb_nt_transact_info_t pointer.  (A fuzzed capture I have triggers
this behavior).


svn path=/trunk/; revision=14107
2005-04-16 21:54:32 +00:00
Ulf Lamping
3625956f52 disable some toolbar icons, if no capture packets loaded
svn path=/trunk/; revision=14106
2005-04-16 20:39:18 +00:00
Ulf Lamping
83dc83abd8 rename capture_clear() to capture_restart()
statusbar update should work now even in capture error case

svn path=/trunk/; revision=14105
2005-04-16 20:08:00 +00:00
Ulf Lamping
708dae1a17 bugfix: don't crash on error in normal mode capture
svn path=/trunk/; revision=14104
2005-04-16 19:31:06 +00:00
Ulf Lamping
4eb2c02901 fix cf_cb_... callback handling (but it's still not perfect)
svn path=/trunk/; revision=14103
2005-04-16 19:29:48 +00:00
Ulf Lamping
ce8a65b3da minor refactoring
svn path=/trunk/; revision=14102
2005-04-16 19:24:10 +00:00
Ulf Lamping
4fee14e326 beautify an error message
svn path=/trunk/; revision=14101
2005-04-16 19:22:15 +00:00
Ulf Lamping
7debbfdfac prepare for "Don't show this message again" checkboxes in the simple_dialog
svn path=/trunk/; revision=14100
2005-04-16 19:18:05 +00:00
Ulf Lamping
36d16112ac we are in beta, not alpha state any more :-)
svn path=/trunk/; revision=14099
2005-04-16 19:16:27 +00:00
Ulf Lamping
e571cbfa9d add 12 new toolbar/menu icons
add two toolbar toggle buttons
add icons to various menu items

create new Statistics telephony group and put telephony and alike protocols in it

svn path=/trunk/; revision=14098
2005-04-16 10:53:09 +00:00
Gerald Combs
af3435f669 In time_secs_to_str_buf(), handle the case where a large time value makes
things go wonky.

svn path=/trunk/; revision=14097
2005-04-15 21:38:42 +00:00
Gerald Combs
5eb73dd01b In fragment_unhash(), free our key data _after_ we remove the key from
the hash table so that fragment_equal() doesn't end up working with
recently-freed data.

svn path=/trunk/; revision=14096
2005-04-15 20:15:03 +00:00
Gerald Combs
46d347ed7e Add a missing backslash.
svn path=/trunk/; revision=14095
2005-04-15 16:18:34 +00:00
Gerald Combs
d96061b92d Add a tvb_ensure_bytes_exist(). I'm not sure if this is the correct way
to do this, but it fixes bug 38.

svn path=/trunk/; revision=14094
2005-04-15 15:17:55 +00:00
Gerald Combs
6b6dde3aa8 Update to reflect recent toolbar changes.
svn path=/trunk/; revision=14093
2005-04-15 14:26:37 +00:00
Gerald Combs
7c5083489f In dissect_ber_bitstring32(), make sure tmp_tvb is properly initialized.
Fixes bug 32.

svn path=/trunk/; revision=14092
2005-04-15 14:18:08 +00:00
Anders Broman
15d1745271 From Olivier Jacques:
- Add bearerServiceCodes decoding
- Fixed sendRoutingInfoForSM and reportSM-DeliveryStatus invoke decoding (argument mismatch)

svn path=/trunk/; revision=14091
2005-04-15 08:30:23 +00:00
Anders Broman
7846adc5ad From Olivier Jacques:
- Add bearerServiceCodes decoding
- Fixed sendRoutingInfoForSM and reportSM-DeliveryStatus invoke decoding (argument mismatch)

svn path=/trunk/; revision=14090
2005-04-15 08:29:50 +00:00
Anders Broman
d6944e810f Add Javier Acuna to the list.
svn path=/trunk/; revision=14089
2005-04-15 08:22:26 +00:00
Anders Broman
dca524507c From Olivier Jacques:
- Adds callingPartyNumber and CalledPartyNumber parameter dissection uing ISUP dissector
- Adds IMSI and ISDN-AddressString parameter dissection
- A lot of changes in the .asn file to sort it, handle more parameters and error codes - contributed by Javier Acuna [javier.acuna@sixbell.cl]

svn path=/trunk/; revision=14088
2005-04-15 08:18:48 +00:00
Anders Broman
3a4e795c5e From Olivier Jacques:
- Adds callingPartyNumber and CalledPartyNumber parameter dissection uing ISUP dissector
- Adds IMSI and ISDN-AddressString parameter dissection
- A lot of changes in the .asn file to sort it, handle more parameters and error codes - contributed by Javier Acuna [javier.acuna@sixbell.cl]

svn path=/trunk/; revision=14087
2005-04-15 08:18:15 +00:00
Anders Broman
87f8d7b412 From Jacques Olivier :
Export callingPartyNumber and CalledPartyNumber parameter dissection .

svn path=/trunk/; revision=14086
2005-04-15 08:14:44 +00:00
Anders Broman
191d38789c Setr up conversations for RTP and RTCP.
svn path=/trunk/; revision=14085
2005-04-15 07:50:19 +00:00
Anders Broman
0d7fcee40d Add message type string to "message type", print Protocol ID short name in Info coulmn.
svn path=/trunk/; revision=14084
2005-04-15 07:49:31 +00:00
Ulf Lamping
9718569b63 add some new capture and filter related handcrafted (toolbar) icons
add "new" capture options feature, which will act like old capture start, and change capture start option (for immediately capture)

rename Capture/Clear to Capture/Restart

svn path=/trunk/; revision=14083
2005-04-15 07:41:15 +00:00
Ulf Lamping
aee376228c fix bugzilla #16: make columns resizeable again after doing "Resize Columns"
svn path=/trunk/; revision=14082
2005-04-14 20:54:01 +00:00
Guy Harris
8f71b85840 Strip off anything after a blank in the PacketLibraryVersion string, as
the string says "3.0 alpha3" in the final release of WinPcap 3.0, and
saying that's "3.0 alpha3" is misleading.

Don't repeatedly fetch the version string from PacketLibraryVersion;
just cache the version we got the first time.

svn path=/trunk/; revision=14081
2005-04-14 20:37:13 +00:00
Gerald Combs
adbc8b86b5 In dissect_ber_integer(), generate a warning if the integer length is
invalid instead of throwing an assertion.  Fixes bug 25.

svn path=/trunk/; revision=14080
2005-04-14 20:16:35 +00:00
Gerald Combs
3008014ed7 Add another passel of tvb_ensure_bytes_exist()s. Fixes bug 24.
svn path=/trunk/; revision=14079
2005-04-14 20:01:14 +00:00
Gerald Combs
a6b24ceaaa Add a tvb_ensure_bytes_exist() to dissect_ber_octet_string(). Fixes bug
23.

svn path=/trunk/; revision=14078
2005-04-14 19:53:27 +00:00
Gerald Combs
5f4347c46d Add a bunch of tvb_ensure_bytes_exist() calls. Some of these may not be
neccessary -- someone more knowledgeable about the SMB dissector may want
to check this.  Throw a ReportedBoundsError instead of exiting.

svn path=/trunk/; revision=14077
2005-04-14 19:43:00 +00:00
Ronnie Sahlberg
7cac2e619c From packetsteve :
CDMA2000 A10 uses a 4 byte gre key

svn path=/trunk/; revision=14076
2005-04-14 09:29:23 +00:00
Ronnie Sahlberg
a5863ec066 From Steve Karg
updates to BACNet


svn path=/trunk/; revision=14075
2005-04-14 09:20:02 +00:00
Ronnie Sahlberg
1d2c39cc60 make file name snooping use information from READDIRPLUS replies when building the filehandle to name mapping
svn path=/trunk/; revision=14074
2005-04-14 06:45:32 +00:00
Gerald Combs
210225e22d Add a script based on the "menagerie-fuzz" buildbot test. Running
"./tools/fuzz-test.sh /path/to/capture/files/*" will iterate over the
specified capture files, using editcap to introduce errors and tethereal
to check for bugs.  It will do this until tethereal exits abnormally or
a dissector bug is encountered.

svn path=/trunk/; revision=14073
2005-04-14 04:32:27 +00:00
Gerald Combs
2f3a371613 In dissect_h245_OpenLogicalChannelCodec(), make sure codec_type exists before
trying to access its contents.

svn path=/trunk/; revision=14072
2005-04-14 04:26:00 +00:00
Ronnie Sahlberg
7061524f79 fix bug in parsing of NDMP_DATA_CONNECT messages, it is a ndmp_address passed to this function not an ndmp_address_type.
svn path=/trunk/; revision=14071
2005-04-14 03:41:31 +00:00
Lars Roland
41e0f63cfb From Francisco Alcoba:
fix the H323 and SIP part of the voip call analysis for the new tap ordering.

svn path=/trunk/; revision=14070
2005-04-14 00:26:11 +00:00
Lars Roland
13f019e952 From Francisco Alcoba:
- change the "write to file" to "save as"
- avoid the segmentation fault reported by Ruud Linders in another mail

svn path=/trunk/; revision=14069
2005-04-13 23:12:41 +00:00