[Bro-Dev] #383: RemoteSerializer: Improve "all or nothing" socket buffer size change code

Bro Tracker bro at tracker.icir.org
Fri Feb 4 17:28:13 PST 2011


#383: RemoteSerializer: Improve "all or nothing" socket buffer size change code
-------------------+-----------------------------
 Reporter:  leres  |       Type:  Feature Request
   Status:  new    |   Priority:  Normal
Milestone:         |  Component:  Bro
  Version:  1.5.1  |   Keywords:  setsockopt
-------------------+-----------------------------
 Current, bro tries to set the send and receive socket buffers to 1024K.
 Under FreeBSD at least, the default system maximum is 256K so trying to
 set it higher fails and you end up running with 8K buffers.

 Attached is (doesn't-quite-compile) patch that shows how I usually deal
 with this issue; start at the desired value and work down until you find
 one that the system accepts.

-- 
Ticket URL: <http://tracker.icir.org/bro/ticket/383>
Bro Tracker <http://tracker.icir.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list