-
Notifications
You must be signed in to change notification settings - Fork 1
/
ChangeLog
21434 lines (18835 loc) · 891 KB
/
ChangeLog
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
2017-12-06 Meghana R <[email protected]>
Snort 2.9.11.1
* sfeng/ims/sfsnort/snort/src/build.h : updating build number to 268
* sfeng/ims/sfsnort/snort/: src/encode.c, src/reload.h,
src/sfdaq.c, src/dynamic-preprocessors/dcerpc2/dce2_co.c,
src/dynamic-preprocessors/dcerpc2/dce2_config.c,
src/dynamic-preprocessors/dcerpc2/dce2_smb.c,
src/dynamic-preprocessors/dcerpc2/dce2_smb2.c,
src/dynamic-preprocessors/dcerpc2/spp_dce2.c,
src/dynamic-preprocessors/sdf/spp_sdf.c,
src/preprocessors/spp_frag3.c, src/preprocessors/spp_session.c,
src/preprocessors/spp_sfportscan.c,
src/preprocessors/Stream6/snort_stream_ip.c,
src/preprocessors/Stream6/snort_stream_tcp.c, src/sfutil/acsmx.c,
src/sfutil/sfksearch.c, src/sfutil/sfportobject.c,
tools/u2spewfoo/u2spewfoo.c :
Fixed warnings when snort is compiled in OpenBSD with clang/llvm. Thanks to Markus Lude for noting the issue.
* sfeng/ims/sfsnort/snort/src/dynamic-preprocessors/file/spp_file.c :
Fixed issue of applying new configuration in file inspection after snort reload.
* sfeng/ims/sfsnort/snort/src/preprocessors/spp_session.c :
Added null check before accessing session cache.
* sfeng/ims/sfsnort/snort/src/: appIdApi.h,
dynamic-preprocessors/appid/appIdApi.c :
Fixed issue where AppId was not setting HA flags correctly for unmonitored sessions.
* sfeng/ims/sfsnort/snort/src/: snort.c,
dynamic-plugins/sf_dynamic_preprocessor.h, preprocessors/perf.c,
preprocessors/Stream6/snort_stream_icmp.c,
preprocessors/Stream6/snort_stream_ip.c,
preprocessors/Stream6/snort_stream_tcp.c,
preprocessors/Stream6/snort_stream_udp.c :
Fixed issue in compilation of snort with --disable-reload option. Thanks to BlueSky for noting the issue.
* sfeng/ims/sfsnort/snort/src/dynamic-preprocessors/Makefile.am :
Fixed AppID compilation failure in OpenBSD platform.
* sfeng/ims/sfsnort/snort/src/dynamic-preprocessors/appid/fw_appid.c :
Fixed issue to set correct flags when there is a need to ignore thirdparty detection for an SSL session.
* sfeng/ims/sfsnort/snort/src/: event_wrapper.c, event_wrapper.h,
preprocessors/portscan.c :
Added support to block portscan. In addition to tracking the scanning packets, action(drop/sdrop/reject) will be taken for all the packets, which means snort will block the packet and generate logs.
* sfeng/ims/sfsnort/snort/src/: obfuscation.c,
dynamic-preprocessors/appid/detector_plugins/detector_http.c,
dynamic-preprocessors/file/file_agent.c,
dynamic-preprocessors/file/file_inspect_config.c,
dynamic-preprocessors/sdf/sdf_us_ssn.c,
file-process/file_capture.c :
Fixed incorrect usage of bitwise-operator and removed dead code. Thanks to David Binderman for noting the issue and proposing the fix.
* sfeng/ims/sfsnort/snort/: doc/snort_manual.pdf, src/snort.c,
src/dynamic-plugins/sf_dynamic_plugins.c,
src/dynamic-plugins/sf_dynamic_preprocessor.h,
src/dynamic-preprocessors/reputation/spp_reputation.c,
src/preprocessors/session_api.h, src/preprocessors/spp_session.c,
src/preprocessors/Session/session_common.h,
src/sfutil/sfPolicyData.h :
Added support to re-evaluate reputation after reputation update for all flows except those that have already been blacklisted.
* sfeng/ims/sfsnort/snort/src/dynamic-preprocessors/appid/:
client_plugins/client_app_rtp.c, client_plugins/client_app_rtp.h :
Fixed issue to detect RTP upto two SSRC switches in each traffic direction.
* sfeng/ims/sfsnort/snort/src/snort.c :
Added changes to reduce the number of session pruning when snort is idle.
* sfeng/ims/sfsnort/snort/src/dynamic-preprocessors/ftptelnet/pp_ftp.c :
Fixed an issue related to setting of directory path when handling FTP sessions.
* sfeng/ims/sfsnort/snort/src/snort_bounds.h :
Fixed an issue with the incorrect return in SafeSnprintf function.
* sfeng/ims/sfsnort/snort/src/preprocessors/: snort_httpinspect.c,
HttpInspect/client/hi_client.c, HttpInspect/include/hi_client.h,
Stream6/snort_stream_tcp.c, Stream6/stream_paf.c :
Fixed issues related to HTTP POST header flushing, calling file processing directly if it is not a multipart header and changes to avoid expensive copy of segment data by not splitting them when flushing headers.
* sfeng/ims/sfsnort/snort/src/dynamic-preprocessors/appid/detector_plugins/detector_sip.c :
Added changes to show missing session log message only when debugging mode is enabled.
* sfeng/ims/sfsnort/snort/: doc/snort_manual.pdf,
src/preprocessors/portscan.c :
Fixed issue of triggering protocol sweep alert when there are multiple destinations from single source ip protocol scan.
* sfeng/ims/sfsnort/snort/src/preprocessors/Stream6/snort_stream_tcp.c :
Fixed issue of correct session matching for TCP SYN packets without window scale option so that FTP data channels match the same rule as FTP control channels.
* sfeng/ims/sfsnort/snort/src/: decode.c, preprocessors/portscan.c,
preprocessors/spp_frag3.c :
Added changes to fix IP portscan for protocol other than ICMP and fixed issue of bad fragment size event not being generated for oversized packets.
* sfeng/ims/sfsnort/snort/src/preprocessors/snort_httpinspect.c:
Added changes to use raw data in case of PDF and SWF files during file processing for SHA calculation and Malware Cloud Lookup.
2017-09-05 Meghana R <[email protected]>
Snort 2.9.11
* src/build.h : updating build number to 125.
* src/preprocessors/: spp_session.c, Stream6/snort_stream_tcp.c :
Fixed issue with updation of global IPS id before packet processing.
* src/output-plugins/spo_unified2.c :
Added changes to display AppId for IPv6 unified events.
* src/: dynamic-preprocessors/Makefile.am,
reload-adjust/appdata_adjuster.c,
sfutil/sfmemcap.c, sfutil/sfmemcap.h :
Fixed dynamic preprocessor compilation failure in OpenBSD platform.
* src/: parser.c, snort.h, detection-plugins/sp_replace.c :
Fixed issues while parsing rules in snort reload path.
* src/: appIdApi.h, dynamic-preprocessors/appid/appId.h,
dynamic-preprocessors/appid/appIdApi.c,
dynamic-preprocessors/appid/appIdConfig.h,
dynamic-preprocessors/appid/appInfoTable.c,
dynamic-preprocessors/appid/flow.h,
dynamic-preprocessors/appid/fw_appid.c,
dynamic-preprocessors/appid/hostPortAppCache.c,
dynamic-preprocessors/appid/hostPortAppCache.h :
Added implementation of hostPortCache versioning for unknown flows in AppID to detect and block BitTorrent.
* src/preprocessors/spp_normalize.c :
Fixed incorrect usage of snort configuration in snort reload path.
* src/dynamic-preprocessors/appid/: flow.c, flow.h, fw_appid.c :
Fixed issues with printing of messages for out-of-order packets.
* src/: mempool.c, mempool.h, reg_test.h, reload.c,
control/sfcontrol.c, control/sfcontrol.h,
preprocessors/spp_session.c,
preprocessors/Stream6/snort_stream_tcp.c :
Added support for forced allocation of TCP protocol memory pool after maximum limit is reached.
* src/reload.c :
Fixed synchronisation issue during snort reload.
* src/sfutil/: sf_ip.h, sf_ipvar.c, sf_ipvar.h :
Added changes to improve performance of ipvar list comparison.
* src/: dynamic-output/plugins/output_lib.h,
dynamic-output/plugins/output_plugin.c,
dynamic-preprocessors/dcerpc2/dce2_smb.c,
dynamic-preprocessors/dcerpc2/dce2_smb.h,
dynamic-preprocessors/dcerpc2/dce2_smb2.c,
dynamic-preprocessors/dcerpc2/spp_dce2.c,
dynamic-preprocessors/file/file_event_log.c,
file-process/file_api.h, file-process/file_service.c,
file-process/file_stats.c, file-process/file_stats.h,
sfutil/sf_textlog.c, sfutil/sf_textlog.h :
Added support for storing filenames in unicode format for SMB protocol.
* src/dynamic-preprocessors/appid/detector_plugins/detector_smtp.c :
Enhanced SMTP client detection by allowing line folding and all authentication methods.
* src/: fpcreate.c, sfutil/sfthd.c, sfutil/sfxhash.c :
Fixed issue in detection filter counter when rule is used in multiple configurations.
2017-06-19 Meghana R <[email protected]>
Snort 2.9.11 Beta
*src/build.h : updating build number to 101
* configure.in :
Control-socket and side-channel support for FreeBSD platform.
* src/snort.c :
Fixed an issue where snort did not exit gracefully on SIGHUP during the initialisation.
* src/detect.c :
Added a data length check before copying into memory during application detection.
* doc/snort_manual.pdf,
src/dynamic-preprocessors/appid/appIdConfig.h,
src/dynamic-preprocessors/appid/appInfoTable.c,
src/dynamic-preprocessors/appid/commonAppMatcher.c,
src/dynamic-preprocessors/appid/fw_appid.c,
src/dynamic-preprocessors/appid/fw_appid.h,
src/dynamic-preprocessors/appid/hostPortAppCache.c,
src/dynamic-preprocessors/appid/hostPortAppCache.h,
src/dynamic-preprocessors/appid/luaDetectorApi.c :
Added new hostPortCache which can maintain runtime AppId entries.
* src/preprocessors/perf-flow.c :
Added null check for individual sfFlow structure members.
* doc/snort_manual.tex :
Fixed syntax error in snort_maual.tex
* src/dynamic-preprocessors/appid/test/Makefile.am,
dynamic-preprocessors/dcerpc2/test/Makefile.am,
sfutil/test/Makefile.am :
Linked librt library in appidd and dcerpc2 modules.
* doc/snort_manual.pdf, doc/snort_manual.tex, src/decode.c,
src/decode.h, src/detect.c, src/encode.c, src/reg_test.h,
src/snort.c, src/snort.h, src/util.c, src/reload.c
src/detection-plugins/sp_byte_math.c,
src/dynamic-plugins/sf_engine/sf_snort_plugin_byte.c,
src/dynamic-preprocessors/appid/appIdConfig.h,
src/dynamic-preprocessors/appid/appInfoTable.c,
src/dynamic-preprocessors/appid/commonAppMatcher.c,
src/dynamic-preprocessors/appid/fw_appid.c,
src/dynamic-preprocessors/appid/fw_appid.h,
src/dynamic-preprocessors/appid/hostPortAppCache.c,
src/dynamic-preprocessors/appid/hostPortAppCache.h,
src/dynamic-preprocessors/appid/luaDetectorApi.c,
src/dynamic-preprocessors/appid/detector_plugins/detector_sip.c,
src/dynamic-preprocessors/appid/test/Makefile.am,
src/dynamic-preprocessors/dcerpc2/dce2_smb2.c,
src/dynamic-preprocessors/dcerpc2/dce2_smb2.h,
src/dynamic-preprocessors/dcerpc2/spp_dce2.c,
src/dynamic-preprocessors/dcerpc2/test/Makefile.am,
src/dynamic-preprocessors/ftptelnet/pp_ftp.c,
src/dynamic-preprocessors/ftptelnet/snort_ftptelnet.c,
src/dynamic-preprocessors/reputation/spp_reputation.c,
src/dynamic-preprocessors/imap/spp_imap.c,
src/dynamic-preprocessors/pop/spp_pop.c,
src/dynamic-preprocessors/smtp/spp_smtp.c,
src/file-process/file_api.h,
src/file-process/file_segment_process.c,
src/file-process/file_segment_process.h,
src/file-process/file_service.c, src/preprocessors/perf-base.c,
src/preprocessors/perf-flow.c,
src/preprocessors/perf_indicators.c,
src/preprocessors/snort_httpinspect.c,
src/preprocessors/spp_session.c, src/preprocessors/spp_stream6.c,
src/preprocessors/HttpInspect/server/hi_server.c,
src/preprocessors/HttpInspect/utils/hi_cmd_lookup.c,
src/preprocessors/Session/session_expect.c,
src/preprocessors/Stream6/snort_stream_tcp.c,
src/reload-adjust/appdata_adjuster.c, src/sfutil/sfrf.c,
src/sfutil/sfrf.h, src/sfutil/test/Makefile.am,
src/sfutil/test/unit_hacks.c, src/target-based/sftarget_reader.c,
src/target-based/sftarget_reader.h :
Changes to eliminate Snort restart when there are changes to the memory
allocated for preprocessors, by releasing unused or least recently used memory
when needed.
* src/encode.c, dynamic-plugins/sf_engine/sf_snort_plugin_byte.c,
dynamic-preprocessors/ftptelnet/pp_ftp.c,
dynamic-preprocessors/ftptelnet/snort_ftptelnet.c,
preprocessors/perf-base.c, preprocessors/perf_indicators.c,
preprocessors/snort_httpinspect.c,
preprocessors/HttpInspect/utils/hi_cmd_lookup.c :
Fixed multiple issues reported by Coverity.
* src/preprocessors/Stream6/: snort_stream_tcp.c :
Added a null check before retrieving tcpssn for getting re-built packets.
* src/dynamic-preprocessors/reputation/spp_reputation.c :
Fixed double free issue in reputation module.
* src/detection-plugins/sp_byte_math.c,
file-process/file_service.c :
Fixed Coverity Issue - added null check before usage.
* src/dynamic-preprocessors/appid/fw_appid.c :
Enhanced RTSP metadata parsing to match the user-agent field to detect RTSP traffic over Windows Media.
* src/dynamic-preprocessors/appid/fw_appid.c :
Added a null check to prevent copy unless debugHostIp is configured in AppId.
* src/decode.c, decode.h, detect.c, snort.h, util.c,
preprocessors/spp_session.c,
preprocessors/Stream6/snort_stream_tcp.c, sfutil/sfrf.c,
sfutil/sfrf.h :
Performance improvement when SYN rate limit has reached and drop
is configured as next action.
* src/preprocessors/HttpInspect/server/hi_server.c :
Fixed issue of uninitialised value before usage.
* src/file-process/file_service.c :
Fixed issue with SHA value display in File Events.
* src/dynamic-preprocessors/appid/detector_plugins/detector_sip.c :
Enhanced the processing of SIP/RTP future flows without ignoring them.
* src/preprocessors/snort_httpinspect.c :
Changes made in PDF/SWF decompression by adding boundary to the size of the decompressed data.
* src/preprocessors/Stream6/snort_stream_tcp.c :
Fixed stream5 to flush out ACK'ed segments using PAF when session is terminating.
* src/preprocessors/spp_session.c :
Fixed issue with associating router solicit/reply packets to a single session.
* src/preprocessors/HttpInspect/server/hi_server_norm.c,
sfutil/util_utf.c :
Fixed issues with normalisation of unicode HTML pages that do not have unicode encoding specifiers.
* src/appIdApi.h, dynamic-plugins/sf_dynamic_plugins.c,
dynamic-preprocessors/appid/appIdApi.c,
dynamic-preprocessors/appid/appIdConfig.h,
dynamic-preprocessors/appid/commonAppMatcher.c,
dynamic-preprocessors/appid/fw_appid.c,
dynamic-preprocessors/appid/fw_appid.h,
dynamic-preprocessors/appid/detector_plugins/detector_sip.c,
dynamic-preprocessors/appid/service_plugins/service_base.h,
dynamic-preprocessors/appid/service_plugins/service_ftp.c,
dynamic-preprocessors/appid/service_plugins/service_rexec.c,
dynamic-preprocessors/appid/service_plugins/service_rshell.c,
dynamic-preprocessors/appid/service_plugins/service_snmp.c,
dynamic-preprocessors/appid/service_plugins/service_tftp.c,
dynamic-preprocessors/appid/test/appIdTests.c :
Fixed the issue in FTP active traffic by copying the flags as is when expected flow is in the same direction as current flow, reversing the flags when expected flow is in opposite direction and not copying the flags when expected flow's direction is unknown.
* src/dynamic-plugins/sf_dynamic_plugins.c,
dynamic-preprocessors/dcerpc2/spp_dce2.c
Fixed issue of multiple allocation of ada cache in dcerpc2 module.
* src/preprocessors/spp_httpinspect.c :
Made changes to take care of boundary conditions after mempool allocation.
* src/dynamic-preprocessors/appid/luaDetectorModule.c :
Fixed Coverity Issues - Removed logically dead duplicate code that does NULL check after creating a new luaState.
* src/file-process/file_service.c,
preprocessors/Stream6/snort_stream_tcp.c :
Fixed issue in file signature lookup for retransmitted FTP packet.
* src/output-plugins/spo_log_buffer_dump.c :
Changes to free HTTP buffers not used during processing.
* src/dynamic-plugins/sf_dynamic_plugins.c,
dynamic-preprocessors/dcerpc2/spp_dce2.c,
dynamic-preprocessors/dnp3/spp_dnp3.c,
dynamic-preprocessors/sip/sip_config.c,
dynamic-preprocessors/sip/spp_sip.c,
reload-adjust/appdata_adjuster.c,
reload-adjust/appdata_adjuster.h :
Fixed issues in SIP related to reallocation of the same data structure multiple times and accessing numSessions which is asynchronously written by packet processing thread.
* src/dynamic-preprocessors/dcerpc2/spp_dce2.c :
Added multiple null checks in dcerpc2 module.
* src/dynamic-preprocessors/dnp3/spp_dnp3.c,
reload-adjust/appdata_adjuster.c,
reload-adjust/appdata_adjuster.h :
Added null pointer checks in DNP3CheckConfig.
* src/preprocessors/spp_session.c :
Fixed Coverity issue - added null check before usage.
* src/build.h : updating build number to 42
* src/snort.c :
Trigger Snort restart when `config disable-attribute-reload-thread` is
turned on/off.
* src/preprocessors/Stream6/snort_stream_tcp.c :
Fixed detection issue where wrong file signature calculation
was done for secure-ftp.
* src/dynamic-preprocessors/ftptelnet/: ftpp_si.c, ftpp_si.h,
pp_ftp.c :
Fixed incorrect referencing of ftp_data_session after its pruned.
* src/dynamic-preprocessors/appid/fw_appid.c :
Stability improvement by resolving valgrind reported issues in AppId.
* src/dynamic-preprocessors/ftptelnet/pp_ftp.c,
file-process/file_api.h, file-process/file_resume_block.h,
file-process/file_service.c, preprocessors/Session/session_common.h,
Session/session_expect.c, Stream6/snort_stream_tcp.c,
Stream6/snort_stream_tcp.h, Stream6/stream_common.h, parser.c,
parser.h, snort.c, snort.h, dynamic-preprocessors/dcerpc2/dce2_smb.c,
dynamic-preprocessors/ftptelnet/ftpp_si.h,
dynamic-preprocessors/ftptelnet/snort_ftptelnet.c,
dynamic-preprocessors/ftptelnet/snort_ftptelnet.h,
file-process/file_mime_process.c, file-process/libs/file_lib.c,
preprocessors/snort_httpinspect.c, preprocessors/spp_normalize.c,
preprocessors/spp_normalize.h, preprocessors/spp_stream6.c,
preprocessors/stream_api.h, preprocessors/HttpInspect/client/hi_client.c :
Fixed issue where FTP file type block doesn't work on retried download.
* src/appIdApi.h, dynamic-plugins/sf_dynamic_plugins.c,
dynamic-preprocessors/appid/appIdApi.c,
dynamic-preprocessors/appid/flow.c,
dynamic-preprocessors/appid/flow.h,
dynamic-preprocessors/appid/fw_appid.c,
dynamic-preprocessors/appid/fw_appid.h,
dynamic-preprocessors/appid/detector_plugins/detector_sip.c :
Fixed issue where Snort is inappropriately handling traffic for which AppId
was creating future flow.
* src/file-process/file_segment_process.c :
Fixed issue of updating the file session information for SMB2 file transfer
spanning multiple TCP sessions.
* src/dynamic-preprocessors/appid/: flow.h, fw_appid.c,
luaDetectorApi.c, service_state.c, service_state.h,
detector_plugins/detector_dns.c,
detector_plugins/detector_http.c,
detector_plugins/detector_imap.c,
detector_plugins/detector_kerberos.c,
detector_plugins/detector_pattern.c,
detector_plugins/detector_pop3.c,
detector_plugins/detector_sip.c,
detector_plugins/detector_smtp.c, service_plugins/service_MDNS.c,
service_plugins/service_api.h, service_plugins/service_base.c,
service_plugins/service_base.h,
service_plugins/service_battle_field.c,
service_plugins/service_bgp.c, service_plugins/service_bit.c,
service_plugins/service_bootp.c,
service_plugins/service_dcerpc.c,
service_plugins/service_direct_connect.c,
service_plugins/service_flap.c, service_plugins/service_ftp.c,
service_plugins/service_irc.c, service_plugins/service_lpr.c,
service_plugins/service_mysql.c,
service_plugins/service_netbios.c,
service_plugins/service_nntp.c, service_plugins/service_ntp.c,
service_plugins/service_radius.c,
service_plugins/service_rexec.c, service_plugins/service_rfb.c,
service_plugins/service_rlogin.c, service_plugins/service_rpc.c,
service_plugins/service_rshell.c,
service_plugins/service_rsync.c, service_plugins/service_rtmp.c,
service_plugins/service_snmp.c, service_plugins/service_ssh.c,
service_plugins/service_ssl.c, service_plugins/service_telnet.c,
service_plugins/service_tftp.c,
service_plugins/service_timbuktu.c,
service_plugins/service_tns.c, test/appIdTests.c,
test/sessionFile.c :
Changes in AppId discovery to address session and services related issues.
* src/dynamic-preprocessors/appid/: appId.h, fw_appid.c :
Performance improvements for SIP/RTP audio and video data flow in AppId .
* src/dynamic-preprocessors/appid/: fw_appid.c,
thirdparty_appid_utils.c, test/appIdTests.c, test/externalApis.c :
Fixed an issue related to incorrect processing of XFF addresses during
Snort reload.
* src/dynamic-preprocessors/appid/luaDetectorModule.c :
Improved error handling in luadetector when lua_State object is NULL.
* src/preprocessors/snort_httpinspect.c :
Improved flushing mechanism for HTTP POST header.
* src/output-plugins/spo_log_buffer_dump.c :
Fixed an issue where HTTP buffers were incorrectly dumped as
DNS payload buffers.
* src/preprocessors/Stream6/snort_stream_tcp.c :
Prevent application preprocessors from processing packets having end_sequence
numbers less than current TCP window base.
2016-11-07 Gagan Sachdeva <[email protected]>
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-09-08 Seshaiah Erugu <[email protected]>
Snort 2.9.9
* src/build.h : Updated build number to 82.
* src/dynamic-preprocessors/appid/: appId.h, fw_appid.c, spp_appid.c:
Improved handling of HTTP tunneling in AppId.
* src/detection-plugins/sp_byte_jump.c:
Fixed a bug where byte_jump postoffset was incorrectly initialized leading
to failure in rule matching in some scenarios.
* src/detection-plugins/sp_rpc_check.c:
Fixed RPC decode plugin issue where rule context was missing and RPC
values were not read correctly.
* 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 comparision 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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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.