Commit graph

17624 commits

Author SHA1 Message Date
Guy Harris
09eeb3902c Add distclean and maintainerclean rules.
svn path=/trunk/; revision=17998
2006-04-25 18:35:15 +00:00
Guy Harris
2c091d5bba Add the usual Makefile.nmake comment.
Change "cd.." to "cd .." - I don't know whether they're equivalent, but,
if they're not, the former probably won't work.

svn path=/trunk/; revision=17997
2006-04-25 18:34:09 +00:00
Guy Harris
134c7734b3 Check several sets of additional libraries that libpcap might need
(-lcfg -lodm on AIX with the current tcpdump.org libpcap, -lpfring with
the ring buffer stuff on Linux).

svn path=/trunk/; revision=17996
2006-04-25 18:01:43 +00:00
Jörg Mayer
21ec14f314 Add a URL
svn path=/trunk/; revision=17995
2006-04-25 13:41:05 +00:00
Jörg Mayer
6b70d6d9f8 Update from samba tree revision 14805 to 15243
============================ Samba log start ============
svn: When specifying working copy paths, only one target may be given
============================ Samba log end ==============


svn path=/trunk/; revision=17994
2006-04-25 13:40:04 +00:00
Guy Harris
e198ded297 Include non-dissector support files in the source.
svn path=/trunk/; revision=17992
2006-04-25 08:22:55 +00:00
Ronnie Sahlberg
2f08653337 rename some value_Strings from ..._val to ..._vals
svn path=/trunk/; revision=17991
2006-04-25 01:42:35 +00:00
Ulf Lamping
8ff5e909bb WinPcap 3.2 beta 1 (3, 2, 0, 29) seems to be working with the packet.dll, so don't warn the user about it
svn path=/trunk/; revision=17990
2006-04-25 01:22:05 +00:00
Ulf Lamping
333633806c fix win32 build:
scsi_mmc_val					DATA
scsi_sbc2_val					DATA
scsi_ssc2_val					DATA

BTW: these values should be renamed to ..._vals as in every other dissector I know!

svn path=/trunk/; revision=17989
2006-04-25 01:00:16 +00:00
Ulf Lamping
3333c5e35d various changes:
mention informational URLs at the beginning and not at each element
replace some // by /**/
start to decode the informational elements in the BSSID list
add a privacy tab to the BSSID list (None, WEP, WPA, WPA2)
various minor label changes

svn path=/trunk/; revision=17988
2006-04-25 00:25:41 +00:00
Ulf Lamping
b02c428877 bugifx (should be copied to the 1.0 trunk): don't crash, if the interface hardware in question was removed since the list of interfaces was generated (NULL pointer returned from wpcap_packet_open() caused a crash)
svn path=/trunk/; revision=17987
2006-04-25 00:18:06 +00:00
Ulf Lamping
c2d7e088f3 copy input data into the buffer given to PacketRequest(), so functions with input parameters will also work
svn path=/trunk/; revision=17986
2006-04-25 00:12:43 +00:00
Ronnie Sahlberg
480e7e2db1 remove a debugging printf
svn path=/trunk/; revision=17985
2006-04-24 23:24:27 +00:00
Ronnie Sahlberg
c8cc76e2e2 SCSI Service Response Time Staistics
svn path=/trunk/; revision=17984
2006-04-24 23:09:34 +00:00
Jaap Keuter
5f7493586b Column list pointer became invalid when element was removed from list. Fixes bug 886.
svn path=/trunk/; revision=17983
2006-04-24 21:27:12 +00:00
Anders Broman
75b44d4de7 Preparations to include ANSI ISUP dissection.
svn path=/trunk/; revision=17981
2006-04-24 19:11:33 +00:00
Anders Broman
6b33d50f90 From Miha Jemec:
With the new feature we can: 
1. Measure how big the bursts are for a video streams (it uses sliding window algorithm) 2. Measure how big the output buffer should be that no packet drop will occur (it uses Leaky bucket algorithm) 
3. Detect if we have loses inside the MPEG2 video stream (if there are already MPEG2 packets missing) - this part of code is not added yet, see Limitations

The addition is called Multicast streams and works as follows:

- it uses the TAP system
- the main "stream" logic is taken from rtp_strems.* files
- the TAP system checks for UDP packets where the destination MAC address starts with "01:00:5E" (ethernet multicast address)
- it creates an entry for every new multicast stream
- based on sliding window and leaky bucket algorithm it calculates for every stream average BW, max BW, burst size, max buffer needed, some alarms if the limits are exceeded,...
- the same calculation is done for all streams together
- inside the window dialog you can specify the burst interval, the alarm limits and output speeds

To do & limitations:

- Currently the analysis can be done only for multicast streams, it means that VoD (Video on demand) or PayTV streams, which are normally unicast can not be analysed. 

- since the MPEG2 is patended I don't know if decoding of MPEG2 packets is allowed? Can we look inside this packets and calculate packets drops based on some counter information inside the payload? Can someone please answer this question? If we can do this, I will post this part of code too.

-  some more flexibility will be added

svn path=/trunk/; revision=17980
2006-04-24 19:10:36 +00:00
Anders Broman
de3b8195c5 From Martin Mathieson:
This patch should hopefully remove any possible buffer overflows in 
parse_line() as reported by the current Coverity scan.  I'm not sure 
that the error it currently reports is valid (I think its confused by 
supposing that a condition that is being tested can be true, whereas it 
can't...), but this patch fixes a number of potential problems remaining 
in the function.

svn path=/trunk/; revision=17979
2006-04-24 19:08:52 +00:00
Jörg Mayer
f1b4e85ee4 Make some /******...*/ lines less wide: They make svn-diffs on the web page
unreadable unless you have a 2000xsomething display.


svn path=/trunk/; revision=17978
2006-04-24 16:43:22 +00:00
Ronnie Sahlberg
acbaf3fe1f change the signature for dissect_scsi_snsinfo() to take itlq and itl structures
update the comment in packet-scsi.c   to reflect that it is the transport now that is responsible to track itl and itlq data

make scsi tapable

svn path=/trunk/; revision=17974
2006-04-24 08:16:18 +00:00
Guy Harris
47bb33f1cb Use 2-space indentation.
Clean up the checks for STP vs. RSTP vs. MSTP.

Show the version 3 length field as a separate field, rather than as the
top-level item for the MSTP stuff.

"Trust" the version 3 length field, so that if it doesn't agree with the
packet length, we report a malformed frame (as we should).

svn path=/trunk/; revision=17973
2006-04-24 05:04:30 +00:00
Guy Harris
45f4f65ba5 Use proto_tree_add_item() whenever possible; this simplifies the code,
and, in particular, means we don't, for example, use tvb_get_ntohs() to
fetch a 4-byte quantity - that fixes bug 883.

The MST config name is either null-terminated or null-padded; mark it as
such.

svn path=/trunk/; revision=17972
2006-04-23 20:14:33 +00:00
Guy Harris
1fda855c07 Export tvb_uncompress to plugins; fixes bug 893.
svn path=/trunk/; revision=17971
2006-04-23 19:13:48 +00:00
Guy Harris
ac4738698f Try using the new generic plugin Makefile.nmake.
svn path=/trunk/; revision=17970
2006-04-23 18:54:32 +00:00
Guy Harris
9b639bacaa From Diego Petteno: link the shared libethereal against the ADNS
library.  If that's not done, it leaves to ethereal or other binaries
using it the job of linking adns within them.  This behaviour is
unreliable and breaks when using the --as-needed flag for GNU ld
(version 2.16 or better 2.17).

svn path=/trunk/; revision=17969
2006-04-23 18:50:58 +00:00
Anders Broman
8dd0e70722 Fix CID: 150
svn path=/trunk/; revision=17968
2006-04-23 18:05:23 +00:00
Guy Harris
44028fcc04 Use the PLUGIN_NAME macro, to see if we can minimize the number of
changes needed to Makefile.nmake for a new plugin.

svn path=/trunk/; revision=17967
2006-04-23 17:45:22 +00:00
Guy Harris
7bd22c75c1 "irda", not "ira".
svn path=/trunk/; revision=17966
2006-04-23 09:13:18 +00:00
Guy Harris
5e49264181 Resolve conflicts.
svn path=/trunk/; revision=17965
2006-04-23 08:23:49 +00:00
Guy Harris
77d66dd3d0 Registration routines can't be static - they're called from plugin.c
svn path=/trunk/; revision=17964
2006-04-23 03:15:51 +00:00
Guy Harris
c0ab4fac46 Add the objects built from DISSECTOR_SUPPORT_SRC.
svn path=/trunk/; revision=17963
2006-04-23 02:14:11 +00:00
Ulf Lamping
9f05b7368f add various OID's and a value_string for all of them
add output of some MAC_OPTIONS fields
enhance some 802.11 output labels

svn path=/trunk/; revision=17962
2006-04-22 20:34:14 +00:00
Guy Harris
5199671441 Convert most other plugin dissectors to use the make-dissector-reg
scripts.

svn path=/trunk/; revision=17961
2006-04-22 20:26:16 +00:00
Ulf Lamping
ec5efe7370 as I've experienced a scrollbar again while having 7 interfaces, I've tried to add the number of interfaces to the height formula to fix this
svn path=/trunk/; revision=17960
2006-04-22 20:16:47 +00:00
Ulf Lamping
6ee4c7c720 the "Generic dialup adapter" interface doesn't support any OID's at all, extend the tab insensitive mechanism to all tabs
svn path=/trunk/; revision=17959
2006-04-22 13:44:11 +00:00
Ulf Lamping
bc8e67a7f1 add a new tab with TCP/IP offloading capabilities
add some debug functions to show available OID's
clarify some 802.11 item labels

svn path=/trunk/; revision=17958
2006-04-22 13:21:39 +00:00
Ronnie Sahlberg
72adb19810 put some exchange tracking info in scsi CDBs and DATA pdus
svn path=/trunk/; revision=17957
2006-04-22 10:31:30 +00:00
Ronnie Sahlberg
e09c0cde8c add the spc commands to the mmc tables
svn path=/trunk/; revision=17956
2006-04-22 10:15:00 +00:00
Ronnie Sahlberg
351b882cbb add the spc commands to the smc and ssc tables
svn path=/trunk/; revision=17955
2006-04-22 10:00:05 +00:00
Ronnie Sahlberg
4e4e2f2406 add all supported SPC commands used by SBC to the SBC tables
svn path=/trunk/; revision=17954
2006-04-22 09:23:52 +00:00
Ronnie Sahlberg
a0f84a5726 start prettifying the dissection
make scsi responses also display the opcode in the info column


svn path=/trunk/; revision=17953
2006-04-22 04:42:07 +00:00
Ronnie Sahlberg
e776696d14 the scsi transports (fc/fcp and iscsi) now track both itl and itlq
structures for scsi.

we no longer need the scsi_task_id structure passed by pinfo->private_data   so get rid of it.

we no longer need the (broken by design) scsi_task_data   hash table   since this has been replaced byt hte itl and itlq structures and tracking




svn path=/trunk/; revision=17952
2006-04-22 02:16:52 +00:00
Ulf Lamping
3cd547dc0a change the HHC setting to HHC_DIR, so we can use it also to call the HtmlHelp function
svn path=/trunk/; revision=17951
2006-04-21 22:47:19 +00:00
Ulf Lamping
e291c857cd prepare to list the IP addresses in the command line interfaces list output
svn path=/trunk/; revision=17950
2006-04-21 22:40:33 +00:00
Ronnie Sahlberg
73e65216bc remover the lun parameter from dissect_scsi_cdb/payload since this is now part of the exchange data in itlq
remove the two fields opcode and devtype from the scsi_task_data structure since these are also part of the itlq and itl structures



svn path=/trunk/; revision=17949
2006-04-21 22:00:38 +00:00
Ulf Lamping
af78f19109 slightly rephrase the time zone chapter
svn path=/trunk/; revision=17948
2006-04-21 21:09:09 +00:00
Anders Broman
aa6ce770d0 From Jeff Morris:
I tried out the 0.99.0pre1 release and I noticed that all my SCCP management messages (on SSN==1) were getting decoded as TCAP.  Turns out that the INAP dissector (due to a bug) registers to SSN==1 by default (instead of 106 and 241).  Rather than just fix that bug, the attached patch modifies the INAP dissector to use a range preference (like GSM MAP, TCAP, etc.).


svn path=/trunk/; revision=17945
2006-04-21 18:11:20 +00:00
Michael Tüxen
e0e4f2d532 From Irene: Fix a bug when searching for an assoc.
svn path=/trunk/; revision=17944
2006-04-21 15:48:43 +00:00
Jaap Keuter
65ab879c00 From Chris Maynard:
Using the attached patch, this file was generated via "File -> Export -> as XML
- "PDML" (packet details) file ...".  As can be seen in the file, the 1st
packet now contains the value for the "media", whereas previously it did not.

svn path=/trunk/; revision=17943
2006-04-21 15:10:27 +00:00
Ronnie Sahlberg
60e65f4869 updates to get the fc and scsi dissectors
and get rid of some breakage in the design


let the scsi transport keep track of itl (initiator, target, lun) matching
and let it pass a itl structure to scsi   that is persistent across packets.

let scsi use this itl structure to track device type for a specific itl instead of the (must have been) broken hashtable.

update both iscsi and fc to track the itl structure for scsi and schange the scsi signature to accept itl as a parameter.


more to come.



svn path=/trunk/; revision=17942
2006-04-21 11:08:24 +00:00