Commit Graph

11388 Commits

Author SHA1 Message Date
Guy Harris 8f79902cb3 Get rid of unneeded include of "colors.h".
svn path=/trunk/; revision=11496
2004-07-24 00:34:04 +00:00
Guy Harris 60da1c89f0 Make "new_color_filter()" GUI-independent - have it take two "color_t"
pointers, for the background and foreground color, as arguments, and
have its callers generate them from GdkColor values.

svn path=/trunk/; revision=11495
2004-07-24 00:08:19 +00:00
Guy Harris f16fff888c "capture_combo_utils.{c,h}" don't use any GTK+ stuff, so move them to
the top-level directory.

svn path=/trunk/; revision=11494
2004-07-23 23:36:50 +00:00
Jörg Mayer 2d21f054ef Remove set -/+x - they were added for debugging and not intended for commit
svn path=/trunk/; revision=11493
2004-07-23 23:34:15 +00:00
Jörg Mayer e869dbb17d Trivial warning fixes:
- comma at end of enum
- function declarations with empty args instead of void
- c++ style comments

svn path=/trunk/; revision=11492
2004-07-23 23:28:08 +00:00
Ronnie Sahlberg e7172b423b add nice text item for the case when we could not find the dissector for a specific OID/attribute to make it easier to see where we have missed implementing something.
svn path=/trunk/; revision=11491
2004-07-23 23:12:31 +00:00
Ronnie Sahlberg 52d5646696 inside dissect_ber_sequence() we know the expected length of the field that follows.
use this and create a new tvbsubset so that
1, reading too much data is flagged as MALFORMED PACKET indicating a bug in the dissector (or a packet that IS malformed)
2, this also implicitely passes the length of the data through the ber.oid dissector handle in case we want to pick it up later.



svn path=/trunk/; revision=11490
2004-07-23 23:06:38 +00:00
Guy Harris bbbe995ddb Use "format_text()" on strings to be put into the Info column and the
display representation of items in the protocol tree, so we don't get
hosed by non-printable characters.

svn path=/trunk/; revision=11489
2004-07-23 22:39:08 +00:00
Gerald Combs c6c01ab4b1 Have distclean remove built sources.
svn path=/trunk/; revision=11488
2004-07-23 21:24:25 +00:00
Guy Harris 3d0e67cd4e Nothing here uses any GTK+ stuff, so get rid of the include of
<gtk/gtk.h>.  (It should ultimately be moved out of the gtk directory.)

svn path=/trunk/; revision=11487
2004-07-23 20:41:23 +00:00
Ronnie Sahlberg 19f12428b6 remove some more compiler warnings
svn path=/trunk/; revision=11486
2004-07-23 14:00:34 +00:00
Ronnie Sahlberg 0d59053844 make the implicit_tag parameter _U_ to get rid of some compiler warnings in those cases it is not used.
svn path=/trunk/; revision=11485
2004-07-23 13:21:48 +00:00
Ronnie Sahlberg 543c91b203 telex and telephone number attributes
svn path=/trunk/; revision=11484
2004-07-23 13:11:29 +00:00
Ronnie Sahlberg e4fdba9e02 Remove a compiler warning for a parameter that is not used
in the DirectoryString dissector


svn path=/trunk/; revision=11483
2004-07-23 12:22:13 +00:00
Guy Harris 46e1e52757 If there's no data in the authentication option, don't unescape and
tvbuffify it.

svn path=/trunk/; revision=11482
2004-07-23 08:36:07 +00:00
Ronnie Sahlberg b662cf7641 add all the other (quite a lot of them) attributes that were of the type DirectoryString
(see how good it is to put markers for emacs macros in the files, it was pretty quick, wasnt it? i even tested the resulting code.)


svn path=/trunk/; revision=11481
2004-07-23 08:21:51 +00:00
Guy Harris 89f9e1ee88 Use "col_append_str()" and "col_append_fstr()" to build the Info column,
rather than building a string, and use "tvb_format_text()" on the data,
so that non-printable characters are escaped.

svn path=/trunk/; revision=11480
2004-07-23 07:59:15 +00:00
Ronnie Sahlberg 1b0f6edbd9 add dissection of DirectoryString, this unfortunately had to be done manually inside the template.
Also implement the attribute  organizationName which is of this type.

(Add magic comments so emacs-macros will be happy.)


svn path=/trunk/; revision=11479
2004-07-23 07:46:12 +00:00
Ronnie Sahlberg 73f560c866 register ber oid functions through a special function in packet-ber.c which also takes (still unused) the name of the oid
so that sometime later it will be easy to add code to add the name of the oid to the dissection.



svn path=/trunk/; revision=11478
2004-07-23 07:08:14 +00:00
Guy Harris 267b501cae "iax_lookup_circuit_details()" can return null; check whether it's null
before using it.

svn path=/trunk/; revision=11477
2004-07-23 06:37:58 +00:00
Guy Harris f28323ba39 From Graham Bloice: add resources to wiretap.dll.
svn path=/trunk/; revision=11476
2004-07-23 06:11:50 +00:00
Guy Harris 43b2da02ae Note that you *MUST* make sure "match_strval()" doesn't return null
before using its value, or must check for a null return value and handle
it specially, otherwise you put Ethereal at risk of crashing with bad
packet data.

svn path=/trunk/; revision=11475
2004-07-23 01:37:35 +00:00
Guy Harris 90bbb2c32c We are not guaranteed that "fchdr.r_ctl & 0x0F" is a valid frame type,
so don't use "match_strval()", use "val_to_str()".

svn path=/trunk/; revision=11474
2004-07-23 01:32:42 +00:00
Guy Harris cbc46d3e98 "dissect_x509if_AttributeTypeAndDistinguishedValue()" is static - don't
declare it as non-static in the header file.

svn path=/trunk/; revision=11473
2004-07-22 20:08:08 +00:00
Ulf Lamping f6c9daa5ec use gtk_clipboard_get(), so the "copy to clipboard" is available in all GTK2 versions
svn path=/trunk/; revision=11472
2004-07-22 18:42:50 +00:00
Ulf Lamping cf51c277bb from Thomas Palmer: add "Copy to clipboard" button to the conversation table dialogs
svn path=/trunk/; revision=11471
2004-07-22 16:36:50 +00:00
Ronnie Sahlberg 744387f3ca add the countryname attribute
svn path=/trunk/; revision=11470
2004-07-22 13:11:13 +00:00
Ronnie Sahlberg f42a958398 start dissecting AttributeTypeAnddistinguishedValue
(which must be implemented by hand inside themplate)


svn path=/trunk/; revision=11469
2004-07-22 10:29:17 +00:00
Ronnie Sahlberg 283807bf4b dissect the x509if/Name all the way down to the AttributeTypeAndDistinguishedValue structure but not the structure itself.
we are getting there, slow but steady


svn path=/trunk/; revision=11468
2004-07-22 10:05:59 +00:00
Ronnie Sahlberg 7a3139b764 minor update
GeneralNames is defined in x509ce and not x509if


svn path=/trunk/; revision=11467
2004-07-22 08:00:33 +00:00
Ronnie Sahlberg ea5916772e minor update
UniqueIdentifier is imported from x509sat and not x509if


svn path=/trunk/; revision=11466
2004-07-22 07:51:47 +00:00
Jörg Mayer 769507d234 Fix the fix to krb5
svn path=/trunk/; revision=11465
2004-07-21 22:37:04 +00:00
Gerald Combs 83b366536a Add doxygen.cfg to the "clean" target.
svn path=/trunk/; revision=11464
2004-07-21 22:12:49 +00:00
Guy Harris 67f0f40bfa Include "packet-x509sat.h" to declare a function we use.
svn path=/trunk/; revision=11463
2004-07-21 19:23:18 +00:00
Jörg Mayer 6ecefef982 Forgotten case: Make krb5 fail if it requires -lcrypto but no --with-ssl=... is not given
svn path=/trunk/; revision=11458
2004-07-21 17:45:05 +00:00
Ronnie Sahlberg dcea6b49c6 get rid of the nasty ber specific oid->callback table and reimplement the functionality using a dissector table instead i.e. the proper way.
svn path=/trunk/; revision=11457
2004-07-21 11:13:03 +00:00
Ronnie Sahlberg 9bbc41e501 reverse part of jmayer's last patch to make tethereal build again
svn path=/trunk/; revision=11456
2004-07-21 09:00:56 +00:00
Ronnie Sahlberg 1824fa29c2 GdkDisplay is only available in gtk 2.2 and later
it is not available in gtk 2.0 which all of us using more prooven and stable (==obsolete) versions use.


svn path=/trunk/; revision=11455
2004-07-21 08:51:08 +00:00
Guy Harris 6041d12dde From Laurent Rabret: OPSI support.
svn path=/trunk/; revision=11454
2004-07-21 06:31:33 +00:00
Guy Harris 9500f764ce From Tomas Kukosa: add support for RFC 3253 HTTP methods.
svn path=/trunk/; revision=11453
2004-07-21 06:05:24 +00:00
Guy Harris 0a4380f19e From Roberto Morro: support for GMPLS UNI and E-NNI objects/TLVs.
svn path=/trunk/; revision=11452
2004-07-21 05:57:30 +00:00
Guy Harris c1b410806e From metatech: at least on Windows XP, if a Centrino 802.11 interface is
in promiscuous mode, packets captured promiscuously show up as 802.11
packets encapsulated in Ethernet, with an Ethernet type of 0x2452.

svn path=/trunk/; revision=11451
2004-07-21 05:44:03 +00:00
Ulf Lamping 1f4829897a from Thomas Palmer: copy content of hostlist table to clipboard in csv format.
svn path=/trunk/; revision=11450
2004-07-20 23:48:50 +00:00
Ulf Lamping 35f26ce2c2 refactoring and renaming finished
svn path=/trunk/; revision=11449
2004-07-20 21:39:54 +00:00
Ulf Lamping e083ac3514 some more renaming of the conversation tables things
svn path=/trunk/; revision=11448
2004-07-20 20:56:53 +00:00
Guy Harris 9127c0350c Include "packet-x509sat.h" to declare a function we use.
svn path=/trunk/; revision=11447
2004-07-20 20:19:46 +00:00
Jörg Mayer dacfa8f1a4 Make building rpms possible again. Feedback for improvements welcome.
svn path=/trunk/; revision=11446
2004-07-20 19:55:01 +00:00
Anders Broman bb7d931303 Fix decoding of messafe type 1, if T-bit = Zero
svn path=/trunk/; revision=11445
2004-07-20 19:04:48 +00:00
Guy Harris 5dca1e794c As Joerg Mayer noted, the value of LIBS should be saved outside the
loop.

svn path=/trunk/; revision=11444
2004-07-20 18:42:28 +00:00
Jörg Mayer eebd26f377 Make configure continue after disabling Net-SNMP when the openssl libs
are reuired for SNMP to link but not enabled on configure.

svn path=/trunk/; revision=11443
2004-07-20 17:42:42 +00:00