Jon Siwek
8d7ca1360f
Fix error emitted when loading local.bro in bare mode
...
Regarding the redef of SMTP::entity_excerpt_len without having
been previously defined.
2011-11-30 13:56:30 -06:00
Jon Siwek
4444c56a94
Fix double-free of DNS_Mgr_Request object (addresses #661 )
...
In DNS::Resolve, they could be deleted once from where they were
stored in the nb_dns_info cookie and once again from where they
were stored in the DNS_Mgr::requests list. Before commit
bd9c937236
, they were only deleted
from the requests list, so this commit reverts to that behavior
without any leaks being reported by the core/leaks tests.
2011-11-30 13:31:54 -06:00
Jon Siwek
f1c2b338ce
Fix documentation formatting that Sphinx complained about
2011-11-30 11:32:49 -06:00
Seth Hall
70004cb04d
Small updates to address the "globals" ticket.
...
Fixes #633
2011-11-30 11:35:53 -05:00
Jon Siwek
cf30559df6
Merge branch 'master' into topic/script-reference
2011-11-30 10:29:11 -06:00
Jon Siwek
9be652f8ff
Rearrange packet filter and dpd documentation.
2011-11-30 10:13:20 -06:00
Jon Siwek
95ca102546
Sphinx-built docs now adopt 960.css style from website
2011-11-30 09:44:59 -06:00
Seth Hall
bb47289bfa
Some updates to the base DNS script.
...
- Answers and TTLs are now vectors.
- The warning that was being generated (dns_reply_seen_after_done)
from transaction ID reuse is fixed.
- Updated the single failing btest baseline.
2011-11-30 10:19:41 -05:00
Matthias Vallentin
98028dba89
Finish Broxygen documentation of string.bif.
2011-11-29 17:56:45 -08:00
Robin Sommer
ebd15cf12e
Fixing ASCII logger to escape the unset-field place-holder if written
...
out literally.
2011-11-29 17:01:47 -08:00
Robin Sommer
5fae0482a9
Merge remote-tracking branch 'origin/fastpath'
...
* origin/fastpath:
Add Broxygen links to notice frameworks docs.
Fix order of include directories.
vector entries also have to be atomic.
2011-11-29 15:37:47 -08:00
Bernhard Amann
a68e6b9fa4
allow sets to be read from files, convenience function for reading a file once,
...
bug in destructor that could lead to a segfault.
2011-11-29 15:05:09 -08:00
Matthias Vallentin
76ca1f532f
Begin with documenting strings.bif.
2011-11-29 12:20:09 -08:00
Jon Siwek
4fc5dea3d7
Add Broxygen links to notice frameworks docs.
2011-11-29 13:31:27 -06:00
Jon Siwek
13253883ae
Merge branch 'master' into fastpath
2011-11-29 13:31:03 -06:00
Bernhard Amann
2a6387129c
documentation
2011-11-29 11:25:11 -08:00
Bernhard Amann
37773da9e6
Merge remote-tracking branch 'origin/master' into topic/bernhard/input
2011-11-29 10:23:14 -08:00
Jon Siwek
01693672bc
Submodule README conformity changes
...
Broccoli API reference docs now also get copied into sphinx output
directory by the broxygen target if they exist.
2011-11-29 12:18:42 -06:00
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