Commit graph

13869 commits

Author SHA1 Message Date
Guy Harris
09ed220e28 Add a comment asking about the address and mask length fields in
join/prune requests.

svn path=/trunk/; revision=14157
2005-04-20 21:55:14 +00:00
Gerald Combs
ec5ec3768e Allow the locations of tethereal, editcap, and capinfos to be changed.
Limit the amount of VM the process can use (default 500 MB).  If we
can't save a capture in libpcap format, try again with the encapsulation
type set to "ether".

svn path=/trunk/; revision=14156
2005-04-20 21:00:03 +00:00
Gilbert Ramirez
5176d29243 Avoid a buffer overflow in the cseq_method field, a fixed-length character array.
svn path=/trunk/; revision=14155
2005-04-20 20:23:07 +00:00
Gerald Combs
adcd4554df From Dinesh Dutt: Improve reassembly checking. Replace a match_strval()
with a val_to_str().

svn path=/trunk/; revision=14154
2005-04-20 20:07:17 +00:00
Gerald Combs
190057e036 Fix an infinite loop discovered during fuzz-testing.
svn path=/trunk/; revision=14153
2005-04-20 19:52:23 +00:00
Gerald Combs
5ff26fa19e Remove leftover debugging code.
svn path=/trunk/; revision=14152
2005-04-20 19:50:11 +00:00
Gerald Combs
c5f8de0fbd Fix an infinite loop. Fixes bug 80.
svn path=/trunk/; revision=14151
2005-04-20 19:33:03 +00:00
Gerald Combs
94c071b115 Use proto_tree_add_time() for hf_srvloc_authblkv2_timestamp. Fixes bug 81.
svn path=/trunk/; revision=14150
2005-04-20 19:16:02 +00:00
Gerald Combs
1111832d96 In all functions that require smb_info data, throw an exception if we
can't fetch it.  Fix a few more null pointer dereferences.  Fixes bug 79.

svn path=/trunk/; revision=14149
2005-04-20 16:23:22 +00:00
Gerald Combs
a0e1ac489c Add a newline to the end of the file.
svn path=/trunk/; revision=14148
2005-04-20 14:37:53 +00:00
Tomas Kukosa
2d40f0464b - fix handling SET/SEQUENCE OF Type if type name contains hyphen
- raise warning if type is not renamed to name with the first letter uppercase
- raise warning if field is not renamed to name with the first letter lowercase

svn path=/trunk/; revision=14147
2005-04-20 12:39:34 +00:00
Ronnie Sahlberg
6658493b2f increase the length of the field field from 30 to 50 characters so that hopefully all long named fields can fit in the textbox for iorapgs/advanced
svn path=/trunk/; revision=14146
2005-04-20 08:58:49 +00:00
Ronnie Sahlberg
20a4d3257e Add a tree parameter to get_ber_length() so that
IF the length seems bogus, like longer than the reported tvb_length
we add a helpful text item to the tree  and generate a [malformed packet]


change all callers of get_ber_length to the new signature.



svn path=/trunk/; revision=14145
2005-04-20 08:35:47 +00:00
Ulf Lamping
5115a265a9 fix some minor bugs with the current interface name:
-always show descriptive string in combo box
-correct the initialization, so cancelling the option dialog won't make trouble

svn path=/trunk/; revision=14144
2005-04-19 22:32:52 +00:00
Gilbert Ramirez
6b90d6085e Allow automake and aclocal to share a common version number suffix, since
they come from the same package.

svn path=/trunk/; revision=14143
2005-04-19 22:27:05 +00:00
Ulf Lamping
9b5d52aab6 ask for unsaved file when using the new start capture feature,
ask for unsaved file when really starting the capture, not already when showing the options dialog,
use the start capture icon in the capture options dialog (instead of simply Ok)

svn path=/trunk/; revision=14142
2005-04-19 21:02:01 +00:00
Gerald Combs
2078bfc8b4 Fix a pile of format string bugs.
svn path=/trunk/; revision=14141
2005-04-19 20:59:41 +00:00
Ulf Lamping
d22ba722a4 bugfix: don't crash if we have no interface name
svn path=/trunk/; revision=14140
2005-04-19 20:55:27 +00:00
Gerald Combs
a78465a839 From Peter Johansson:
My patch changes the decoding of the Destination address to conform with the
spec found at http://www.cisco.com/univercd/cc/td/doc/product/lan/trsrb/frames.htm#xtocid75
and adds decoding of user field values 4-7 while updating the description of
user field values 0-3 according to IEEE 802.1D-2004, annex G.


svn path=/trunk/; revision=14139
2005-04-19 20:53:42 +00:00
Ulf Lamping
38b423ec6b fix labels of the two toggle toolbar buttons
svn path=/trunk/; revision=14138
2005-04-19 20:53:22 +00:00
Ulf Lamping
40222850f8 add keyboard expand/collapse in the tree view (with Left/Right keys) with GTK2
svn path=/trunk/; revision=14137
2005-04-19 20:46:35 +00:00
Gerald Combs
64cafdda21 From Peter Johansson: Fix a segmentation fault in the reassembly code.
Fix up the formatting a bit.

svn path=/trunk/; revision=14136
2005-04-19 14:17:22 +00:00
Ronnie Sahlberg
4656201984 From Jon R
Update to README.developer for the conversation changes


svn path=/trunk/; revision=14135
2005-04-19 12:05:50 +00:00
Ronnie Sahlberg
c27c30ba02 Bugfix for proto_item_get_subtree()
Not all proto_item* fields have a subtree associated to it.
If it doesnt have a subtree  fi  will be NULL,
test fi for NULL before trying to dereference it to avoid a coredump.



svn path=/trunk/; revision=14134
2005-04-19 11:59:40 +00:00
Ronnie Sahlberg
68928a2e81 From Nils,
updates to the 9p dissector


svn path=/trunk/; revision=14133
2005-04-19 11:26:09 +00:00
Ronnie Sahlberg
5a81d1bcf3 From Erwin Rol
New protocol: Netsync  used by the Monotone SCM system

 

svn path=/trunk/; revision=14132
2005-04-19 11:20:46 +00:00
Ulf Lamping
597305cb31 add some comments what all the functions going to do...
svn path=/trunk/; revision=14131
2005-04-19 00:23:31 +00:00
Ulf Lamping
7ee0db1080 statusbar changes:
-show the current capture file size, if capturing in real time mode.
-move the packet "Drops" count (if available) from file to packets statusbar part

svn path=/trunk/; revision=14130
2005-04-18 22:05:56 +00:00
Gerald Combs
207fcef313 From Peter Johansson: Make sure a pointer isn't NULL before we try to use it.
svn path=/trunk/; revision=14129
2005-04-18 18:57:37 +00:00
Gerald Combs
8e0186b2da Detect an infinite loop in dissect_rsvp_ero_rro_subobjects(). Fixes bug 71.
svn path=/trunk/; revision=14128
2005-04-18 16:29:54 +00:00
Gerald Combs
7a412fadf3 Force the "fmt" argument of val_to_str() to be non-null. Change the 9P
dissector to use a non-null format.  Fixes bug 70.

Fix the line endings in the 9P dissector, and set its SVN properties.

svn path=/trunk/; revision=14127
2005-04-18 16:16:57 +00:00
Gerald Combs
cb95a1d842 Add fuzz-test.sh to the distribution.
svn path=/trunk/; revision=14126
2005-04-18 13:47:20 +00:00
Ronnie Sahlberg
c2bfab2249 some updates from T Anders
svn path=/trunk/; revision=14125
2005-04-18 10:46:17 +00:00
Ronnie Sahlberg
ac1fab1530 From T Anders
packetcable updates


svn path=/trunk/; revision=14124
2005-04-18 10:35:40 +00:00
Ronnie Sahlberg
53adb23682 fix small typo Plan 9 not Plan9
svn path=/trunk/; revision=14123
2005-04-18 10:26:21 +00:00
Ronnie Sahlberg
00d9489114 From <noselasd@asgaard.homelinux.org>
Support for 9P used by plan 9 from outer space



svn path=/trunk/; revision=14122
2005-04-18 10:04:47 +00:00
Gerald Combs
23738d70f0 Make sure a pointer isn't null before we dereference it.
svn path=/trunk/; revision=14121
2005-04-18 02:48:31 +00:00
Gerald Combs
76f7e225ae More gratuitous tvb_ensure_bytes_exist()ing. One of them fixes bug 67.
svn path=/trunk/; revision=14120
2005-04-18 02:33:11 +00:00
Gerald Combs
d8a7d0beb4 Keep MGCP from looping in an infinite fashion. Other parts of the code look
like they might be prone to doing the same.

svn path=/trunk/; revision=14119
2005-04-18 01:22:17 +00:00
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