]> git.pld-linux.org Git - packages/stunnel.git/commitdiff
- log service name which was refused too.
authortwittner <twittner@pld-linux.org>
Fri, 7 May 2004 23:08:52 +0000 (23:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    stunnel-libwrap_srv_name_log.patch -> 1.1

stunnel-libwrap_srv_name_log.patch [new file with mode: 0644]

diff --git a/stunnel-libwrap_srv_name_log.patch b/stunnel-libwrap_srv_name_log.patch
new file mode 100644 (file)
index 0000000..cf0f32f
--- /dev/null
@@ -0,0 +1,13 @@
+--- stunnel-4.05/src/client.c.orig     2004-05-08 00:54:12.000000000 +0200
++++ stunnel-4.05/src/client.c  2004-05-08 00:53:11.000000000 +0200
+@@ -651,8 +651,8 @@
+     leave_critical_section(CRIT_NTOA);
+     if (!result) {
+-        log(LOG_WARNING, "Connection from %s:%d REFUSED by libwrap",
+-            c->accepting_address, ntohs(c->addr.sin_port));
++        log(LOG_WARNING, "Connection to service %s from %s:%d REFUSED by libwrap",
++            c->opt->servname, c->accepting_address, ntohs(c->addr.sin_port));
+         log(LOG_DEBUG, "See hosts_access(5) for details");
+         return -1; /* FAILED */
+     }
This page took 0.034504 seconds and 4 git commands to generate.