]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #1346 in SNORT/snort3 from ftp_preproc_test_add to master
authorMichael Altizer (mialtize) <mialtize@cisco.com>
Fri, 31 Aug 2018 19:22:55 +0000 (15:22 -0400)
committerMichael Altizer (mialtize) <mialtize@cisco.com>
Fri, 31 Aug 2018 19:22:55 +0000 (15:22 -0400)
Squashed commit of the following:

commit 46ab22195765465aea8564cfa111e62840c33bcb
Author: shaslad <shaslad@cisco.com>
Date:   Tue Aug 28 14:49:19 2018 -0400

    snort_defaults: changing default FTP EPSV string format

lua/snort_defaults.lua

index 0b9e447363cb50787b98a16a3cfc3e71c3d55a73..bb2e3d8742cf940e634c445c40d1e4cdb8250085 100644 (file)
@@ -193,7 +193,7 @@ ftp_command_specs =
 
     { command = 'ALLO', length = 200, format = '< int [ char R int ] >' },
     { command = 'EPRT', length = 400, format = '< extd_host_port >' },
-    { command = 'EPSV', format = '< [ { char 12 | char A char L char L } ] >' },
+    { command = 'EPSV', format = "< [ { '1' | '2' | 'ALL' } ] >" },
     { command = 'LPRT', length = 400, format = '< long_host_port >' },
     { command = 'MACB', format = '< string >' },
     { command = 'MDTM', format = '< [ date nnnnnnnnnnnnnn[.n[n[n]]] ] string >' },