Commit Graph

790 Commits

Author SHA1 Message Date
Anders Broman a12aba1d39 From Martin Mathieson:
This patch fixes the decode problem mentioned in this bug report:

"3. Frames 9 and 13 are only partially decoded and show up as "Packet size limited during capture" It looks like the decode chokes on the DQ-RI line."

DQ-RI is a localconnectionoptions parameter and shouldn't appear as a top-level parameter. This patch makes sure that all of the single-character top-level parmeter codes are followed immediately by a ':'.

svn path=/trunk/; revision=17816
2006-04-05 16:04:46 +00:00
Luis Ontanon ad4fe1ff8f Fix FieldInfo and add an attribute for the filter name.
svn path=/trunk/; revision=17774
2006-03-30 19:48:05 +00:00
Luis Ontanon 2e93b8b751 TextWindow:
- add buttons
  - make editable




svn path=/trunk/; revision=17773
2006-03-30 19:42:49 +00:00
Gerald Combs 4ea62e57b0 Continue to play whack-a-mole with null dereferences. Fixes CID 146.
svn path=/trunk/; revision=17770
2006-03-30 15:34:18 +00:00
Jaap Keuter 95b974d6ba Undoing commit of private makefile in r17765
svn path=/trunk/; revision=17768
2006-03-30 09:33:39 +00:00
Anders Broman 901f07af60 From Martin Mathieson:
wiretap/README.developer
- the referenced default seek_read function doesn't exist now

wiretap/wtap.c
- a "hole" in encap_table was causing the wrong encap value for later 
types to be looked up (by name)

mergecap.c
- fix a couple of program name copy+paste errors from editcap.c

svn path=/trunk/; revision=17765
2006-03-30 04:58:06 +00:00
Jaap Keuter a5a7b06e54 Get elua to build on IA32
svn path=/trunk/; revision=17755
2006-03-29 10:03:50 +00:00
Gerald Combs 071b5507c2 Fix compilation under Windows.
svn path=/trunk/; revision=17751
2006-03-28 19:25:48 +00:00
Luis Ontanon 75a342667b elua_field.c was added to $MODULES but not to $OBJECTS
svn path=/trunk/; revision=17749
2006-03-27 22:47:20 +00:00
Jaap Keuter 6a093bd4a3 Major properties cleanup
svn path=/trunk/; revision=17747
2006-03-27 21:00:16 +00:00
Gerald Combs 1b468857b8 Be more paranoid about dereferencing pointers (and improve readability
IMHO).  This should hopefully take care of bug 826 / CID 42.

svn path=/trunk/; revision=17744
2006-03-27 19:43:17 +00:00
Luis Ontanon dafdb5ef62 This worked because I've edited elua_field.h as .c and the only thing in elua_field was #include "elua_field.h"
This is the actual elua_field.c 


svn path=/trunk/; revision=17743
2006-03-27 19:35:57 +00:00
Luis Ontanon 01ecb3e457 Improve Field Extraction by returning a handle to a field_info instead of just the value.
svn path=/trunk/; revision=17742
2006-03-27 19:31:30 +00:00
Gerald Combs 642706ce97 Remove some unused #defines.
svn path=/trunk/; revision=17736
2006-03-27 16:57:05 +00:00
Gerald Combs 6be7d55c40 Further refinements for Coverity CID 42. Make some "0"s (which were
confusing my feeble mind) NULLs.  Fix up whitespace.

svn path=/trunk/; revision=17710
2006-03-23 20:13:00 +00:00
Ronnie Sahlberg f331077a60 waste a couple of bytes per tcp conversation and make the tree for acked_packets (i.e. packets that have interesting tcp properties such as being retransmissions etc) hang off the per conversation tcpd struct instead of being global.
while this should improve performance by unmeasurably little it does have the sideeffect that once we finish the rewrite   tcp analysis might actually work and work well even for tcp over tcp tunnelling. 

this also means that if you include packet-tcp.h   you also need to include emem.h .




svn path=/trunk/; revision=17681
2006-03-20 10:52:53 +00:00
Luis Ontanon 43ca54066a Add pinfo.lo and pinfo.hi been thise the lower and the higher between pinfo.src and pinfo.dst.
Do not faill if Columns is NULL, as it can normally be NULL. 


svn path=/trunk/; revision=17677
2006-03-19 22:18:57 +00:00
Ulf Lamping bbaffabaaf we don't need to "ban" the print call any longer
svn path=/trunk/; revision=17652
2006-03-16 23:16:35 +00:00
Ronnie Sahlberg c1aa2aef89 coverity bug 43
svn path=/trunk/; revision=17624
2006-03-14 07:38:43 +00:00
Luis Ontanon 3318411aa7 Use checkTextWindow instead of shiftTextWindow to fetch the window object from the stack, shiftXxx will happily (and rightfully) return a null pointer without an error.
svn path=/trunk/; revision=17615
2006-03-13 22:22:17 +00:00
Luis Ontanon ad6eb21dd1 Expert info is going to be used in runtime.
For the sake of speed use integers instead of strings to then be converted into integers.


svn path=/trunk/; revision=17609
2006-03-13 00:31:04 +00:00
Luis Ontanon 4bafab904c This time, should be the good one!
svn path=/trunk/; revision=17607
2006-03-12 21:45:18 +00:00
Luis Ontanon f100efb165 I Hope this works
svn path=/trunk/; revision=17603
2006-03-12 18:57:38 +00:00
Luis Ontanon f4c227852c Move make-init-lua.pl and family to plugins/lua and have init.lua installed in the right place
svn path=/trunk/; revision=17602
2006-03-12 17:39:46 +00:00
Luis Ontanon 5ca4b68272 reenable TreeItem,
shiftXXX() was broken


svn path=/trunk/; revision=17599
2006-03-12 15:31:33 +00:00
Luis Ontanon 72c79c1289 Protocols are now invoked.
svn path=/trunk/; revision=17598
2006-03-12 13:03:18 +00:00
Luis Ontanon 428823b00e Remove debug code...
svn path=/trunk/; revision=17595
2006-03-11 22:26:08 +00:00
Luis Ontanon b3a173664b Protocols register OK.
svn path=/trunk/; revision=17594
2006-03-11 22:05:40 +00:00
Luis Ontanon 59ec8529e1 Mark coverity CID 117 as a false positive.
Lex code is often hard for humans to understand... neither of the error conditions found would be happening...

One was marked as error because coverity does not understand that yyterminate() breaks execution.

The other marked as an error because coverity is not able to figure out that the error appears in an actions against two different rules that will not ever match toghether.



svn path=/trunk/; revision=17584
2006-03-11 12:07:00 +00:00
Ulf Lamping 22dca0c988 ... and don't forget to include emem.h!
svn path=/trunk/; revision=17577
2006-03-11 09:09:55 +00:00
Ulf Lamping 2e2c970da9 replace g_malloc and alike by their corresponding ep_ functions
svn path=/trunk/; revision=17576
2006-03-11 09:08:18 +00:00
Ulf Lamping 60869fe1cc various code cleanup (e.g. remove unrequired length parameter), should also fix coverity id 126
svn path=/trunk/; revision=17569
2006-03-10 21:34:56 +00:00
Anders Broman 238053ead2 Add lua:s nmakefile.nmake to the distribution.
svn path=/trunk/; revision=17552
2006-03-09 16:17:52 +00:00
Ronnie Sahlberg 726471b25f coverity bug#42
dereverencing a null variable


svn path=/trunk/; revision=17548
2006-03-09 12:11:21 +00:00
Ronnie Sahlberg 3a92bf963c fix coverity bug 122
svn path=/trunk/; revision=17527
2006-03-08 10:59:05 +00:00
Luis Ontanon e83301935d Remove strhash test code from lua...
svn path=/trunk/; revision=17488
2006-03-07 04:40:57 +00:00
Luis Ontanon 6e04b0aadb - merge SubTree, ProtoTree and ProtoItem into a single TreeItem class.
- By the same token get rid of ProtoFieldArray having Proto.fields attribute been a lua "Array" containing fields.

(still untested, and probably broken)


svn path=/trunk/; revision=17486
2006-03-07 01:25:14 +00:00
Luis Ontanon 7bbd2a14f0 + retap_packets()
svn path=/trunk/; revision=17463
2006-03-05 02:03:51 +00:00
Luis Ontanon 568ad6c34e + retap_packets()
+ complete gtk TextWindow
+ fix elua_dumper
+ fix elua_proto


svn path=/trunk/; revision=17462
2006-03-05 02:01:16 +00:00
Luis Ontanon 5380cea747 - make them work as the got broken while docommenting them.
svn path=/trunk/; revision=17453
2006-03-02 22:55:14 +00:00
Luis Ontanon 31c4bb49d8 - remove some warnings from the windows compile
- some more Tap documentation


svn path=/trunk/; revision=17442
2006-03-02 00:22:39 +00:00
Gerald Combs 050525cfb5 Add Lua support by default for Win32. Fix some compilation problems.
Add Lua information to the version paragraph.

svn path=/trunk/; revision=17440
2006-03-01 21:31:07 +00:00
Luis Ontanon 8b84860a23 - Some more comments
svn path=/trunk/; revision=17415
2006-02-27 01:54:22 +00:00
Luis Ontanon 27e2c87833 The semantics of luaL_checkudata() change between 5.0 and 5.1 (the later triggers an error).
make sure isXxx() functions do not trigger an error, we want them to return not to pop the stack back to the lua caller.


svn path=/trunk/; revision=17411
2006-02-25 12:54:25 +00:00
Luis Ontanon b67337aacf - elua_proto
- add doComments
  - fix an error in DissectorTable_remove
  - reorganize DissectorTable_try

 - elua.h
   squelch some warnings

- Makefile.nmake
  - replace the $^ macro with the targets (i.e. do what nmake was supposed to do)
  - move the doc target into the conditional part


svn path=/trunk/; revision=17406
2006-02-25 03:21:00 +00:00
Luis Ontanon eddf915e40 I changed some vanames and did not compile...
svn path=/trunk/; revision=17399
2006-02-24 08:44:49 +00:00
Luis Ontanon 48551d9d85 - More "docOMMentation" of the API
- also supress Address__ge and Address_gt because re-reading the ref manual I noticed that they are suplerfluous (Lua assumes that a > b is equivalent to b < a, which in most cases (as this) it does)

- have elua_makedoc.pl hanlde docomments in more than one line and after the line where the entity s defined.


svn path=/trunk/; revision=17382
2006-02-23 17:02:29 +00:00
Jörg Mayer e4be8f1a19 Delete docs in maintainer-clean target
svn path=/trunk/; revision=17379
2006-02-23 10:18:05 +00:00
Luis Ontanon 7cd1757c80 Forgot...
Elua functions in elua.c moved to this new file.


svn path=/trunk/; revision=17375
2006-02-22 23:58:21 +00:00
Luis Ontanon 251d769ef7 - More documentation embeded in the source code.
- Changed some Macros
- Have dump:close NULLyfing the boxed object so that no futher operations are performed on a dumper once is closed.
- Check if elua_register.h has changed and avoid overwriting it if it hasn't changed to avoid unnecessary compilations.


svn path=/trunk/; revision=17374
2006-02-22 23:55:11 +00:00