You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix(sonicwall): optimize field parsing and clean double quotes
* Upgrade pfSense filter to v2.1.0 with improved syslog parsing, optimized CSV processing for IPv4/IPv6 protocols and enhanced field handling
* feat(agent): implement TLS support for syslog integrations.
* fix(account): sanitize password in checkPassword method to prevent injection
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
* feat(date-timezone): add New Zealand and Fiji timezones to the constants
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
* feat(date-timezone): add New Zealand and Fiji timezones to the constants
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
* fea: add tls connection options and setup steps for syslog integrations
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
* fea: add tls connection options and setup steps for syslog integrations
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
* fea: add tls connection options and setup steps for syslog integrations
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
* feat: add tls connection options and setup steps for syslog integrations
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
* feat(agent): validate TLS certificates before enabling TLS for integrations
* feat: add tls connection options and setup steps for syslog integrations
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
* feat: improve asset source sorting and display in assets view
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
* feat(agent): add TLS support for syslog command generation and update argument handling
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
* feat(agent): add TLS support for syslog command generation and update argument handling
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
* feat(agent): refactor PowerShell command generation for TLS certificate loading
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
* feat: add Liquibase changelogs for pfSense and SonicWall filter updates
* Update CHANGELOG.md
---------
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
Co-authored-by: JocLRojas <joc.l.rojas02@gmail.com>
Co-authored-by: Yadian Llada Lopez <yadian.llada@gmail.com>
Co-authored-by: Manuel Abascal <mjabascal10@gmail.com>
Copy file name to clipboardExpand all lines: agent/modules/modules.go
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ type Module interface {
20
20
IsPortListen(protostring) bool
21
21
SetNewPort(protostring, portstring)
22
22
GetPort(protostring) string
23
-
EnablePort(protostring)
23
+
EnablePort(protostring, enableTLSbool) error
24
24
DisablePort(protostring)
25
25
}
26
26
@@ -88,7 +88,12 @@ func StartModules() {
88
88
ifchangeAllowed {
89
89
moCache[index].SetNewPort(proto, port)
90
90
ifconf[1] {
91
-
moCache[index].EnablePort(proto)
91
+
enableTLS:=proto=="tcp"&&cnf.TCP.TLSEnabled
92
+
93
+
err:=moCache[index].EnablePort(proto, enableTLS)
94
+
iferr!=nil {
95
+
utils.Logger.ErrorF("error enabling port for %s %s: %v", intType, proto, err)
96
+
}
92
97
}
93
98
} else {
94
99
utils.Logger.Info("change in port %s protocol %s not allowed for %s or out range %s-%s", port, proto, intType, config.PortRangeMin, config.PortRangeMax)
0 commit comments