mirror of https://github.com/moparisthebest/sslh
Changed connection log to include the name of the probe that triggered.
This commit is contained in:
parent
2cb424c646
commit
8758a298ba
|
@ -5,6 +5,9 @@ vNEXT:
|
||||||
Added support for RFC4366 SNI
|
Added support for RFC4366 SNI
|
||||||
(Travis Burtrum)
|
(Travis Burtrum)
|
||||||
|
|
||||||
|
Changed connection log to include the name of the probe that
|
||||||
|
triggered.
|
||||||
|
|
||||||
Changed configuration file format: 'probe' field is
|
Changed configuration file format: 'probe' field is
|
||||||
no longer required, 'name' field can now contain
|
no longer required, 'name' field can now contain
|
||||||
'sni' or 'regex', with corresponding options (see
|
'sni' or 'regex', with corresponding options (see
|
||||||
|
|
3
common.c
3
common.c
|
@ -457,7 +457,8 @@ void log_connection(struct connection *cnx)
|
||||||
if (res == -1) return;
|
if (res == -1) return;
|
||||||
sprintaddr(local, sizeof(local), &addr);
|
sprintaddr(local, sizeof(local), &addr);
|
||||||
|
|
||||||
log_message(LOG_INFO, "connection from %s to %s forwarded from %s to %s\n",
|
log_message(LOG_INFO, "%s:connection from %s to %s forwarded from %s to %s\n",
|
||||||
|
cnx->proto->description,
|
||||||
peer,
|
peer,
|
||||||
service,
|
service,
|
||||||
local,
|
local,
|
||||||
|
|
Loading…
Reference in New Issue