aboutsummaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2004-06-26From Tomas Kukosa: small fix for ASN2ETH compiler concerning creation ofGuy Harris1-18/+22
export conformance file. svn path=/trunk/; revision=11246
2004-06-24from tomas kRonnie Sahlberg1-66/+188
updates to the asn2eth compiler and a new regenerated h235 dissector svn path=/trunk/; revision=11231
2004-06-24from Tomas KRonnie Sahlberg1-92/+372
updates to the asn2eth per/ber compiler svn path=/trunk/; revision=11223
2004-06-12update asn1 compiler to (hopefully) handle BER SET OF constructsRonnie Sahlberg1-3/+8
svn path=/trunk/; revision=11141
2004-06-12Parameter 8 to dissect_ber_bistring() is the ett_ variable (or -1) and notRonnie Sahlberg1-3/+3
a NULL **proto_tree pointer. Set the ett variable to always be -1 for the time being svn path=/trunk/; revision=11140
2004-06-12From Tomas Kukosa updates to the ASN1 compilerRonnie Sahlberg1-5/+12
Change doc string to not specificly state it is for PER Temporary/Partial fix for the tag of impoerted types. svn path=/trunk/; revision=11139
2004-06-07update to the asn1 compiler.Ronnie Sahlberg1-6/+1
Do not output the value definitions for enumerated integers twice. the c compiler doesnt like when the same symbol is declared twice. svn path=/trunk/; revision=11124
2004-06-04Tomas updates to H235 and the ASN2ETH compilerRonnie Sahlberg1-13/+25
svn path=/trunk/; revision=11104
2004-06-04As Mark Corley pointed out, win32-setup.sh should be part of the distribution.Gerald Combs1-7/+8
svn path=/trunk/; revision=11102
2004-06-03From Tomas Kukosa:Guy Harris1-119/+170
- limits for dissect_per_constrained_integer() are passed as unsigned if possible - new directive NO_EMIT in conformation file - avoids emitting function body (or vals or both) into packet-xxxx-fn.c file - new directive USER_DEFINED in conformation file - emitting of function body (or vals or both) in the packet-xxxx-fn.c file is replaced with external declaration - support for SET OF type for BER - flag WITH_VALS is default for EXPORTS, USER_DEFINED, NO_EMIT directives - the _U_ attribute is used for pinfo parameters - the offset parameters and return codes are changed from guint32 to int svn path=/trunk/; revision=11088
2004-05-25The function pointer in a "per_choice_t" or a "per_sequence_t" is to aGuy Harris1-3/+3
function that returns "int", not "guint32"; define those functions to return "int". svn path=/trunk/; revision=10999
2004-05-25Replace some Windows dash/hyphen character with a "-" in some comments.Guy Harris1-5/+8
Make the header files declare the "value_string" arrays as "extern", so as to prevent problems on some platforms when building a shared libethereal. Note that, at least currently, we have separate "PER_NOT_DECODED_YET()" and "BER_NOT_DECODED_YET()" macros, rather than a common "NOT_DECODED_YET()" macro. svn path=/trunk/; revision=10996
2004-05-24From Tomas KukosaRonnie Sahlberg3-0/+6129
ASN2ETH compiler and support script for lexical and syntactic analysis. Will later be used for all those ASN.1 protocols we havent implemented yet svn path=/trunk/; revision=10983
2004-05-01minor changesUlf Lamping1-1/+2
svn path=/trunk/; revision=10749
2004-04-26Some of the DLLs from the developer ZIP archives don't have the executable bitOlivier Biot1-0/+8
set. As a result, tethereal cannot run for the generation of the protocol field list for the ethereal-filter documentation. Fix this issue when unpacking the ddeveloper ZIP archives. svn path=/trunk/; revision=10711
2004-04-25Add code for HTTP proxy detection based on the http_proxy shell variable.Olivier Biot1-7/+14
Fix the tests with string equal empty_string: "$str" == "" is either "$str" = "" or -z "$str" svn path=/trunk/; revision=10703
2004-04-25Add support for flex 2.5.31.Gilbert Ramirez1-1/+17
svn path=/trunk/; revision=10684
2004-04-09Modify the "setup" target to download the packages we've defined, so that weGerald Combs1-2/+7
don't download the GTK2 packages unless we have GTK2_DIR defined. Fix some path checking in win32-setup.sh. svn path=/trunk/; revision=10577
2004-04-08Add a Makefile.nmake target called "setup" that uses the scriptGerald Combs1-0/+61
tools\win32-setup.sh to - Check for applications required to build Ethereal - Download and unpack required packages into $ETHEREAL_LIBS Update ADNS to the latest version. Make Python 2.3 the default. svn path=/trunk/; revision=10567
2004-02-22If the LHS is a STRING or UNPARSED string, and the RHS is a FIELD,Gilbert Ramirez1-2/+23
then make sure that the FIELD can participate in the relation that is expressed in the display filter. Note that tvbuff's *should* be able to participate in == comparisons, etc., but those functions need to be added to ftype-tvbuff.c first. svn path=/trunk/; revision=10175
2004-01-25Fix a warning by using a function typedefJörg Mayer1-5/+9
svn path=/trunk/; revision=9834
2004-01-18Fix some of the warnings when compiling with -Wstrict-prototypesJörg Mayer1-4/+2
svn path=/trunk/; revision=9720
2003-12-29Give it an RCS ID and copyright notice.Guy Harris1-0/+23
svn path=/trunk/; revision=9481
2003-12-29Add a missing backslash for the EXTRA_DIST files.Gilbert Ramirez1-1/+1
svn path=/trunk/; revision=9477
2003-12-21removed some MSVC warnings (added type casts)Ulf Lamping1-3/+6
svn path=/trunk/; revision=9371
2003-12-09-Tpdml and -Tps force -V. Thus, -V is no longer required when using -Tpdml.Gilbert Ramirez1-1/+1
Eventually, -Tps will not force -V, and will print summaries when -V is not selected. However, work still has to be done there. svn path=/trunk/; revision=9218
2003-12-06Add the ability to print packet dissections in PDML (an XML-based format)Gilbert Ramirez3-0/+602
to tethereal. It could be added to Ethereal, but the GUI changes to allow the user to select PDML as a print format have not been added. Provide a python module (EtherealXML.py) to help parse PDML. Provide a sample app (msnchat) which uses tethereal and EtherealXML.py to reconstruct MSN Chat sessions from packet capture files. It produces a nice HTML report of the chat sessions. Document tethereal's PDML and EtherealXML.py usage in doc/README.xml-output Update tethereal's manpage to reflect the new [-T pdml|ps|text] option svn path=/trunk/; revision=9180
2003-10-13From Ulf Lamping: add some missing "cd .."s. (I guess the currentGuy Harris1-1/+3
directory in nmake files persists across targets; presumably all commands, or, at least, all "cd" commands, are run in the same process.) svn path=/trunk/; revision=8682
2003-10-10Give every Makefile.nmake file a "distclean" rule, and have "distclean"Guy Harris2-3/+7
recurse into subdirectories doing "nmake -f Makefile.nmake distclean". Have "nmake -f Makefile.nmake clean" not remove stuff that "make clean" doesn't remove (such as Flex/Bison output and config.h files) - and have "nmake -f Makefile.nmake distclean" remove stuff that "make distclean" removes, including "tethereal-tap-register.c" and "ethereal-tap-register.c". svn path=/trunk/; revision=8672
2003-08-27Add a "contains" operator for byte-strings, strings, and tvbuffs (protocols).Gilbert Ramirez1-1/+74
The search uses a naive approach; more work is required to add a Boyer-Moore Search algorithm. svn path=/trunk/; revision=8280
2003-07-25Add to the fundamental types passed between the scanner and the parser.Gilbert Ramirez1-23/+90
Besides "STRING", there is now "UNPARSED_STRING", where the distinction is that "STRING" was a double-quoted string and "UNPARSED_STRING" is just a sequence of characters that the scanner didn't know how to scan/parse, so it's up to the Ftype to parse it. This gives us more flexibility and prepares the dfilter parsing engine for the upcoming addition of the "contains" operator. In the process of doing this, I also re-did the double-quoted string support in the scanner, so that instead of the naively-simple support we used to have, double-quoted strings now can have embedded dobule-quotes, embedded octal sequences, and embedded hexadecimal sequences: "\"" embedded double-quote "\110" embedded octal "\x48" embedded hex Enhance the dfilter unit test script to be able to run a single collection of tests instead of having to run all of them all the time. svn path=/trunk/; revision=8083
2003-07-09Script to unit-test ftype functions via dfilters passed to tethereal.Gilbert Ramirez1-0/+1224
Uses text2pcap to create pcap trace files from hex-dumps embedded in the test script. svn path=/trunk/; revision=7996
2003-06-11Handle diff lines that look like "Binary files".Gilbert Ramirez1-1/+5
svn path=/trunk/; revision=7841
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer2-33/+33
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
2002-05-04From Joerg Mayer: mark possibly-unused arguments as unused.Guy Harris1-4/+4
svn path=/trunk/; revision=5388
2002-05-04From Joerg Mayer: get rid of an unused argument, and flag another asGuy Harris1-6/+5
unused. svn path=/trunk/; revision=5387
2002-03-06Use the gdb "x" (examine memory) command instead of "print" to obtainGilbert Ramirez1-18/+39
the packet data. "print" will only show the first 200 members of an array, whereas "x" doesn't seem to have a limit. svn path=/trunk/; revision=4884
2002-03-06Add ability to pull packet from add_packet_to_packet_list() frame.Gilbert Ramirez1-16/+39
svn path=/trunk/; revision=4881
2002-02-27From Joerg Mayer:Guy Harris2-1/+9
In the "configure.in" files, add -D_U_="__attribute__((unused))" to CFLAGS if we're using GCC, and add -D_U_="" otherwise, so _U_ can be used to mark arguments as unused. Add -D_U_="" arguments to the Makefile.nmake files as well, so _U_ works with Microsoft Visual C++ as well. Add comments and RCS IDs to the Makefile.nmake files that don't already have them. svn path=/trunk/; revision=4824
2002-02-21Add first attempt at creating a tool to take a [t]ethereal core fileGilbert Ramirez2-1/+417
and using gdb, extract the packet that was being dissected when the core file was created. It works in simple cases; it will probably fail in many other cases. Right now it only creates libpcap files, and uses text2pcap to do so. svn path=/trunk/; revision=4767
2002-01-30Fix up some type/size problems that showed up when compiling on DigitalGuy Harris1-7/+8
UNIX on Alpha. svn path=/trunk/; revision=4635
2002-01-04From Hamish Moffatt:Guy Harris1-1/+1
Add some missing files in the "clean" targets. Use pod2html rather than man2html to build HTML man pages. Fix ethereal.nsi.in for recent versions of NSIS, and fix a typo. svn path=/trunk/; revision=4475
2001-12-12From Motonori Shindo:Guy Harris1-3/+3
fix a bogus batch mode inference rule of make, so that "vc60.pdb" files are created in the proper directory; delete ".pdb" files in a "nmake -f Makefile.nmake clean"; include the text2pcap and mergecap ".pdb" files in the Windows binary distribution. svn path=/trunk/; revision=4385
2001-11-13Hopefully the last time I have to change my e-mail address.Gilbert Ramirez1-2/+2
svn path=/trunk/; revision=4199
2001-11-09Remove "text2pcap-scanner.obj" and "tools\lemon\lemon.obj" when a "nmakeGuy Harris1-1/+1
clean" is done. svn path=/trunk/; revision=4188
2001-10-04From Motonori Shindo: have CVS ignore some files generated by Win32Guy Harris1-0/+2
builds. svn path=/trunk/; revision=3995
2001-07-22Do __attribute__ stuff if the GCC version number is greater than orGuy Harris1-2/+2
equal to 2, not just if it's equal to 2 - GCC 3.0 makes it 3, not 2.... svn path=/trunk/; revision=3765
2001-06-26If length arguments to "%*s" aren't of type "int", cast them to "int",Guy Harris1-4/+4
as that's what C requires them to be. svn path=/trunk/; revision=3610
2001-04-23Signed vs. unsigned fixes from Joerg Mayer.Guy Harris1-6/+6
svn path=/trunk/; revision=3372
2001-04-18nmake was compiling lemon.c twice; now let it use its defaultGilbert Ramirez1-5/+1
rules, keeping it from over-compiling. svn path=/trunk/; revision=3325