Commit Graph

41 Commits

Author SHA1 Message Date
christos d54a6e0c5d Add blocklist support to libwrap which enables all programs using libwrap
to block access from hosts we deny. (libwrap support from Greg A. Woods)
2021-03-07 15:09:12 +00:00
sevan 421949a31f ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
christos a2e2b1306b eliminate %m complexity. __format_arg__ thinks it is handling a format for
printf, so it does not like %m.
2015-10-14 15:50:48 +00:00
matt d6a05e11ac Use a little const for quotes strings. 2012-03-21 10:11:34 +00:00
plunky 9f61b80465 NULL does not need a cast 2011-08-31 16:24:54 +00:00
joerg 3eb244d801 Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
2011-07-17 20:54:30 +00:00
lukem d877c4c3c0 Enable WARNS=4 by default, except for:
cpuctl  dumplfs  hprop  ipf  iprop-log  kadmin  kcm  kdc  kdigest
	kimpersonate  kstash  ktutil  makefs  ndbootd  ntp  pppd  quot
	racoon  racoonctl  rtadvd  sntp  sup  tcpdchk  tcpdmatch  tcpdump
	traceroute  traceroute6  user  veriexecgen  wsmoused  zic
(Mostly third-party applications)
2009-04-22 15:23:01 +00:00
itojun 99f12cfafe use bounded string op 2003-07-14 09:07:22 +00:00
itojun c2e037e2df use bounded string op as much as possible 2003-07-13 12:07:16 +00:00
itojun b1a19ea0e1 debugging log message committed by mistake (rev 1.8). catched by lukem 2002-12-26 14:11:28 +00:00
lukem 17d72c8a6b use NETBSDSRCDIR as appropriate 2002-09-18 03:54:26 +00:00
wiz f718edfc2a unifdef __STDC__ 2002-07-06 21:46:59 +00:00
itojun 2f7d82e63d support scoped IPv6 address properly. PR 16810. 2002-06-06 21:28:49 +00:00
itojun 8dbe673a81 add syslogd and rpcbind, which links to libwrap by itself
VS: ----------------------------------------------------------------------
2002-06-06 21:27:49 +00:00
tron 23e50f2c66 Fix build problem caused by recent changes to "libwrap". 2002-05-24 09:57:25 +00:00
itojun 5237fd7778 have sshd listed in use_libwrap[].
From: Frederick Bruckman <fredb@immanent.net>
To: <tech-userlevel@netbsd.org>
Date: Fri, 29 Jun 2001 11:57:14 -0500 (CDT)
2001-06-30 00:56:28 +00:00
wiz c106ab288c Comment out reference to tlid.conf in the SEE ALSO section. 2001-04-03 12:05:12 +00:00
martin 8679c35174 More va_list vs. _BSD_VA_LIST_ lossage 2000-12-30 21:45:44 +00:00
is d8302e2d73 More format string cleanups by sommerfeld. 2000-10-11 20:23:46 +00:00
mycroft f5d7100e26 Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get
the correct definition from errno.h.
2000-01-21 17:08:33 +00:00
itojun 1e8c736a70 Apply IPv6 support patch.
Note that all IPv6 address must be wrapped with square bracket, like:
	ALL: [::1/128] 127.0.0.1/255.255.255.255
Increase shlib minor.

ftp://ftp.kame.net/pub/kame/misc/tcp_wrappers-76-v6-19990831.diff.gz
1999-08-31 13:58:58 +00:00
itojun 5874d1fc54 conflict resolution after tcp_wrappers upgrade to 7.6. 1999-08-27 16:07:23 +00:00
itojun fa8f6ba80b libwrap from tcp_wrappers 7.6 1999-08-27 15:16:16 +00:00
thorpej e1db0debfa Fix one that Christos missed. 1999-05-09 21:22:53 +00:00
christos 9fae9a1863 Pass NULL for checking only 1999-05-09 16:07:20 +00:00
christos 405991437d Adjust for dot_quad_addr() changes 1999-05-09 16:05:35 +00:00
hubertf fe10e41ef3 fix RCS ID 1999-02-15 04:00:14 +00:00
christos ee880a75bf PR/6835: Greg A. Woods: Various problems with tcpdchk
- fakelog.c contains extra va_arg
	- fix netgroup const problem and remove WARNS flag from Makefile
	- use CFLAGS from libwrap
1999-01-18 18:01:26 +00:00
kleink 37bede84a4 Use strerror(3) instead of sys_errlist and sys_nerr. 1998-05-09 17:22:07 +00:00
christos b1af8732b4 Remove WARNS=0 1998-03-05 18:03:35 +00:00
perry 3fe138c146 RCS Id Police. 1998-01-09 08:03:16 +00:00
christos f5024bbed0 PR/4509: Jarle F. Greipsland: avoid redefinition of rfc931_timeout. 1997-11-16 21:30:25 +00:00
lukem f5bf267d90 enable WARNS=1 by default, but disable in unclean 3rd party code 1997-10-18 06:42:25 +00:00
lukem 47852f1f67 getopt returns -1 not EOF 1997-10-17 13:49:37 +00:00
cjs 808e7bd9b8 Add hack to avoid gcc warnings. 1997-10-14 05:17:35 +00:00
christos f8dba09cca Cleanup for WARNS = 1
- add prototypes
- comment out rfc931(); it conflicts with the one in -lwrap and is not needed
  anyway.
- remove unused variables
- add NetBSD rcsids.
1997-10-11 21:41:34 +00:00
bouyer 8750fc1da2 Correct 'SYNOPSIS' spelling 1997-06-30 15:56:19 +00:00
christos 0aad9d4378 Makefile cleanups 1997-03-24 22:02:40 +00:00
cgd de97b4a289 stdlib.h for malloc() prototype 1997-01-24 02:16:22 +00:00
cjs 7e5ed09d92 Add a list of programs which are not in /etc/inetd.conf but use libwrap
on their own (currently just /usr/sbin/sendmail). Also, mark all programs
in inetd as wrapped even without tcpd being called, since NetBSD inetd
wraps all programs.
1997-01-11 03:33:31 +00:00
cjs 84b4e9c069 Import from tcd_wrappers_7.4. 1997-01-11 02:06:52 +00:00