forked from syslog-ng/syslog-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
- Loading branch information
Showing
3 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Fix `$PROTO` value for `transport(tls)` connections, previously it was set | ||
to "0" while in reality these are tcp connections (e.g. "6"). | ||
|
||
Fix how syslog-ng sets $HOST for V4-mapped addresses in case of IPv6 source | ||
drivers (e.g. udp6()/tcp6() or when using ip-protocol(6) for tcp()/udp()). | ||
Previously V4-mapped addresses would be represented as | ||
"::ffff:<ipv4 address>". This is not wrong per-se, but would potentially | ||
cause the same host to be represented in multiple ways. With the fix, | ||
syslog-ng would just use "<ipv4 address>" in these cases. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
`$TRANSPORT`: this is a new name-value pair that syslog-ng populates | ||
automatically. It indicates the "transport" mechanism used to | ||
retrieve/receive the message. It is up to the source driver to determine | ||
the value. Currently the following values were implemented: | ||
|
||
BSD syslog drivers: `tcp()`, `udp()` & `network()` | ||
* rfc3164+tls | ||
* rfc3164+tcp | ||
* rfc3164+udp | ||
* rfc3164+proxied-tls | ||
* rfc3164+<custom logproto like altp> | ||
|
||
UNIX domain drivers: `unix-dgram()`, `unix-stream()` | ||
* unix-stream | ||
* unix-dgram | ||
|
||
RFC5424 style syslog: `syslog()`: | ||
* rfc5426: syslog over udp | ||
* rfc5425: syslog over tls | ||
* rfc6587: syslog over tcp | ||
* rfc5424+<custom logproto like altp>: syslog over a logproto plugin | ||
|
||
Other drivers: | ||
* otlp: `otel()` driver | ||
* mqtt: `mqtt()` driver | ||
* hypr-api: `hypr-audit-source()` driver | ||
|
||
|
||
`$IP_PROTO`: indicate the IP protocol version used to retrieve/receive the | ||
message. Contains either "4" to indicate IPv4 and "6" to indicate IPv6. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
`LogSource` and `LogFetcher`: additional documentation was added to these | ||
Python classes to cover explicit source-side batching functionalities (e.g. | ||
the `auto_close_batch` attribute and the `close_batch()` method). |