Commit graph

17337 commits

Author SHA1 Message Date
Robin Sommer
d6767e1d83 Disalbing brofiling because of problem.
See #756.
2012-01-25 17:36:13 -08:00
Robin Sommer
6a6092daf8 Adding coverage to brief make target as well. 2012-01-25 17:35:25 -08:00
Robin Sommer
1aefccd96d Updating submodule(s).
[nomail]
2012-01-25 17:15:06 -08:00
Robin Sommer
848ae2355e Merge remote-tracking branch 'origin/topic/jsiwek/brofiler'
* origin/topic/jsiwek/brofiler:
  Fix superfluous/duplicate data getting in to testing coverage log.
  Add "# @no-test" tag to blacklist statements from test coverage analysis.
  Test coverage integration for external tests and complete suite.
  Integrate Bro script coverage profiling with the btest suite.
  Add simple profiling class to accumulate Stmt usage stats across runs.

Renaming environment variable BROFILER_FILE to BRO_PROFILER_FILE for
consistency. Yeah, I know, such a nice name! :)
2012-01-25 17:12:37 -08:00
Robin Sommer
b649ade9ba Merge remote-tracking branch 'origin/topic/bif_cleanup'
* origin/topic/bif_cleanup:
  Give mode2string a more generic name.
  Change some BiF return values from bool to any.
  Perform type checking on count-to-port conversion.
  Remove redundant connection_record() BiF.
  Remove redundant active_connection() BiF.
  Make exit() parameterizable.
  to_port() now parses a string instead of a count.

Closes #684.
2012-01-25 16:48:00 -08:00
Robin Sommer
7a8c9b1c69 Merge remote-tracking branch 'origin/topic/jsiwek/local-table-init'
* origin/topic/jsiwek/local-table-init:
  Allow local table variables to be initialized with {} list expressions.

Closes #739.
2012-01-25 13:47:42 -08:00
Robin Sommer
27ce62077f Merge remote-tracking branch 'origin/topic/jsiwek/complex-record-indices'
* origin/topic/jsiwek/complex-record-indices:
  Teach CompHash to allow indexing by records with vector/table/set fields.

Closes #464
2012-01-25 13:38:36 -08:00
Robin Sommer
2a06617e71 Merge remote-tracking branch 'origin/fastpath'
* origin/fastpath:
  Fixed a bug resulting in over-logging of detected webapps.
2012-01-25 13:25:48 -08:00
Robin Sommer
2c439fd0a2 Fixing typo 2012-01-23 22:00:56 -08:00
Robin Sommer
08683175c1 Interface draft for new IP address wrapper class. 2012-01-22 21:41:42 -08:00
Jon Siwek
1e4c3d8ea2 Teach CompHash to allow indexing by records with vector/table/set fields.
Addresses #464.
2012-01-20 16:54:48 -06:00
Bernhard Amann
eacdffff90 Merge remote-tracking branch 'origin/master' into topic/bernhard/software
Conflicts:
	scripts/base/frameworks/software/main.bro
	scripts/policy/protocols/ftp/software.bro
2012-01-20 12:51:58 -08:00
Bernhard Amann
f24c50b49a remove unnecessary stuff from function. 2012-01-20 12:42:23 -08:00
Bernhard Amann
ac1708f843 fix handling of predicates - now the second argument that is sent to the predicate really is a recordVal and not a ListVal. 2012-01-20 12:33:48 -08:00
Bernhard Amann
92050af947 Merge remote-tracking branch 'origin/master' into topic/bernhard/input 2012-01-20 12:03:54 -08:00
Seth Hall
5b04789ab8 Fixed a bug resulting in over-logging of detected webapps. 2012-01-20 11:22:15 -05:00
Robin Sommer
8eeb37129a Merge remote-tracking branch 'origin/fastpath'
* origin/fastpath:
  Make communication log baseline test more reliable.
  fixed some broken links
2012-01-18 20:09:54 -08:00
Matthias Vallentin
6c255d13ff Merge remote-tracking branch 'origin/master' into topic/bif_cleanup
Conflicts:
	src/bro.bif
2012-01-18 14:56:53 -08:00
Jon Siwek
0287f7adc2 Fix superfluous/duplicate data getting in to testing coverage log. 2012-01-18 11:45:53 -06:00
Jon Siwek
ec6560a6ed Make communication log baseline test more reliable. 2012-01-13 16:06:44 -06:00
Jon Siwek
713e3ac5d0 Add "# @no-test" tag to blacklist statements from test coverage analysis.
It can apply to either single statements:

    print "don't cover"; # @no-test

or a block of statements:

    if ( F )
        { # @no-test
        ...
        }
2012-01-13 14:52:58 -06:00
Bernhard Amann
eb53a3d1c8 make input framework compile with brov6 2012-01-12 11:51:12 -08:00
Bernhard Amann
d476e9f3f4 Merge remote-tracking branch 'origin/master' into topic/bernhard/input 2012-01-12 11:07:12 -08:00
Jon Siwek
b6c3567ba4 Test coverage integration for external tests and complete suite.
coverage.log files are output to each testing dir and reflect
the number of times statement locations of Bro scripts are executed.
2012-01-12 11:58:13 -06:00
Jon Siwek
aff631b5e0 Merge branch 'master' into topic/jsiwek/brofiler 2012-01-12 10:43:11 -06:00
Daniel Thayer
9c42f02082 fixed some broken links 2012-01-11 16:57:09 -06:00
Jon Siwek
9aefeec4ce Integrate Bro script coverage profiling with the btest suite. 2012-01-11 16:30:25 -06:00
Robin Sommer
5ae95bfc49 Merge remote-tracking branch 'origin/fastpath'
* origin/fastpath:
  corrected some minor typos
2012-01-11 13:52:38 -08:00
Robin Sommer
6a2af5cd63 Updating submodule(s).
[nomail]
2012-01-11 12:25:07 -08:00
Robin Sommer
b6ea4c6026 Fixing links. 2012-01-11 12:21:49 -08:00
Daniel Thayer
d9dccd9e65 corrected some minor typos 2012-01-11 13:02:12 -06:00
Jon Siwek
1181444f37 Merge branch 'master' into topic/jsiwek/brofiler
Conflicts:
	src/main.cc
2012-01-11 10:57:44 -06:00
Robin Sommer
eac4690f83 Updating submodule(s).
[nomail]
2012-01-10 19:38:55 -08:00
Robin Sommer
4dd898131e Slight reordering on main doc page. 2012-01-10 19:17:22 -08:00
Robin Sommer
71eaae8539 Fixing typos 2012-01-10 19:09:30 -08:00
Robin Sommer
8b06fdfc67 Updating CHANGES and VERSION. 2012-01-10 17:51:34 -08:00
Robin Sommer
a7a33ab146 Updating submodule. 2012-01-10 17:40:18 -08:00
Robin Sommer
981c0ebf40 Couple submodule notes for NEWS. 2012-01-10 17:37:49 -08:00
Robin Sommer
46de660909 Updating submodules. 2012-01-10 17:27:22 -08:00
Robin Sommer
fdceff87a1 Merge remote-tracking branch 'origin/fastpath'
* origin/fastpath:
  Fix some failing coverage unit tests.
2012-01-10 14:24:16 -08:00
Robin Sommer
b33cf93da2 Merge remote-tracking branch 'origin/master'
* origin/master:
  Small fix to binary package quickstart docs.

Conflicts:
	doc/quickstart.rst
2012-01-10 14:23:48 -08:00
Robin Sommer
3d2dc5f5fc Merge remote-tracking branch 'origin/topic/script-reference'
* origin/topic/script-reference: (50 commits)
  A few updates for the FAQ.
  Fixing some doc warnings.
  Forgot to add protocol identifier support for TLS 1.2
  Finished SSL & syslog autodocs.
  Adding the draft SSL extension type next_protocol_negotiation.
  Fix some documentation errors.
  Tweaks.
  A set of script-reference polishing.
  fixed a couple typos in comments
  Add summary documentation to bif files.
  Add ssl and syslog script documentation
  Add Conn and DNS protocol script documentation. (fixes #731)
  Small updates to the default local.bro.
  Documentation updates for HTTP & IRC scripts.
  SSH&FTP Documentation updates.
  Fixing a warning from the documentation generation.
  This completes framework documentation package 4.
  Minor notice documentation tweaks.
  Fix some malformed Broxygen xref roles.
  Minor doc tweaks to init-bare.bro.
  ...

Conflicts:
	aux/broccoli
	aux/broctl
	src/bro.bif
	src/strings.bif

Includes:

    - Updated baselines for autodoc tests.
    - Now excluding stats.bro from external texts, it's not stable.
2012-01-10 14:00:44 -08:00
Jon Siwek
38f58df729 Small fix to binary package quickstart docs. 2012-01-10 14:41:42 -06:00
Bernhard Amann
3138f015ce Merge remote-tracking branch 'origin/master' into topic/bernhard/input 2012-01-10 11:33:26 -08:00
Jon Siwek
03e12c31eb Fix some failing coverage unit tests. 2012-01-10 12:58:24 -06:00
Robin Sommer
b284dd25cf Merge remote-tracking branch 'origin/master' 2012-01-10 10:46:49 -08:00
Robin Sommer
66be86da61 Fixing coverage failures.
Friendly reminder: please run test-suite before pushing things
upstream for merges ...
2012-01-10 10:43:28 -08:00
Robin Sommer
a2e8146e4f Merge remote-tracking branch 'origin/fastpath'
* origin/fastpath:
  Fix ref counting bug in BIFs that call internal_type. (fixes #740)
2012-01-10 10:32:59 -08:00
Jon Siwek
2348d794b6 Fix ref counting bug in BIFs that call internal_type. (fixes #740) 2012-01-10 12:25:33 -06:00
Robin Sommer
82b1ee0720 Merge remote-tracking branch 'origin/fastpath'
* origin/fastpath:
  Change SFTP/SCP log rotators to use 4-digit year in filenames (fixes #745).
  Adding back the stats.bro file.

Closes #745.
Closes #656.
2012-01-10 09:49:58 -08:00