Commit Graph

14814 Commits

Author SHA1 Message Date
Ronnie Sahlberg 34c10c4c7e packet_ber has for some time been doing sanity checking of the BER Length fields
that they are not longer than the reported length of the tvb.

this triggers some bugs since in packet-ber we are a bit too lax in setting reported_length of the tvb_new_subset() tvb.

this cause short kerberos packets to not be decoded at all and the same for other short asn based packets as well.


fix some of these instances.


svn path=/trunk/; revision=15127
2005-07-28 08:18:18 +00:00
Jörg Mayer 34493e8f9e char -> const char warning fixes
svn path=/trunk/; revision=15126
2005-07-28 07:53:38 +00:00
Jörg Mayer f5b39c3ef9 Warning fixes
svn path=/trunk/; revision=15125
2005-07-28 07:51:52 +00:00
Jörg Mayer 366fa1b75e Updated Ankur Aggarwal's entry
svn path=/trunk/; revision=15124
2005-07-28 07:50:31 +00:00
Jörg Mayer a57b6c206a Add Extreme stuff
svn path=/trunk/; revision=15123
2005-07-28 07:49:55 +00:00
Guy Harris 3607e8299d Squelch another qualifier warning.
svn path=/trunk/; revision=15122
2005-07-27 18:38:35 +00:00
Jörg Mayer af5a9d1845 As Guy mentioned: last patch replaced one occurrence too many,
thus the dictionary keyword encrypt was changed from encrypt
to encrypted too. Undo this.

svn path=/trunk/; revision=15121
2005-07-27 18:15:07 +00:00
Jörg Mayer 575c75e5c1 The variable encrypt collides with the declaration in <unistd.h> on
some platforms. Rename encrypt to encrypted.

svn path=/trunk/; revision=15120
2005-07-27 17:52:51 +00:00
Gerald Combs fcd6156423 Move preference initialization to its own routine and make sure it gets run
when we pass "-G defaultprefs" on the command line.

svn path=/trunk/; revision=15119
2005-07-27 16:25:44 +00:00
Jörg Mayer 1fbacc90d3 Revert my previous patch - something else was seriously screwed up
svn path=/trunk/; revision=15118
2005-07-27 16:05:41 +00:00
Jörg Mayer 1a3afc844f gcc-4.0 (GCC) 4.0.2 20050720 (prerelease) (SUSE Linux)
fails when trying to use varargs. Due to a missing include
config.h we were using varargs with proto.h


svn path=/trunk/; revision=15117
2005-07-27 15:08:22 +00:00
Jörg Mayer e46478848e The latest patch used the fields
hf_qos_buf_ac, hf_qos_buf_load and hf_qos_buf_state
but failed to add them to the hf_ array. Commented out their
use for now.

svn path=/trunk/; revision=15116
2005-07-27 13:10:57 +00:00
Jörg Mayer f841f266ec Ankur Aggarwal:
IEEE 802.11 QoS decoding


svn path=/trunk/; revision=15115
2005-07-27 08:28:27 +00:00
Jörg Mayer b8d33c4add Fix >2600 warnings by doing char -> const char changes.
Additionally in dissectors/packet-ansi_map.c:
        Flag unused parameters as such and remove dummy
        param = param;
        statements.

svn path=/trunk/; revision=15114
2005-07-27 07:57:01 +00:00
Luis Ontanon 440cf5767f fix another leak of tap data
svn path=/trunk/; revision=15113
2005-07-27 01:32:31 +00:00
Guy Harris e20115b59d There aren't any clists here, and the clist arrows aren't used.
svn path=/trunk/; revision=15112
2005-07-27 01:13:28 +00:00
Guy Harris d05a356383 Squelch another const warning.
svn path=/trunk/; revision=15111
2005-07-27 01:12:44 +00:00
Guy Harris 9b56028ade *Removing* an include is usally not the right way of removing warnings;
if some function takes, for example, a "char *" as an argument, but
you're passing it an "unsigned char *", you don't squelch the warning by
removing the include of the header that declares that function (you then
get warnings about the function not being declared, at least with some
compilers), you put in a cast (if the signedness doesn't matter) or
arrange that you pass a "char *".

svn path=/trunk/; revision=15110
2005-07-27 01:02:03 +00:00
Luis Ontanon 10844226cf Remove two warnings
svn path=/trunk/; revision=15109
2005-07-27 00:45:02 +00:00
Anders Broman bfdffc2c80 Rewrite of MAP_dialouge asn1 code, export and use of functions from gsm_map.
svn path=/trunk/; revision=15106
2005-07-26 20:42:07 +00:00
Anders Broman 885eb43326 Upade asn code for map_dialouge and use some functions from gsm_map.
svn path=/trunk/; revision=15105
2005-07-26 20:34:55 +00:00
Anders Broman 6cec8a40c2 Export
AddressString
ExtensionContainer
SecurityHeader
ProtectedPayload
To be used by MAP_dialouge

svn path=/trunk/; revision=15104
2005-07-26 20:04:16 +00:00
Gerald Combs a6f477b7c7 More updates.
svn path=/trunk/; revision=15102
2005-07-26 19:18:50 +00:00
Gerald Combs 681825d9e9 Fixes from Gisle Vanem.
svn path=/trunk/; revision=15101
2005-07-26 19:11:31 +00:00
Luis Ontanon c5688891a1 new functions:
ep_tvb_memdup()
ep_alloc0()
ep_strsplit()

add all of the ep_ allocators to libethereal.def

svn path=/trunk/; revision=15100
2005-07-26 18:32:12 +00:00
Gerald Combs da94bcb0e7 Build randpkt by default.
svn path=/trunk/; revision=15099
2005-07-26 18:28:01 +00:00
Ulf Lamping c400dda92f fix: duplicate section id's not allowed
svn path=/trunk/; revision=15098
2005-07-26 18:21:25 +00:00
Luis Ontanon dc7197e30e do not try to free the isup tap data.
svn path=/trunk/; revision=15097
2005-07-26 18:19:11 +00:00
Ulf Lamping fb1a52e028 fix from previous check in, set compression back to on :-(
svn path=/trunk/; revision=15096
2005-07-26 18:17:09 +00:00
Ulf Lamping 03fb862945 add "BadOutOfService" quality code
svn path=/trunk/; revision=15095
2005-07-26 18:02:42 +00:00
Ulf Lamping 4dd56e1dd2 the user's guide are describing 0.10.12 already, bump up version
update the Windows installation section to reflect the current installer changes

svn path=/trunk/; revision=15094
2005-07-26 18:01:25 +00:00
Ulf Lamping 3d0e2f6464 fix detection of old/new WinPcap version, so WinPcap get's only installed by default if the user has a version lower than the delivered 3.1 beta 4
fix statistics tree caption

svn path=/trunk/; revision=15093
2005-07-26 17:58:17 +00:00
Gerald Combs db5add1cc3 From Brice Augustin: Use the correct packet length in randpkt.
Build randpkt.exe by default under Windows.

svn path=/trunk/; revision=15092
2005-07-26 16:54:08 +00:00
Gerald Combs a64a4043c3 Revert back to GTK-Wimp 0.6.2. Move to WinPcap 3.1beta4.
svn path=/trunk/; revision=15091
2005-07-26 16:44:57 +00:00
Gerald Combs 90a1127ba1 Minor changes/updates.
svn path=/trunk/; revision=15090
2005-07-26 16:43:48 +00:00
Gerald Combs de2803bc52 Don't add a new data source if we don't have any data.
svn path=/trunk/; revision=15089
2005-07-26 15:59:54 +00:00
Gerald Combs 4ba7a9a429 In print_hex_data(), bail out early if our length is zero.
svn path=/trunk/; revision=15088
2005-07-26 15:28:39 +00:00
Ronnie Sahlberg 9ed0d80bfc add iFCP ELS UNBIND dissection
svn path=/trunk/; revision=15087
2005-07-26 10:01:42 +00:00
Anders Broman 40c841279f rom Maynard, Chris :
The attached patches, generated via  svn diff , correct various compiler 

& lint warnings, among them: 

 

lemon.c(2582) : warning C4090: '=' : different 'const' qualifiers


svn path=/trunk/; revision=15086
2005-07-26 09:52:50 +00:00
Anders Broman 9c99a261f0 From Maynard, Chris :
The attached patches, generated via  svn diff , correct various compiler 

& lint warnings, among them: 

 

lemon.c(2582) : warning C4090: '=' : different 'const' qualifiers

packet-ber.c(212) : warning C4018: '<=' : signed/unsigned mismatch

packet-ber.c(228) : warning C4018: '>=' : signed/unsigned mismatch

packet-bootp.c(2112) : warning C4018: '<' : signed/unsigned mismatch

packet-iscsi.c(801) : warning C4018: '>=' : signed/unsigned mismatch


svn path=/trunk/; revision=15085
2005-07-26 09:52:06 +00:00
Anders Broman d410c9ed54 From Peter Johansson:
The supplied patch takes care of the following compilation warnings:

editcap.c(273) : warning C4013: 'getpid' undefined; assuming extern 
returning int
editcap.c(464) : warning C4018: '<' : signed/unsigned mismatch


svn path=/trunk/; revision=15084
2005-07-26 09:34:49 +00:00
Anders Broman 5e241d8a7c From Peter Johansson:
The supplied patch takes care of the following compilation warnings:

getopt.c(409) : warning C4013: 'strcmp' undefined; assuming extern 
returning int
getopt.c(478) : warning C4013: 'strncmp' undefined; assuming extern 
returning int
getopt.c(480) : warning C4013: 'strlen' undefined; assuming extern 
returning int

svn path=/trunk/; revision=15083
2005-07-26 09:31:04 +00:00
Anders Broman fbb92df9f4 Get rid of an unused variable.
svn path=/trunk/; revision=15082
2005-07-26 09:25:46 +00:00
Anders Broman 7e6e7b8b01 From Hannes Gredler:
a patch that adds support for
dissecting packets captured on ML-, LS- and AS PICs
using Multi-link PPP encapsulation,
running JUNOS 7.3 or higher;

additional there i did some clean-up in the
juniper dissector that makes future addition
of JUNIPER_DLTs easier;

svn path=/trunk/; revision=15081
2005-07-26 08:59:32 +00:00
Ronnie Sahlberg 6165bb328f add decoding of ELS iFCP CBIND packets
svn path=/trunk/; revision=15080
2005-07-26 08:47:46 +00:00
Jörg Mayer 7949c7f31c char -> const char warning fixes
svn path=/trunk/; revision=15079
2005-07-26 08:01:16 +00:00
Ronnie Sahlberg 0e9e556e5a From fred hoekstra
New protocol: DEC DNA Routing protocol


svn path=/trunk/; revision=15078
2005-07-26 01:18:25 +00:00
Ronnie Sahlberg 8649034312 more news
SecureLDAP and GSS-KRB encrypted DCE/RPC decryption support.

TCP Sequence graphs is now tappified.


svn path=/trunk/; revision=15077
2005-07-26 01:08:12 +00:00
Ronnie Sahlberg 3e8894dd23 iFCP uses one dedicated TCP session per fc-endpoint pair.
The FC D_id and S_id fields in teh FC frame encapsulated inside iFCP unfortunately has "undefined" (semi-random) values    so we can not use th S_/D_id matching in FC when transported atop iFCP.


Change iFCP to call a new  fc_ifcp handler instead of the fc handler.

Add a new handler to FC specific to iFCP. 
Only set the pinfo->src/dst fields to the S_id/D_id fields IFF the FC frame was NOT transported ontop of iFCP.
Othervise  we just use the TCP/IP values that are already stored there.

Some Hosts use RelativeOffset fields for FC.  We can only dissect the RelOff field with offset 0.
Change FC to only call the FCP subdissector if offset==0  when relative offsets are used.


Some hosts when using relative offsets  do not specify a proper value for rxid in teh commands instead htey lkeave it as 0xffff
Change the FCP conversation matching to ignore RXID when searching for a conversation.



svn path=/trunk/; revision=15076
2005-07-26 00:54:16 +00:00
Luis Ontanon 60ae91aa5e Avoid leaking tap info by using emem allocators
svn path=/trunk/; revision=15075
2005-07-25 23:54:02 +00:00