"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/service_inspectors/http_inspect/http_stream_splitter_reassemble.cc" between
snort3-3.1.28.0.tar.gz and snort3-3.1.29.0.tar.gz

About: Snort 3 is a network intrusion prevention and detection system (IDS/IPS) combining the benefits of signature, protocol and anomaly-based inspection.

http_stream_splitter_reassemble.cc  (snort3-3.1.28.0):http_stream_splitter_reassemble.cc  (snort3-3.1.29.0)
skipping to change at line 24 skipping to change at line 24
// You should have received a copy of the GNU General Public License along // You should have received a copy of the GNU General Public License along
// with this program; if not, write to the Free Software Foundation, Inc., // with this program; if not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//-------------------------------------------------------------------------- //--------------------------------------------------------------------------
// http_stream_splitter_reassemble.cc author Tom Peters <thopeter@cisco.com> // http_stream_splitter_reassemble.cc author Tom Peters <thopeter@cisco.com>
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
#endif #endif
#include "http_stream_splitter.h"
#include "protocols/packet.h" #include "protocols/packet.h"
#include "http_inspect.h" #include "http_inspect.h"
#include "http_module.h" #include "http_module.h"
#include "http_stream_splitter.h"
#include "http_test_input.h" #include "http_test_input.h"
using namespace HttpCommon;
using namespace HttpEnums; using namespace HttpEnums;
using namespace snort; using namespace snort;
void HttpStreamSplitter::chunk_spray(HttpFlowData* session_data, uint8_t* buffer , void HttpStreamSplitter::chunk_spray(HttpFlowData* session_data, uint8_t* buffer ,
const uint8_t* data, unsigned length) const const uint8_t* data, unsigned length) const
{ {
ChunkState& curr_state = session_data->chunk_state[source_id]; ChunkState& curr_state = session_data->chunk_state[source_id];
uint32_t& expected = session_data->chunk_expected_length[source_id]; uint32_t& expected = session_data->chunk_expected_length[source_id];
const bool& is_broken_chunk = session_data->is_broken_chunk[source_id]; const bool& is_broken_chunk = session_data->is_broken_chunk[source_id];
uint32_t& num_good_chunks = session_data->num_good_chunks[source_id]; uint32_t& num_good_chunks = session_data->num_good_chunks[source_id];
 End of changes. 3 change blocks. 
1 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)