aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2005-05-12Use "pcap_get_selectable_fd()" if we have it, and if it returns -1,Guy Harris2-32/+53
don't do a "select()". svn path=/trunk/; revision=14358
2005-05-12Don't include <pcap.h> twice.Guy Harris1-7/+3
svn path=/trunk/; revision=14357
2005-05-12If we have libpcap, include <pcap.h>, because "capture.h" requires it.Guy Harris1-1/+8
If we *don't* have libpcap, don't include "capture.h", and don't test whether a capture is in progress. Clean up a message. svn path=/trunk/; revision=14356
2005-05-12Squelch a compiler warning (GCC 4.0's data flow analysis isGuy Harris1-2/+2
interprocedural, so it knows "sip_parse_line()" doesn't always set "*token_1_len", but it doesn't know that if it doesn't return OTHER_LINE it *does* always set it, so it's safe not to set it as long as it's never used if the return value is OTHER_LINE). svn path=/trunk/; revision=14355
2005-05-12Fix a routine to return the value it's supposed to return.Guy Harris1-0/+1
svn path=/trunk/; revision=14354
2005-05-12Always set "*success" in "ipxnet_addr_lookup()" before returning (thanksGuy Harris1-3/+5
and a tip of the hat to GCC 4.0's interprocedural data flow analysis for catching this one!). svn path=/trunk/; revision=14353
2005-05-11Reinsert Gerards patch (r14342) which was lost.Anders Broman1-2/+4
svn path=/trunk/; revision=14352
2005-05-11Reinsert Gerards patch (r14342) which was lost.Anders Broman1-2/+4
svn path=/trunk/; revision=14351
2005-05-11pinfo->p2p_dir not set in the new gsm_map dissector causing problems with ↵Anders Broman1-0/+3
dissection of SMS messages. svn path=/trunk/; revision=14350
2005-05-11From Viorel Suman:Anders Broman1-13/+22
Enable a proper deconding of an alphanumeric 7-bit encoded SMS TP-Originating-Address. svn path=/trunk/; revision=14349
2005-05-11pinfo->p2p_dir not set in the new gsm_map dissector causing problems with ↵Anders Broman1-0/+3
dissection of SMS messages. svn path=/trunk/; revision=14348
2005-05-11avoid a div-by-0 Ronnie Sahlberg1-1/+6
svn path=/trunk/; revision=14347
2005-05-11From Hannes GredlerRonnie Sahlberg5-70/+131
support for Juniper PPPOE encapsulation svn path=/trunk/; revision=14346
2005-05-11Some applications do very naughty things like reusing a port for a different ↵Ronnie Sahlberg7-20/+112
protocol during different stages of an application cycle. This is very naughty and will cause problems when we have assigned a dissector to a dynamic port using conversation_set_dissector(). To make ethereal handle this case I have changed the try_conversation_dissector() to allow it to fail and return 0, meaning yes there is indeed a protocol registered for this conversation but that protocol rejected this packet. (which only happens for "new" style dissectors, "old" style dissectors will never reject a packet that way) When this happens the decode_udp_port() helper will still allow other dissectors to be tried, in the hope that the conversation is now used for some other protocol and thus someone else might be able to decode the packet. Update SNMP and TFTP dissectors to check that even if there already is a conversation but that conversation does NOT have snmp/tftp registered as the dissector for it, then create a new conversation anyway and attach the proper dissector. Since ethereal keeps track of which frame number a conversation started in, this actually works really well. svn path=/trunk/; revision=14345
2005-05-10Don't write a '\0' way the heck past the end of an array. Fixes bug 164.Gerald Combs1-0/+3
Add a comment asking if we shouldn't use oid_to_str() instead of our own routine. svn path=/trunk/; revision=14344
2005-05-10- export Audio Codec modes from isup/biccLuis Ontanon4-81/+269
- detailed dissection of GSM/UMTS speech code list ETSI 126 103 (3gpp 26.103 v3.0.0) - use it for H.248 svn path=/trunk/; revision=14343
2005-05-10Fix dissection of mo-forwardSMAnders Broman2-62/+65
svn path=/trunk/; revision=14342
2005-05-10Fix dissection of mt-forwardSM.Anders Broman2-6/+11
svn path=/trunk/; revision=14341
2005-05-10fix some field rename errors turned up by the latest asn2eth compiler.Anders Broman1-14/+14
svn path=/trunk/; revision=14340
2005-05-10make SNMP over UDP a new style dissector and add some heuristics to check if ↵Ronnie Sahlberg1-3/+38
this is SNMP or not, svn path=/trunk/; revision=14339
2005-05-10Make a field type check more strict. Remove some unnecessary code.Gerald Combs1-18/+3
svn path=/trunk/; revision=14338
2005-05-10Make sure we don't feed a null string to strncmp(). Fixes bug 161.Gerald Combs1-2/+3
Make sure we don't free static memory. Fix a small memory leak. svn path=/trunk/; revision=14337
2005-05-09I just found a packet with an option e. As the value looked very muchJörg Mayer1-0/+13
like the mac-address of the switch, I added decoding of option e as mac address. svn path=/trunk/; revision=14336
2005-05-09Add another sanity check to the new SIP URI parser.Lars Roland1-2/+8
Just to be sure. svn path=/trunk/; revision=14335
2005-05-09Some fixes for the new SIP contact header parser.Lars Roland1-24/+22
svn path=/trunk/; revision=14334
2005-05-09only lower-case ASCII letters, numbers,Lars Roland2-2/+2
underscores, and dots are allowed in the preference name. Fix it the camel dissector. svn path=/trunk/; revision=14333
2005-05-08Mark a function parameter as unusedLars Roland1-1/+1
svn path=/trunk/; revision=14332
2005-05-08When saying that I remove the trailing white spaces I should do it, too.Lars Roland1-80/+80
So I do it now and do some more reindentation, too. svn path=/trunk/; revision=14331
2005-05-08Improve dissection of SIP contact header and counting of bindings in ↵Lars Roland1-24/+438
REGISTER messages. Introduce a function for disseting a sip uri in general TODO: - add dissection of contact and uri parameters - simplify the ugly code for dissecting "to" and "from" headers by using the new function for uri dissection svn path=/trunk/; revision=14330
2005-05-08Reindent dissect_sip_common() and remove trailing white spaces from ↵Lars Roland1-568/+564
packet-sip.c. svn path=/trunk/; revision=14329
2005-05-08From Javier Acuna:Anders Broman2-36/+206
Added some code to dissect DateAndTime. svn path=/trunk/; revision=14328
2005-05-08From Javier Acuna:Anders Broman4-23/+188
Added some code to dissect DateAndTime. svn path=/trunk/; revision=14327
2005-05-07add icons for the "File Set" menu itemsUlf Lamping7-4/+203
svn path=/trunk/; revision=14326
2005-05-07Increase size of an integer to prevent an integer overflowLars Roland1-1/+1
Fixes Bug 162 svn path=/trunk/; revision=14325
2005-05-06prettify YPSERVRonnie Sahlberg1-27/+227
svn path=/trunk/; revision=14324
2005-05-06A fix for the previous fix for the infinite loop in bootp, bug #160.Gilbert Ramirez1-3/+3
svn path=/trunk/; revision=14323
2005-05-06Check the offset delta while we loop through the options.Gilbert Ramirez1-2/+11
Make sure the delta is > 0. This intends to fix bug 160, although with a capture file to test it, I can't be totally sure. svn path=/trunk/; revision=14322
2005-05-05Change 802.11f -> F, 802.1d -> D, 802.1x -> X, 802.1q -Q, 802.1P -> pJörg Mayer8-13/+13
svn path=/trunk/; revision=14321
2005-05-05add GetWindowsVersion.nsh to the additional packaging filesUlf Lamping1-0/+1
svn path=/trunk/; revision=14320
2005-05-05make tethereal compile when plugins are disabledRonnie Sahlberg1-0/+2
svn path=/trunk/; revision=14319
2005-05-05Fix a call to dereference a pointer (found by a compiler warning).Guy Harris1-1/+1
svn path=/trunk/; revision=14318
2005-05-05Don't explicitly initialize "h245_labels", as it's hard to initializeGuy Harris1-1/+2
all of it correctly, and as if you don't initialize all of it you get a compiler warning. Add an assignment to squelch a compiler warning. svn path=/trunk/; revision=14317
2005-05-05Fix a test (bug found by a compiler warning).Guy Harris1-1/+1
svn path=/trunk/; revision=14316
2005-05-05Change some data types, and add initializations, to squelch compilerGuy Harris1-15/+15
warnings. Fix indentation. svn path=/trunk/; revision=14315
2005-05-05Change data types to match those of "iconv()", at least on OS X.Guy Harris2-9/+28
svn path=/trunk/; revision=14314
2005-05-05Squelch a compiler warning.Guy Harris1-1/+1
svn path=/trunk/; revision=14313
2005-05-05Re-parenthesize an expression, to squelch a compiler warning.Guy Harris1-2/+4
svn path=/trunk/; revision=14312
2005-05-05"oid_to_str()" and "oid_to_str_buf()" don't modify what the "oid"Guy Harris2-4/+4
argument points to, so make it a "const" pointer. svn path=/trunk/; revision=14311
2005-05-04Don't try to feed a null pointer to strncmp(). Fixes bug 158.Gerald Combs1-0/+2
Shouldn't the number of fuzz bugs decrease asymptotically at some point? svn path=/trunk/; revision=14306
2005-05-04From Lars Roland:Gerald Combs1-1/+1
Make sure a hash table exists before trying to access it. Fixes bug 105. svn path=/trunk/; revision=14305