Commit Graph

1390 Commits

Author SHA1 Message Date
Ronnie Sahlberg 2ba488f839 When we have a BER blob but we dont have the dissector for that oid implemented in ethereal (yet),
call a new function to start dissecting what unknown fields we can dissect.

Currently only PrintableString and INTEGER implemented but it will be easy to add other BER Universal types as needed later



svn path=/trunk/; revision=12544
2004-11-18 10:46:27 +00:00
Guy Harris 105c252b03 Don't create a dissector handle that we don't use.
svn path=/trunk/; revision=12543
2004-11-18 03:35:43 +00:00
Guy Harris f6024ff41e Don't set a string pointer to point to a constant string if that pointer
will later be handed to a free-memory routine - g_strdup() the constant
string.

svn path=/trunk/; revision=12542
2004-11-17 20:09:11 +00:00
Guy Harris 650ba47a9a Fix some problems when compiling on Windows and when compiling on
systems where INET6 isn't defined.

svn path=/trunk/; revision=12541
2004-11-17 19:46:34 +00:00
Guy Harris f33fdc05c2 Don't assume that IPv6 addresses are aligned on 32-bit boundaries.
svn path=/trunk/; revision=12540
2004-11-17 19:41:56 +00:00
Anders Broman 7e6f597dd5 From Martin Regner add the possibillity to disscet BICC over SCTP
svn path=/trunk/; revision=12539
2004-11-17 19:33:31 +00:00
Guy Harris 745937933a Add IPv6 address<->name mappings for AAAA records.
svn path=/trunk/; revision=12538
2004-11-17 10:03:14 +00:00
Guy Harris 4469052ec3 Add a hash table for IPv6 addresses, and add an "add_ipv6_name()"
routine to add IPv6-address/name pairings to that table; use that when
reading the hosts file.

svn path=/trunk/; revision=12537
2004-11-17 09:44:41 +00:00
Guy Harris 366ff47474 Rename some routines and structures to reflect that they're specific to
IPv4; use different data structures for port numbers.

svn path=/trunk/; revision=12536
2004-11-17 08:53:20 +00:00
Ronnie Sahlberg bd1a1e3ae1 New protocol : SMRSE ShortMessageRelayService
svn path=/trunk/; revision=12535
2004-11-17 08:42:31 +00:00
Guy Harris 3eb79de07d Based on code from Francisco Alcoba, read the hosts file on startup if
we're using ADNS, so that we can resolve host names from the hosts file
as well as from DNS.

"fgetline()" strips newlines from the line, so don't bother looking for
them when tokenizing the line.

svn path=/trunk/; revision=12534
2004-11-17 08:34:36 +00:00
Gerald Combs 75ce5ae404 Fix a cut/paste error.
svn path=/trunk/; revision=12533
2004-11-16 23:29:09 +00:00
Anders Broman ffdb8be766 Implemented state-create, handling of g_hash_table at redesection needs more work.
svn path=/trunk/; revision=12532
2004-11-16 22:15:58 +00:00
Anders Broman ca2b359041 Implemented state-create, handling of g_hash_table at redesection needs more work.
svn path=/trunk/; revision=12531
2004-11-16 22:15:14 +00:00
Anders Broman 9d981ba8b9 Add some more OID string translations
svn path=/trunk/; revision=12529
2004-11-15 19:06:10 +00:00
Ronnie Sahlberg e7b85d2760 New protocol PKIXQualified from RFC3739
svn path=/trunk/; revision=12528
2004-11-14 09:50:24 +00:00
Ronnie Sahlberg e7082f5194 Since we can now handle SEQUENCE OF ANY uncomment this "difficult" field from
the Attribute SEQUENCE to make it more complete.



svn path=/trunk/; revision=12527
2004-11-14 09:48:11 +00:00
Ronnie Sahlberg 27df480915 make SEQUENCE OF understand a sequence of ANY
svn path=/trunk/; revision=12526
2004-11-14 09:45:04 +00:00
Ronnie Sahlberg 4222121cc6 export GeneralName from X509CE
svn path=/trunk/; revision=12525
2004-11-14 08:51:49 +00:00
Ronnie Sahlberg 20697638ac make octet string also allow for utf8strings
svn path=/trunk/; revision=12524
2004-11-14 08:50:37 +00:00
Ronnie Sahlberg 9f9a03119c theis is the actual dissector for the new protocol : CMIP
svn path=/trunk/; revision=12523
2004-11-14 06:13:15 +00:00
Ronnie Sahlberg 9c965a4c07 various changes in the generated dissectors after asn2eth was patched.
i think it is high time to put makefiles down in asn1/   since this autogenerating dissectors "experiment" have payed off so well   and it actual;ly works!


i dont know anything about how autogen stuff works  :-(




svn path=/trunk/; revision=12522
2004-11-14 05:15:09 +00:00
Ronnie Sahlberg ede6ed2e8e New protocol for the telco people to play with : CMIP
Only one function is implemented so fat   M-Get   but it would be trivial to add all the missing ones once there are example captures.



svn path=/trunk/; revision=12521
2004-11-14 05:12:49 +00:00
Ronnie Sahlberg bb0cf08d8c Major update of the ber helpers to fix a lot of bugs and make the handling of implicit_tags more sane.
It worked reasonably well   mainly, I suspect, due to implicit tags are reasonably uncommon in the dissectors we have already implemented and that the bugs were masking eachothers.


my regression tests (limited test samples though) decodes this new one exactly the same as the old one.


As a bonus by not changing anythiong in the decode  is that now it is possible to get dissection of implice items to work properly,  hence CMIP
(and also x509 Extensions work now)


make heaps of dissector helpers implicit_tag  aware.

change asn2eth to generate code to call the implicit_tag aware integer dissector helper.


svn path=/trunk/; revision=12520
2004-11-14 05:10:44 +00:00
Ronnie Sahlberg 2e13664c4b add new integer dissector helper that is aware of implicit tags
svn path=/trunk/; revision=12519
2004-11-13 14:16:06 +00:00
Ronnie Sahlberg a638e3681b fix bug in handling an optional item
svn path=/trunk/; revision=12518
2004-11-13 10:06:15 +00:00
Guy Harris 9ffe5f9243 Get rid of an unused prameter and an unused variable.
Use %u, not %d, for unsigned variables.

svn path=/trunk/; revision=12517
2004-11-12 23:14:49 +00:00
Ronnie Sahlberg 1d85091b92 By popular request,
make ethereal be able to measure the time it took to transfer a PDU atop TCP.

This is great for analyzing performance issues caused by network/frame loss/congestion.


See  http://wiki.ethereal.com/TcpPduTime


svn path=/trunk/; revision=12516
2004-11-12 22:04:19 +00:00
Guy Harris a3f3ea6dbe From Charles Levert: in "tvb_fake_unicode()", convert non-ASCII
characters to '.'.

svn path=/trunk/; revision=12515
2004-11-12 10:26:56 +00:00
Guy Harris 0284f4d4f5 From Ignacio Goyret: decode RFC 2509 and RFC 3544 IPCP options.
Fix up the AUTHORS file.

svn path=/trunk/; revision=12514
2004-11-12 10:17:13 +00:00
Guy Harris 5289391300 From Mark Phillips: optionally support decoding the payload of ESP
packets using null encryption (with a heuristic to detect null
encryption).

svn path=/trunk/; revision=12513
2004-11-12 10:03:53 +00:00
Guy Harris f7042f6a52 From Yuriy Sidelnikov: remove some unused value_string tables, and fix
typos in other tables.

svn path=/trunk/; revision=12512
2004-11-12 09:56:12 +00:00
Guy Harris 8c53b99707 For dynamic DNS updates, give the counts in the message the appropriate
names.

For RRs with a data length of 0 - as can appear in dynamic DNS updates -
don't attempt to display the data.

svn path=/trunk/; revision=12511
2004-11-12 09:46:31 +00:00
Anders Broman 384cbd6977 From Nils Ohlmeier : patch for packet-sip.c which looks if the
Contact header in the REGISTER reply contains more then one binding.  
Details: up to now each Contact header was counted as one binding. But that 
is not correct, because several Contact headers (as several other SIP headers 
as well) can be written in one line separated by commatas.

svn path=/trunk/; revision=12507
2004-11-10 22:15:58 +00:00
Guy Harris bcaceaf20e From Rich Coe:
fix the heuristic code -- sometimes a conversation already
	    exists;
	fix the dissect code to display all the tags in the PDU.

svn path=/trunk/; revision=12504
2004-11-10 10:28:43 +00:00
Guy Harris 4b3a0e98a5 From Greg Morris:
support 6 additional login message verbs;

	correct a problem with displaying proper return code values in
	the reply packets.

Clean up white space.

Use "tvb_reported_length_remaining()" instead of
"tvb_length_remaining()", and don't use either one to avoid throwing an
exception on a short or malformed packet.

Use "val_to_str()" rather than "match_strval()", so we don't crash if a
value happens not to be valid.

svn path=/trunk/; revision=12503
2004-11-10 10:03:42 +00:00
Ulf Lamping 12aebd7634 fix a typo
svn path=/trunk/; revision=12502
2004-11-10 06:50:55 +00:00
Guy Harris 19aa464f56 Don't shut down GNU ADNS if it wasn't initialized.
svn path=/trunk/; revision=12501
2004-11-10 05:01:09 +00:00
Guy Harris 91e4d3bca3 Check for errors in "adns_init()", and don't enable ADNS if we get an
error in "adns_init()".  (I suspect this is what's causing the crashes
somebody's seeing when they run Ethereal on a Windows system with no
networking protocols installed - no networking protocols -> no Internet
protocols probably -> no ability to set ADNS up.)

svn path=/trunk/; revision=12500
2004-11-10 04:57:34 +00:00
Anders Broman 50ccc513e4 From Luis Ontanon: Use hf_isup_parameter_type insted of hf_isup_message_type.
svn path=/trunk/; revision=12499
2004-11-09 20:16:17 +00:00
Anders Broman d885b845c4 Add some OID string names
svn path=/trunk/; revision=12497
2004-11-09 07:03:04 +00:00
Anders Broman f1b5065273 Make it possible to print name of OID strings for PER coded OID:s as well.
svn path=/trunk/; revision=12496
2004-11-09 06:49:35 +00:00
Ronnie Sahlberg d26b93eb56 export RDNSequence from x509if
svn path=/trunk/; revision=12494
2004-11-06 05:31:03 +00:00
Ronnie Sahlberg eb3f657847 export DistinguishedName from x509if
svn path=/trunk/; revision=12493
2004-11-06 05:26:31 +00:00
Ronnie Sahlberg ed1a11f34f make x509if use the new ANY type and get rid of the workaround
svn path=/trunk/; revision=12492
2004-11-06 02:13:38 +00:00
Ronnie Sahlberg d1e31a5c20 make CMS use the new ANY type and get rid of the workaround
svn path=/trunk/; revision=12491
2004-11-06 02:06:55 +00:00
Ronnie Sahlberg 05cf6b7ced Make X509AF use the new support for ANY type and remove the workaround
svn path=/trunk/; revision=12490
2004-11-06 02:03:14 +00:00
Guy Harris 6e10679910 Move smb.trans2.cmd and smb.nt.function near the top of the hf[] array,
so they show up near the top of the list of fields in the dialog box for
adding a field to a filter - those are probably quite likely to be used
in filter expressions where you don't happen to remember the name of the
field, and those should show up at the top so you don't have to scroll
through the entire list of fields to find them.  (I suspect most other
fields either will rarely be filtered on at all, or would be filtered
only mainly with the "Match" or "Prepare" filter items, where you don't
need to know the name or even the text of the field.)

svn path=/trunk/; revision=12489
2004-11-05 21:39:31 +00:00
Guy Harris 019dc30543 Fix some typoes and clean up whitespace a bit.
svn path=/trunk/; revision=12487
2004-11-03 23:19:09 +00:00
Anders Broman 6dbef66b2d Added some value strings and started to add mobile-ip changes from latest draft.
svn path=/trunk/; revision=12486
2004-11-03 22:32:07 +00:00