Add PostgreSQL protocol configuration (#1919)

* Add MySQL protocol to default configuration

Closes #1915

* Add PostgreSQL protocol configuration

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Alon Girmonsky <alongir@Alons-Mac-Studio.local>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Alon Girmonsky
2026-04-29 12:59:11 +03:00
committed by GitHub
parent 7ae81ccc4b
commit fef3e8fb05
3 changed files with 10 additions and 4 deletions

View File

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

View File

@@ -284,8 +284,9 @@ 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"`
MYSQL []uint16 `yaml:"mysql" json:"mysql"`
POSTGRESQL []uint16 `yaml:"postgresql" json:"postgresql"`
REDIS []uint16 `yaml:"redis" json:"redis"`
LDAP []uint16 `yaml:"ldap" json:"ldap"`
DIAMETER []uint16 `yaml:"diameter" json:"diameter"`
}

View File

@@ -210,6 +210,7 @@ tap:
- kafka
- mongodb
- mysql
- postgresql
- redis
- ws
- ldap
@@ -233,6 +234,8 @@ tap:
- 27017
mysql:
- 3306
postgresql:
- 5432
redis:
- 6379
ldap: