View | Details | Raw Unified | Return to bug 65
Collapse All | Expand All

(-)sshd+.c (+11 lines)
Lines 1147-1152 Link Here
1147
			refuse(&req);
1147
			refuse(&req);
1148
			/* NOTREACHED */
1148
			/* NOTREACHED */
1149
			fatal("libwrap refuse returns");
1149
			fatal("libwrap refuse returns");
1150
		}else{
1151
			/*Log the successful connection.
1152
			 * refuse() is part of the tcp wrappers distribution,
1153
			 * but there is no corresponding allow() [it doesn't make
1154
			 * much sense, anyway, except for logging]
1155
			 * We'll have to do our own syslogging, then, using the wrappers'
1156
			 *  eval_client function.
1157
			 * Note that allow_severity is changed, if necessary, by the TCP
1158
			 *  wrappers functions above.
1159
			 */
1160
			syslog(allow_severity, "allowed connect from %s", eval_client(&req));
1150
		}
1161
		}
1151
	}
1162
	}
1152
#endif /* LIBWRAP */
1163
#endif /* LIBWRAP */

Return to bug 65