zeek/scripts/base
Jon Siwek effeaa5b13 Fix attempt for "internal error: unknown msg type 115 in Poll()"
Under remote communication overload conditions, the child->parent
chunked IO may start rejecting chunks if over the hard cap.  Some
messages are made of two chunks, accepting the first part, but rejecting
the second can put the parent in a bad state and the next two chunks it
reads are likely to cause the error.

This patch just removes the rejecting functionality completely and so
now relies solely on shutting down remote peer connections to help
alleviate temporary overload conditions. The
"chunked_io_buffer_soft_cap" script variable can now tune when this
shutting down starts happening and the default setting is now double
what it used to be.  For constant overload conditions, communication.log
should keep stating "queue to parent filling up; shutting down heaviest
connection".

An alternative to completely removing the hard cap rejection code could
be ensuring that messages that involve a pair of chunks can never have
the second chunk be rejected when attempting to write it.

Addresses BIT-1376
2015-04-16 17:15:42 -05:00
..
files Allow logging filters to inherit default path from stream. 2015-03-19 14:49:55 -05:00
frameworks allow to specify a remote host port to use for the sftp log rotator. 2015-04-03 08:21:22 -07:00
misc BIT-1366: improve checksum offloading warning. 2015-04-02 10:12:39 -05:00
protocols Merge remote-tracking branch 'origin/topic/seth/rdp' 2015-03-30 17:10:04 -05:00
utils Deprecate split* family of BIFs. 2015-01-21 15:34:42 -06:00
init-bare.bro Fix attempt for "internal error: unknown msg type 115 in Poll()" 2015-04-16 17:15:42 -05:00
init-default.bro Fixes tests in RDP branch. 2015-03-05 16:08:18 -05:00