aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2005-11-08from Jaap Keuter:Ulf Lamping1-8/+18
Anyone having objections to idea of stopping the load of a capture file i.s.o. cancelling it? I'm refering to WishList Data I/O item #6. It seems a very reasonable idea and easy to implement. I've done some extensions: -Improve the corresponding comment on the implications why this is useful -added a new simple_dialog text to explain what's really going on (simply using the WTAP truncated packet message was a bit misleading) svn path=/trunk/; revision=16441
2005-11-08Move def of subid_t to format-oid.h don't include asn1.h in cops any more.Anders Broman3-32/+33
svn path=/trunk/; revision=16440
2005-11-08 start dissecting SMB2_FILE_INFO_12Ronnie Sahlberg1-1/+79
svn path=/trunk/; revision=16439
2005-11-08From Peter Kovar: Fix the typo referenced in bug 577.Gerald Combs1-1/+1
svn path=/trunk/; revision=16438
2005-11-08Fix a cut-and-pasteo.Gerald Combs1-1/+1
svn path=/trunk/; revision=16437
2005-11-08You don't tug on Superman's cape. You don't spit into the wind.Gerald Combs2-103/+111
You don't pull the mask off the old Lone Ranger, and you don't overflow a guint8. Fixes the infinite loop in bug 576. Fix up whitespace. Add an entry to the release notes. Apologies to Jim Croce. svn path=/trunk/; revision=16436
2005-11-08dissect some of GetInfo requests and RepliesRonnie Sahlberg1-1/+101
svn path=/trunk/; revision=16435
2005-11-08add a comment to keep the dissector in sync with the wikiRonnie Sahlberg1-2/+3
rename functions 0x10 and 0x11 to follow the names in the wiki svn path=/trunk/; revision=16434
2005-11-08add a pointer to the wiki for documentation of this protocolRonnie Sahlberg1-0/+3
svn path=/trunk/; revision=16433
2005-11-08 add dissection of the known parts of negotiate protocolRonnie Sahlberg1-1/+63
svn path=/trunk/; revision=16432
2005-11-08When using GCC, compile with -Wpointer-arith, to catch code that someGuy Harris1-1/+1
other C compilers can't handle. svn path=/trunk/; revision=16431
2005-11-07Use "proto_tree_add_item()", not "proto_tree_add_bytes()", if you'reGuy Harris1-7/+6
just supplying the result of "tvb_get_ptr()" with the same tvbuff, offset, and length as the byte array. Get rid of an unused variable. Set svn:keywords and svn:eol-style appropriately. svn path=/trunk/; revision=16430
2005-11-07Fix an ftsanity.py error.Gerald Combs1-1/+1
svn path=/trunk/; revision=16429
2005-11-07Fix bug 575, from Menno Andriesse:Gerald Combs1-51/+53
In two functions that call proto_tree_add_bytes I forgot the 'tvb_get_ptr' function, the argument was 'FALSE' instead. This gave a predictable 'NULL' pointer bug... Fix an ftsanity.py error. Fixup whitespace. svn path=/trunk/; revision=16428
2005-11-07begin dissecting the Find response packetRonnie Sahlberg1-2/+81
svn path=/trunk/; revision=16427
2005-11-07The return value of tvb_get_ptr() is a const ptr; assign it to a constGuy Harris1-7/+2
ptr. The answer to the question "??????????????????????????????????????????????????????????????????" is "No - the return value of tvb_get_ptr() is a reference, not an allocated copy, and it cannot be freed and doesn't need to be freed." svn path=/trunk/; revision=16426
2005-11-07dissect the treeconnect request packetRonnie Sahlberg1-4/+39
svn path=/trunk/; revision=16425
2005-11-07add request response matching so we can start passing info levels around ↵Ronnie Sahlberg1-10/+191
from request to response and start dissecting some of the commands svn path=/trunk/; revision=16424
2005-11-07The problem wasn't that <sys/stat.h> wasn't being included, the problemGuy Harris1-4/+0
was that file_util.h wasn't in the distribution tarball, so it couldn't be included - it handles including <sys/stat.h>. svn path=/trunk/; revision=16423
2005-11-07add file_util.h so distcheck might workUlf Lamping1-0/+1
svn path=/trunk/; revision=16422
2005-11-07Display MSW and LSW as NTP timestamp as well.Anders Broman1-3/+14
svn path=/trunk/; revision=16421
2005-11-07Dissect NSAPAnders Broman1-0/+3
svn path=/trunk/; revision=16420
2005-11-07Bug fix to dissection of NSAP E164 Country codesAnders Broman1-51/+68
svn path=/trunk/; revision=16419
2005-11-07Martin Hill has examined packet-dec-dnart.c and found some errors and made ↵Anders Broman1-467/+508
some improvements. svn path=/trunk/; revision=16418
2005-11-07From Stig BjørlykkeAnders Broman3-0/+583
A new dissector for P_Mul (ACP142) http://www.jcs.mil/j6/cceb/acps/Acp142.pdf svn path=/trunk/; revision=16417
2005-11-07You need <sys/stat.h>, if present, to use fstat().Guy Harris1-0/+4
svn path=/trunk/; revision=16416
2005-11-07The standard <dirent.h> routines to rewind and close a directory areGuy Harris1-13/+13
rewinddir() and closedir(). Clean up indentation. svn path=/trunk/; revision=16415
2005-11-07put the error code in col infoRonnie Sahlberg1-3/+9
svn path=/trunk/; revision=16414
2005-11-07smb2 updates, most of the header is now decoded properlyRonnie Sahlberg1-35/+91
svn path=/trunk/; revision=16413
2005-11-07Use eth_dir_open(), not g_dir_open(); g_dir_open() isn't available inGuy Harris2-3/+3
GLib 1.2[.x]. svn path=/trunk/; revision=16412
2005-11-07This is UN*X-only, so it doesn't need to use the eth_close() wrapper;Guy Harris1-2/+2
close() will be available. svn path=/trunk/; revision=16411
2005-11-07Use <wiretap/file_util.h> to include "file_util.h"; otherwise, theGuy Harris6-6/+10
include fails as we don't do -Iwiretap. If we have it, include <sys/stat.h> in epan/filesystem.c - we need it for stat() and the macros and structures it uses. svn path=/trunk/; revision=16410
2005-11-07If we're using libz, make file_open() construct the open() flagGuy Harris3-11/+40
argument, rather than requiring the caller to get the open() flag and the fopen() flag in sync. That also means that if we're *not* using libz, it can just be a wrapper around eth_fopen(). We need to include <fcntl.h>, at least on UN*X, to get open() declared and the O_ flags defined. svn path=/trunk/; revision=16409
2005-11-07Fix a typo.Guy Harris1-1/+1
svn path=/trunk/; revision=16408
2005-11-07Include <wiretap/file_util.h> to declare the eth_ routines.Guy Harris1-0/+1
svn path=/trunk/; revision=16407
2005-11-07as mkstemp makes trouble and is only used once in util.c, move definition ↵Ulf Lamping2-3/+9
from file_util.h to util.c for now this hopefully fixes the mkstemp problem svn path=/trunk/; revision=16406
2005-11-06Get rid of CRs and set svn:eol-style to native, so that Windows machinesGuy Harris1-127/+127
get the CRs and UN*X machines don't. Also set svn:keywords to Id to expand RCS IDs. svn path=/trunk/; revision=16405
2005-11-06Obviously, <glib/gstdio.h> is available since GLib version 2.6 only ...Ulf Lamping1-1/+1
svn path=/trunk/; revision=16404
2005-11-06replace *a lot* of file related calls by their GLib counterparts. This is ↵Ulf Lamping50-422/+412
necessary for the switch to GTK 2.6 (at least on WIN32). to do this, I've added file_util.h to wiretap (would file_compat.h be a better name?), and provide compat_macros like eth_open() instead of open(). While at it, move other file related things there, like #include <io.h>, definition of O_BINARY and alike, so it's all in one place. deleted related things from config.h.win32 As of these massive changes, I'm almost certain that this will break the Unix build. I'll keep an eye on the buildbot so hopefully everything is working again soon. svn path=/trunk/; revision=16403
2005-11-06dissect some of the session setup and the security blob for smb2Ronnie Sahlberg1-2/+376
svn path=/trunk/; revision=16402
2005-11-06dissect the smb2 request/response flagRonnie Sahlberg1-5/+26
svn path=/trunk/; revision=16401
2005-11-06dissect the smb2 tree idRonnie Sahlberg1-0/+12
svn path=/trunk/; revision=16400
2005-11-06some smb2 updatesRonnie Sahlberg1-1/+308
svn path=/trunk/; revision=16399
2005-11-06add an empty dissector for SMB2Ronnie Sahlberg2-0/+111
svn path=/trunk/; revision=16398
2005-11-05Packet-amr Register as "AMR" not "amr".Anders Broman4-3/+68
Add Dynamic PT:s mimestring to rtp_info if avalable. Use Dynamic PT:s mime string to find clock rate. svn path=/trunk/; revision=16397
2005-11-05get rid of some strcatRonnie Sahlberg1-6/+5
svn path=/trunk/; revision=16396
2005-11-05get rid of an array and dissect a bitmask properlyRonnie Sahlberg1-48/+132
get rid of some strcat()s svn path=/trunk/; revision=16395
2005-11-05remove an array and some strcat from ncpRonnie Sahlberg1-33/+29
svn path=/trunk/; revision=16394
2005-11-04remove an array and the remaining strcat from ospfRonnie Sahlberg1-35/+68
svn path=/trunk/; revision=16393
2005-11-04get rid of some strcat and a stackbased arrayRonnie Sahlberg1-41/+106
svn path=/trunk/; revision=16392