Commit Graph

20024 Commits

Author SHA1 Message Date
Luis Ontanon 88e699977c Although yet untested (but it compiles and is still unused) add UAT to the repo.
UAT is an API to handle User Accessible Tables,
an UAT is basically an array of arbitrary structs that has a file representation
as a mean for mantaining things like:
- the snmp_users_table
- dfilter macros
- ipsec/ssl key bindings
- k12 configuration,
- and many other table-like user modifiable preferences

comming soon gtk's uat_window() and prefs_add_uat()

uat.h is fairly doc[uo]m[m]?ented, a README with a simple example of how is to be used will be available as I write them


svn path=/trunk/; revision=20586
2007-01-28 10:31:32 +00:00
Graeme Lunt c4b562e988 Support for SMIMECapabilities and KeyPreference attributes.
ContentInfo syntax for .p7s, .p7c and .p7m files.


svn path=/trunk/; revision=20585
2007-01-28 10:20:51 +00:00
Graeme Lunt 7edc7aea68 Definition of a per-recipient extension to prevent failure of dissection.
(Don't know what the extension actually is.)


svn path=/trunk/; revision=20584
2007-01-28 10:15:46 +00:00
Graeme Lunt 428435dcd8 Fix for per-domain-bilateral-information (bilateral-information field wasn't handled).
svn path=/trunk/; revision=20583
2007-01-28 10:12:51 +00:00
Graeme Lunt 197c6c9995 *) Ask the user if they want to install WinPcap.
*) Associate Wireshark with p7s, p7m and p7c files (if not already associated).


svn path=/trunk/; revision=20582
2007-01-28 10:10:06 +00:00
Stephen Fisher b4a656ec1f From Douglas Pratley:
This is a patch adding items to the context menus for the packet list
and packet details panes for copying packet data to the clipboard.

New menu item on packet list pane:
Copy (sub menu) ->
        Summary (Text)          Copies fields displayed in the packet
list, tab separated
        Summary (CSV)           Copies fields displayed in the packet
list, comma separated
        Hex and Text            Copies data for the selected frame in
hex-editor style (similar to Copy\All Information in packet bytes pane)
        Text Only               Copies data for the selected frame,
dropping non-printable characters other than line breaks (similar to
Copy\Text Only in packet bytes pane)
        Hex Columns             As Hex and Text but without text
        Hex Stream              Copies data for the selected frame as an
unpunctuated list of hex values
        Binary Stream           Copies raw packet bytes to the clipboard
as MIME type application/octet-stream


svn path=/trunk/; revision=20581
2007-01-28 02:49:50 +00:00
Luis Ontanon c6009ed5ab From Kriang Lerdsuwanakij:
1 Add ALCAP and NBAP as subdissectors of SSCOP. Previously it only
 knows about SSCF-NNI and data. (Changes in packet-sscop.c,
 packet-sscop.h)

2 Add capability for lower layer to force SSCOP to choose a particular
 dissector. It is passed as "subdissector" field of SSCOP protocol
 data. This is required because different payload protocol is
 distinguished by different VPI/VCI. There is no protocol field inside
 SSCOP frame. (Changes in packet-sscop.c, packet-sscop.h)

3 Make K12xx configuration file supporting the following syntax:
   C:\k1297\stacks\umts_iub\umts_iub_aal2l3.stk sscop:alcap
 This says dissect with SSCOP first and then pass to ALCAP.
 The change is made general, so it supports arbitrary number of
 protocol, like "proto1:proto2:proto3". Using ":" as separator
 allow us to expand the syntax further to support parameters like
 "proto1 param1:proto2 param2 param3". (Changes in packet-k12.c)

With above 3 changes together, dissecting Iub traces are correct for
control and signaling planes. I am still investigating user plane
frames because writing UMTS RLC/MAC protocol dissector is required.
The patch and sample .rf file (same as my previous patch) is in the
attachment.

plus:
Add Kriang to the AUTHORS list (and once at it upate my own record)


svn path=/trunk/; revision=20580
2007-01-28 01:41:58 +00:00
Luis Ontanon 6a2d87516a from Kriang Lerdsuwanakij
I found out the reason Wireshark refuses to read some .rf file I have.
Those files have zero extra_len in SRCDEST header structure. See the
attached file for example. It was created by selecting some frames from
a larger .rf5 file (within Tektronix's own reader) and save as a
separate file.


svn path=/trunk/; revision=20579
2007-01-28 01:24:20 +00:00
Luis Ontanon db9803fdd0 fix distcheck
svn path=/trunk/; revision=20578
2007-01-27 04:08:06 +00:00
Luis Ontanon 3472c0fa67 Fix docbook documentation
svn path=/trunk/; revision=20577
2007-01-27 02:33:21 +00:00
Luis Ontanon a1d162d7ed Fix DTD validation ( older dtds were happy with it :/ )
svn path=/trunk/; revision=20576
2007-01-27 02:32:02 +00:00
Luis Ontanon 4490cde931 do not overwrite the realse notes...
svn path=/trunk/; revision=20575
2007-01-27 01:36:00 +00:00
Luis Ontanon 65b82db6da fix generation of ws(ug|dg), use fop.bat not fop.sh
svn path=/trunk/; revision=20574
2007-01-27 01:11:39 +00:00
Gerald Combs 6132c5b323 Fix saving WPA key preferences from the decryption key management dialog,
which was broken by r20388.

svn path=/trunk/; revision=20573
2007-01-26 23:28:22 +00:00
Gerald Combs f9e2736d7c Add support for "wildcard" WPA keys in the form "wpa:passphrase" (note
the lack of SSID).  Wildcarding combines the passphrase with the last
seen SSID and attempts decryption.  The last-seen stack is only one
element tall, which means it may get clobbered on busy and diverse
networks.  We can expand it if needed.

Make internal functions static in airpdcap.c.  Rearrange the
AIRPDCAP_KEY_ITEM struct so that the passphrase and SSID don't get
clobbered when we set our PSK.

svn path=/trunk/; revision=20572
2007-01-26 21:54:59 +00:00
Luis Ontanon 70908e9992 Trying to get the WS Lua Ref Man to build with the rest of the documentation
svn path=/trunk/; revision=20571
2007-01-26 18:34:05 +00:00
Michael Tüxen bb773be0ef Fix handling when both endpoints use the same port number.
svn path=/trunk/; revision=20570
2007-01-26 17:27:32 +00:00
Jaap Keuter e4e739a5ca From Graham Bloice:
In the Developers Guide, Section 9.3, Example 9.17. Decompressing data
packets for dissection

The code calls tvb_set_free_cb() for the newly created next_tvb.  This
is unnecessary as the call to tvb_set_child_real_data() adds next_tvb to
the chained list of tvb, thus ensuring that next_tvb is correctly
deleted.  In fact when I had the call in, Visual Studio kept breaking
deep down in ntdll.dll, probably because of a double free every time the
main tvb was deleted.

In README.developer, para 2..2.7 The example conversation code doesn't
assign the result of conversation_new() back into the conversation variable.

svn path=/trunk/; revision=20569
2007-01-26 17:12:00 +00:00
Jaap Keuter f8be165898 From Patrick vd Lageweg:
This patch fixes three problems with the SCSI persistent reserve in command:
- The Additional length starts at offset 4 and not 0
- The len field contains the length used by the keys and doesn't include the header length. 
  So don't substract the header length from the length.
- The key list is traversed from the beginning to end end and not the other way around.

svn path=/trunk/; revision=20568
2007-01-26 17:06:17 +00:00
Luis Ontanon 3fa4e251bd form Florian Lohoff
here is an addition to the redback radius dictionary - Attributes seen
in all authentications for PPPoE sessions ...



svn path=/trunk/; revision=20567
2007-01-26 15:10:47 +00:00
Martin Mathieson b731274da6 Use previously unused hf_cops_obj_c_type (cops.c_type) field
svn path=/trunk/; revision=20566
2007-01-26 12:14:06 +00:00
Tomas Kukosa 9c332d6799 TLS 1.0/1.1 just ignores unknown records - RFC 2246 chapter 6. The TLS Record Protocol
(some implementations use it like "keepalive")

svn path=/trunk/; revision=20565
2007-01-26 12:08:45 +00:00
Martin Mathieson ebb948cd3c Make COPS dissector findable by name
svn path=/trunk/; revision=20564
2007-01-26 11:31:51 +00:00
Martin Mathieson 10404864ac Fix bugs 1330 & 1333 (one wrong and one missing entry in XML description)
svn path=/trunk/; revision=20563
2007-01-26 10:40:34 +00:00
Jörg Mayer 7280702537 If there is just a tftp response without a prior request,
dissection would fail with dissector assert.

svn path=/trunk/; revision=20562
2007-01-26 08:09:20 +00:00
Gerald Combs 065e9f88e5 Spelling fixes.
svn path=/trunk/; revision=20561
2007-01-26 06:45:12 +00:00
Gerald Combs 0dad9f1bb2 Massive indentation fixes.
svn path=/trunk/; revision=20560
2007-01-26 06:34:05 +00:00
Bill Meier 09f508b57b A few more ethereal --> wireshark
svn path=/trunk/; revision=20559
2007-01-26 01:34:29 +00:00
Stephen Fisher 0ffcdf3be0 Fix for bug #1325: Protocol hierarchy display shows an empty line because of
the hop-by-hop option header tree in the main protocol tree.  This fix skips
those entries that don't have a name assigned to them and goes on to the next
entry before adding it to the protocol hierarchy display.


svn path=/trunk/; revision=20558
2007-01-25 23:00:29 +00:00
Stephen Fisher c474f8287a Remove extra space from a call .cmd file command line so it can be copied
and pasted out of the guide


svn path=/trunk/; revision=20557
2007-01-25 21:07:29 +00:00
Stephen Fisher b68220cc22 Fix indentation of field_info struct definition
svn path=/trunk/; revision=20556
2007-01-25 20:47:37 +00:00
Graeme Lunt 1a9ea91193 Update manifest file (template) to:
a) remove schema reference
b) assign new GUID for 0.99.6

Update makefile.nmake to:
a) include user-guide.chm - user-guide.chm is copied from the nsis packaging directory
b) include the example_snmp_users_file
c) other tidy-ups


svn path=/trunk/; revision=20555
2007-01-25 17:37:54 +00:00
Jaap Keuter 8a543e99df Modification of version resource.
- FILEFLAGS should not contain VS_FF_SPECIAL_BUILD
- FILEOS changed to VOS_NT_WINDOWS32 since we no longer support pre-NT platforms
- Adding Comments string to include compiler, based on MSVC_VARIANT symbol

svn path=/trunk/; revision=20554
2007-01-25 07:42:10 +00:00
Gerald Combs c5a181d425 Remove dead code. Fixes Coverity CID 228. Squelch various compiler warnings.
svn path=/trunk/; revision=20553
2007-01-25 07:06:47 +00:00
Gerald Combs e97d1f0866 Squelch Coverity CIDs 225, 226, and 227.
svn path=/trunk/; revision=20552
2007-01-25 06:51:30 +00:00
Gerald Combs e7bda1efe4 Attempt to squelch Coverity CID 222.
svn path=/trunk/; revision=20551
2007-01-25 06:45:09 +00:00
Gerald Combs 94cf826452 Fix Coverity CIDs 217 and 218, and fix filter dialog autoselection in
the process.  This change assumes that you can make a copy of a
GtkTreeIter and use it later (which may not be valid), and hasn't been
tested using GTK 1.

svn path=/trunk/; revision=20550
2007-01-25 02:54:14 +00:00
Gerald Combs 2664012ca6 Fix a key preference crash bug. Improve WPA passphrase and SSID length
handling.  Free a byte array.  Squelch a compiler warning.  Fix a URI
string parsing bug.

svn path=/trunk/; revision=20549
2007-01-25 01:24:14 +00:00
Guy Harris 3696f686b1 When parsing DISPLAY, mirror what __X11TransConnectDisplay() does - and
handle the case where the "host name" begins with "/", as some platforms
might allow the pathname of a UNIX domain socket to be given in DISPLAY.

Fix indentation of a comment.

svn path=/trunk/; revision=20548
2007-01-24 23:30:23 +00:00
Gerald Combs a479c83ff7 Update the NEWS file.
svn path=/trunk/; revision=20547
2007-01-24 19:27:49 +00:00
Gerald Combs cd60c73163 Fix Coverity CID 230: Make sure we handle a negative tvb_length_remaining()
value correctly.  Fix up indentation.

svn path=/trunk/; revision=20546
2007-01-24 19:22:13 +00:00
Luis Ontanon 4011d754c6 dissect SDP encapsulated inside an Q1950 annex A.7 paramenter of H248
svn path=/trunk/; revision=20545
2007-01-24 17:19:44 +00:00
Stephen Fisher 3061189d6f Fix for bug #1308: tacacs decoding fails. Introduce TCP desegmentation for
data after the fixed length header as some implementations may not send
the header and payload in the same segment.


svn path=/trunk/; revision=20544
2007-01-24 04:57:32 +00:00
Gerald Combs 4342c8d885 It's not an error if we don't find any AirPcap interfaces when AirPcap isn't
loaded.

svn path=/trunk/; revision=20543
2007-01-24 01:17:48 +00:00
Gerald Combs 744d6644b8 Instead of checking for WinPcap 4.x versions, assume that if the version
is greater than 3 we can get detailed interface information.  This should
limit the amount of work we have to do when new WinPcap releases come out.

svn path=/trunk/; revision=20542
2007-01-24 01:16:45 +00:00
Gerald Combs 1f955f3fcf Fix compilation (under Windows, at least).
svn path=/trunk/; revision=20541
2007-01-24 01:06:24 +00:00
Luis Ontanon 6f5c055c81 add range to the metatable of Tvb.
svn path=/trunk/; revision=20540
2007-01-23 23:36:28 +00:00
Luis Ontanon e9d3877fb8 tvb:range did not appear under Tvb in generated refman
pinfo.curr_proto appeared as pinfo.match
pinfo.columns in the refman was pinfo.cols in lua (now it is both in lua and in refman)


svn path=/trunk/; revision=20539
2007-01-23 23:34:41 +00:00
Ulf Lamping e42f2848f5 fix problem "no target to build user-guide.zip"
svn path=/trunk/; revision=20538
2007-01-23 21:19:46 +00:00
Ronnie Sahlberg 6a45dab11b add the obsolete RESERVE10/RELEASE10 to the sbc dissector
svn path=/trunk/; revision=20537
2007-01-23 20:59:50 +00:00