Bugzilla – Attachment 8 Details for
Bug 65
TCP Wrappers support does not log successful connections
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix this bug (gdiff -u)
sshd.c-diff.txt (text/plain), 702 bytes, created by
Joseph
on 2002-01-07 09:54:19 AEDT
(
hide
)
Description:
Patch to fix this bug (gdiff -u)
Filename:
MIME Type:
Creator:
Joseph
Created:
2002-01-07 09:54:19 AEDT
Size:
702 bytes
patch
obsolete
>--- sshd+.c Fri Jan 4 18:43:39 2002 >+++ sshd.c Sun Jan 6 16:29:32 2002 >@@ -1147,6 +1147,17 @@ > refuse(&req); > /* NOTREACHED */ > fatal("libwrap refuse returns"); >+ }else{ >+ /*Log the successful connection. >+ * refuse() is part of the tcp wrappers distribution, >+ * but there is no corresponding allow() [it doesn't make >+ * much sense, anyway, except for logging] >+ * We'll have to do our own syslogging, then, using the wrappers' >+ * eval_client function. >+ * Note that allow_severity is changed, if necessary, by the TCP >+ * wrappers functions above. >+ */ >+ syslog(allow_severity, "allowed connect from %s", eval_client(&req)); > } > } > #endif /* LIBWRAP */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 65
: 8