Commit bfc344d
committed
validate_hostname: remove DNS hostname lookups
Instead of the server passing in the client IP address and having
validate_hostname() resolve it, resolve the name in new_connection()
and pass it to validate_hostname(). This significantly simplifies
the certificate validation callback.1 parent 6ce8f81 commit bfc344d
File tree
6 files changed
+147
-253
lines changed- include
- lib/iolog
- logsrvd
- plugins/sudoers
6 files changed
+147
-253
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments