This commit is contained in:
crusader
2017-11-22 19:04:04 +09:00
parent 18fe18ccef
commit 40f2ebad23
12 changed files with 386 additions and 7 deletions

View File

@@ -13,7 +13,7 @@ type POPMatcher struct {
}
func (p *POPMatcher) ServiceName() string {
return "POPMatcher"
return "POP3"
}
func (p *POPMatcher) IsPrePacket() bool {

View File

@@ -82,8 +82,8 @@ func registerUDPMatcher(m matcher.UDPMatcher) {
UDPMatchers = append(UDPMatchers, m)
}
func GetTCPMatchers(ispre bool) []matcher.Matcher {
if ispre {
func GetTCPMatchers(isPrePacket bool) []matcher.Matcher {
if isPrePacket {
return TCPPrePacketMatchers
}