The most commonly used transport for remote syslog is port 514/udp.
It also is the only defined method for BSD syslog (RFC 3164). RFCs
5424+5425 specify an additional TLS transport via 6514/tcp, which
does not seem to be supported by zigbee2mqtt, as evidenced by the
lack of TLS-related configuration options in this area. RFC 6587
describes legacy uses of syslog over TCP, recommending against them.
Port 123, the previous default, was probably used by accident and
is reserved for NTP.
| $ grep -w -e 123 -e 514 -e 601 -e 6514 /etc/services
| ntp 123/udp # Network Time Protocol
| shell 514/tcp cmd syslog # no passwords used
| syslog 514/udp
| syslog-tls 6514/tcp # Syslog over TLS [RFC5425]
* Adding 2 config params under 'frontend' : 'ssl_cert' and 'ssl_key' to contain file patch of certificate files to expose frontend in HTTPS.
* Taking all PR remarks in account.
Co-authored-by: phil <phil@8godsprod.com>
* Ensure filtered_attributes and filtered_optimistic are also regex
Bring filtered_attributes and filtered_optimistic in line with the newer filtered_cache.
All three of them are now regex matches instead of absolute matches.
* update tests to use regex ^$ anchors
* utils: add filterProperties
* want a way to prevent attribute from being cached
* Update filtered_cache description to be more clear
* Fix emitStateChange was returning wrong payload in to parameter
* Directly get filtered_cache from entity and forgo parameter to State.set()
* Add tests to cover filtered_cache
* Update state.ts
* Update controller.test.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
* Add a configuration option to override OTA index file
* Cleanup
* Code review corrections
* Move zigbee_ota_override_index_location to ota section of the configuration file
* Suport both local and remote (HTTP) OTA override index files
* Updates
* updates
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
* Update title/description for filtered_attributes and filtired_optimistic
The way the frontend displays it is a bit confusing, this should hopefully clear that up.
* Lint
* Update logger.js
Adding a symlink from "log/<timestamp>" to "log/current" to be able to always view the last logfile using "log/current/log.txt".
* Update logger.js
* Update logger.js
Create directory first to prevent startup failure
* Update logger.js
Fixing check on startup
* Update settings.js
* Update logger.js
* Update settings.schema.json
* Update bridge.test.js
* Update logger.test.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
* Added syslog settings
not perfect yet, should be a dependencie of other setting
* fixed typo
* Update settings.schema.json
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
* OTA privacy enhancement
Adds the option to disallow device-initiated OTA update checks.
Currently these OTA update checks can be quite frequent, and essentially mean the device is indirectly able to ping a cloud server. In the EU it's wise to handle an IP address as personal information, and therefore it might be wise to not enable OTA checking by default. Ideally a user would agree to a privacy policy that clarifies things a bit first.
* Added default settings for OTA update management
* Set update interval in minutes
* OTA update settings
* Adds both settings for OTA updates control
* Update settings.schema.json
* Update settings.js
* Update otaUpdate.js
* Update otaUpdate.test.js
* Update bridge.test.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
* Update settings.schema.json
Added missing settings legacy_api and homeassistant_legacy_triggers
* Update settings.schema.json
Removed legacy_api, it was already in