-
Notifications
You must be signed in to change notification settings - Fork 461
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
syslog-format: cannot parse ipv6 into hostname
Hostname parser expected colon to separate msg part from host-program part. But colon is valid character for host in case of ipv6. So some heuristics are added to allow colon during parsing hostname: looking for at maximum 8 blocks of at maximum 4-hexa values, separated by :. This heuristic automatically allows usage of double colons as well. Signed-off-by: Antal Nemes <antal.nemes@balabit.com>
- Loading branch information
Showing
2 changed files
with
113 additions
and
1 deletion.
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
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