Add MySQL protocol to default configuration (#1916)

Closes #1915

Co-authored-by: Alon Girmonsky <alongir@Alons-Mac-Studio.local>
This commit is contained in:
Alon Girmonsky
2026-04-28 15:49:44 +03:00
committed by GitHub
parent 27111e48d3
commit 7ae81ccc4b
3 changed files with 6 additions and 0 deletions

View File

@@ -129,6 +129,7 @@ func CreateDefaultConfig() ConfigStruct {
"icmp",
"kafka",
"mongodb",
"mysql",
"redis",
// "sctp",
// "syscall",
@@ -149,6 +150,7 @@ func CreateDefaultConfig() ConfigStruct {
AMQP: []uint16{5671, 5672},
KAFKA: []uint16{9092},
MONGODB: []uint16{27017},
MYSQL: []uint16{3306},
REDIS: []uint16{6379},
LDAP: []uint16{389},
DIAMETER: []uint16{3868},

View File

@@ -284,6 +284,7 @@ type PortMapping struct {
AMQP []uint16 `yaml:"amqp" json:"amqp"`
KAFKA []uint16 `yaml:"kafka" json:"kafka"`
MONGODB []uint16 `yaml:"mongodb" json:"mongodb"`
MYSQL []uint16 `yaml:"mysql" json:"mysql"`
REDIS []uint16 `yaml:"redis" json:"redis"`
LDAP []uint16 `yaml:"ldap" json:"ldap"`
DIAMETER []uint16 `yaml:"diameter" json:"diameter"`

View File

@@ -209,6 +209,7 @@ tap:
- icmp
- kafka
- mongodb
- mysql
- redis
- ws
- ldap
@@ -230,6 +231,8 @@ tap:
- 9092
mongodb:
- 27017
mysql:
- 3306
redis:
- 6379
ldap: