-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChangeLog
More file actions
20964 lines (18458 loc) · 869 KB
/
ChangeLog
File metadata and controls
20964 lines (18458 loc) · 869 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2016-11-07 Gagan Sachdeva <gagsachd@cisco.com>
Snort 2.9.9.0
* src/build.h : updating build number to 56.
* tools/u2spewfoo/u2spewfoo.c :
src/snort.c, win32/WIN32-Includes/config.h :
Fixed Issue related to DLL-Load in Snort on Windows platforms For CVE-2016-1417, thanks to Secureworks for
reporting this issue.
* src/: detection_filter.c, detection_filter.h, fpdetect.c,
detection-plugins/detection_options.c,
detection-plugins/detection_options.h, sfutil/sfthd.c,
sfutil/sfthd.h, sfutil/test/sfthd_test.c :
Incrementing detection_filter count on either raw packets or re-assembled packets but not on both.
* src/detection-plugins/sp_byte_jump.c :
Fixed an issue where value present in the zero index of byte_extract array was incorrectly used when
byte_extract rule option is not present.
2016-08-18 Seshaiah Erugu <serugu@cisco.com>
Snort 2.9.9_RC
* src/build.h : Updated build number to 52.
* sfeng/ims/sfsnort/snort/src/dynamic-preprocessors/smtp/snort_smtp.c :
Fixed an issue in mime data processing in case of stateless inspection.
* sfeng/ims/sfsnort/snort/src/preprocessors/: spp_session.c,
Stream6/stream_paf.c :
Addressed incorrect flushing of packets whose size is greater than MAXIMUM_PAF_MAX.
* sfeng/ims/sfsnort/snort/src/output-plugins/spo_log_buffer_dump.c :
Added banner message with packet timestamp for every buffer dump.
* sfeng/ims/sfsnort/snort/src/: snort.h,
dynamic-preprocessors/dcerpc2/dce2_paf.c,
dynamic-preprocessors/dnp3/dnp3_paf.c,
dynamic-preprocessors/ftptelnet/snort_ftptelnet.c,
dynamic-preprocessors/imap/imap_paf.c,
dynamic-preprocessors/modbus/modbus_paf.c,
dynamic-preprocessors/modbus/modbus_paf.h,
dynamic-preprocessors/pop/pop_paf.c,
dynamic-preprocessors/sip/sip_paf.c,
dynamic-preprocessors/smtp/smtp_paf.c,
preprocessors/snort_httpinspect.c, preprocessors/spp_stream6.c,
preprocessors/stream_api.h,
preprocessors/HttpInspect/client/hi_client.c,
preprocessors/HttpInspect/utils/hi_paf.c,
preprocessors/Stream6/snort_stream_tcp.c,
preprocessors/Stream6/stream_paf.c,
preprocessors/Stream6/stream_paf.h :
Generating an event when content-length in a POST request is greater than Payload.
* sfeng/ims/sfsnort/snort/src/decode.c :
Decoding support for packets that contain VLAN and SGT.
* sfeng/ims/sfsnort/snort/src/preprocessors/HttpInspect/client/hi_client.c :
Fixed Coverity issue - added null check before usage.
* sfeng/ims/sfsnort/snort/src/preprocessors/snort_httpinspect.c :
Fixed Coverity issue - added null check for Field_Name.
* sfeng/ims/sfsnort/snort/src/preprocessors/Stream6/snort_stream_tcp.c :
Fixed an issue where out-of-bounds memory access (is possible) due to incorrect length argument in memcpy.
* sfeng/ims/sfsnort/snort/src/preprocessors/spp_stream6.c :
Resolved an issue where stream_config is not set (to) correct value in some cases after reload.
* sfeng/ims/sfsnort/snort/src/file-process/:
file_segment_process.c, file_service.c :
Changes done to avoid memory allocation for each signature callback and handle
segments properly when file session has not been created yet.
* sfeng/ims/sfsnort/snort/preproc_rules/preprocessor.rules :
Added new http prepreocessor alert for multiple content encoding.
alert ( msg: "HI_SERVER_MULTIPLE_CONTENT_ENCODING"; sid:20; gid: 120; rev: 1; metadata: rule-type preproc ; classtype:unknown; ).
* sfeng/ims/sfsnort/snort/src/dynamic-preprocessors/appid/fw_appid.c :
Changes done to handle empty HTTP XFF field.
* sfeng/ims/sfsnort/snort/src/dynamic-preprocessors/appid/service_plugins/service_base.c :
Changed initiator_ip to be in sync with other ip's.
* sfeng/ims/sfsnort/snort/src/dynamic-preprocessors/appid/fw_appid.c :
Fixed an issue where AppId was skipping inspection of some HTTP requests.
* sfeng/ims/sfsnort/snort/src/dynamic-plugins/sf_dynamic_plugins.c :
Fixed compiler warning by changing the definition of dummyConsumeHAState() function.
* sfeng/ims/sfsnort/snort/src/dynamic-preprocessors/appid/:
fw_appid.c, detector_plugins/detector_smtp.c :
Fixed AppId compilation warnings.
* sfeng/ims/sfsnort/snort/src/: parser.c, parser.h, snort.c,
snort.h, preprocessors/spp_normalize.c,
preprocessors/spp_normalize.h, preprocessors/spp_stream6.c,
preprocessors/stream_api.h,
preprocessors/Session/session_common.h,
preprocessors/Session/session_expect.c,
preprocessors/Stream6/snort_stream_tcp.c :
Fixed an issue where Malware files not getting dropped over FTP protocol.
* sfeng/ims/sfsnort/snort/src/dynamic-preprocessors/appid/appInfoTable.c :
Fixed issue with using dynamic app ID names (not in appMapping.data) in Snort rules.
* sfeng/ims/sfsnort/snort/src/preprocessors/HttpInspect/utils/hi_paf.c :
Handling HTTP header line containing \r or \r\r.
* sfeng/ims/sfsnort/snort/src/dynamic-preprocessors/appid/: flow.h,
fw_appid.c, thirdparty_appid_types.h :
Performance improvement in Appid.
* sfeng/ims/sfsnort/snort/src/: file-process/file_service.c,
preprocessors/snort_httpinspect.c,
preprocessors/snort_httpinspect.h :
Added support to detect partial content when it starts in second reassembled packet.
* sfeng/ims/sfsnort/snort/src/preprocessors/: snort_httpinspect.c,
snort_httpinspect.h, HttpInspect/client/hi_client.c
HTTP preprocessor enhanced to handle the split of chunk length itself across different packets.
* sfeng/ims/sfsnort/snort/src/decode.c :
Fixed an issue where single packet can cause a segmentation fault if there is a specific
snort rule is in place. Thanks to Marcel da Silva for reporting this issue.
* sfeng/ims/sfsnort/snort/src/decode.c :
Fixed an issue where incorrect byte order was been used for comparison with hard coded value.
Thanks to Al Lewis who reported this issue on open source.
* sfeng/ims/sfsnort/snort/src/preprocessors/: spp_session.c,
spp_stream6.c, Session/session_common.h,
Stream6/snort_stream_tcp.c :
This patch changes the logic in session to set a flag in the SCB
for a flow on the first packet after a reload to indicate the
stream config pointer is stale. Previously the pointer was set
to NULL. Stream was changed to check this stale flag and, if true,
the stream config pointer in the SCB is reinitialized.
With this change the stream configuration pointer continues to
point to the old configuration which will still be valid until
the stream preproc runs. This ensures that the part of the SSL
preproc that runs before Session/Stream have run will have a
valid stream config pointer after a reload.
In addition the StreamActivatePafTcp function, which is called by
the SSL preproc and requires a valid stream configuration, was
changed to check for the pointer being NULL and if it is it will
reinitialize the pointer to valid value and log a warning
message.
* sfeng/ims/sfsnort/snort/doc/snort_manual.tex :
Snort manual updated with Buffer dump feature.
* sfeng/ims/sfsnort/snort/doc/snort_manual.tex :
Snort manual changed with Rule Options Enhancement.
* sfeng/ims/sfsnort/snort/src/sfutil/sfghash.c :
Added NULL check for SFGHASH.
* sfeng/ims/sfsnort/snort/etc/sf_rule_options :
Error message is updated for byte_extract options.
When creating a rule with byte_extract option an error message is sent
when the rule doesn't include a variable name, which is mandatory.
* sfeng/ims/sfsnort/snort/src/: encode.c, preprocids.h,
detection-plugins/sp_byte_math.c,
dynamic-output/plugins/output_lib.h,
dynamic-preprocessors/ftptelnet/pp_ftp.c,
preprocessors/perf-base.c, preprocessors/snort_httpinspect.c,
preprocessors/spp_stream6.c,
preprocessors/HttpInspect/server/hi_server.c, sfutil/sf_ip.h,
win32/WIN32-Prj/snort.dsp :
Addressed issues in Snort Windows build.
* sfeng/ims/sfsnort/snort/src/detection-plugins/: sp_byte_check.c,
sp_byte_jump.c, sp_byte_math.c :
An error message is sent if string rule option is not present
when bytes to grab are greater than 4 bytes in byte_math rule.
* sfeng/ims/sfsnort/snort/src/preprocessors/Stream6/snort_stream_tcp.c :
Resolved an incorrect logging of source and destination ip when TCP stream queue is full.
* sfeng/ims/sfsnort/snort/src/detection-plugins/sp_byte_math.c :
Error message is updated for byte_math options.
When creating a rule with byte_math option an error message is sent
when the rule doesn't include offset and rvalue.
* sfeng/ims/sfsnort/snort/src/dynamic-preprocessors/appid/:
Makefile_defs, fw_appid.c, client_plugins/client_app_base.c,
client_plugins/client_app_smtp.c,
client_plugins/client_app_smtp.h,
detector_plugins/detector_base.c,
detector_plugins/detector_smtp.c, service_plugins/service_base.c,
service_plugins/service_smtp.c, service_plugins/service_smtp.h :
Added SMTP detection to AppID, added detector_smtp.c file as part of this enhancement.
2016-05-12 Seshaiah Erugu <serugu@cisco.com>
Snort 2.9.9 Beta
* src/build.h : Updated build number to 4065.
* src/dynamic-preprocessors/appid/fw_appid.c :
Fix for handling bogus client AppIds for AppleCoreMedia.
* src/preprocessors/spp_arpspoof.c :
Added 802.11/wifi header support in ARP Preprocessor.
* src/: detect.c, dynamic-plugins/sf_engine/sf_snort_packet.h,
preprocessors/session_api.h,
preprocessors/Stream6/snort_stream_tcp.c :
Changed RST handling on closed tcp connection.
* src/dynamic-preprocessors/appid/appInfoTable.c :
Fixed a compilation issue in AppId.
* src/: appIdApi.h, dynamic-preprocessors/appid/appIdApi.c,
dynamic-preprocessors/appid/flow.h,
dynamic-preprocessors/appid/fw_appid.c,
dynamic-preprocessors/appid/httpCommon.h,
dynamic-preprocessors/appid/luaDetectorApi.c,
dynamic-preprocessors/appid/thirdparty_appid_types.h,
dynamic-preprocessors/appid/detector_plugins/detector_http.c,
dynamic-preprocessors/appid/detector_plugins/detector_http.h :
Added support for Host, User-Agent, and Referer fields to be rewritten.
* src/dynamic-preprocessors/appid/: appIdApi.c, appInfoTable.h,
fw_appid.c, luaDetectorApi.c, detector_plugins/detector_http.c,
service_plugins/service_ftp.c, service_plugins/service_tftp.c :
Fixed AppId compilation warnings.
* src/preprocessors/Session/stream5_ha.c :
Fix updates HA sf_base counters during failover.
* src/dynamic-preprocessors/appid/fw_appid.c,
src/dynamic-preprocessors/appid/: appId.h :
Fix Reconstructed the call to port-service detection.
* src/dynamic-preprocessors/appid/test/appIdTests.c :
Fixed an AppId compilation issue.
* src/dynamic-preprocessors/appid/appId.h :
Revised appid.h to have APP_ID_ICMP and APP_ID_ICMPV6.
* src/dynamic-preprocessors/appid/: httpCommon.h, luaDetectorApi.c,
detector_plugins/detector_http.c :
Added DEFER_TO_SIMPLE_DETECT action to CHPAddAction.
* src/preprocessors/HttpInspect/: event_output/hi_eo_log.c,
New HTTP prepocessor alert added for Multiple content encodings.
* src/preprocessors/Stream6/snort_stream_tcp.c :
Fix populates DAQ_PktHdr_t of the packet generated while flushing queued
segments with src and dst IP's.
* src/preprocessors/HttpInspect/: client/hi_client.c,
event_output/hi_eo_log.c, include/hi_eo_events.h,
server/hi_server.c :
New HTTP preprocessor alert added for multiple content lengths.
* src/dynamic-preprocessors/appid/: fw_appid.c,
service_plugins/service_rshell.c :
Fix reduces extra service discovery to improve performance.
* src/preprocessors/HttpInspect/client/hi_client.c :
Fix to handle chunk encoding followed by \r\r\r\n and \n\n\n\r\r\n.
This issue was reported by Steffen Ullrich.
* src/: detection_filter.c, detection_filter.h, fpdetect.c,
detection-plugins/detection_options.c,
detection-plugins/detection_options.h, sfutil/sfthd.c,
sfutil/sfthd.h, sfutil/test/sfthd_test.c :
Fix related to detection_options.
Added a new variable detection_filter_count to detection_option_eval_data_t
data structure and set it when detection_filter_test is called for first time.
* src/dynamic-preprocessors/appid/: fw_appid.c, test/appIdTests.c :
Fix picks last IP address in XFF address list.
* src/decode.c :
Added an additional check for divisibility of the length of the PGM header by 4.
If it's not, then an error is returned instead of calculating the checksum.
* src/dynamic-preprocessors/appid/fw_appid.c :
Changed ignore tp appid logic.
* src/preprocessors/HttpInspect/server/hi_server.c :
File filled with delimiters now successfully gets detected.
* src/dynamic-preprocessors/appid/service_plugins/service_ftp.c :
Fix ignores text after FTP response codes.
* src/preprocessors/HttpInspect/server/hi_server.c :
Modified Http header parsing of multiline content-encoding header.
* src/: appIdApi.h, dynamic-preprocessors/appid/appIdApi.c,
dynamic-preprocessors/appid/appInfoTable.h,
dynamic-preprocessors/appid/flow.h,
dynamic-preprocessors/appid/fw_appid.c,
dynamic-preprocessors/appid/luaDetectorApi.c,
dynamic-preprocessors/appid/detector_plugins/detector_http.c :
Made changes in getHttpSearch() to return value based on any payloadAppId match,
not just CHP patterns.
* src/preprocessors/: snort_httpinspect.c,
HttpInspect/server/hi_server.c :
Fixed Coverity issue - Unsigned compared against 0.
* src/preprocessors/: snort_httpinspect.c,
HttpInspect/server/hi_server.c :
Improved chunked gzip content handling.
* src/: dynamic-preprocessors/sdf/spp_sdf.c, obfuscation.c :
Fix to mask sensitive data spanning multiple raw packets.
* src/sfutil/sfghash.c :
Added NULL pointer checks to all the functions in sfghash.c.
* src/preprocessors/spp_httpinspect.c :
Fix Sets file_depth after Snort reload.
* src/dynamic-preprocessors/appid/: fw_appid.c, httpCommon.h,
luaDetectorApi.c, detector_plugins/detector_http.c,
detector_plugins/detector_http.h :
Fix allows multiple key patterns per AppId instance in CHPMultiAddAction().
* src/preprocessors/HttpInspect/files/file_decomp_SWF.c :
Fixed an issue with LZMA flash decompression.
* etc/sf_rule_options, src/detection-plugins/sp_byte_extract.c,
src/detection-plugins/sp_byte_extract.h :
Changed code to allow 1 to 10 bytes (bytes_to_extract )values in byte_extract rule.
* configure.in, doc/snort_manual.tex, etc/snort.conf,
rpm/snort.spec, src/dynamic-plugins/sf_dynamic_meta.h,
src/dynamic-plugins/sf_engine/examples/detection_lib_meta.h,
src/win32/WIN32-Includes/config.h,
src/win32/WIN32-Prj/snort_installer.nsi :
API version updated.
* src/dynamic-preprocessors/appid/fw_appid.c :
Fix prevents bogus generic clients, and also prevents things like "MPEG"
showing up as a client in case of AppleCoreMedia.
* src/detection-plugins/sp_byte_jump.c :
Now from_end option acccepts 0-10 bytes in byte_jump rule.
* src/dynamic-preprocessors/appid/: fw_appid.c, httpCommon.h :
Added more AppId instances for CHPMultixxx Lua api.
* configure.in, src/appIdApi.h, src/sfdaq.c, src/sfdaq.h,
src/tag.c, src/dynamic-plugins/sf_dynamic_plugins.c,
src/dynamic-preprocessors/appid/appIdApi.c,
src/dynamic-preprocessors/appid/flow.c,
src/dynamic-preprocessors/appid/flow.h,
src/dynamic-preprocessors/appid/fw_appid.c,
src/dynamic-preprocessors/appid/fw_appid.h,
src/dynamic-preprocessors/appid/luaDetectorApi.c,
src/dynamic-preprocessors/appid/luaDetectorApi.h,
src/dynamic-preprocessors/appid/luaDetectorFlowApi.c,
src/dynamic-preprocessors/appid/client_plugins/client_app_aim.c,
src/dynamic-preprocessors/appid/client_plugins/client_app_base.c,
src/dynamic-preprocessors/appid/client_plugins/client_app_bit.c,
src/dynamic-preprocessors/appid/client_plugins/client_app_bit_tracker.c,
src/dynamic-preprocessors/appid/client_plugins/client_app_msn.c,
src/dynamic-preprocessors/appid/client_plugins/client_app_rtp.c,
src/dynamic-preprocessors/appid/client_plugins/client_app_smtp.c,
src/dynamic-preprocessors/appid/client_plugins/client_app_ssh.c,
src/dynamic-preprocessors/appid/client_plugins/client_app_timbuktu.c,
src/dynamic-preprocessors/appid/client_plugins/client_app_tns.c,
src/dynamic-preprocessors/appid/client_plugins/client_app_vnc.c,
src/dynamic-preprocessors/appid/client_plugins/client_app_ym.c,
src/dynamic-preprocessors/appid/detector_plugins/detector_dns.c,
src/dynamic-preprocessors/appid/detector_plugins/detector_http.c,
src/dynamic-preprocessors/appid/detector_plugins/detector_imap.c,
src/dynamic-preprocessors/appid/detector_plugins/detector_kerberos.c,
src/dynamic-preprocessors/appid/detector_plugins/detector_pattern.c,
src/dynamic-preprocessors/appid/detector_plugins/detector_pop3.c,
src/dynamic-preprocessors/appid/detector_plugins/detector_sip.c,
src/dynamic-preprocessors/appid/service_plugins/service_MDNS.c,
src/dynamic-preprocessors/appid/service_plugins/service_api.h,
src/dynamic-preprocessors/appid/service_plugins/service_base.c,
src/dynamic-preprocessors/appid/service_plugins/service_base.h,
src/dynamic-preprocessors/appid/service_plugins/service_battle_field.c,
src/dynamic-preprocessors/appid/service_plugins/service_bgp.c,
src/dynamic-preprocessors/appid/service_plugins/service_bit.c,
src/dynamic-preprocessors/appid/service_plugins/service_bootp.c,
src/dynamic-preprocessors/appid/service_plugins/service_dcerpc.c,
src/dynamic-preprocessors/appid/service_plugins/service_direct_connect.c,
src/dynamic-preprocessors/appid/service_plugins/service_flap.c,
src/dynamic-preprocessors/appid/service_plugins/service_ftp.c,
src/dynamic-preprocessors/appid/service_plugins/service_irc.c,
src/dynamic-preprocessors/appid/service_plugins/service_lpr.c,
src/dynamic-preprocessors/appid/service_plugins/service_mysql.c,
src/dynamic-preprocessors/appid/service_plugins/service_netbios.c,
src/dynamic-preprocessors/appid/service_plugins/service_nntp.c,
src/dynamic-preprocessors/appid/service_plugins/service_ntp.c,
src/dynamic-preprocessors/appid/service_plugins/service_radius.c,
src/dynamic-preprocessors/appid/service_plugins/service_rexec.c,
src/dynamic-preprocessors/appid/service_plugins/service_rfb.c,
src/dynamic-preprocessors/appid/service_plugins/service_rlogin.c,
src/dynamic-preprocessors/appid/service_plugins/service_rpc.c,
src/dynamic-preprocessors/appid/service_plugins/service_rshell.c,
src/dynamic-preprocessors/appid/service_plugins/service_rsync.c,
src/dynamic-preprocessors/appid/service_plugins/service_rtmp.c,
src/dynamic-preprocessors/appid/service_plugins/service_smtp.c,
src/dynamic-preprocessors/appid/service_plugins/service_snmp.c,
src/dynamic-preprocessors/appid/service_plugins/service_ssh.c,
src/dynamic-preprocessors/appid/service_plugins/service_ssl.c,
src/dynamic-preprocessors/appid/service_plugins/service_telnet.c,
src/dynamic-preprocessors/appid/service_plugins/service_tftp.c,
src/dynamic-preprocessors/appid/service_plugins/service_timbuktu.c,
src/dynamic-preprocessors/appid/service_plugins/service_tns.c,
src/dynamic-preprocessors/appid/test/appIdTests.c,
src/dynamic-preprocessors/appid/util/common_util.h,
src/file-process/file_resume_block.c,
src/preprocessors/Session/session_expect.c,
src/preprocessors/Stream6/snort_stream_tcp.c :
Added the flag to prevent third-party application identification
to expected connections. Changed the internal and external flags
field into one 64-bit flags field. Added address space and
instance to AppID debug. Cleaned up some compiler warnings.
Added the debugging flags and info to the service validator function to
allow internal debugging. Fixed processing of packets without any payload.
Fixed tftp and rshell detection. Fixed third-party application identification
proto state for sessions after http. Fixed expected session allow for AppId
continutation (tftp, snmp).
* src/dynamic-preprocessors/appid/: appInfoTable.c, appInfoTable.h,
fw_appid.h :
Fixed the issue where AppId for Facebook over SPDY/HTTP 1.1 is incorrect.
* src/dynamic-preprocessors/appid/fw_appid.c :
Fixed Coverity warning for Uninitialized variable.
* src/dynamic-preprocessors/appid/: httpCommon.h, luaDetectorApi.c,
detector_plugins/detector_http.c :
Changed code in CHPAddAction to REWRITE/INSERT side effect.
* src/dynamic-preprocessors/appid/appInfoTable.c :
Disabled internal AppID detectors for HTTP/2 by default.
* src/preprocessors/HttpInspect/: include/h2_common.h,
utils/h2_common.c, utils/h2_paf.c :
Added support for HTTP/2.
* src/dynamic-preprocessors/imap/imap_buffer_dump.c,
src/dynamic-preprocessors/imap/imap_buffer_dump.h,
src/dynamic-preprocessors/ftptelnet/ftptelnet_buffer_dump.c,
src/dynamic-preprocessors/ftptelnet/ftptelnet_buffer_dump.h,
src/dynamic-preprocessors/dcerpc2/dcerpc2_buffer_dump.c,
src/dynamic-preprocessors/dcerpc2/dcerpc2_buffer_dump.h,
src/dynamic-preprocessors/ssl/ssl_buffer_dump.c,
src/dynamic-preprocessors/ssl/ssl_buffer_dump.h,
src/dynamic-preprocessors/ssh/ssh_buffer_dump.c,
src/dynamic-preprocessors/ssh/ssh_buffer_dump.h,
src/dynamic-preprocessors/dns/dns_buffer_dump.c,
src/dynamic-preprocessors/dns/dns_buffer_dump.h,
src/dynamic-preprocessors/modbus/modbus_buffer_dump.c,
src/dynamic-preprocessors/modbus/modbus_buffer_dump.h,
src/preprocessors/HttpInspect/utils/hi_buffer_dump.c,
src/preprocessors/HttpInspect/include/hi_buffer_dump.h,
src/output-plugins/spo_log_buffer_dump.h,
src/output-plugins/spo_log_buffer_dump.c,
src/dynamic-preprocessors/smtp/smtp_buffer_dump.c,
src/dynamic-preprocessors/smtp/smtp_buffer_dump.h,
src/dynamic-preprocessors/sip/sip_buffer_dump.c,
src/dynamic-preprocessors/sip/sip_buffer_dump.h,
src/dynamic-preprocessors/pop/pop_buffer_dump.c,
src/dynamic-preprocessors/pop/pop_buffer_dump.h,
src/dynamic-preprocessors/dnp3/dnp3_buffer_dump.c,
src/dynamic-preprocessors/dnp3/dnp3_buffer_dump.h,
src/dynamic-preprocessors/gtp/gtp_buffer_dump.c,
src/dynamic-preprocessors/gtp/gtp_buffer_dump.h,
src/dynamic-preprocessors/imap/imap_buffer_dump.c :
Added these files as part of Buffer-dump feature.
* src/detection-plugins/sp_byte_math.c,
src/detection-plugins/sp_byte_math.h :
Added new rule option "byte_math".
2016-04-26 Rahul Burman <rahburma@cisco.com>
Snort 2.9.8.3
* src/build.h: updating build number to 383
* configure.in, src/preprocessors/HttpInspect/server/hi_server.c:
Modified Http header parsing of multiline content-encoding header.
* src/preprocessors/: snort_httpinspect.c,
HttpInspect/server/hi_server.c:
Fixed an issue where file position pointer was incorrectly set for HTTP response
containing chunked and gzip data.
* src/preprocessors/Stream6/: snort_stream_tcp.c
Added sanity check to TCP trimming in out-of-order FIN case.
* src/parser.c:
Disabled port groups that are not useful unless adapative profiling is enabled.
* src/: dynamic-preprocessors/sdf/spp_sdf.c, obfuscation.c:
Fixed an issue of incorrect masking of sensitive data.
2016-03-18 Gaurav Nagare <gnagare@cisco.com>
Snort 2.9.8.2
* src/build.h: updating build number to 335
* src/dynamic-plugins/: sf_engine/examples/detection_lib_meta.h,
sf_dynamic_meta.h:
Updated detection API version to 2.6 to use the latest snort SO rules.
* src/: dynamic-preprocessors/sdf/spp_sdf.c,
preprocessors/Stream6/snort_stream_tcp.c, obfuscation.c:
Fixed several issues with SDF and obfuscation.
* src/: profiler.h, preprocessors/perf_indicators.c,
preprocessors/perf_indicators.h:
Resolved snort build issue with "--disable-perfprofiling" configure
option.
* src/: decode.c, decode.h:
Added Double VLAN tagging support.
* src/file-process/file_mime_process.c:
Enhanced mime parsing by adding support for detecting files
after unknown headers and no headers.
* src/preprocessors/HttpInspect/server/hi_server.c:
Fixed memory leak.
* src/preprocessors/HttpInspect/utils/hi_paf.c:
Fixed issue with gzip decompression. If the server response specifies
Content-Encoding as GZIP, but no Content-Length field for HTTP version 1.0.
* doc/snort_manual.pdf, src/preprocessors/snort_httpinspect.c,
src/preprocessors/spp_httpinspect.c:
Fixed Snort memory leak in parsing HTTP xff options.
* src/preprocessors/spp_httpinspect.c:
Fixed Coverity issues.
* src/preprocessors/: snort_httpinspect.c, snort_httpinspect.h,
HttpInspect/include/hi_paf.h, HttpInspect/server/hi_server.c,
HttpInspect/utils/hi_paf.c:
Improved End of Header(EOH) identification for response header spanning multiple
reassembled packets.
* src/preprocessors/: HttpInspect/utils/hi_paf.c,
Stream6/snort_stream_tcp.c, Stream6/stream_paf.c:
Improved packet reassembly for HTTP, added code to purge segment correctly when
PAF decides to ignore packet upon reaching paf_max.
* src/fpdetect.c:
Fixed to use outer header callback functions when checking IP rule against outer IPs
and inner header callback when checking against inner IPs.
* src/preprocessors/spp_httpinspect.c:
Fixed an issue where http_inspect current and default config had
different file depth.
* src/dynamic-preprocessors/appid/detector_plugins/detector_dns.c:
Handled malformed DNS host in AppId.
* src/file-process/: file_api.h, file_segment_process.c, file_service.c:
Prevented access to file contexts which are pruned when memcap is
reached.
* src/dynamic-preprocessors/appid/: app_forecast.c, app_forecast.h,
flow.h, fw_appid.c, spp_appid.c, thirdparty_appid_types.h:
Performance improvements to AppID.
* src/dynamic-preprocessors/appid/luaDetectorApi.c:
Created a future-flow API for lua detector.
Exposed DNS API to lua detector.
* src/dynamic-preprocessors/ftptelnet/pp_ftp.c:
Fixed an issue where unexpected SSL negotiation starts for FTP
with explicit SSL.
* src/preprocessors/HttpInspect/utils/hi_paf.c:
Updated HTTP PAF to accept all tokens between method and version
string in request URI.
* src/preprocessors/HttpInspect/files/file_decomp_SWF.c:
Fixed Flash LZMA decompression issue.
* src/preprocessors/spp_httpinspect.c:
Fixed file_depth intialization issue during Snort reload.
2015-11-18 Carter Waxman <cwaxman@cisco.com>
Snort 2.9.8.0
* src/build.h: updating build number to 229
* src/preprocessors/: session_api.h, spp_session.c,
Session/session_expect.c, Session/session_expect.h:
Added support for multiple expected sessions created for
a single packet.
* doc/: snort_manual.pdf, snort_manual.tex:
Changed gtp ports in snort manual
* src/: dynamic-preprocessors/ftptelnet/ftpp_si.c,
dynamic-preprocessors/ftptelnet/ftpp_si.h,
dynamic-preprocessors/ftptelnet/snort_ftptelnet.c,
preprocessors/spp_session.c:
Change setAppProcolId to update SFAT for non-TCP traffic
* src/dynamic-preprocessors/appid/spp_appid.c:
Fixed reload issues
* src/dynamic-preprocessors/appid/detector_plugins/detector_sip.c:
Future flows are now created for both directions on SIP
* src/dynamic-preprocessors/smtp/smtp_paf.c:
Improved reliability of SMTP PAF
* src/dynamic-preprocessors/appid/fw_appid.c: Bugs Fixed:
Improved AppId detection on SSL/TLS protocols for decrypted
* src/: dynamic-plugins/sf_engine/sf_snort_packet.h,
dynamic-preprocessors/ftptelnet/snort_ftptelnet.c,
preprocessors/Stream6/snort_stream_tcp.c:
Fixed FTP file detection where server SYNs data channel before
responding to PORT on command channel.
* src/dynamic-preprocessors/appid/: commonAppMatcher.c, fw_appid.c,
fw_appid.h, service_plugins/service_ftp.c:
Improved detection of data on FTPS data channel
* src/: encode.c, util.h,
dynamic-preprocessors/appid/test/sessionFile.h,
preprocessors/spp_session.c, preprocessors/spp_stream6.c,
preprocessors/Session/session_common.h:
Added support for MPLS active responses
* src/dynamic-preprocessors/appid/:
detector_plugins/detector_pop3.c, service_plugins/service_ftp.c:
Improved detection of POP3S
* src/detection-plugins/sp_appid.c:
Fixed reliability issue with client AppID IPS rules
* preproc_rules/preprocessor.rules,
src/dynamic-preprocessors/smtp/smtp_config.c,
src/dynamic-preprocessors/smtp/smtp_config.h,
src/dynamic-preprocessors/smtp/smtp_log.h,
src/dynamic-preprocessors/smtp/smtp_paf.c:
Added preproc alert for excessive data following "AUTH NTLM\r\n"
"AUTH CRAM-MD5\r\n"
* src/dynamic-preprocessors/reputation/: reputation_config.c,
shmem/shmem_mgmt.c:
Improved reliability of reputation shared memory on single-cpu
systems
* doc/: snort_manual.pdf, snort_manual.tex:
Fix first/last typo in manual. Thanks Mohsen Abbaspour for reporting it.
* src/dynamic-preprocessors/appid/spp_appid.c:
Update AppID to use only global snort config and only process IP packets
* src/dynamic-preprocessors/appid/service_plugins/service_tftp.c:
Fixed reversal of TFTP detection had the source and destination
address data
* src/: detection-plugins/sp_byte_jump.c,
dynamic-plugins/sf_convert_dynamic.c,
dynamic-preprocessors/appid/appIdConfig.c,
dynamic-preprocessors/appid/commonAppMatcher.c,
dynamic-preprocessors/appid/fw_appid.c,
dynamic-preprocessors/appid/luaDetectorApi.c,
dynamic-preprocessors/appid/client_plugins/client_app_smtp.c,
dynamic-preprocessors/appid/detector_plugins/detector_http.c,
dynamic-preprocessors/appid/service_plugins/service_MDNS.c,
dynamic-preprocessors/ftptelnet/hi_util_kmap.c,
dynamic-preprocessors/ftptelnet/snort_ftptelnet.c,
dynamic-preprocessors/reputation/reputation_config.c,
dynamic-preprocessors/sdf/sdf_detection_option.c,
dynamic-preprocessors/ssl_common/ssl_config.c,
dynamic-preprocessors/ssl_common/ssl_ha.c,
output-plugins/spo_csv.c, preprocessors/spp_arpspoof.c,
preprocessors/spp_session.c,
preprocessors/HttpInspect/utils/hi_util_kmap.c, sfutil/ipobj.c,
sfutil/sfghash.c:
Added error checks to improve reliability
* src/dynamic-preprocessors/appid/: flow.h, fw_appid.c,
service_plugins/service_ssl.c, service_plugins/service_ssl.h:
Fixed issue where appid info was not populated for ssl
sessions on non-standard ports
2015-08-28 Rahul Burman <rahburma@cisco.com>
Snort 2.9.8_rc
* src/build.h:
updating build number to 195
* src/preprocessors/HttpInspect/: client/hi_client.c,
server/hi_server.c:
NULL check added for call to strndup function.
* src/output-plugins/spo_alert_unixsock.c:
Resolved issue where output data is corrupted while writing to unix socket [reported by Alexander Bubnov].
* src/: dynamic-plugins/sf_dynamic_plugins.c,
dynamic-plugins/sf_dynamic_preprocessor.h,
dynamic-preprocessors/ftptelnet/ftpp_si.h,
dynamic-preprocessors/ftptelnet/ftpp_ui_config.h,
dynamic-preprocessors/ftptelnet/pp_ftp.c,
dynamic-preprocessors/ftptelnet/snort_ftptelnet.c:
Improvements to FTP preprocessor to block malware when downloaded with a client that supports FTP REST.
* src/dynamic-preprocessors/appid/fw_appid.c:
Resolved issue where squid detector is not showing expected alerts.
Reset app ID when SSL is identified on an FTP data channel.
* src/preprocessors/spp_perfmonitor.c:
Resolved snort output error issue in perfmonitor preprocessor
* src/preprocessors/Stream6/snort_stream_tcp.c:
Resolved issue where snort marks retransmitted packet as bad segment.
Fixed issue where XFF/ExtraData is not always logged when 'drop' rules trigger [reported by Mike Cox].
* src/dynamic-preprocessors/reputation/reputation_config.c:
Fixed unexpected behaviour in reputation config where blacklist is displayed
in priority field even though whitelist option is set [reported by Mike Cox].
* src/: decode.h, snort.c,
dynamic-plugins/sf_engine/sf_snort_packet.h,
preprocessors/Stream6/snort_stream_tcp.c:
Improvements done to avoid RETRY verdict for re-transmitted packet.
* etc/gen-msg.map:
Fixed a typo where ssp_ssl is renamed to spp_ssl
* src/preprocessors/spp_session.c:
Changes done to avoid memory allocation for default no. of sessions when session tracking is disabled.
* doc/snort_manual.tex:
Corrected errors in snort_manual.tex [reported by Gabriel Corre].
* src/dynamic-preprocessors/appid/: appId.h, appIdStats.c,
service_plugins/service_ftp.c:
Changes done to differentiate between active and passive FTP connections.
* src/dynamic-preprocessors/appid/: appIdApi.c, appIdConfig.h,
appInfoTable.c, flow.h, fw_appid.c, thirdparty_appid_api.h,
thirdparty_appid_utils.c, detector_plugins/detector_http.c,
detector_plugins/detector_sip.c:
Fixed issues reported by valgrind in AppID.
2015-08-05 Victor Roemer <viroemer@cisco.com>
Snort 2.9.8 Beta
* src/build.h:
Update build number to 176
* src/dynamic-preprocessors/appid/service_plugins/service_ftp.c:
Snort to support EPRT command for active FTP on IPv4 and IPv6
* src/dynamic-preprocessors/ftptelnet/: ftpp_si.c, ftpp_si.h, pp_ftp.c:
Some PDF files were not blocked by snort.
* src/preprocessors/HttpInspect/client/hi_client.c:
Check if packet has start of PDU before generating alert.
* src/dynamic-preprocessors/smtp/smtp_util.c:
SMTP preprocessor email log buffer length update before copying to
avoid assert failure.
* src/: active.c,
decode.h,
preprocids.h,
detection-plugins/sp_react.c,
dynamic-plugins/sf_engine/sf_snort_packet.h,
dynamic-preprocessors/appid/spp_appid.c,
dynamic-preprocessors/reputation/spp_reputation.c,
preprocessors/spp_session.c:
Sessions that are blocked and trusted. Fix sp_react when sending
data.
* src/dynamic-preprocessors/appid/: flow.h, fw_appid.c,
detector_plugins/detector_http.c:
Skip simple detection only for those CHP actions that could overrirde
client ID, payload ID, etc.
* doc/snort_manual.tex:
Correct Unified2 Packet content.
* etc/snort.conf,
src/preprocessors/snort_httpinspect.c,
src/preprocessors/snort_httpinspect.h,
src/preprocessors/HttpInspect/client/hi_client.c,
src/preprocessors/HttpInspect/server/hi_server.c,
src/preprocessors/Stream6/stream_paf.c:
Clear True-IP and XFF between HTTP transactions. Prevents Snort
from logging extra data on transactions incorrectly.
* src/sfutil/sf_ip.h:
Treat 0.0.0.0/0 as "any" ipv4 address, fixing rule matches on ip header
leaf node.
* src/preprocessors/perf-base.c:
Fixed macro usage to work with ICC and C89.
* src/preprocessors/perf-base.c:
Fixed erroneous performance values being generated when Snort is idle.
* src/dynamic-preprocessors/appid/: service_plugins/service_api.h,
util/NetworkSet.h:
Fixed appid compilation issues for FreeBSD and OpenBSD.
* tools/appid_detector_builder.sh:
Fix script shortcomings for HTTP URL, Copyright, DetectorClean() stub.
* src/decode.c:
Snort min_ttl decoder rules drop regardless of alert/drop type.
* src/dynamic-preprocessors/appid/luaDetectorApi.c:
Set active flag for sandboxing for SSL Lua detectors.
* src/: active.h, sfdaq.c, sfdaq.h, snort.c,
dynamic-plugins/sf_dynamic_plugins.c,
dynamic-plugins/sf_dynamic_preprocessor.h,
file-process/file_service.c:
Add support for DAQ Retry detection of the current packet.
This change adds active response api function to request a packet
retry (method added to dpd struct as well) and to query if the
packet disposition is ACTIVE_RETRY.
* src/preprocessors/: spp_session.c,
Session/stream5_ha.c,
Session/stream5_ha.h:
preprocessors/Stream6/snort_stream_tcp.c:
preprocessors/spp_session.c:
If session lookup fails for a packet being processed
by the Session preprocessor while DAQ HA is enabled and DAQ HA
state is available for the packet, retrieve and process the HA
state from the DAQ and retry the lookup. Do not store DAQ HA
state when unsupported tunnel types are decoded that might make
the underlying hardware's concept of flows not match Snort's.
* src/dynamic-preprocessors/file/: file_agent.c, file_agent.h,
spp_file.c:
Support daemon option with file_inspect preprocessor.
* src/preprocessors/Stream6/snort_stream_tcp.c:
When processing asymmetric traffic, TCP segements are no longer
queued indefinately, reducing session cache thrashing caused by
excessive prunning.
* src/preprocessors/HttpInspect/session_inspection/hi_si.c:
Fix false positive on HI_ANOM_SERVER_ALERT.
* src/dynamic-preprocessors/appid/: detector_plugins/detector_pattern.c,
service_plugins/service_api.h, service_plugins/service_base.c:
C detectors were not enabled when testing with a pcap.
* src/: event.h, sfutil/Unified2_common.h:
Increase max size for app ID names so they don't get truncated in alerts.
* src/dynamic-preprocessors/appid/commonAppMatcher.c:
Fix an issue with old/new config and AppID reload swap.
* src/dynamic-preprocessors/appid/service_plugins/service_bootp.c:
Fix in AppId bootp srevice plugin for packets without layer 2 header.
* snort.8:
Updated -q and -M switch description in snort manpage.
* src/dynamic-preprocessors/appid/: flow.h, fw_appid.c,
detector_plugins/detector_pattern.h, util/NetworkSet.h,
util/OutputFile.c, util/sfutil.c:
Fix Snort compilation issues on OSX when AppID is enabled.
* src/: dynamic-plugins/sf_dynamic_define.h,
dynamic-plugins/sf_engine/sf_snort_plugin_api.h,
dynamic-plugins/sf_engine/examples/sfsnort_dynamic_detection_lib.h,
dynamic-plugins/sf_preproc_example/sf_dynamic_preproc_lib.h,
dynamic-preprocessors/appid/appId.h, dynamic-preprocessors/appid/flow.h,
dynamic-preprocessors/appid/host_tracker.h,
dynamic-preprocessors/appid/rna_flow.h,
dynamic-preprocessors/appid/service_state.h,
dynamic-preprocessors/appid/spp_appid.c,
dynamic-preprocessors/appid/thirdparty_appid_api.h,
dynamic-preprocessors/appid/client_plugins/client_app_api.h,
dynamic-preprocessors/appid/client_plugins/client_app_bit.c,
dynamic-preprocessors/appid/client_plugins/client_app_bit_tracker.c,
dynamic-preprocessors/appid/client_plugins/client_app_rtp.c,
dynamic-preprocessors/appid/client_plugins/client_app_ssh.c,
dynamic-preprocessors/appid/client_plugins/client_app_timbuktu.c,
dynamic-preprocessors/appid/client_plugins/client_app_tns.c,
dynamic-preprocessors/appid/client_plugins/client_app_vnc.c,
dynamic-preprocessors/appid/detector_plugins/detector_dns.c,
dynamic-preprocessors/appid/detector_plugins/detector_imap.c,
dynamic-preprocessors/appid/detector_plugins/detector_kerberos.c,
dynamic-preprocessors/appid/detector_plugins/detector_pop3.c,
dynamic-preprocessors/appid/detector_plugins/detector_sip.c,
dynamic-preprocessors/appid/service_plugins/service_base.c,
dynamic-preprocessors/appid/service_plugins/service_bit.c,
dynamic-preprocessors/appid/service_plugins/service_timbuktu.c,
dynamic-preprocessors/appid/service_plugins/service_tns.c,
side-channel/dynamic-plugins/sf_dynamic_side_channel_lib.h:
Rename SO_PUBLIC to SF_SO_PUBLIC.
Removed unused appid/rna code.
* doc/README.appid, rpm/snort.spec, tools/Makefile.am,
tools/appid_detector_builder.sh:
Added shell script to build simple LUA detectors for Snort.
* src/dynamic-preprocessors/appid/: luaDetectorApi.c,
client_plugins/client_app_base.c, client_plugins/client_app_base.h:
Add sanity checks for lua client mod calls.
Add function for service detectors to add clients.
Open client-side API to allow clients to be added outside of client api.
* configure.in, src/dynamic-output/plugins/output_lib.h:
Don't export visibility hidden or invalid daq include path.
* src/dynamic-preprocessors/appid/service_plugins/service_tftp.c:
Switch source and destination when adding the expected flow.
* doc/README.stream5, doc/snort_manual.tex, etc/snort.conf,
src/preprocessors/Stream6/snort_stream_tcp.c:
Added a new configure option "log_asymmetric_traffic" to turn
on/off logging the message for asymmetric traffic. By default, it
will be turned off.
* src/detect.c:
Call correct function to get app names for alerts.
* configure.in, src/dynamic-preprocessors/appid/dns_defs.h,
src/dynamic-preprocessors/appid/client_plugins/client_app_rtp.c,
src/dynamic-preprocessors/appid/service_plugins/service_api.h,
src/dynamic-preprocessors/appid/service_plugins/service_netbios.c:
Replace use of __BYTE_ORDER with use of WORDS_BIGENDIAN or SF_BIGENDIAN.
* src/dynamic-preprocessors/appid/fw_appid.c:
Free http_session->new_uri and new_cookie before reassigning.
* src/: preprocessors/spp_normalize.c, snort.h:
When normaization is removed from snort conf, a reload would not
disable it in Stream.
* src/preprocessors/perf_indicators.h:
Added a NULL check for a pointer argument in a perf_indicator utility
inline function.
* src/: parser.c, preprocessors/Stream6/snort_stream_tcp.c,
sfutil/sfPolicyUserData.h:
Fixed an issue where stream fails during multiple-policy
configuration if stream_tcp configs are present in the default, but
not child policies.
* src/dynamic-preprocessors/appid/appInfoTable.c:
App name(s) in Snort rules are now case insensitive.
* doc/snort_manual.tex,
src/preprocessors/snort_httpinspect.c,
src/preprocessors/snort_httpinspect.h,
src/preprocessors/spp_httpinspect.c,
src/preprocessors/stream_api.h,
src/preprocessors/HttpInspect/include/hi_si.h,
src/preprocessors/HttpInspect/include/hi_ui_config.h,
src/preprocessors/HttpInspect/server/hi_server.c,
src/preprocessors/HttpInspect/session_inspection/hi_si.c,
src/preprocessors/HttpInspect/utils/hi_paf.c,
src/preprocessors/Session/session_common.h,
src/preprocessors/Stream6/snort_stream_tcp.c,
src/preprocessors/Stream6/stream_paf.c,
src/preprocessors/Stream6/stream_paf.h:
Stop reassembly if HTTP flow depth has been reached.
* src/dynamic-preprocessors/appid/: fw_appid.c:
Fix for core while processing SIP traffic from ignore sessions.
* src/dynamic-preprocessors/appid/service_plugins/service_ssl.c:
Fix for parsing SSL client hello packet (do not assume that this
packet always contains extensions field).
* src/: dynamic-preprocessors/dcerpc2/dce2_paf.c,
dynamic-preprocessors/dnp3/dnp3_paf.c,
dynamic-preprocessors/ftptelnet/snort_ftptelnet.c,
dynamic-preprocessors/imap/imap_paf.c,
dynamic-preprocessors/pop/pop_paf.c,
dynamic-preprocessors/sip/sip_paf.c,
dynamic-preprocessors/smtp/smtp_paf.c,
preprocessors/spp_stream6.c,
preprocessors/stream_api.h,
preprocessors/HttpInspect/utils/hi_paf.c,
preprocessors/Session/session_common.h,
preprocessors/Stream6/snort_stream_tcp.c,
preprocessors/Stream6/snort_stream_tcp.h,
preprocessors/Stream6/stream_paf.c,
preprocessors/Stream6/stream_paf.h:
Allow 2 PAF clients to be active at a time.
* src/detection-plugins/detection_options.c: