Commit Graph

17 Commits

Author SHA1 Message Date
lukem 0beaa38406 If we're going to replace strtok() with strtok_r(), and the caller of the
latter is invoked recursively, use static (instead of automatic) storage
for the "last" pointer so that we remember where we're up to ...

Fixes bug with hosts.deny rules such as "rpcbind: ALL EXCEPT some.domain".
2002-12-26 12:53:59 +00:00
itojun 211e500c75 use strtok_r, as strtok can interfere with other callers. from openbsd 2002-06-22 11:52:40 +00:00
itojun 2f7d82e63d support scoped IPv6 address properly. PR 16810. 2002-06-06 21:28:49 +00:00
itojun 2ef04ff634 cleanup some of portability #ifdefs, which are not needed for netbsd. 2002-05-24 05:38:19 +00:00
atatat 43fa832908 Clean out "dirty" to avoid spurious log entries. 2002-04-24 16:37:08 +00:00
atatat ae10ef9a4b Log a warning if the address (n) has more significant bits than the
netmask (m) in a entry of the form "n.n.n.n/m.m.m.m".
2002-04-04 19:50:27 +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 b98c263379 resolve conflicts on upgrade (to 7.6). 1999-08-27 16:06:17 +00:00
simonb 10b4ca41b4 Revert white space changes for imported sources. 1999-07-03 12:30:16 +00:00
simonb 3f777e28cc More trailing white space. 1999-07-02 15:58:35 +00:00
christos 8c92070a91 don't use inet_addr, use inet_aton... Otherwise masks of 255.255.255.255
don't work, so we cannot restrict rules to a single host.
1999-05-09 16:03:10 +00:00
christos 759b834daa sprintf -> snprintf (not needed, but since snprintf is used everywhere else) 1999-01-18 20:21:19 +00:00
christos 05c9a1f2b5 PR/6837: Greg A. Woods: Add RBL capability for libwrap. 1999-01-18 19:45:26 +00:00
christos a1876ac6f0 PR/4347: Jim Bernard: compile error with -DNETGROUP 1997-10-26 20:49:32 +00:00
christos d6ddaab4e6 Fix for WARNS=1 and remove WARNS override from Makefile 1997-10-09 21:20:16 +00:00
mrg 541be36cca libwrap from tcp_wrappers 7.4 1996-11-26 16:48:08 +00:00