Commit graph

2499 commits

Author SHA1 Message Date
Robin Sommer
3d2009cacf Updating submodule(s).
[nomail]
2012-05-24 17:43:35 -07:00
Robin Sommer
d2c756cac4 Make tests even quieter. 2012-05-24 17:33:02 -07:00
Robin Sommer
7e961606cd Merge remote-tracking branch 'origin/topic/jsiwek/ipv6-flow-label'
* origin/topic/jsiwek/ipv6-flow-label:
  Improve availability of IPv6 flow label in connection records.

Closes #821.
2012-05-24 17:05:55 -07:00
Robin Sommer
f7261a7851 Merge remote-tracking branch 'origin/topic/jsiwek/ipv6-comm'
* origin/topic/jsiwek/ipv6-comm:
  Enable Bro to communicate with peers over non-global IPv6 addresses.
  Add unit tests for Broccoli SSL and Broccoli IPv6 connectivity.
  Remove AI_ADDRCONFIG getaddrinfo hints flag for listening sockets.
  Undo communication protocol version bump.
  Add support to Bro for connecting with peers over IPv6.

Closes #820.

Conflicts:
	src/bro.bif
2012-05-24 17:01:34 -07:00
Robin Sommer
2933961042 Updating submodule(s).
[nomail]
2012-05-24 16:48:28 -07:00
Robin Sommer
aaa16133a7 Make tests even quieter. 2012-05-24 16:48:15 -07:00
Robin Sommer
d92da36b9b Merge remote-tracking branch 'origin/fastpath'
* origin/fastpath:
  Documentation fixes.
  Replace ip6_hdr_chain with ip6_ext_hdr in comments
  Correct various errors in the BIF documentation
2012-05-24 16:46:44 -07:00
Daniel Thayer
03aee9197d Add more tests for previously-untested BIFs 2012-05-24 16:33:19 -05:00
Daniel Thayer
94e850397b Add tests for previously-untested strings BIFs 2012-05-23 16:34:03 -05:00
Jon Siwek
074a0a9dce Documentation fixes. 2012-05-23 14:29:16 -05:00
Bernhard Amann
82a6f3832a fix two memory leaks which occured when one used filters. 2012-05-22 13:51:50 -07:00
Jon Siwek
5312b21d7b Improve availability of IPv6 flow label in connection records.
Without this change, flow labeling of connections over IPv6 are
only available in the per-packet types of events (e.g. new_packet)
in which header fields can be inspected, but now minimal tracking
of the most recent flow label is done internally and that's available
per-connection for all events that use connection record arguments.

Specifically, this adds a "flow_label" field to the "endpoint" record
type, which is used for both the "orig" and "resp" fields of
"connection" records.  The new "connection_flow_label_changed" event
also allows tracking of changes in flow labels: it's raised each time
one direction of the connection starts using a different label.
2012-05-22 15:18:33 -05:00
Bernhard Amann
3b82d69eb3 Merge remote-tracking branch 'origin/master' into topic/bernhard/input-threads
Conflicts:
	src/CMakeLists.txt
	testing/btest/Baseline/coverage.bare-load-baseline/canonified_loaded_scripts.log
	testing/btest/Baseline/coverage.default-load-baseline/canonified_loaded_scripts.log
2012-05-18 15:26:36 -07:00
Daniel Thayer
5ab765b4b6 Replace ip6_hdr_chain with ip6_ext_hdr in comments
This fixes some warnings that were appearing when building the documentation.
2012-05-18 11:23:09 -05:00
Daniel Thayer
d8a571ea69 Merge remote-tracking branch 'origin/master' into fastpath 2012-05-18 11:09:02 -05:00
Daniel Thayer
be65ddca37 Correct various errors in the BIF documentation 2012-05-17 16:03:17 -05:00
Robin Sommer
60df9582d3 Merge remote-tracking branch 'origin/fastpath'
Thanks!

* origin/fastpath:
  Fix compile errors.
  Fix mobility checksums unit test.
2012-05-17 14:00:09 -07:00
Jon Siwek
5f3575425d Fix compile errors.
Preprocess out DataSeries.cc based on config.h's USE_DATASERIES value
and one reference to threading::Field needed scoping.
2012-05-17 15:26:28 -05:00
Jon Siwek
2108ea0ac1 Merge branch 'master' into fastpath 2012-05-17 15:21:09 -05:00
Robin Sommer
90a1814a0a Linking in the DS docs. 2012-05-17 12:47:30 -07:00
Jon Siwek
3fedd32f4d Fix mobility checksums unit test.
Was failing because it depended on weirds being sent to stderr.
2012-05-17 14:47:09 -05:00
Robin Sommer
1824808dcc Updating submodule(s).
[nomail]
2012-05-17 12:44:56 -07:00
Robin Sommer
ea2bd659f3 Adding target update-doc-sources to top-level Makefile that runs
genDocSourcesList.sh.
2012-05-17 12:41:10 -07:00
Robin Sommer
7cc863c5fc Fix for when not producing local output; that hung.
* origin/topic/robin/dataseries:
  Moving trace for rotation test into traces directory.
  Fixing a rotation race condition at termination.
  Portability fixes.
  Extending DS docs with some examples.
  Updating doc.
  Fixing pack_scale and time-as-int.
  Adding format specifier to DS spec to print out double as %.6f.
  DataSeries updates and fixes.
  DataSeries tuning.
  Tweaking DataSeries support.
  Extending log post-processor call to include the name of the writer.
  Removing an unnecessary const cast.
  DataSeries TODO list with open issues/questions.
  Starting DataSeries HowTo.
  Additional test output canonification for ds2txt's timestamps.
  In threads, an internal error now immediately aborts.
  DataSeries cleanup.
  Working on DataSeries support.
  Merging in DataSeries support from topic/gilbert/logging.
  Fixing  threads' DoFinish() method.
2012-05-17 12:38:47 -07:00
Jon Siwek
f819a966d8 Merge branch 'master' into topic/jsiwek/ipv6-comm 2012-05-17 14:28:16 -05:00
Jon Siwek
74f3a32321 Enable Bro to communicate with peers over non-global IPv6 addresses.
This usually requires specifying an additional zone identifier
(see RFC 4007).  The connect() and listen() BIFs have been
changed to accept this zone identifier as an argument.
2012-05-17 12:59:20 -05:00
Robin Sommer
e34f27b928 Updating submodule(s).
[nomail]
2012-05-17 09:58:29 -07:00
Robin Sommer
9b3437ffe8 Merge remote-tracking branch 'origin/fastpath'
* origin/fastpath:
  Add a comment to explain the ICMPv6 error message types
2012-05-17 09:53:43 -07:00
Robin Sommer
502fecd6e9 Merge branch 'topic/robin/dataseries' of ssh://git.bro-ids.org/bro into topic/robin/dataseries 2012-05-16 21:03:32 -07:00
Robin Sommer
122f6ee4c6 Moving trace for rotation test into traces directory. 2012-05-16 18:28:51 -07:00
Robin Sommer
5dae925f67 Fixing a rotation race condition at termination.
Noticed with DS, but could just as well happen with ASCII.
2012-05-16 18:24:55 -07:00
Robin Sommer
99db264775 Portability fixes.
- Fix for time-as-int on 32-bit systems.

    - Skipping ds2txt's index output for test diffing, as it seems
      non-portable.
2012-05-16 18:01:28 -07:00
Robin Sommer
4fe11cf503 Extending DS docs with some examples. 2012-05-16 17:54:38 -07:00
Daniel Thayer
d6fdc10242 Add a comment to explain the ICMPv6 error message types 2012-05-15 10:19:56 -05:00
Robin Sommer
be6567f437 Merge remote-tracking branch 'origin/master' into topic/robin/dataseries 2012-05-14 22:17:26 -07:00
Robin Sommer
ac09bae7d5 Updating doc. 2012-05-14 22:14:31 -07:00
Robin Sommer
fabe891d4f Fixing pack_scale and time-as-int.
Also removing now unneccessary canonifier script, and updating test
baselines.
2012-05-14 22:04:57 -07:00
Robin Sommer
00b592f933 Adding format specifier to DS spec to print out double as %.6f. 2012-05-14 21:38:27 -07:00
Robin Sommer
99f59dc5c0 Quieting external test output somehwat. 2012-05-14 18:18:30 -07:00
Robin Sommer
0197a9a551 Updating submodule(s).
[nomail]
2012-05-14 17:52:00 -07:00
Robin Sommer
87c68e8ce7 Merge remote-tracking branch 'origin/topic/dnthayer/bug805'
* origin/topic/dnthayer/bug805:
  Update tests (use weird.log instead of stderr)
  Don't print the various "weird" events to stderr

Closes #805.
2012-05-14 17:16:45 -07:00
Robin Sommer
8cd3404c80 Merge remote-tracking branch 'origin/topic/dnthayer/icmp-error-message'
* origin/topic/dnthayer/icmp-error-message:
  Generate icmp_error_message event for ICMPv6 error msgs

Closes #819.
2012-05-14 17:11:43 -07:00
Robin Sommer
cb1e9a7c6f Merge remote-tracking branch 'origin/topic/jsiwek/ipv6-output-format'
* origin/topic/jsiwek/ipv6-output-format:
  Change IPv6 output format to no longer automatically be bracketed.
  Change IPv6 address/prefix output format to be bracketed.

Closes #818.
2012-05-14 17:07:02 -07:00
Robin Sommer
514ee67611 Merge remote-tracking branch 'origin/fastpath'
* origin/fastpath:
  Fix typos and improve INSTALL document
2012-05-14 17:02:00 -07:00
Robin Sommer
c0257c5521 Switching to new btest command TEST-SERIALIZE for communication tests. 2012-05-14 16:50:48 -07:00
Daniel Thayer
751cc1cd51 Fix typos and improve INSTALL document
Updated the list of required and optional libraries and tools.
Rewrote the paragraph about the "aux" tools to more accurately
describe what actually gets installed.
2012-05-14 18:34:25 -05:00
Jon Siwek
d3ea312782 Add unit tests for Broccoli SSL and Broccoli IPv6 connectivity. 2012-05-11 17:16:57 -05:00
Daniel Thayer
508d39457a Update tests (use weird.log instead of stderr) 2012-05-11 17:09:01 -05:00
Daniel Thayer
0c057161af Merge remote-tracking branch 'origin/master' into topic/dnthayer/bug805 2012-05-11 16:58:31 -05:00
Daniel Thayer
98394a698d Generate icmp_error_message event for ICMPv6 error msgs
Use the (previously unused) icmp_error_message event for ICMPv6 error
messages that don't have a dedicated event.  Previously, icmp_sent was
being generated, but icmp_error_message contains more info (icmp_sent
is still being used as a fallback for other icmp messages that don't
have a dedicated event).

Also improved documentation comments for all icmp-related events.
2012-05-10 15:50:19 -05:00