ing
This commit is contained in:
parent
c15fd7d46e
commit
d5bc04d5ee
|
@ -181,7 +181,7 @@ func (m *ActiveDirectoryMatcher) Name(matchCtx *osm.MatchCtx) string {
|
|||
return "ActiveDirectory"
|
||||
}
|
||||
|
||||
func (m *ActiveDirectoryMatcher) IsPrePacket(matchCtx *osm.MatchCtx) bool {
|
||||
func (m *ActiveDirectoryMatcher) IsPrePacket() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ func (m *CassandraMatcher) Name(matchCtx *osm.MatchCtx) string {
|
|||
return "Cassandra"
|
||||
}
|
||||
|
||||
func (m *CassandraMatcher) IsPrePacket(matchCtx *osm.MatchCtx) bool {
|
||||
func (m *CassandraMatcher) IsPrePacket() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ func (m *DNSMatcher) Name(matchCtx *osm.MatchCtx) string {
|
|||
return "DNS"
|
||||
}
|
||||
|
||||
func (m *DNSMatcher) IsPrePacket(matchCtx *osm.MatchCtx) bool {
|
||||
func (m *DNSMatcher) IsPrePacket() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ func (m *ElasticSearchMatcher) Name(matchCtx *osm.MatchCtx) string {
|
|||
return name
|
||||
}
|
||||
|
||||
func (m *ElasticSearchMatcher) IsPrePacket(matchCtx *osm.MatchCtx) bool {
|
||||
func (m *ElasticSearchMatcher) IsPrePacket() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ func (m *FTPMatcher) Name(matchCtx *osm.MatchCtx) string {
|
|||
return "FTP"
|
||||
}
|
||||
|
||||
func (m *FTPMatcher) IsPrePacket(matchCtx *osm.MatchCtx) bool {
|
||||
func (m *FTPMatcher) IsPrePacket() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ func (m *HTTPMatcher) Name(matchCtx *osm.MatchCtx) string {
|
|||
return name
|
||||
}
|
||||
|
||||
func (m *HTTPMatcher) IsPrePacket(matchCtx *osm.MatchCtx) bool {
|
||||
func (m *HTTPMatcher) IsPrePacket() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ func (m *IMAPMatcher) Name(matchCtx *osm.MatchCtx) string {
|
|||
return "IMAP"
|
||||
}
|
||||
|
||||
func (m *IMAPMatcher) IsPrePacket(matchCtx *osm.MatchCtx) bool {
|
||||
func (m *IMAPMatcher) IsPrePacket() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ func (m *LDAPMatcher) Name(matchCtx *osm.MatchCtx) string {
|
|||
return "LDAP"
|
||||
}
|
||||
|
||||
func (m *LDAPMatcher) IsPrePacket(matchCtx *osm.MatchCtx) bool {
|
||||
func (m *LDAPMatcher) IsPrePacket() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ func (m *LPDMatcher) Name(matchCtx *osm.MatchCtx) string {
|
|||
return "LPD (Printer)"
|
||||
}
|
||||
|
||||
func (m *LPDMatcher) IsPrePacket(matchCtx *osm.MatchCtx) bool {
|
||||
func (m *LPDMatcher) IsPrePacket() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ type Matcher interface {
|
|||
Key() string
|
||||
Name(matchCtx *MatchCtx) string
|
||||
|
||||
IsPrePacket(matchCtx *MatchCtx) bool
|
||||
IsPrePacket() bool
|
||||
PacketCount(matchCtx *MatchCtx) int
|
||||
Packet(matchCtx *MatchCtx, index int) *Packet
|
||||
HasResponse(matchCtx *MatchCtx, index int) bool
|
||||
|
|
|
@ -58,7 +58,7 @@ func (m *MongoDBMatcher) Name(matchCtx *osm.MatchCtx) string {
|
|||
return "MongoDB"
|
||||
}
|
||||
|
||||
func (m *MongoDBMatcher) IsPrePacket(matchCtx *osm.MatchCtx) bool {
|
||||
func (m *MongoDBMatcher) IsPrePacket() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ func (m *MySqlMatcher) Name(matchCtx *osm.MatchCtx) string {
|
|||
return name
|
||||
}
|
||||
|
||||
func (m *MySqlMatcher) IsPrePacket(matchCtx *osm.MatchCtx) bool {
|
||||
func (m *MySqlMatcher) IsPrePacket() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ func (m *NBSSMatcher) Name(matchCtx *osm.MatchCtx) string {
|
|||
return "NBSS"
|
||||
}
|
||||
|
||||
func (m *NBSSMatcher) IsPrePacket(matchCtx *osm.MatchCtx) bool {
|
||||
func (m *NBSSMatcher) IsPrePacket() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ func (m *OracleMatcher) Name(matchCtx *osm.MatchCtx) string {
|
|||
return "Oracle"
|
||||
}
|
||||
|
||||
func (m *OracleMatcher) IsPrePacket(matchCtx *osm.MatchCtx) bool {
|
||||
func (m *OracleMatcher) IsPrePacket() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ func (m *POPMatcher) Name(matchCtx *osm.MatchCtx) string {
|
|||
return "POP3"
|
||||
}
|
||||
|
||||
func (m *POPMatcher) IsPrePacket(matchCtx *osm.MatchCtx) bool {
|
||||
func (m *POPMatcher) IsPrePacket() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ func (m *PostgreSQLMatcher) Name(matchCtx *osm.MatchCtx) string {
|
|||
return "PostgreSQL"
|
||||
}
|
||||
|
||||
func (m *PostgreSQLMatcher) IsPrePacket(matchCtx *osm.MatchCtx) bool {
|
||||
func (m *PostgreSQLMatcher) IsPrePacket() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ func (m *RedisMatcher) Name(matchCtx *osm.MatchCtx) string {
|
|||
return name
|
||||
}
|
||||
|
||||
func (m *RedisMatcher) IsPrePacket(matchCtx *osm.MatchCtx) bool {
|
||||
func (m *RedisMatcher) IsPrePacket() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ func (m *RMIMatcher) Name(matchCtx *osm.MatchCtx) string {
|
|||
return "RMI"
|
||||
}
|
||||
|
||||
func (m *RMIMatcher) IsPrePacket(matchCtx *osm.MatchCtx) bool {
|
||||
func (m *RMIMatcher) IsPrePacket() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ func (m *SMBMatcher) Name(matchCtx *osm.MatchCtx) string {
|
|||
return "SMB"
|
||||
}
|
||||
|
||||
func (m *SMBMatcher) IsPrePacket(matchCtx *osm.MatchCtx) bool {
|
||||
func (m *SMBMatcher) IsPrePacket() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ func (m *SmtpMatcher) Name(matchCtx *osm.MatchCtx) string {
|
|||
return "SMTP"
|
||||
}
|
||||
|
||||
func (m *SmtpMatcher) IsPrePacket(matchCtx *osm.MatchCtx) bool {
|
||||
func (m *SmtpMatcher) IsPrePacket() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ func (s *SNMPMatcher) Name(matchCtx *osm.MatchCtx) string {
|
|||
return "SNMP"
|
||||
}
|
||||
|
||||
func (s *SNMPMatcher) IsPrePacket(matchCtx *osm.MatchCtx) bool {
|
||||
func (s *SNMPMatcher) IsPrePacket() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ func (m *SQLServerMatcher) Name(matchCtx *osm.MatchCtx) string {
|
|||
return "SQL Server"
|
||||
}
|
||||
|
||||
func (m *SQLServerMatcher) IsPrePacket(matchCtx *osm.MatchCtx) bool {
|
||||
func (m *SQLServerMatcher) IsPrePacket() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ func (m *SSHMatcher) Name(matchCtx *osm.MatchCtx) string {
|
|||
return name
|
||||
}
|
||||
|
||||
func (m *SSHMatcher) IsPrePacket(matchCtx *osm.MatchCtx) bool {
|
||||
func (m *SSHMatcher) IsPrePacket() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ func (m *TelnetMatcher) Name(matchCtx *osm.MatchCtx) string {
|
|||
return "Telnet"
|
||||
}
|
||||
|
||||
func (m *TelnetMatcher) IsPrePacket(matchCtx *osm.MatchCtx) bool {
|
||||
func (m *TelnetMatcher) IsPrePacket() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ func (m *WMIMatcher) Name(matchCtx *osm.MatchCtx) string {
|
|||
return "WMI"
|
||||
}
|
||||
|
||||
func (m *WMIMatcher) IsPrePacket(matchCtx *osm.MatchCtx) bool {
|
||||
func (m *WMIMatcher) IsPrePacket() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user