Commit graph

15377 commits

Author SHA1 Message Date
Guy Harris
459327da14 Include "packet-tcp.h" to declare tcp_dissect_pdus().
svn path=/trunk/; revision=15692
2005-09-05 21:21:29 +00:00
Guy Harris
aeb8645a56 "strlen()" returns a "size_t"; use that for its return value.
Cast the argument to <ctype.h> macros to "guchar", so that if the 8th
bit is set in the byte, it doesn't get sign-extended.

svn path=/trunk/; revision=15691
2005-09-05 21:18:06 +00:00
Olivier Biot
cc9423a0d8 Don't use curly braces in an author's log entry: it confuses the parser.
svn path=/trunk/; revision=15690
2005-09-05 20:37:47 +00:00
Anders Broman
60ff3e4b75 Add some OID:s as we now use the Presentation context and use FN_PARS.
svn path=/trunk/; revision=15689
2005-09-05 16:41:46 +00:00
Anders Broman
1888e9439c Add some OID:s as we now use the Presentation context and use FN_PARS.
svn path=/trunk/; revision=15688
2005-09-05 16:41:11 +00:00
Anders Broman
4e9a8fc4fa branch_taken got lost in the recent changes.
svn path=/trunk/; revision=15687
2005-09-05 16:31:24 +00:00
Anders Broman
fba662fa2a Add a missing include
svn path=/trunk/; revision=15686
2005-09-05 16:30:31 +00:00
Tomas Kukosa
03a6f6286b the first attempt at SIP reassembly
svn path=/trunk/; revision=15685
2005-09-05 13:25:49 +00:00
Tomas Kukosa
44b2d9d828 buffer where parameters variable pointed into was freed
it is necessary to make a copy

svn path=/trunk/; revision=15684
2005-09-05 13:20:56 +00:00
Tomas Kukosa
4887fe9bf1 - set length for "Encapsulated multipart part" tree item
- pass right content type to media subdissectors

svn path=/trunk/; revision=15683
2005-09-05 11:59:22 +00:00
Tomas Kukosa
c53bf17cda new BASE_DEC_HEX and BASE_HEX_DEC displaying numbers in "dual" format
svn path=/trunk/; revision=15682
2005-09-05 10:56:41 +00:00
Anders Broman
76183d5644 Fix a typo, should make the buildbot hapy again.
svn path=/trunk/; revision=15681
2005-09-05 05:29:14 +00:00
Anders Broman
bbf0fb6dde From Graeme Lunt
I attach my RTSE dissector (in tar file) which requires the included ROS dissector, as well as a patch to the latest pres.{cnf,asn}. The ROS dissector uses a new field in the SESSION_DATA_STRUCTURE to pass the ROS operation to the sub-dissector, though this is also set by other dissectors (RTSE uses it in X.410 mode). 
 
 Note that X.400 P1 in X.410 mode doesn't use ROS, so it is useful not to explicitly include ROS in my X411 dissector. However, the inclusion of a ROS dissector won't effect any dissectors that currently implement their own ROS.
 
 I also include dissectors for:
 
 X.411 	(P1) 		X.400 OSI Message Transfer Service
 X.420 	(P22) 	X.400 OSI Information Object
 STANAG 4406	(P772)	STANAG 4406 Military Message Extensions (to P22)
 
 These rely on the RTSE and ROS dissectors.

Withs some changes to remove various warnings and errors.

svn path=/trunk/; revision=15680
2005-09-04 20:30:31 +00:00
Anders Broman
d9e1a9c0bb From Graeme Lunt
I attach my RTSE dissector (in tar file) which requires the included ROS dissector, as well as a patch to the latest pres.{cnf,asn}. The ROS dissector uses a new field in the SESSION_DATA_STRUCTURE to pass the ROS operation to the sub-dissector, though this is also set by other dissectors (RTSE uses it in X.410 mode). 

Note that X.400 P1 in X.410 mode doesn't use ROS, so it is useful not to explicitly include ROS in my X411 dissector. However, the inclusion of a ROS dissector won't effect any dissectors that currently implement their own ROS.

I also include dissectors for:

X.411 	(P1) 		X.400 OSI Message Transfer Service
X.420 	(P22) 	X.400 OSI Information Object
STANAG 4406	(P772)	STANAG 4406 Military Message Extensions (to P22)

These rely on the RTSE and ROS dissectors.

svn path=/trunk/; revision=15679
2005-09-04 16:22:12 +00:00
Anders Broman
bc4b6481b4 From Graeme Lunt:
Basically the changes are:
a) [pres] make the find_oid_by_[pres_]ctx_id (I changed the name to make it more specific) non-static so it can be called from other dissectors (see acse.cnf changes). I also call it from RTSE and ROS dissectors
b) [acse] remove (#ifdef NOT_NEEDED) the oid lookup table and any reference to acse_handle - as these are no longer needed
c) [acse] register the acse dissector on 2.2.1.0.1
with some modifications: -#ifdef:ed code removed
- renamed aco -> pco

svn path=/trunk/; revision=15678
2005-09-04 09:00:01 +00:00
Anders Broman
60eb171f7a Make Objekt Key a HEX string.
svn path=/trunk/; revision=15677
2005-09-04 08:53:04 +00:00
Guy Harris
8ab1ac71f8 Make usage messages fit within 80 characters.
svn path=/trunk/; revision=15676
2005-09-03 18:51:55 +00:00
Guy Harris
b76a02df1c As with Ethereal, so with Tethereal; we're not a GNU program, don't say
we are.

svn path=/trunk/; revision=15675
2005-09-03 18:31:45 +00:00
Guy Harris
f0b7251b34 Use the "svnversion" variable, exported by version_info.c, to print the
version number from SVN for non-release builds, just as Tethereal does. 
Fixes bug 408.

svn path=/trunk/; revision=15674
2005-09-03 18:21:48 +00:00
Gerald Combs
621cf58ac5 In RTnet, make sure we don't pass a null handle to call_dissector(). Add
an entry about this to the release notes.  Fixes a recent buildbot crash.

svn path=/trunk/; revision=15673
2005-09-02 19:54:16 +00:00
Gerald Combs
12c3bd75d3 Fix a typo.
svn path=/trunk/; revision=15672
2005-09-02 19:50:01 +00:00
Ulf Lamping
d9b789cc05 don't crash if the file_set dialog is opened and a "none fileset" file is already loaded. This bug was introduced by me after the 0.10.12 release
svn path=/trunk/; revision=15671
2005-09-02 19:08:25 +00:00
Guy Harris
ba2d24a6c0 text2pcap can add fake SCTP headers.
svn path=/trunk/; revision=15670
2005-09-02 16:50:51 +00:00
Ronnie Sahlberg
63b909db6a another switch that should be a value_string
svn path=/trunk/; revision=15669
2005-09-02 09:28:30 +00:00
Ronnie Sahlberg
4256decaf2 make two thigs that should be value_strings value_strings
svn path=/trunk/; revision=15668
2005-09-02 09:16:50 +00:00
Guy Harris
f63f048929 A PDU dissector called by tcp_dissect_pdus() can't return anything.
A PDU length routine called by tcp_dissect_pdus() should use the offset
passed to it as the offset of the beginning of the PDU.

In the heuristic GIOP dissector, if we're running over TCP, and accept
the packet, call "dissect_giop_tcp()" so that we handle multiple PDUs
within the segment or PDUs split across segments.

svn path=/trunk/; revision=15667
2005-09-02 08:19:15 +00:00
Anders Broman
ad5fab657d From Steve Karg
svn path=/trunk/; revision=15666
2005-09-02 05:49:25 +00:00
Anders Broman
3b949ac5a4 From ouli:
- Add version 2 CancelLocation decoding

svn path=/trunk/; revision=15665
2005-09-02 05:46:10 +00:00
Guy Harris
92e0e21362 Regenerate dissectors with the current asn2eth.
svn path=/trunk/; revision=15664
2005-09-02 05:43:49 +00:00
Anders Broman
b9c5fe14d6 It looks like there might not always be a body, check if there is.
svn path=/trunk/; revision=15663
2005-09-01 19:44:26 +00:00
Gerald Combs
d3d87f3c66 Normalize our hf_id checks and make sure our hf_ids are valid before we
try to use them.  This should fix bugs 399 and 401.

svn path=/trunk/; revision=15662
2005-09-01 19:35:23 +00:00
Anders Broman
d18a7233f9 Re-assemble GIOP over TCP.
svn path=/trunk/; revision=15661
2005-09-01 19:31:48 +00:00
Ronnie Sahlberg
b177f170eb convert to g_snprintf()
also make range_convert_range() return an emem allocated string


svn path=/trunk/; revision=15660
2005-09-01 19:05:00 +00:00
Guy Harris
0ab779b04c Get rid of a no-longer-used #define.
svn path=/trunk/; revision=15659
2005-09-01 18:03:02 +00:00
Guy Harris
802dc99d45 Use "proto_item_append_text()" rather than filling up an allocated
buffer.  This fixes one place where the "NLPID(s):" wasn't being put
into the protocol tree item.

svn path=/trunk/; revision=15658
2005-09-01 11:34:10 +00:00
Guy Harris
eb69db33c5 128 bytes isn't much room for the stack; revert to using an on-the-stack
buffer (the buffer in question is temporary, so it doesn't need to
survive after inet_ntop() returns), which should fix some compile errors
on Windows.

svn path=/trunk/; revision=15657
2005-09-01 11:32:14 +00:00
Tomas Kukosa
55d8c5cb79 filter expression can contain GUID in XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX form now
svn path=/trunk/; revision=15656
2005-09-01 10:52:33 +00:00
Guy Harris
471fa4924d Use "proto_tree_append_text()" rather than appending to an ep_alloced
buffer (that buffer wasn't getting cleared for each item).

svn path=/trunk/; revision=15655
2005-09-01 10:38:41 +00:00
Guy Harris
69ce025a0b Get rid of a trailing comma.
svn path=/trunk/; revision=15654
2005-09-01 09:56:23 +00:00
Ronnie Sahlberg
98ed9bee0a replace one sprintf with g_snprintf and move one array off the stack and into emem allocated memory
svn path=/trunk/; revision=15653
2005-09-01 09:40:55 +00:00
Ronnie Sahlberg
5521c10492 hmmm i though i removed some sprintf in the previous commit apparently not.
remove all sprintf and replace with g_snprintf()


svn path=/trunk/; revision=15652
2005-09-01 09:29:21 +00:00
Ronnie Sahlberg
55add7077f convert one sprintf into g_snprintf()
at the same time, make proto_construct_dfilter_string() return an emem allocated string.
This fixes a tiny memleak in print.c that never freed the string returned by this function.


svn path=/trunk/; revision=15651
2005-09-01 09:03:29 +00:00
Ronnie Sahlberg
494c071cfb replace one ifdeffed out sprintf with g_snprintf() so that it doesnt show up in a 'grep sprintf *.c' any more
svn path=/trunk/; revision=15650
2005-09-01 08:39:52 +00:00
Anders Broman
e7a63c196d Add Tomer Shani
svn path=/trunk/; revision=15649
2005-09-01 05:44:40 +00:00
Anders Broman
42637ec84b From Tomer Shani:
Patch which will enable saving payload in raw (binary) format in addition to the existing au format.

We have found it very useful to be able to extract the RTP data for use with other tools (especially when dealing with proprietary/uncommon coders).

Changes:

rtp_packet_save_payload: no longer transforms packet to linear coding, payload is saved in raw format 
copy_file: will perform the needed transcoding and save to needed format (au or raw)

svn path=/trunk/; revision=15648
2005-09-01 05:41:59 +00:00
Anders Broman
85c29a030d From Martin Mathieson
These small patches:

- add RTSP header 'RDTFeatureLevel  as a proper field
- show feature level in RDT stream setup info
- tidy up RDT info column text

svn path=/trunk/; revision=15647
2005-09-01 05:34:52 +00:00
Ulf Lamping
6fec98fa52 fix probable copy and paste error, as the xml dissector should be named xml and not mate
svn path=/trunk/; revision=15646
2005-08-31 23:52:40 +00:00
Gerald Combs
02b91e3978 If we set one or more time references and then changed the time display
format, our time-formatted columns would display a time value instead of
"*REF*".  Don't to that.

svn path=/trunk/; revision=15645
2005-08-31 21:38:08 +00:00
Anders Broman
18a57250b7 Parlay re-generated with the updated idl2eth generator.
svn path=/trunk/; revision=15644
2005-08-31 20:25:48 +00:00
Anders Broman
5dd3862875 Upadte to call Data dissector from PRES based on OID in Presentation Context,
based on the code in ACSE.

svn path=/trunk/; revision=15643
2005-08-31 20:20:56 +00:00