1 /* 2 * rfc931() speaks a common subset of the RFC 931, AUTH, TAP, IDENT and RFC 3 * 1413 protocols. It queries an RFC 931 etc. compatible daemon on a remote 4 * host to look up the owner of a connection. The information should not be 5 * used for authentication purposes. This routine intercepts alarm signals. 6 * 7 * Diagnostics are reported through syslog(3). 8 * 9 * Author: Wietse Venema, Eindhoven University of Technology, The Netherlands. 10 *
| 1 /* 2 * rfc931() speaks a common subset of the RFC 931, AUTH, TAP, IDENT and RFC 3 * 1413 protocols. It queries an RFC 931 etc. compatible daemon on a remote 4 * host to look up the owner of a connection. The information should not be 5 * used for authentication purposes. This routine intercepts alarm signals. 6 * 7 * Diagnostics are reported through syslog(3). 8 * 9 * Author: Wietse Venema, Eindhoven University of Technology, The Netherlands. 10 *
|
11 * $FreeBSD: head/contrib/tcp_wrappers/rfc931.c 63152 2000-07-14 15:07:37Z dwmalone $
| 11 * $FreeBSD: head/contrib/tcp_wrappers/rfc931.c 257398 2013-10-30 21:18:14Z sbruno $
|
12 */ 13 14#ifndef lint 15static char sccsid[] = "@(#) rfc931.c 1.10 95/01/02 16:11:34"; 16#endif 17 18/* System libraries. */ 19 20#include <stdio.h> 21#include <syslog.h> 22#include <sys/types.h> 23#include <sys/socket.h> 24#include <netinet/in.h> 25#include <setjmp.h> 26#include <signal.h> 27#include <string.h>
| 12 */ 13 14#ifndef lint 15static char sccsid[] = "@(#) rfc931.c 1.10 95/01/02 16:11:34"; 16#endif 17 18/* System libraries. */ 19 20#include <stdio.h> 21#include <syslog.h> 22#include <sys/types.h> 23#include <sys/socket.h> 24#include <netinet/in.h> 25#include <setjmp.h> 26#include <signal.h> 27#include <string.h>
|
| 28#include <unistd.h>
|
28 29#ifndef SEEK_SET 30#define SEEK_SET 0 31#endif 32 33/* Local stuff. */ 34 35#include "tcpd.h"
--- 197 unchanged lines hidden --- | 29 30#ifndef SEEK_SET 31#define SEEK_SET 0 32#endif 33 34/* Local stuff. */ 35 36#include "tcpd.h"
--- 197 unchanged lines hidden --- |