No description
Find a file
Gregor Maier b8ab0ebc22 Remvoing expire timer from http_sessions.
The expire timeout for the http_sessions table is unnecessary and it
actually breaks http session semantics for long-lived sessions. The
connection_state_remove() event can take care of cleaning up unanswered
sessions.

If a HTTP transfer exceeds the expire timer, then once the expire timer
fires we get an "unanswered" HTTP request in http.log and once the
reply is done (http_reply_done event), it fails to locate the associated
request (because it expired) and thus results in an "unsolicited" HTTP
reply being logged (althoug they should be one http session).

There was a comment in the expire_function mentioning that without the
expire timer some requests don't show up with the test-suite. However,
after checking back with Robin, I could not reproduce this behavior.
(Actually there's one fewer request in the output without the
expire-timer, but this can be explained by the above observation, so
this is not an error but the way it should be).

This patch results in changes to test-suite output:
  * Timestamps for unanswered HTTP replies differ for unanswered request
    in the "short" test.
  * Medium testcase (note: lines are sorted, they are not in the order)::

	-902189670.828700 <unknown request> (0 "" [40880 (interrupted)])
	-902189670.828700 GET /1998/b142.ps <no reply>
	-902189670.828700 start <<IP>>:<<port>> <<IP>>:80
	+902189670.828700 GET /1998/b142.ps (200 "OK" [40880 (interrupted)] <<a.host.name>>)
2010-12-11 10:51:37 -08:00
aux Update submodules 2010-12-10 01:44:25 -08:00
cmake Removed some unset()'s that were missed 2010-11-30 15:17:49 -06:00
doc Cleanup of the Bro distribution. 2010-11-26 13:45:54 -08:00
policy Remvoing expire timer from http_sessions. 2010-12-11 10:51:37 -08:00
src Reversing the null-byte change to strings.bif once more. 2010-12-08 04:46:10 -08:00
testing Initial import of svn+ssh:://svn.icir.org/bro/trunk/bro as of r7088 2010-09-27 20:42:30 -07:00
.gitignore New Makefile wrapper in top-level directory. 2010-11-26 15:31:00 -08:00
.gitmodules Allow building auxilliary projects along with Bro. 2010-11-17 20:38:35 -06:00
bro-path-dev.in Setting executable bit for bro-dev-path.in. 2010-12-09 02:51:11 -08:00
CHANGES Merge with Subversion repository as of r7137. Incorporated change: 2010-12-08 04:10:26 -08:00
Checklist-for-Release Cleanup of the Bro distribution. 2010-11-26 13:45:54 -08:00
CMakeLists.txt Changes to make running bro from build dir easier. 2010-12-06 11:30:52 -06:00
config.h.in Removed unused configure checks (leftover from autotools). 2010-11-17 20:38:34 -06:00
configure Allow CMake generators to pass through configure 2010-12-02 14:23:20 -06:00
COPYING Cleanup of the Bro distribution. 2010-11-26 13:45:54 -08:00
INSTALL Changes to make running bro from build dir easier. 2010-12-06 11:30:52 -06:00
Makefile New Makefile wrapper in top-level directory. 2010-11-26 15:31:00 -08:00
README Cleanup of the Bro distribution. 2010-11-26 13:45:54 -08:00
VERSION Merge with Subversion repository as of r7137. Incorporated change: 2010-12-08 04:10:26 -08:00

This is release 1.6 of Bro, a system for detecting network intruders in
real-time using passive network monitoring.

Please see the file INSTALL for installation instructions and
pointers for getting started. For more documentation, see the
documentation on Bro's home page:

    http://www.bro-ids.org/docs

The main parts of Bro's documentation are also available in the doc/
directory of the distribution. (Please note that the documentation
is still a work in progress; there will be more in future releases.)

Numerous other Bro-related publications, including a paper describing the
system, can be found at

    http://www.bro-ids.org/publications.html

Send comments, etc., to the Bro mailing list, bro@bro-ids.org.
However, please note that you must first subscribe to the list in
order to be able to post to it.

- Vern Paxson & Robin Sommer, on behalf of the Bro development team

Lawrence Berkeley National Laboratory
University of California, Berkeley  USA

ICSI Center for Internet Research (ICIR)
International Computer Science Institute
Berkeley, CA  USA
vern@icir.org / robin@icir.org