Commit graph

12680 commits

Author SHA1 Message Date
Robin Sommer
0523a18a23 Almost done with event.bif.
Added comments to almost all events. The only ones I'm leaving out are
Gnutella and BitTorrent, don't know enough about those protocols to
document the events. If anybody does, please chime in.

A round of proofreading would be good too, there are probably still a
few typos in the texts.
2011-11-29 10:10:46 -08:00
Bernhard Amann
c7eda1907b Merge remote-tracking branch 'origin/master' into topic/bernhard/input 2011-11-29 09:56:54 -08:00
Robin Sommer
f9a86c1915 Merge branch 'topic/script-reference' of ssh://git.bro-ids.org/bro into topic/script-reference 2011-11-28 18:47:07 -08:00
Robin Sommer
59a6187f42 Checkpointing work on event.bif.
Much there, not all yet.
2011-11-28 18:41:39 -08:00
Robin Sommer
fa9125f61a Adding some first doc strings to event.bif.
Still trying to find the right style.
2011-11-28 18:41:38 -08:00
Jon Siwek
5991eaa564 Turn off Broxygen's sticky/floating sidebar. 2011-11-28 18:12:46 -06:00
Jon Siwek
26296f9fb1 Add header/footer iframes to Broxygen docs to mimic website 2011-11-28 16:41:36 -06:00
Bernhard Amann
3685b3e228 Merge remote-tracking branch 'origin/master' into topic/bernhard/input 2011-11-28 14:19:09 -08:00
Bernhard Amann
1abb1424b8 begin documenting... 2011-11-28 14:15:04 -08:00
Bernhard Amann
4975584e01 change Log enum to Input enum. 2011-11-28 13:45:00 -08:00
Jon Siwek
be1b3ce5e1 Add note about independent component releases to Broxygen index. 2011-11-28 13:38:45 -08:00
Jon Siwek
286c8fd859 Add note about independent component releases to Broxygen index. 2011-11-28 13:29:02 -06:00
Matthias Vallentin
5666448a48 Change some BiF return values from bool to any.
The BiFs

    - do_profiling
    - make_connection_persistent
    - expect_connection

used to unconditionally return true. Since such a return value is meaningless,
returning 'any' is more appropriate.
2011-11-27 17:18:59 -08:00
Jon Siwek
8f8290c852 Add simple profiling class to accumulate Stmt usage stats across runs.
Use the BROFILER_FILE environment variable to point to a file in
which Stmt usage statistics from Bro script-layer can be output.

This should be able to be used to check Bro script coverage that
that e.g. the entire test suite covers.
2011-11-27 15:57:18 -06:00
Matthias Vallentin
e9f05348b0 Perform type checking on count-to-port conversion.
Related to #684.
2011-11-26 18:22:25 -08:00
Jon Siwek
71f2f81bc6 Fix order of include directories.
This change prevents locally installed header files from overshadowing
the header files of the same name that Bro needs during compilation.
2011-11-24 16:42:18 -06:00
Jon Siwek
5867035c33 Merge branch 'master' into fastpath 2011-11-24 16:41:07 -06:00
Seth Hall
03646a8d55 Added the ssl_session_ticket_handshake event and fixed a few SSL bugs. 2011-11-23 16:10:58 -05:00
Bernhard Amann
3c40f00a53 make filters pointers (for inheritance) 2011-11-22 16:09:13 -08:00
Bernhard Amann
f82bf3f35f re-enable direct event sending from input readers 2011-11-22 11:09:06 -08:00
Matthias Vallentin
c04b261376 Remove redundant connection_record() BiF.
The function lookup_connection() provides the same functionality and has more
graceful failure semantics.
2011-11-21 23:03:46 -08:00
Matthias Vallentin
1179c1a598 Remove redundant active_connection() BiF.
The BiF connection_exists has a more intuitive name and provides the same
functionality, thus we can remove active_connection().
2011-11-21 22:55:14 -08:00
Matthias Vallentin
6a563c8829 Make exit() parameterizable.
The exit() BiF used to have no arguments and always invoked exit(0) from libc.
This small fix allows for non-zero exit values of the Bro process.
2011-11-21 22:30:53 -08:00
Bernhard Amann
3035eb2b21 fix a little bug that prevented several simultaneous filters from working. 2011-11-21 19:30:16 -08:00
Bernhard Amann
53af0544cc re-enable table events 2011-11-21 19:03:35 -08:00
Bernhard Amann
a16454b151 vector entries also have to be atomic. 2011-11-21 15:55:45 -08:00
Bernhard Amann
77a517f2b5 camel-casing for types 2011-11-21 15:45:27 -08:00
Bernhard Amann
92b3723b09 add very basic predicate test. 2011-11-21 15:36:03 -08:00
Bernhard Amann
bfe90199bd Merge remote-tracking branch 'origin/master' into topic/bernhard/input 2011-11-21 15:21:20 -08:00
Bernhard Amann
18591b53d4 rename filter to tablefilter in preparation of event filters... 2011-11-21 15:20:52 -08:00
Bernhard Amann
f0e5303330 make want_record field for tablefilter work... 2011-11-21 15:09:00 -08:00
Matthias Vallentin
0325b5ea32 to_port() now parses a string instead of a count.
Addresses #684.
2011-11-20 21:41:41 -08:00
Bernhard Amann
029871e48c first test. 2011-11-20 13:42:02 -08:00
Bernhard Amann
7eb4d99341 very basic functionality kind of works again 2011-11-20 12:27:34 -08:00
Bernhard Amann
b3f01915fb compiles with basic new filter framework - but crashes on use. 2011-11-20 12:07:50 -08:00
Robin Sommer
fa8fccc7b1 Merge remote-tracking branch 'origin/master' into topic/script-reference 2011-11-19 15:07:18 -08:00
Robin Sommer
c8839da069 Updating submodule(s).
[nomail]
2011-11-19 14:58:27 -08:00
Robin Sommer
15eadb90b5 Merge remote-tracking branch 'origin/topic/jsiwek/parallel-make-recursion'
* origin/topic/jsiwek/parallel-make-recursion:
  Fix parallel make portability
  Revert "Fix parallel make from top-level to work on more platforms"

Closes #687.
2011-11-19 14:58:09 -08:00
Robin Sommer
b4cadd8f26 Merge remote-tracking branch 'origin/topic/jsiwek/broxygen-cleanup'
* origin/topic/jsiwek/broxygen-cleanup:
  Teach Broxygen the .. bro:see:: directive
  More Broxygen stylesheet tweaks.
  Change external Broxygen links to render same as internals.
  Teach Broxygen to generate an index of Bro notices
  Teach Broxygen :bro:see: role for referencing any identifier in Bro domain.
  Add a "last updated date" to Broxygen docs.

Closes #650.
2011-11-19 14:56:23 -08:00
Jon Siwek
305621672f Teach Broxygen the .. bro:see:: directive 2011-11-19 07:19:57 -06:00
Robin Sommer
ab30a3d866 Checkpointing event.bif
Slowly working through ...
2011-11-18 14:47:28 -08:00
Jon Siwek
d3d09b798a More Broxygen stylesheet tweaks. 2011-11-18 16:06:21 -06:00
Jon Siwek
05d107db17 Change external Broxygen links to render same as internals. 2011-11-18 14:06:44 -06:00
Jon Siwek
8d8f5dd006 Teach Broxygen to generate an index of Bro notices 2011-11-18 13:58:23 -06:00
Bernhard Amann
e2c521fc4e start reworking input framework...
does not compile at the moment, but there are a few uncommitted changes that will be reverted in the next commit.
2011-11-18 10:49:20 -08:00
Jon Siwek
1ab266222e Fix parallel make portability 2011-11-18 11:43:53 -06:00
Jon Siwek
4ee05d32db Revert "Fix parallel make from top-level to work on more platforms"
This reverts commit a92592d08d.
2011-11-18 11:20:25 -06:00
Robin Sommer
e81cf3bb73 Adding some first doc strings to event.bif.
Still trying to find the right style.
2011-11-17 16:59:53 -08:00
Robin Sommer
0b8428d1bb Merge branch 'master' into topic/robin/pp-alarms 2011-11-17 15:26:15 -08:00
Jon Siwek
5227eb73c8 Teach Broxygen :bro:see: role for referencing any identifier in Bro domain. 2011-11-17 16:55:51 -06:00