Commit Graph

7885 Commits

Author SHA1 Message Date
Guy Harris 13c0f43ee5 "time_t" might be an "int" or might be a "long"; cast it to "long" and
print it with "%ld".  (It's typically signed.)

svn path=/trunk/; revision=23258
2007-10-24 06:21:05 +00:00
Guy Harris 1b69944c45 packet-diameter.c should now compile without warnings. Mark it as a
clean dissector (so that the buildbots compile it with -Werror, in the
hopes of keeping it clean).

svn path=/trunk/; revision=23255
2007-10-24 02:28:03 +00:00
Guy Harris 10276efd48 Make sure characters aren't sign-extended before being handed to
isalnum().

svn path=/trunk/; revision=23254
2007-10-24 02:12:46 +00:00
Martin Mathieson b40d397b16 Make groups of PDUs filterable as large FT_BYTES items
(where the initial length isn't readily available when item is first added)

Note that this still won't work where an initial length of 0 is given for
the item that will later be extended using proto_item_set_len(), as the
pointer value part of the zero-length array will reamin NULL...

svn path=/trunk/; revision=23253
2007-10-23 11:02:08 +00:00
Anders Broman 1950ffc214 Apply the small performance enhancment patches for:
- if offset is 0, tvb_length is the same as tvb_length_remaining, just faster.
Replace 
- col_append_fstr() with faster  col_append_str() 
- col_add_str() with col_set_str()
when it's safe

svn path=/trunk/; revision=23252
2007-10-23 05:50:00 +00:00
Jaap Keuter e78cce5fbd Fix for bug 1931 and bug 1932:
A never ending while loop and a value to string mapping error.

svn path=/trunk/; revision=23251
2007-10-23 05:37:42 +00:00
Graeme Lunt fd9ad8c191 Update to use the -X and -T asn2wrs flags.
Straightforward.


svn path=/trunk/; revision=23249
2007-10-22 17:21:11 +00:00
Graeme Lunt 768db641b9 Update to use the -X and -T asn2wrs flags.
Straightforward.

svn path=/trunk/; revision=23248
2007-10-22 17:20:04 +00:00
Graeme Lunt 57ee7ab119 Update to use the -X and -T asn2wrs flags.
Straightforward.

svn path=/trunk/; revision=23247
2007-10-22 17:18:42 +00:00
Graeme Lunt 14b56c88dd Update to use the -X and -T asn2wrs flags.
Straightforward.

svn path=/trunk/; revision=23246
2007-10-22 17:17:15 +00:00
Graeme Lunt 16142d1d26 Update to use the -X and -T asn2wrs flags.
Straightfoward.

svn path=/trunk/; revision=23245
2007-10-22 17:16:15 +00:00
Graeme Lunt 811df7527a Update to use the -X and -T asn2wrs flags.
Straightforward.


svn path=/trunk/; revision=23244
2007-10-22 17:14:42 +00:00
Graeme Lunt b03164ec5d Update to use the -X and -T asn2wrs flags.
Removed the workaround code from the .cnf file.


svn path=/trunk/; revision=23243
2007-10-22 17:13:08 +00:00
Graeme Lunt b94d26f294 Update to use the -X and -T flags.
Removed some workaround code in the .cnf file.
There is still some code for handling an EXTERNAL (EXTERNALt) as the RTSE dissector has its own set of callbacks and consequently can't (currently) use the packet-ber.c functions. 


svn path=/trunk/; revision=23242
2007-10-22 17:08:03 +00:00
Graeme Lunt 138c85cf25 Update to use the -X and -T flags to asn2wrs.
svn path=/trunk/; revision=23241
2007-10-22 17:03:09 +00:00
Martin Mathieson 6ba32fd89f Show multi-byte variable length fields using FT_BYTES|BASE_HEX.
Note that there is still a problem with 'Apply as filter' filters.  They seem to remember the initial length of the item, and not the final length set using proto_item_set_len() (this is the case for groups of TBs/PDUs).  Will investigate when time allows...

svn path=/trunk/; revision=23239
2007-10-22 13:31:51 +00:00
Tomas Kukosa 10a6ffc497 add flags for optional fields of EXTERNAL type into asn1_ctx_t struct
svn path=/trunk/; revision=23238
2007-10-22 12:25:56 +00:00
Martin Mathieson 07faab5ec2 Remove the no-longer-used packet-diameter-defs.h
svn path=/trunk/; revision=23237
2007-10-22 12:16:53 +00:00
Martin Mathieson d7f8394c7b Make some capitalisation more consistent.
svn path=/trunk/; revision=23236
2007-10-22 10:47:23 +00:00
Guy Harris c21209b031 In relinquish_special_privs_perm(), only relinquish special privileges
if we were given them; doing so when we weren't seems to change the
apparent group set in OS X 10.5 (and possibly 10.4 - the group set
manipulated by getgroups()/setgroups() isn't the full group set, and
changing your UID might cause the credential identity resolver daemon
not to give you your full group set).

svn path=/trunk/; revision=23234
2007-10-20 03:45:47 +00:00
Sake Blok fcdbdcdacb From Andrew Feren:
sFlow datagrams can contain sampled headers from conversations on the network.

Often it is convenient to have wireshark dissect these payload headers, but
doing so can also have undesirable side effects.  Dissected payload headers may
match filters looking for header fields that also happen to occur in the
payload.  This can cause surprising results.

Also TCP analysis will almost always flag errors on sampled headers.  They are,
after all, just a sample and many sequence numbers are sure to be missing.

There is probably a more general way to resolve these issues, but adding
preferences to enable/disable tcp analysis and dissection of sampled headers
will be a good start.  This will make it possible to examine the details of
sampled headers if desired or to disable dissection if the side effects of
dissecting sampled headers cause issues.

svn path=/trunk/; revision=23230
2007-10-19 09:50:29 +00:00
Tomas Kukosa 44800d2c5a H.460 new dissector implemented (H.460.2-H.460.22)
H.225
 - change RysMessage_vals to h225_Rasmessage_vals
 - use #.PDU directive for H323-UserInformation and RasMessage instead of implementing it by hands
 - register RasMessage_PDU as "h225.ras" dissector for calling it from H.460
asn2wrs make PDUs exportable

svn path=/trunk/; revision=23226
2007-10-18 13:35:57 +00:00
Graham Bloice 74b161b108 Fixed sort order, used case-insensitive ascending
svn path=/trunk/; revision=23223
2007-10-18 11:42:59 +00:00
Stig Bjørlykke d6d6502bb7 Add eth_stdio_open to libwireshark.def
svn path=/trunk/; revision=23222
2007-10-18 11:29:32 +00:00
Jaap Keuter 7d2c0c1b61 Logic error
svn path=/trunk/; revision=23220
2007-10-17 18:25:49 +00:00
Jaap Keuter 565fe87ad1 Mask error
svn path=/trunk/; revision=23219
2007-10-17 18:25:29 +00:00
Jaap Keuter 4c22ba92f9 Flag error
svn path=/trunk/; revision=23218
2007-10-17 18:25:01 +00:00
Tomas Kukosa a23916f4d5 add forgotten packet-h323.h
svn path=/trunk/; revision=23217
2007-10-17 11:06:14 +00:00
Tomas Kukosa 286f231eb9 new H.323 dissector
- Generic Extensible Framework helper
  - Annex M1 (QSIG over H.323)
  - Annex M4
  - Annex R
H.225/H.245 support for Generic Extensible Framework (GEF)
H.235 register MIKEY into new H.225/H.245 GEF tables
regenerate H.225,H.245,H.235,H.450,H.450-ROS,T.35 from new makefiles

svn path=/trunk/; revision=23216
2007-10-17 10:25:21 +00:00
Tomas Kukosa 5fa636334b - register QSIG over SIP
- regenerate Q932, Q932-ROS, QSIG from new makefiles

svn path=/trunk/; revision=23215
2007-10-17 09:55:08 +00:00
Tomas Kukosa 7cca38408f make dissect_per_length_determinant() private
svn path=/trunk/; revision=23214
2007-10-17 09:51:27 +00:00
Sake Blok 7b5113c2a4 Fix for bug 1542:
When a SYN/ACK is missing in the capture, the base_seq used in 
relative sequence numbers was not set correctly. I made the
setting of fwd->base_seq and rev->base_seq a little more solid.


svn path=/trunk/; revision=23213
2007-10-17 07:14:56 +00:00
Jaap Keuter 74825dbc9b Properly decode "South Africa"
svn path=/trunk/; revision=23212
2007-10-17 06:24:43 +00:00
Sake Blok 6bec9d3d9e From tmiller@hcjbtech.org : Spelling error on GDS DB protocol dissector: "Buffer lenght:"
(recursively grepped through the source and corrected all occurences, even 
the ones just in comments)



svn path=/trunk/; revision=23211
2007-10-16 23:42:33 +00:00
Jeff Morriss 0f82a3e7e8 From Paolo Abeni via bug 1751:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1751

The patch adds support to wiretap for a new libpcap DLT for bluetooth captures.
This DLT carries the direction information, which now can be displayed
correctly.
The hci H4 dissector is updated to handle also the newly introduced wtap encap.

svn path=/trunk/; revision=23208
2007-10-16 17:19:16 +00:00
Jeff Morriss 53489c8f5d A few more s/fopen/eth_fopen/
svn path=/trunk/; revision=23207
2007-10-16 15:58:25 +00:00
Jeff Morriss 853e791444 Change more fopen() to eth_fopen() to finish fixing bug 1827:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1827

Update README.developer to tell developers not to use fopen() and friends
directly.

svn path=/trunk/; revision=23206
2007-10-16 15:43:18 +00:00
Jaap Keuter 254a5ad705 Make MGCP a builtin dissector to reduce the number of plugins.
(Leave the MGCP plugin dir for now).

svn path=/trunk/; revision=23201
2007-10-16 05:49:55 +00:00
Jaap Keuter 2154235cb4 Don't just copy a file and check that in. Use svn copy to retain the history.
svn path=/trunk/; revision=23200
2007-10-16 05:47:55 +00:00
Bill Meier 101d2e55f9 Fix col_add_str args; (I think this is correct)
svn path=/trunk/; revision=23194
2007-10-15 20:44:03 +00:00
Anders Broman 840a048b7f Implement some of the minor possible speed improvment patches.
svn path=/trunk/; revision=23192
2007-10-15 20:11:25 +00:00
Anders Broman 3c419f798c Make MGCP a builtin dissector to reduce the number of plugins.
(Leave the MGCP plugin dir for now).

svn path=/trunk/; revision=23190
2007-10-15 18:57:10 +00:00
Bill Meier 4644ce7263 Fix Windows maintainer-clean/distclean/clean to recurse thru subdirs only once (instead of worst-case 1+2+3 times)
svn path=/trunk/; revision=23187
2007-10-15 16:44:31 +00:00
Anders Broman c644b82279 Ethercat plugin
Author :
Richard Kuemmel <r.kuemmel[AT]beckhoff.de>

Updates and bugfixes:
Peter Johansson <peterjohansson73[AT]gmail.com>

svn path=/trunk/; revision=23174
2007-10-14 15:45:24 +00:00
Jaap Keuter 341798f3ac From Keith Mercer :
I would like to submit the dissector that will add support for dissecting CFM
packets with the ethertype 0x8902 defined by the IEEE proposal for 802.1ag
Draft 8.1.  This code has been tested using the CFM feature implemented on a
pre-GA build of the Spirent TestCenter, and the Alcatel-Lucent 7330 ISAM
product.  Code has been reviewed and tested by the design team at
Alcatel-Lucent in the Access Network Department (AND).

I have also added some elements for the ITU proposal Y.1731, where it will
recognize all additional opcodes for that proposal, and it will fully dissect
the AIS PDU.

Fuzztest has been performed and has passed.

svn path=/trunk/; revision=23170
2007-10-13 17:18:16 +00:00
Jeff Morriss ff89b6d313 s/fopen()/eth_fopen()/ in an attempt to fix bug 1827: eth_fopen() deals with wide chars for us on Windows while fopen() does not.
svn path=/trunk/; revision=23168
2007-10-12 22:55:17 +00:00
Jeff Morriss eb9620376a Fix bug 1908: strengthen the PANA new-style-dissector heuristics by checking that the length of the first AVP is less than the length of the message.
svn path=/trunk/; revision=23167
2007-10-12 21:31:58 +00:00
Stig Bjørlykke 5a58a1435c From Andrew Feren:
Fix an assortment of typos and other minor errors in various README files

svn path=/trunk/; revision=23166
2007-10-12 19:13:31 +00:00
Jeff Morriss 1fb716d4ff Display TCAP parameter lengths in decimal (like packet-ber does). Fix hex-pane byte highlighting for primitive parameters with tags or lengths longer than 1 octet (contructed ones are OK). Finally, fix up the indenting in this function.
svn path=/trunk/; revision=23154
2007-10-11 22:49:52 +00:00
Stig Bjørlykke 5456642ae5 From Andrew Feren:
Add preference to allow user to configure the port(s) to use when identifying
sFlow.

svn path=/trunk/; revision=23153
2007-10-11 22:19:38 +00:00
Stig Bjørlykke 4024a6e592 Swapped block-size and block-offset in BGP VPLS NLRI - fixes bug 1907.
svn path=/trunk/; revision=23151
2007-10-11 22:04:32 +00:00
Anders Broman 0b4529008d Implement some of the minor possible speed improvment patches.
svn path=/trunk/; revision=23150
2007-10-11 21:23:14 +00:00
Jaap Keuter c1484a08df Allow for dynamic value string array selection.
svn path=/trunk/; revision=23149
2007-10-11 19:40:58 +00:00
Bill Meier e4d58aa9f0 From Andrew feren; Fix typos in two comments ....
svn path=/trunk/; revision=23147
2007-10-11 16:40:12 +00:00
Jeff Morriss aaec1d956f Replace a (small) for loop with a memset(). Don't memset() the entire sctp_info.tvb array--it contains 2k pointers (8k or 16k of memory)--each time we start dissecting a frame. This speeds up loading a capture file full of SCTP packets by 6-8%.
svn path=/trunk/; revision=23118
2007-10-09 18:58:34 +00:00
Gerald Combs d32b29abd9 Add support for RFC 4243. Tested using a malformed packet, but it should be
correct.

svn path=/trunk/; revision=23117
2007-10-09 18:48:46 +00:00
Stig Bjørlykke 93144c23b7 Added some forgotten return types.
svn path=/trunk/; revision=23100
2007-10-08 20:10:44 +00:00
Anders Broman 5be0a8cb98 All IE:s handled.
svn path=/trunk/; revision=23098
2007-10-08 19:58:35 +00:00
Anders Broman 639b046897 Register to TCP port 0 to be able to do "decode as".
svn path=/trunk/; revision=23094
2007-10-08 15:58:22 +00:00
Greg Morris aa42e59aae Add 0x7d00 Connection Not Logged In return value to NCP 87/34.
svn path=/trunk/; revision=23093
2007-10-08 11:50:53 +00:00
Anders Broman b9f9b33e0e From Florent DROUIN:
This is a replacement of the existing decoding of ERF files (Extensible Record
Format from Endace). 
For the decoding of the ERF files, according to the "type of record" given in
the ERF header, several decoders can be used. Up to now, the decoder is
determined according to an environment variable, or with a kind of heuristic.
And, all the treatment is done during the file extraction.

The new architecture, will separate the ERF file decoding, and the ERF record
decoding. The ERF records will be decoded with a specific dissector. This
dissector can be configured with options, to replace the environment variable.

http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1839

svn path=/trunk/; revision=23092
2007-10-08 11:41:21 +00:00
Richard van der Hoff e704e4c8c4 From Chris Maynard <christopher.maynard@gtech.com> / Bug 1798: packet-d*.c display filter fields incorrectly named.
svn path=/trunk/; revision=23090
2007-10-08 00:32:03 +00:00
Richard van der Hoff cf9760900c From Chris Maynard <christopher.maynard@gtech.com>: Incorrect display filter field naming convention.
svn path=/trunk/; revision=23087
2007-10-07 23:30:14 +00:00
Richard van der Hoff c32305f542 From Chris Maynard <christopher.maynard@gtech.com>: Incorrect display filter field naming convention.
svn path=/trunk/; revision=23086
2007-10-07 23:23:23 +00:00
Anders Broman 0de04bfc24 From Martin Peylo:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1888

There are new versions of CMP (v2) in RFC4210 and CRMF (v2) in RFC4211. The
right to exist of CRMF is bound to CMP so I don't split that into two bug
reports. 

I'll upload the new (slightly handmassaged) ASN.1 files for both protocols,
along with patches for the respective cnf files, where I also added new
#.REGISTER statements.

Additionally I had to export some definitions from pkix1explicit (Attribute,
Time, UniqueIdentifier and Version) and from pkix1implicit (KeyIdentifier).
I'll also upload a patch for that.

I uploaded a CMPv2 sample (with errors in the protocol!) to the wiki.

svn path=/trunk/; revision=23082
2007-10-07 16:02:04 +00:00
Anders Broman dd12268277 Add ethertype for IEEE 802.1ag Connectivity Fault Management (CFM) protocol
svn path=/trunk/; revision=23081
2007-10-07 15:14:27 +00:00
Stig Bjørlykke feced5f683 - Initialize address_item in MessageIdentifier to avoid a crash in handling
LocalIdentifier when problems with the GlobalDomainIdentifier.  
- Initialize global pointers to avoid potential crashes.

svn path=/trunk/; revision=23080
2007-10-06 20:37:52 +00:00
Stig Bjørlykke af2d10d5bf - Added option to use relative message id (MSID)
- Added generated entry for total missing sequence numbers
- Added expert info on invalid ack info length
- Added count of ack in info column

svn path=/trunk/; revision=23079
2007-10-06 11:28:09 +00:00
Stig Bjørlykke e63da0188c From Andrei Rubaniuk:
This patch adds support for IMPS 1.3 protocol dissection and also 
updates IMPS 1.2 protocol to approved release version.

From me:
- Updated vals_wbxml_public_ids table.
- Reindented file.

svn path=/trunk/; revision=23078
2007-10-05 23:47:37 +00:00
Jeff Morriss d3600969fb From Andrew Feren via http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1606 :
1) IPFIX port (4739) should be configurable without recompiling
2) It should be possible to specify more than one port to be dissected as
   Netflow and/or IPFIX
3) Netflow should recognize UDP ports 2055 and 9996 (Both are common)

Also (from me):
- make Netflow a "new style" dissector: return 0 if it doesn't appear to be a
  valid netflow packet
- register the old preference (cflow.udp.port) as obsolete so users don't see
  warnings about it not being valid

svn path=/trunk/; revision=23075
2007-10-05 21:25:35 +00:00
Tomas Kukosa e461d0d0e8 export more types from H.225.0 and H.245 which will be necessary for H.460.x, H.323 (Annex M,R), H.501
svn path=/trunk/; revision=23069
2007-10-05 07:44:03 +00:00
Stig Bjørlykke feb0330f2d Mask out correct bits in EBIT.
svn path=/trunk/; revision=23067
2007-10-04 13:22:40 +00:00
Martin Mathieson 5382f41680 Make selected length of first line include \r\n (as header lines do).
Make 'Message Body' a proper filterable field.

svn path=/trunk/; revision=23066
2007-10-04 10:24:59 +00:00
Sake Blok a4decea55b Fixes reassembly of chunked http-responses spanning multiple tcp segments
(bugs 1581,1851 and 1868)


svn path=/trunk/; revision=23061
2007-10-03 17:07:19 +00:00
Stig Bjørlykke f95de28c72 Updated scsi_verdesc_val from appendix D in spc-3.
Dump Inquiry Vendor Specific and Reserved fields as bytes.
(still missing dumping of Clocking/QAS/IUS bits)

svn path=/trunk/; revision=23060
2007-10-03 16:22:50 +00:00
Stig Bjørlykke 05043ca65d Use correct offset for sccs, bque and reladdr flags.
svn path=/trunk/; revision=23059
2007-10-03 15:00:58 +00:00
Sake Blok a592e6412c This patch adds two new column types:
- COL_REL_CONV_TIME which is used to display the time relative to the first frame that was seen in the conversation
- COL_DELTA_CONV_TIME which is used to display the delta time from the previous frame of the conversation

It also adds the function "col_set_time()" to "epan/column-utils.[ch]" which can be called from within a dissector to set either of these two columns to the appropiate time.

Last but not least, it lets the tcp-dissector make use of these two columns.


svn path=/trunk/; revision=23058
2007-10-03 14:02:08 +00:00
Ronnie Sahlberg 170e4f4945 bug 1872
from chris maynard  fix some filter names for ansi_a


svn path=/trunk/; revision=23056
2007-10-02 21:26:22 +00:00
Ronnie Sahlberg 6ae363197c ifdef out a function that is not yet used
svn path=/trunk/; revision=23055
2007-10-02 21:21:55 +00:00
Anders Broman 3b092feb84 Fix comments
svn path=/trunk/; revision=23054
2007-10-02 20:28:11 +00:00
Anders Broman 9c15d7eca9 Dissect more IE's
svn path=/trunk/; revision=23053
2007-10-02 20:09:15 +00:00
Stig Bjørlykke 253eb0efb3 Check return value from ptvcursor_add in an attempt to fix bug 1886.
svn path=/trunk/; revision=23052
2007-10-02 19:02:58 +00:00
Stig Bjørlykke 37dc09ec79 Use given length when decoding fhandles as unknown.
svn path=/trunk/; revision=23051
2007-10-02 16:46:49 +00:00
Stig Bjørlykke 675b312626 Added a missing break - fixing bug 1890.
svn path=/trunk/; revision=23050
2007-10-02 16:27:52 +00:00
Stig Bjørlykke 727d42fa9b Do not indicate bogus length if inside an icmp.
svn path=/trunk/; revision=23049
2007-10-02 15:46:17 +00:00
Jeff Morriss 46d3565179 Make the CPFI dissector new style: return 0 in several cases (including if we don't have MAC addresses for the packet) to give other dissectors a chance to dissect the packet. I rearranged the code quite a bit here and don't have a sample capture to test against: hopefully I didn't break anything.
svn path=/trunk/; revision=23048
2007-10-02 14:45:20 +00:00
Tomas Kukosa bf538397a9 review and update list of TLS cipher suites
svn path=/trunk/; revision=23047
2007-10-02 09:26:28 +00:00
Ronnie Sahlberg 3c17f41224 coverity 263 check if variable is null before dereferencing it
svn path=/trunk/; revision=23046
2007-10-02 08:33:38 +00:00
Ronnie Sahlberg 880bab108c remove a test for null that we dont need since the variable can not be
null at this point


svn path=/trunk/; revision=23045
2007-10-02 08:27:39 +00:00
Ronnie Sahlberg cca87411fa get rid of a check for null we dont need
coverity 257


svn path=/trunk/; revision=23044
2007-10-02 08:21:25 +00:00
Ulf Lamping a8b2f589e9 be a bit more verbose, if the name given to register_dissector_table() is not unique (e.g. because of a buggy/duplicated plugin)
svn path=/trunk/; revision=23042
2007-10-02 05:07:13 +00:00
Ronnie Sahlberg b8d35143d8 change dissect_radius() to become a new-style dissector that can reject
packets that doesnt look like valid radius.

verify that a packet is radius by checking that the command code is 
known and also that the length is between 20 and 4096 bytes

move the tap data to be ep_allocated instead of a static global variable

dont use tvb_memcpy() to read a structure off the wiredata
use tvb_get_...    to unmarshall the fields explicitely



this fixes bug 1634

svn path=/trunk/; revision=23039
2007-09-30 23:14:18 +00:00
Ronnie Sahlberg 927bf43d09 update filter fields for bug 1803
svn path=/trunk/; revision=23038
2007-09-30 22:34:19 +00:00
Guy Harris 8e87bd423f "pinfo->match_string" is a "const char *"; save it into a variable of
the same type - that makes compilers much happier.

svn path=/trunk/; revision=23029
2007-09-29 02:20:17 +00:00
Mike Duigou fc975182fe Improves dissection of JXTA traffic from http connections.
Improved address display in packet summary panes.

more options for jxta pdu filtering by addresses.

svn path=/trunk/; revision=23019
2007-09-28 20:53:56 +00:00
Jaap Keuter f2bc8dd002 Why do I have to enable the Bytes View to see the (start of) data of the Data dissector?
Adding the data as a subtree to the Data dissector.

svn path=/trunk/; revision=23018
2007-09-28 19:16:05 +00:00
Mike Duigou 2697adeda4 Special casing is no longer necessary for formatting of AT_STRINGZ in col_set_addr() as
address_to_str_buf() does now take COL_MAX_LEN as a parameter.

Add support for AT_URI to col_expr for addresses in col_set_addr(). The field names are "uri.src" and "uri.dst".


svn path=/trunk/; revision=23017
2007-09-28 19:00:45 +00:00
Mike Duigou 6aeb75c3f0 Changes get_addr_name_buf() to use the more common convention where the provided buffer size is the entire size of the buffer including the space for the terminating \0
svn path=/trunk/; revision=23016
2007-09-28 18:23:59 +00:00
Martin Mathieson ba1f5676e0 Handle IPv6 addresses in ipprim headers.
svn path=/trunk/; revision=23013
2007-09-28 16:17:22 +00:00
Ronnie Sahlberg 93c5c7a70c this silly protocol uses the same port as ndmp and worse, there is
nothing really in the header to identify it reliably as silly 
vendor specific encapsulation 

10000 is actually registered by iana for ndmp   so it makes no sense for 
a lazy vendor to use it by default.

make it check if the packet is ndmp first before assuming that anything 
that goes to port 10000 must be some lazy vendor specific protocol

grrr


svn path=/trunk/; revision=23009
2007-09-28 07:34:42 +00:00
Ronnie Sahlberg b6aeeb9821 add ndmp.h to the makefile
svn path=/trunk/; revision=23008
2007-09-28 07:26:40 +00:00
Ronnie Sahlberg 651d8082c9 add a function to test if a packet is ndmp or not
svn path=/trunk/; revision=23007
2007-09-28 07:25:50 +00:00
Ronnie Sahlberg 1efa9bd6b6 ndmp and tcp encapsulation of esp both use port 10000
make ndmp a heuristic dissector so it will "win" over tcp esp  if the 
packets look like ndmp  and if "preferences/tcp/heuristic dissectors 
first has been 
chosen"



svn path=/trunk/; revision=23006
2007-09-28 07:08:52 +00:00
Ronnie Sahlberg 30b586ad61 queue the ip/eth headers for tapping before calling any subdissectors
so that they can be tapped even if the subdissectors cause an exception


this fixes bug 1527

svn path=/trunk/; revision=23004
2007-09-28 05:50:19 +00:00
Jeff Morriss 1790075951 As requested by Juan Wortley on -users: instead of allowing only 2 UDP ports to be dissected as NSIP, allow a range. Obsolete the old preferences.
svn path=/trunk/; revision=22998
2007-09-27 14:11:57 +00:00
Tomas Kukosa 706e13b44d put next few simple ASN.1 dissectors into the new makefile structure
svn path=/trunk/; revision=22994
2007-09-27 06:03:45 +00:00
Anders Broman b70af70189 Fix unused functions.
svn path=/trunk/; revision=22991
2007-09-26 21:37:57 +00:00
Anders Broman 2e73f83c7e The unused pinfo strikes back (again).
svn path=/trunk/; revision=22990
2007-09-26 19:50:53 +00:00
Anders Broman 9920652ca5 Further IE dissection.
svn path=/trunk/; revision=22989
2007-09-26 19:01:29 +00:00
Jörg Mayer 8625cb7938 Decode role on shared link
svn path=/trunk/; revision=22985
2007-09-26 08:38:43 +00:00
Jörg Mayer ec3d698c56 Beginnings of EAPS shared link packet dissection (EAPSv2)
svn path=/trunk/; revision=22984
2007-09-26 07:10:40 +00:00
Jörg Mayer 6bb9369681 "fix" some warnings about "might be used uninitialized" variables
svn path=/trunk/; revision=22983
2007-09-26 07:09:51 +00:00
Guy Harris 2d8cff8a03 Make the number of bytes just a guint, in the hopes that it'll squelch
some of the warnings.

svn path=/trunk/; revision=22982
2007-09-26 06:53:38 +00:00
Stephen Fisher 5775a1dca8 The dissector packet-dcp.c now fails to compile on MacOS X (gcc 4.0.1/Apple). Change G_INLINE_FUNC back to inline per GLib documentation (also remove recommendation in developer's guide to not use inline):
http://library.gnome.org/devel/glib/unstable/glib-Miscellaneous-Macros.html#id2571572

G_INLINE_FUNC

#define             G_INLINE_FUNC
This macro is used to export function prototypes so they can be linked with an external version when no inlining is performed. The file which implements the functions should define G_IMPLEMENTS_INLINES before including the headers which contain G_INLINE_FUNC declarations. Since inlining is very compiler-dependent using these macros correctly is very difficult. Their use is strongly discouraged.

This macro is often mistaken for a replacement for the inline keyword; inline is already declared in a portable manner in the glib headers and can be used normally.


svn path=/trunk/; revision=22980
2007-09-26 03:05:42 +00:00
Guy Harris 8a0da81237 Squelch *another* "case M ... N:".
To quote doc/README.developer:

  Don't use "inline"; not all compilers support it.  If you want to have a
  function be an inline function if the compiler supports it, use
  G_INLINE_FUNC, which is declared by <glib.h>.

svn path=/trunk/; revision=22979
2007-09-26 02:36:22 +00:00
Guy Harris 109a510696 A guint8 can never be > 255.
svn path=/trunk/; revision=22978
2007-09-26 02:21:31 +00:00
Guy Harris cd4d203af2 Don't use
case N ... M:

as that's not supported by all compilers.

Say so in the Portability section of README.developer, in the hopes of
discouraging others from using that GCCism.

svn path=/trunk/; revision=22976
2007-09-26 00:41:00 +00:00
Ulf Lamping 2e813f272f add some more files
svn path=/trunk/; revision=22971
2007-09-25 21:57:25 +00:00
Sake Blok 7edd24e5af This patch adds two new fields to the tcp-dissector:
tcp.time_relative ==> the time that has elapsed since the 
   first packet that was seen in the current TCP stream

tcp.time_delta ==> the time that has elapsed since the 
   last packet that was seen in the current TCP stream

Calculating these timestamps is turned off by default to not 
use the extra memory that is needed for the per-packet-data.
It can be turned on through the TCP protocol preferences


svn path=/trunk/; revision=22966
2007-09-25 20:37:13 +00:00
Jaap Keuter 9b5e0c99a3 From Gerrit Renker:
This is an update for the DCCP dissector and has previously been sent to
the DCCP dissector maintainer, Francesco Fondelli, who supplied
the Acked-by. I have been using it with profit for several weeks.

This patch provides the following extensions:
 * type-dependent decoding of feature-negotiation options (NN and SP types of
options, NN is a 1..6 byte value in network-byte-order, SP is always a list of
unsigned char)
 * decoding for CCID3 Send Loss Event Rate feature
 * some pretty-printing of options
 * decoding of CCID3-specific options
       - Loss Event Rate (receiver report)
       - Receive Rate (also reported by receiver)
 * there was a change in the spec - the NDP count at sometime `grew' from 3 to
6 bytes (it was the same in the kernel). I have updated the data type from uint32 to
uint64
 * utility function to decode from network-byte-order into host byte order with
variable length

svn path=/trunk/; revision=22961
2007-09-25 19:42:46 +00:00
Stig Bjørlykke 19e901df9a Highlight whole ethernet trailer in Packet Details View.
svn path=/trunk/; revision=22960
2007-09-25 19:30:26 +00:00
Anders Broman 6d1791db07 Fix:
packet-ldap-template.c(1330) : error C2220: warning treated as error - no object  file generated
packet-ldap-template.c(1330) : warning C4101: 'gss_len' : unreferenced local var iable NMAKE : fatal error U1077: 'cl' :

svn path=/trunk/; revision=22956
2007-09-25 16:51:49 +00:00
Tomas Kukosa 30de0aadf2 put few simple ASN.1 dissectors into the new makefile structure
svn path=/trunk/; revision=22951
2007-09-25 11:58:35 +00:00
Ronnie Sahlberg 84b28f1399 only set ldap_info->first_auth_frame to 0 first time we see the
authentication packet or else we will get inconsistent dissection when 
clicking on packets.
(inconsistent as in :  a certain packet might/might not be dissected as 
LDAP/SASL depending on which packets we clicked on previously)
  

svn path=/trunk/; revision=22949
2007-09-25 08:05:17 +00:00
Ronnie Sahlberg dea0c3c9de not all SASL protected blobs use a GSS wrapper for the payload so we
cant check that the payload starts with BER tag 0x60 and an oid.
instead  check that the length byte (first 4 bytes) look sane and if 
SASL authentication has been negotiated on the connection

also, sometimes clients will mix both non-SASL and SASL protected LDAP 
traffic on the same tcp connection   by initially performing simple 
unauthenticated searches on the database before performing the Bind.



svn path=/trunk/; revision=22948
2007-09-25 07:47:00 +00:00
Ronnie Sahlberg 3acb5a0975 add support for yet another random combination of authentication
wrappers that can be used when connecting with sasl


svn path=/trunk/; revision=22945
2007-09-25 04:15:30 +00:00
Ronnie Sahlberg d7c58bc829 add more control names
svn path=/trunk/; revision=22944
2007-09-25 03:38:28 +00:00
Anders Broman 797cf529eb Fix warnings.
svn path=/trunk/; revision=22943
2007-09-24 21:51:41 +00:00
Anders Broman cbd2d1494c More IE:s
svn path=/trunk/; revision=22941
2007-09-24 21:26:31 +00:00
Tomas Kukosa 138050c4ea improvements in ROS handling in Q.932 and H.450
move common ROS code into ros/ros-*.cnf files

svn path=/trunk/; revision=22936
2007-09-24 11:01:53 +00:00
Jörg Mayer 094e2a9a5f Get rid of the remains of NET-SNMP in the build process.
svn path=/trunk/; revision=22934
2007-09-24 06:59:40 +00:00
Jaap Keuter 26e21c2f43 From Jonathan:
Capture files generated on TCP segmentation offload (TSO) hardware have an 
all-zero IP-length field in outbound packets.
Wireshark errors out on the small length and refuses to parse the packet further.

svn path=/trunk/; revision=22931
2007-09-24 06:46:59 +00:00
Bill Meier 149ff53c71 #if 0 dissect_rsl_ie_meas_res_no and dissect_rsl_ie_message_id so buildbot doesn't error out.
svn path=/trunk/; revision=22928
2007-09-24 00:42:34 +00:00
Anders Broman 6146d70f0e Fix a typo.
svn path=/trunk/; revision=22927
2007-09-23 22:30:08 +00:00
Guy Harris 2bf1b3d58e Close yer comments.
svn path=/trunk/; revision=22926
2007-09-23 22:10:59 +00:00
Anders Broman 283b16163c Decode more IE's
svn path=/trunk/; revision=22925
2007-09-23 20:57:00 +00:00
Jaap Keuter 0693598d86 From Allan M. Madsen:
Wireshark is only supporting a very old and deprecated version of the Bluetooth
specification (1.1). The Bluetooth SIG recently ratified version 2.1 of the
Bluetooth specification and a lot of enhancements have been added to the
specification. The HCI dissectors needs a major update to match these changes.

svn path=/trunk/; revision=22924
2007-09-23 19:40:54 +00:00
Gerald Combs b2d3e554db Simplify the parsing of column preferences, which should make it easier
to add column prefs in the future.  Fix up whitespace in a couple of
places.

svn path=/trunk/; revision=22923
2007-09-22 00:16:45 +00:00
Gerald Combs 571ab2dec2 Fix compiler warnings.
svn path=/trunk/; revision=22921
2007-09-21 22:39:02 +00:00
Anders Broman a914bf5b8f Start of a Radio Signalling Link (RSL) dissector (3GPP TS 48.058).
And the makefile :)

svn path=/trunk/; revision=22920
2007-09-21 19:54:20 +00:00
Anders Broman b3a1afa6ac Start of a Radio Signalling Link (RSL) dissector (3GPP TS 48.058).
svn path=/trunk/; revision=22919
2007-09-21 19:53:42 +00:00
Jaap Keuter 2b33ee2fd1 Get the GSM A Interface dissector to compile again.
svn path=/trunk/; revision=22918
2007-09-21 18:56:49 +00:00
Anders Broman 4286b1e99d Make it possible to decode messages on the CCCH link.
svn path=/trunk/; revision=22917
2007-09-21 17:07:05 +00:00
Jaap Keuter 79986b222d From Joe Eykholt:
At an August 2007 meeting, a T11 committee made changes to the encapsulation
protocol for FCoE.  For the latest info, see http://fcoe.com.
The attached patch will update the dissector to handle the new version also.

svn path=/trunk/; revision=22915
2007-09-20 06:50:53 +00:00
Gerald Combs 937c917d66 Append the packet type and flags to the top-level 802.11 tree item, and append
the flags to the info column.  Make the info column presentation consistent.

svn path=/trunk/; revision=22913
2007-09-19 21:39:52 +00:00
Anders Broman a2a1cd7bdc Make it possible to use GSM SAPI:s
svn path=/trunk/; revision=22912
2007-09-19 21:02:41 +00:00
Jaap Keuter 9f454f909a Add UDP and TCP port preferences.
svn path=/trunk/; revision=22911
2007-09-19 20:12:38 +00:00
Jaap Keuter 9ffd06d2b0 Cleanup the source somewhat.
svn path=/trunk/; revision=22909
2007-09-19 18:54:31 +00:00
Martin Mathieson 325bd496a4 Make this dissector finable by name.
svn path=/trunk/; revision=22908
2007-09-19 17:33:08 +00:00
Mike Duigou f6b771c467 call_dissector() provides generic 'data' handler for unrecognized data types. call_dissector_only() fails gracefully for unrecognized types. The handler for generic 'data' should avoid the variant that potentially could result in recursively calling itself.
svn path=/trunk/; revision=22907
2007-09-19 16:34:06 +00:00
Martin Mathieson c50311cdc6 Add authentication ik and ck parameters.
svn path=/trunk/; revision=22906
2007-09-19 09:27:34 +00:00
Jörg Mayer 999227162e Try to improve dissection of ELSM message (guesswork)
svn path=/trunk/; revision=22904
2007-09-18 16:00:51 +00:00
Tomas Kukosa 22bd99f76b PER: fix bitstring handling if SIZE(n) where n<=16
SABP: implement some forgotten code

svn path=/trunk/; revision=22896
2007-09-18 11:46:50 +00:00
Jeff Morriss 980f624770 (Again, this time for ANSI MAP) From Florent Drouin: malloc the size of the structure, not the size of a pointer to the structure. Hopefully this will fix bug 1844.
svn path=/trunk/; revision=22892
2007-09-17 17:58:49 +00:00
Jeff Morriss e2b37cf8df From Florent Drouin: malloc the size of the structure, not the size of a pointer to the structure. Hopefully this will fix bug 1844.
svn path=/trunk/; revision=22891
2007-09-17 17:53:50 +00:00
Martin Mathieson ef54adff0d Handle tty messages, diameter_r7, sabp
svn path=/trunk/; revision=22890
2007-09-17 16:03:49 +00:00
Stig Bjørlykke 4ab93c6602 From Martin Peylo:
- reassembling of fragmented TIPCv2 messages
- calling of heuristic subdissectors
- multicast upper+lower bound header fields are now shown
- corrects few typos in the comments in packet-tipc.c

svn path=/trunk/; revision=22889
2007-09-17 14:10:34 +00:00
Tomas Kukosa c50da9f742 Support of QSIG Extensions
svn path=/trunk/; revision=22888
2007-09-17 13:23:25 +00:00
Stig Bjørlykke 72af3183ab Added functionality to highlight the FCS bytes in Ethernet and IEEE 802.11
packets in the Packet Details View.

This "appendix" bytes are not copied with the Copy functions or in the
Export Selected Packet Bytes.

svn path=/trunk/; revision=22887
2007-09-17 12:12:02 +00:00
Tomas Kukosa e513ff1700 add missing file and change file attributes
svn path=/trunk/; revision=22885
2007-09-17 11:00:42 +00:00
Tomas Kukosa cf0a75a32d SABP protocol implemented (not tested as traces are not available)
svn path=/trunk/; revision=22884
2007-09-17 10:39:09 +00:00
Gerald Combs afa9dfcddc Fix a buffer overflow found by Stefan Esser (untested).
svn path=/trunk/; revision=22883
2007-09-16 19:28:58 +00:00
Stig Bjørlykke cf976e5df2 Always show real window size in the Info column for SYN packets.
Added window size for non-ack packets (was removed in r16884).

svn path=/trunk/; revision=22881
2007-09-16 13:18:18 +00:00
Jaap Keuter 3830343448 From Joe Eykholt
The decodes of FC ELS opcodes is incomplete.  The attached patch adds a few
more that are sometimes seen (ECHO, RTV, RLS, REC, and LKA).  
The list is still incomplete.

svn path=/trunk/; revision=22880
2007-09-16 12:56:12 +00:00
Jaap Keuter 2f3869cbbe The Fibre Channel protocol defines a virtual fabric tag (VFT) similar to
ethernet's VLAN tag.  It is sometimes called the VSAN tag.  
It used to be proprietary, but now it's standard.
Wireshark currently displays it as an 8-byte field without dissecting it further.
It'd be nice to have it broken down into fields. A patch is attached.

svn path=/trunk/; revision=22879
2007-09-16 09:07:30 +00:00
Gerald Combs d2d4fcd903 Add routines under Windows to check if npf.sys is running, and to
fetch the major OS version.  If we're running Windows >= 6 (Vista)
_and_ npf.sys isn't running, warn the user in Wireshark and TShark.
Add a recent prefs item to disable the warning in Wireshark.

svn path=/trunk/; revision=22877
2007-09-15 00:18:17 +00:00
Michael Tüxen 9bfcf2b471 Change the ADDIP error causes as changed by IANA for RFC 5061 publication.
svn path=/trunk/; revision=22875
2007-09-14 21:30:26 +00:00
Gerald Combs 17f1b4cf46 Add a cast to allow compilation on Vista.
svn path=/trunk/; revision=22874
2007-09-14 15:36:13 +00:00
Jörg Mayer d2f6d740b0 Move the fragmentation info and the defragmented isakmp message
to the top level tree.

svn path=/trunk/; revision=22873
2007-09-14 11:50:58 +00:00
Jörg Mayer 1daaee6d0f Small cleanup
svn path=/trunk/; revision=22872
2007-09-14 09:59:19 +00:00
Jaap Keuter 2ae2f20203 Try to get the Windows buildbot going by avoiding namespace collision.
svn path=/trunk/; revision=22871
2007-09-14 06:51:07 +00:00
Luis Ontanon 168f8923e7 eliminate an anonymous enum.
svn path=/trunk/; revision=22868
2007-09-13 20:27:05 +00:00
Anders Broman 0254fe13d9 Remove debug code.
svn path=/trunk/; revision=22867
2007-09-13 20:24:50 +00:00
Anders Broman 30e64dade4 Try to protect the hash table...
svn path=/trunk/; revision=22866
2007-09-13 20:20:11 +00:00
Jörg Mayer d582da8fcd - Resassemble Cisco ike fragementation
- Rename some variables from ike to isakmp to make
  things consistent (not right, just consistent)

svn path=/trunk/; revision=22865
2007-09-13 20:06:41 +00:00
Jaap Keuter 714a9c0f62 From Thomas Sillaber:
Attached is a patch for packet-bootp.c to support Alcatel-Lucent TFTP1 and TFTP2 vendor specific options.

svn path=/trunk/; revision=22864
2007-09-13 18:51:32 +00:00
Jaap Keuter b2d63bac5f Allow for full size setup method name.
svn path=/trunk/; revision=22863
2007-09-13 18:47:54 +00:00
Luis Ontanon fb34ef1f2c Given the opportunity I check in the changes to snmp I got in this machine.
- Indexing (implied and not) is OK now, however indexes for related tables (AUGMENT, EXTEND, etc) are registered many times.


svn path=/trunk/; revision=22861
2007-09-13 16:49:51 +00:00
Anders Broman 91828d3303 Regenerate with -X and -T option.
Should "sha-1 OBJECT IDENTIFIER..." etc be registerd as oid names?

svn path=/trunk/; revision=22858
2007-09-13 05:22:51 +00:00
Anders Broman 120a0759b3 Warning fixes.
svn path=/trunk/; revision=22855
2007-09-12 18:12:18 +00:00
Anders Broman c4daf58278 Use the new ANSI TCAP dissector.
svn path=/trunk/; revision=22854
2007-09-12 16:45:53 +00:00
Jörg Mayer 8b247815f3 If we find a fragmented ike packet, dissect the stuff
that fits into the first fragment.

svn path=/trunk/; revision=22851
2007-09-12 06:31:09 +00:00
Jaap Keuter 5ea09479ce From Bill Florac:
1) DMP "range" addresses can cause packet dissection failure.
2) A NULL return of match_strval() is not handled.
3) DMP addresses should be displayed in hex.
4) ep_alloc should not be used, use static variables.

svn path=/trunk/; revision=22850
2007-09-12 05:57:53 +00:00
Anders Broman 84553b468c From cyrille colin:
PATCH : SNDCP reassembly fails / overlaps when same NPDU number in another call
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1755

svn path=/trunk/; revision=22846
2007-09-11 16:59:57 +00:00
Anders Broman 0d0799c306 Update valuestrings and comments.
svn path=/trunk/; revision=22845
2007-09-11 16:58:25 +00:00
Ulf Lamping 070cf8b006 add a dissectors project, so MSVC "jump to error" works
svn path=/trunk/; revision=22833
2007-09-09 14:58:56 +00:00
Ulf Lamping 830c6e094a translate some german to english
svn path=/trunk/; revision=22832
2007-09-09 14:58:02 +00:00
Ulf Lamping 1366745e45 start an experiment to provide MS Visual Studio 2005 solution / project files for a lot easier debugging. They still use the underlying Makefile.nmake files for the actual build process.
svn path=/trunk/; revision=22831
2007-09-09 13:59:58 +00:00
Ulf Lamping 0ba9e65dd4 remove unused #else
svn path=/trunk/; revision=22829
2007-09-09 13:05:32 +00:00
Jörg Mayer 75ac707c29 - Slightly improved dissection of Cisco's fragmented ISAKMP.
- Corrected misdetection of CISCO-UNITY VID.

svn path=/trunk/; revision=22828
2007-09-08 13:22:27 +00:00
Guy Harris 0366304ac9 Change the long protocol name dissectors for various DFS protocols to
indicate that they're for DFS; update comments as well.

Rename packet-dcerpc-afs4int.c to packet-dcerpc-fileexp.c, and change
the short and filter names for the protocol, and the names for the
filterable fields, to reflect the fact that it's for the File Exporter
protocol in DFS.  ("AFS 4" = DCE DFS.)

svn path=/trunk/; revision=22827
2007-09-07 22:11:01 +00:00
Jeff Morriss c360b112a1 If the whole packet was not captured (e.g., due to the snapshot length), do not attempt to verify the checksum of the packet. Rather, inform the user that we didn't/couldn't verify the checksum.
svn path=/trunk/; revision=22826
2007-09-07 21:46:31 +00:00
Stig Bjørlykke f725ed8b6a From Todd J Martin:
The attached patch to packet-bfd.c adds the following enhancements to BFD
decoding:
- The Authentication Section is now decoded.  All of the authentication methods
are supported.  Verification of checksums is not implemented.
- BFD flags are now shown in a tree
- Added support for the M flag
- Added a display filter for the message length
- For the Desired Min TX Interval, Required Min RX Interval, and Required Min
Echo RX Interval fields, the time value is now printed in both milliseconds and
microseconds.  (Previously, only milliseconds was being shown.)  The PDU
represents the time in microseconds, but most implementations deal in
milliseconds.
- Added a warning to flag the packet if the Authentication bit is set, but the
full Authentication Section is not present.
- Added descriptions for most of the fields
- Fix the name of the protocol.  BFD stands for Bidirectional Forwarding
Detection and not Bi-directional Fault Detection.
- Register the protocol on the UDP multihop port (4784).
- Change the filter name for the protocol from bfdcontrol to bfd since all of
the other display filters started with bfd.


Removed unused hf_bfd_auth_checksum.
Modified printing of the ':' at the end of the Authentication tree.

svn path=/trunk/; revision=22825
2007-09-07 19:05:55 +00:00
Stig Bjørlykke 49b3a6ff45 Argh! Used the wrong length modifier for size_t.
svn path=/trunk/; revision=22822
2007-09-07 15:21:08 +00:00
Stig Bjørlykke b44fe5fa90 Hm. Not so clean on all compilers...
svn path=/trunk/; revision=22821
2007-09-07 15:04:31 +00:00
Stig Bjørlykke 958259df05 Fixed compiler warnings.
svn path=/trunk/; revision=22820
2007-09-07 14:02:32 +00:00
Stig Bjørlykke c616fb0c2d Moved packet-imf.c and packet-tnef.c from ASN_DISSECTOR_SRC to CLEAN_DISSECTOR_SRC, as they are not generated from ASN1.
svn path=/trunk/; revision=22817
2007-09-06 23:32:46 +00:00
Stig Bjørlykke 9ad9f9edb7 Corrected some types, instead of adding a cast (from r21142).
Reindented file.

svn path=/trunk/; revision=22816
2007-09-06 22:29:04 +00:00
Stig Bjørlykke 2fc59fcc43 Fixed a warning: 'j' may be used uninitialized in this function.
svn path=/trunk/; revision=22815
2007-09-06 22:26:09 +00:00
Jeff Morriss 3f52508caf Count the number of TSNs gap-acked in a SACK. Warn the user (with an Expert info) if the number is greater than, say, 100. Also reindent large portions of the sack dissector function to make it readable.
svn path=/trunk/; revision=22814
2007-09-06 21:57:56 +00:00
Anders Broman 83f7ac9f95 Add A11 RRQ-CVSE-Active Start Airlink Record-Subtype 108 is expressed to Subnet.
Plus Temp change VALS(sminmpec_values) to NULL to let the buildbot do arun.

svn path=/trunk/; revision=22812
2007-09-06 21:25:41 +00:00
Gerald Combs 3120e42f6e Fix problems found by Beyond Security:
Instead of overflowing an unsigned int when determining the number of
items in a range, use a signed int and check for a negative value.  Make
sure our offset increments as we step through each item.  This should 
avoid large/inifinite loops.

Fix the size of hf_dnp3_al_range_stop32.

svn path=/trunk/; revision=22811
2007-09-06 18:26:04 +00:00
Anders Broman 64bafc6a18 Remove debug code and a "lost" line.
svn path=/trunk/; revision=22808
2007-09-06 16:28:08 +00:00
Anders Broman 10f5c61bf3 Get rid of get_ber_last_reated_item() and fix dissection of wIN-TriggerList.
svn path=/trunk/; revision=22807
2007-09-06 16:27:17 +00:00
Stig Bjørlykke a072f5e810 Added ipprotostr to libwireshark.def
svn path=/trunk/; revision=22805
2007-09-06 14:02:35 +00:00
Martin Mathieson 54a21f0df5 Map "wimax" -> "wimaxasncp"
svn path=/trunk/; revision=22802
2007-09-06 10:50:17 +00:00
Guy Harris 8aa23ad121 Fix indentation.
svn path=/trunk/; revision=22797
2007-09-05 22:43:51 +00:00
Anders Broman 108f4f347c Fix the asn1 code for WIN-TriggerList and systemMyTypeCode plus
a copy-paste error in the hf fields.

svn path=/trunk/; revision=22796
2007-09-05 22:24:40 +00:00
Stig Bjørlykke ad1b52310a Check object_identifier_id before use.
svn path=/trunk/; revision=22794
2007-09-05 07:35:59 +00:00
Jaap Keuter 02e0c97eed From Munenori Ohuchi:
packet-netflow.c is lack of the capability to decode ipv6 address related fields in netflow v9.

This patch enables dissecting the following fields:
 Type 27 IPV6_SRC_ADDR,
 Type 28 IPV6_DST_ADDR,
 Type 29 IPV6_SRC_MASK,
 Type 30 IPV6_DST_MASK and
 Type 62 IPV6_NEXT_HOP.

svn path=/trunk/; revision=22793
2007-09-05 06:59:24 +00:00
Anders Broman 6fd46f0788 Include expert.h and while at it change to use -X and -T options for asn2wrs.
svn path=/trunk/; revision=22792
2007-09-05 05:48:44 +00:00
Ronnie Sahlberg 622f19843c start prettifying nfsv4
svn path=/trunk/; revision=22791
2007-09-05 00:29:31 +00:00
Ronnie Sahlberg 328142a89c on unix, we dont have size_t until we have imported all the other
includes    which breaks emem.h


svn path=/trunk/; revision=22790
2007-09-04 23:35:29 +00:00
Ronnie Sahlberg befaad153b we dont have g_hash_table_new_full() on gtk1
use g_hash_table_new() on gtk1 and leak memory instead


this should actually a be using an se_tree instead of hashtables


svn path=/trunk/; revision=22789
2007-09-04 23:27:34 +00:00
Stig Bjørlykke f1cf7ee6bf Fixed compiler warnings to get the buildbot going.
svn path=/trunk/; revision=22787
2007-09-04 21:49:14 +00:00
Stig Bjørlykke 6e94835848 Rewrote handling of parameters to get rid of "funky" oid strings.
Added expert info for unknown binding-parameters.

svn path=/trunk/; revision=22786
2007-09-04 21:46:41 +00:00
Anders Broman b3521c5975 value_tvb=out_tvb, remove unused variables.
svn path=/trunk/; revision=22785
2007-09-04 19:36:07 +00:00
Anders Broman a76efadf0c Get correct value for bitstrings.
svn path=/trunk/; revision=22784
2007-09-04 16:57:07 +00:00
Anders Broman f7bed80d57 ANSI MAP systemMyTypeCode should be OPTIONAL
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1820

svn path=/trunk/; revision=22783
2007-09-04 16:55:48 +00:00
Jaap Keuter 970f34a557 From Munenori Ohuchi:
This patch adds a new feature to dissect HSRPv2 packets.

One of the main features of HSRPv2 can enable using HSRP on IPv6. In order to
achieve this new feature, HSRPv2 packet format is totally different from
HSRPv1. HSRPv2 introduces new TLV formats.

This patch can decode these new formats of HSPRv2.

svn path=/trunk/; revision=22781
2007-09-04 06:55:52 +00:00
Anders Broman 8f1d357618 From Stas Maximov:
RTP analysis' jitter values are thrown off by RTP events
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1076
a) Ephemeral string (packet duration) was inserted into long-term hash of
dynamic payloads
b) There was no clock_rate mapping for MIME type "telephone-event".

svn path=/trunk/; revision=22780
2007-09-04 05:22:43 +00:00
Anders Broman 654554a507 Wireshark packet-gtp.c error in decoding IMEI.
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1536

svn path=/trunk/; revision=22779
2007-09-03 16:42:28 +00:00
Anders Broman 4e0cf23472 Incorrectly decoded IMSI in RANAP prot./id-CommonID procedure
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1713

svn path=/trunk/; revision=22778
2007-09-03 16:40:51 +00:00
Anders Broman 8f3a0cb862 BSSGP.TLLI is not recognized properly in filter
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1384

svn path=/trunk/; revision=22777
2007-09-03 16:39:07 +00:00
Guy Harris 8084fb9e82 guint8, not gchar, is the appropriate type for a byte.
svn path=/trunk/; revision=22776
2007-09-03 06:44:54 +00:00
Jaap Keuter bd56b304c6 Fix for bug 1816:
Add status value to LSSU info column.

svn path=/trunk/; revision=22775
2007-09-03 05:56:48 +00:00
Guy Harris 522053f04b tvb_reported_length() returns a gint, so assign its value to a gint.
svn path=/trunk/; revision=22773
2007-09-02 23:51:51 +00:00
Guy Harris 6b45c4179d The actual length of the PPPoE payload is returned by
tvb_reported_length_remaining(), not by tvb_length_remaining() -
tvb_length_remaining() shows only the amount of *captured* data
remaining, but the capture might have been done with a snapshot length
that cut the packet data short.

The payload length from the PPPoE header could legitimately be different
from the actual length of the PPPoE payload if there's not enough PPPoE
payload to avoid padding at the E(thernet) level.  Only complain if
there shouldn't have been any padding.

Report an "expert" warning if the payload length looks wrong.

Update a comment to reflect current reality (as of many many years ago,
when we went all-tvbuff).

svn path=/trunk/; revision=22770
2007-09-02 22:49:56 +00:00
Guy Harris 0e09d21936 Fix indentation.
svn path=/trunk/; revision=22768
2007-09-02 20:37:39 +00:00
Bill Meier 0534c6982c macro_name_chk: return valid error string for fail return when empty macro name field;
fixes bug #1813

svn path=/trunk/; revision=22767
2007-09-02 12:37:24 +00:00
Jaap Keuter 770034f1d0 From Steve Karg:
Fix for bug 1807. This patch corrects the decoding of the NotificationParameters. 
I fuzz tested with these and other captures (Pass > 100).

svn path=/trunk/; revision=22766
2007-09-01 11:47:59 +00:00
Guy Harris 81f968f748 Show unsigned quantities with %u, not %d.
svn path=/trunk/; revision=22764
2007-08-31 23:56:07 +00:00
Sake Blok 2ef69333db When doing TCP_SEQ analysis, if the packet is a SYN, then it's
not a lost packet but the tcp ports are being reused. This is often 
seen in load-balanced environments where client ports are preserved 
on the server-side.

We only want to report port reusage once, so the SYN/ACK is excluded 
from TCP_SEQ analysis.

svn path=/trunk/; revision=22762
2007-08-31 15:06:27 +00:00
Jaap Keuter 1a8fb7a459 Fix for bug 1244:
hf_isup_event_ind contains incorrect fieldbase.

svn path=/trunk/; revision=22760
2007-08-31 05:37:43 +00:00
Anders Broman 51460c5a5f fix dissect_per_bit_string() for unaligned PER, values ar still not correctly displayed.
svn path=/trunk/; revision=22758
2007-08-30 19:44:22 +00:00
Stig Bjørlykke 9703036496 Added capture_wlancap to libwireshark.def
svn path=/trunk/; revision=22756
2007-08-30 19:11:36 +00:00
Stig Bjørlykke 6d9c82338d Fixed a brace placement to enable the default case
svn path=/trunk/; revision=22751
2007-08-30 11:37:49 +00:00
Greg Morris 1506ed6fcc Test to see if packet is actually a request by verifying the one byte function code is a non-zero value.
svn path=/trunk/; revision=22749
2007-08-30 10:33:24 +00:00
Greg Morris a6aab98d1e Fix attribute *Print Checkpoint"
Fix Printer State Reasons in extended error codes.

svn path=/trunk/; revision=22747
2007-08-30 10:23:58 +00:00
Greg Morris c8be509d6a Add eDirectory iteration verb 0x6e.
Fix eDirectory timestamps to display correctly.

svn path=/trunk/; revision=22746
2007-08-30 10:18:29 +00:00
Anders Broman 039c84485d From Chris Maynard:
Incorrect display filter field naming convention.

svn path=/trunk/; revision=22743
2007-08-30 05:30:28 +00:00
Anders Broman e600941645 From Chris Maynard:
Incorrect display filter field naming convention.

svn path=/trunk/; revision=22742
2007-08-30 05:22:25 +00:00
Anders Broman 66465f99be From Chris Maynard:
Incorrect display filter field naming convention.

svn path=/trunk/; revision=22741
2007-08-30 05:05:45 +00:00
Anders Broman f0fdcf55c4 From Chris Maynard:
Incorrect display filter field naming convention.

svn path=/trunk/; revision=22740
2007-08-30 05:02:33 +00:00
Anders Broman 3d65e68a15 From Chris Maynard:
Incorrect display filter field naming convention.

svn path=/trunk/; revision=22739
2007-08-30 04:58:11 +00:00
Anders Broman 5849df64d6 From Chris Maynard:
Incorrect display filter field naming convention.

svn path=/trunk/; revision=22738
2007-08-30 04:49:04 +00:00
Gerald Combs 92802883a6 Change the "--enable-setuid-install" option to install dumpcap and TShark
setuid instead of Wireshark.  Remove the "DANGEROUS" notices, but leave it
disabled by default.  Whine if the user runs Wireshark or TShark as root.
Add a preference to disable the whining.  Add a "setuid-root" script that
can be used to switch dumpcap and TShark's setuid-ness on and off for
development and testing.  Update the release notes and README.packaging.

svn path=/trunk/; revision=22733
2007-08-30 00:24:40 +00:00
Stig Bjørlykke 21d5aaaa4f - Rewrote handling of extensions to get rid of "funky" oid strings.
- Added ASN.1 integer values for StandardExtension, ExtensionAttributeType
  and TokenDataType.
- Added expert info for unknown standard-extension, extension-attribute-type 
  and tokendata-type.
- Added expert info for unknown built-in content-type.

svn path=/trunk/; revision=22730
2007-08-29 18:39:30 +00:00
Anders Broman b71c2da3e4 OID name fixes.
svn path=/trunk/; revision=22729
2007-08-29 16:10:47 +00:00
Martin Mathieson 7f6d5c04a8 Don't show fragment offset as a bit field, but note number of bits used in long text.
svn path=/trunk/; revision=22727
2007-08-29 15:35:27 +00:00
Tomas Kukosa a8357929c4 RANAP rewritten to use original ASN.1 source and updated to TS 25.413 V7.6.0 (2007-06)
svn path=/trunk/; revision=22726
2007-08-29 11:57:27 +00:00
Tomas Kukosa c927edea31 ASN.1 parameterization handling (1st raw implementation)
it is not supported in asn2wrs now, code has to be written manually

svn path=/trunk/; revision=22724
2007-08-29 11:44:49 +00:00
Anders Broman f832aaf3b6 Fix up most of the OID names in GSM MAP.
svn path=/trunk/; revision=22723
2007-08-29 06:13:40 +00:00
Luis Ontanon d56f4f3a68 - turn some other TC from FT_BYTES to FT_STRING so that human-readable strings become readable by humans
- Add the EngineId decoding for the contextEngineId
- Add some expert info about malformed indexed oids


svn path=/trunk/; revision=22720
2007-08-28 23:55:49 +00:00
Luis Ontanon 79ea56143c Fix non implicit oid key indexes. This starts to look good!
svn path=/trunk/; revision=22718
2007-08-28 21:27:54 +00:00
Bill Meier ac04f94a3d From Todd Martin: "Flag IP TTL more intelligently".
Also: Change default "Low TTL" color filter to match.

svn path=/trunk/; revision=22715
2007-08-28 20:58:50 +00:00
Luis Ontanon 450767fb93 Report loading failures to the user
svn path=/trunk/; revision=22712
2007-08-28 19:07:39 +00:00
Anders Broman ba38b75a24 Add filters.
svn path=/trunk/; revision=22709
2007-08-28 17:50:02 +00:00
Luis Ontanon 0c154e528a Commit canges to uat_load.l, and initialize uat_t->loaded (not every system zeroes-out on malloc).
svn path=/trunk/; revision=22705
2007-08-28 15:38:05 +00:00
Luis Ontanon dfbac00752 SNMP:
- As noted by Thomas Anders values are not added to the tree anymore. Move the calling of subdissectors to the end of the function, so that the value is added to the tree.
 - add port 8161 to be decoded as SNMP (hey, it's on IANA's services file!)
UAT:
 - do not have the uat reloaded.
OIDS:
 - do not complain if renaming an OID to an identical name



svn path=/trunk/; revision=22704
2007-08-28 15:18:32 +00:00
Ronnie Sahlberg 8fde3b7561 rename dcerpc_smb_store_pol_name to dcerpc_store_polhnd_name
rename dcerpc_smb_fetch_pol  to dcerpc_fetch_polhnd_data and also make 
it take an additional parameter to return the "type" of the policy 
handle, if such a type was stored.

extend the pol_value structure used to track policy handles to also 
store a type to represent what created the policy handle
types could be USER/ALIAS/CONNECT/... etc handles returned from the 
SAMR interface

add a new helper function  dcerpc_store_polhnd_type()

track policy handles between request/responses for dcerpc

update the samr.cnf file to make the samr dissectors for
SetSecurity/QuerySecurity dissect the specific bits for the security 
descriptor correctly based on whether the policy handle refers to a 
CONNECT/DOMAIN/USER/ALIAS or GROUP



svn path=/trunk/; revision=22703
2007-08-28 11:45:08 +00:00
Tomas Kukosa 99a2ec1c9f fix bug in snmp.variable_oid subdissector calling and call them at the end of snmp dissector (so as snmp does not overwrite COL_INFO of subdissector)
svn path=/trunk/; revision=22701
2007-08-28 07:59:35 +00:00
Ronnie Sahlberg 90b34f5b69 improve the ctdb dissector to track request/responses for controls and
start decoding some control payload


svn path=/trunk/; revision=22700
2007-08-28 07:34:05 +00:00
Jaap Keuter 22cb9fb03f Fix warnings "dereferencing type-punned pointer will break strict-aliasing rules"
svn path=/trunk/; revision=22699
2007-08-28 05:59:09 +00:00
Luis Ontanon 5e7a8a9a87 Do not throw, some of this functions get called outside TRY blocks.
svn path=/trunk/; revision=22692
2007-08-27 21:29:20 +00:00
Stig Bjørlykke 49fc9636b9 From Tuomas Maattanen:
Committed changes in r21450 again.

svn path=/trunk/; revision=22691
2007-08-27 21:23:18 +00:00
Luis Ontanon 4e26d3ad2e cast a guint64 down to guint32 before assignment to get windows build running
svn path=/trunk/; revision=22689
2007-08-27 19:37:48 +00:00
Luis Ontanon 1b760a7ae5 Fixed an ep_ buffer overflow (off by one) in oid_subid2string()
Abort on integer overflow in oid_string2subid() and oid_encoded2subid()





svn path=/trunk/; revision=22688
2007-08-27 19:14:30 +00:00
Guy Harris 49dbf60a03 Get rid of extra newlines at the end of epan/oids.h, and give one of
them to epan/oids.c. :-)

svn path=/trunk/; revision=22687
2007-08-27 18:44:55 +00:00
Luis Ontanon 392fd3f689 - packet-snmp(-template).c
- reimplement the "snmp.variable_oid" dissector table
- oids.[ch]
   - get rid of keytype_implicit in oid_value_type_t we won't use it.
   - have the windows base path for mibs be consistent to where we've put the mibs
   - oid_get_from_encoded() and oid_get_from_string(): have the subids array being computed in a prior statement of where the side-effected argument is going to be used... worked on gcc, not on windows... I deserve "have daemons flying out of my nose" for that :-).


svn path=/trunk/; revision=22684
2007-08-27 17:05:11 +00:00
Luis Ontanon ca2683dc8b This was missing
svn path=/trunk/; revision=22679
2007-08-26 23:24:49 +00:00
Luis Ontanon 4c3b41917e Remove every remembrance of NET_SNMP from COPS
svn path=/trunk/; revision=22678
2007-08-26 21:38:09 +00:00
Luis Ontanon 9a850615d1 Give the files its propper title
Keep libsmi's default path and append the user given one


svn path=/trunk/; revision=22677
2007-08-26 21:37:11 +00:00
Luis Ontanon 42d99d2724 De-NET-SNMPize COPS
svn path=/trunk/; revision=22673
2007-08-26 20:16:35 +00:00
Jörg Mayer bc422bc08b Undo last commit. It's not yet clear to my why isakmp traffic
after nat-t isn't matched by a isakmp display filter, but this
approach wrong.

svn path=/trunk/; revision=22670
2007-08-26 18:39:34 +00:00
Jörg Mayer dcf3c05d5e Isakmp runs over port 4500 (natt) as well
svn path=/trunk/; revision=22669
2007-08-26 18:21:52 +00:00
Stig Bjørlykke 72d0652b8f From Todd J Martin:
- Added support for grace-LSA TLVs
- Fix a checksum that was printed in hex, but did not prepend "0x"

svn path=/trunk/; revision=22665
2007-08-26 13:43:47 +00:00
Luis Ontanon 873dd9585d add the new oid_* functions
svn path=/trunk/; revision=22663
2007-08-26 03:11:27 +00:00
Luis Ontanon 6ce4115354 Turns out that smiGetMinSize() and smiGetMaxSize() exists only in libsmi's HEAD... ;-)
Official releases do not have them yet, avoid using them.


svn path=/trunk/; revision=22662
2007-08-25 23:49:09 +00:00
Luis Ontanon 782c19a0c5 get libsmi into the picture
svn path=/trunk/; revision=22661
2007-08-25 20:27:58 +00:00
Luis Ontanon bcd55f4c8e replace oid_to_str_buf() and oid_to_str()
fix a potential buffer overflow due to a very liberal estimate by oid_repr_len()


svn path=/trunk/; revision=22659
2007-08-25 17:29:55 +00:00
Luis Ontanon becf83594b there's nothing like a MAX_OID_STR_LEN... get rid of a potential stack BO
svn path=/trunk/; revision=22657
2007-08-25 14:48:48 +00:00
Luis Ontanon 7c174c63f8 Initialize to zero all subids in oid_string2subid() to avoid creating bogus oids. This is aspirin for a buffer overflow somewhere in the code that reads cretificates, that dimensions a buffer probably assumung oid subids are few digits while they can actually be bigger.
Place two DISSECTOR_ASSERT() guards to avoid an (I believe impossible) buffer overflow of the ep_allocated subid array in  oid_string2subid() and oid_encoded2subid().


svn path=/trunk/; revision=22656
2007-08-25 14:15:56 +00:00
Stig Bjørlykke 1f58f3e2ec Removed duplicate entry of OID 1.0.8571.2.4 in FTAM
svn path=/trunk/; revision=22655
2007-08-25 09:57:12 +00:00
Jaap Keuter da921bf9e1 Partial fix for bug 1317:
Add Elliptic Curve cypher suites
Add extension types

svn path=/trunk/; revision=22654
2007-08-25 09:08:49 +00:00
Anders Broman f2e1c5cb7d Get rid of now unused:
add_oid_name
 add_oid_str_name
l get_oid_name
 get_oid_str_name

svn path=/trunk/; revision=22652
2007-08-25 07:44:01 +00:00
Luis Ontanon 00c5e48a17 get users of oid_resolv to use the new oids, rollout packet-snmp.c
svn path=/trunk/; revision=22651
2007-08-25 01:14:24 +00:00
Stig Bjørlykke fb082a9a3c From Shaun Jackman:
* asn1/mpeg/packet-mpeg-pes-template.c (proto_register_mpeg_pes):
	Register the dissectors mpeg and mpeg-pes.
	* epan/dissectors/packet-mp2t.c (dissect_tsp): Call the mpeg-pes
	dissector.
	(ett_mp2t_header, ett_mp2t_af): New subtree identifiers.

svn path=/trunk/; revision=22650
2007-08-25 00:50:20 +00:00
Stig Bjørlykke f8f58fceaa From Munenori Ohuchi:
1. Priority field decode.
   The 802.1q tag field of a frame is separated from its frame body in 
   a ERSPAN packet. 
   Current packet-cisco-erspan.c decodes only the vlan id field of the 
   802.1q tag.
   This patch can also decode the priority field of the 802.1q tag.

2. Direction of a captured frame decode.
   A ERSPAN packet includes the additional information of the direction
   a captured frame as below.

   If a caputred frame comes from outside to a switch port, this means an
   'Incoming' frame.  If a caputred frame goes out of a switch port, 
   this is an 'Outgoing' frame.


Added an extra unknown value for the bit between direction and spanid.

svn path=/trunk/; revision=22649
2007-08-25 00:29:40 +00:00
Stig Bjørlykke d2bc64938c Added expert info for length issues.
svn path=/trunk/; revision=22648
2007-08-24 23:27:33 +00:00
Stig Bjørlykke 1a03093490 - Added first version of DMP sequence analysis.
- Added some generated search fields.
- Added notice about negative ack in msg_type strings.
- Added some more expert infos.
- Rewrote alot of display filter names.
- Rewrote some hf_ values.

svn path=/trunk/; revision=22647
2007-08-24 22:42:08 +00:00
Stig Bjørlykke 8256495a7d From Todd J Martin:
- Decodes all valid Restart Signaling CLVs
- The restart flags are now shown in a tree and have display filters for them
- The Remaining hold time field now has a display filter
- The Restarting Neighbor Id field is now decoded
- Corrected another CLV decoder that assumed the length of a system ID was 6
  and hard coded that value instead of using the id_length variable

Rearranged the Restart Signaling Flags to show the most significant bit first


svn path=/trunk/; revision=22646
2007-08-24 22:22:34 +00:00
Richard van der Hoff 289cce1119 take out oid_to_subid_buf again, because joerg has put it back into packet-snmp.c.
This is not a productive use of my time. I'm annoyed.

svn path=/trunk/; revision=22642
2007-08-24 16:43:42 +00:00
Jörg Mayer 5a1e278801 Revert back to old version with manually fixed get_ber_length parameters
svn path=/trunk/; revision=22636
2007-08-24 13:52:37 +00:00
Richard van der Hoff e184617c04 complete the death of the h223 plugin
svn path=/trunk/; revision=22635
2007-08-24 13:44:59 +00:00
Richard van der Hoff a312d7833c move packet-srp into the core (from the h223 plugin)
svn path=/trunk/; revision=22634
2007-08-24 13:08:21 +00:00
Richard van der Hoff 70af350b8b add oids.{c,h} for LEGO
svn path=/trunk/; revision=22633
2007-08-24 12:45:08 +00:00
Richard van der Hoff 65e55347ea Cut and paste old oid_to_subid_buf (it used to be in packet-snmp.c) to get things building again.
svn path=/trunk/; revision=22632
2007-08-24 12:44:29 +00:00
Richard van der Hoff b2f5d183fa fix 'unused variable' warning
svn path=/trunk/; revision=22631
2007-08-24 12:43:38 +00:00
Richard van der Hoff 8055225473 add newline to end of file
svn path=/trunk/; revision=22630
2007-08-24 12:15:49 +00:00