Package: tcp-wrappers / 7.6.q-25
Metadata
Package | Version | Patches format |
---|---|---|
tcp-wrappers | 7.6.q-25 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
00_man_quoting.diff | (download) |
hosts_access.5 |
6 3 + 3 - 0 ! |
--- |
00_man_typos | (download) |
hosts_access.5 |
2 1 + 1 - 0 ! |
--- |
01_man_portability | (download) |
hosts_access.3 |
2 1 + 1 - 0 ! |
--- |
05_wildcard_matching | (download) |
hosts_access.5 |
4 4 + 0 - 0 ! |
--- |
06_fix_gethostbyname | (download) |
socket.c |
11 8 + 3 - 0 ! |
--- |
10_usagi ipv6 | (download) |
Makefile |
31 26 + 5 - 0 ! |
--- |
11_tcpd_blacklist | (download) |
hosts_access.5 |
7 7 + 0 - 0 ! |
tcp wrapper blacklist extension Followup-To: poster Date: 8 Sep 1997 18:53:13 -0400 Organization: Wietse's hangout while on sabattical in the USA Lines: 147 Sender: wietse@spike.porcupine.org Message-ID: <5v1vkp$h4f$1@spike.porcupine.org> NNTP-Posting-Host: spike.porcupine.org Xref: news.porcupine.org comp.mail.sendmail:3541 comp.security.unix:7158 The patch below adds a new host pattern to the TCP Wrapper access control language. Instead of a host name or address pattern, you can specify an external /file/name with host name or address patterns. The feature can be used recursively. The /file/name extension makes it easy to blacklist bad sites, for example, to block unwanted electronic mail when libwrap is linked into sendmail. Adding hosts to a simple text file is much easier than having to edit a more complex hosts.allow/deny file. I developed this a year or so ago as a substitute for NIS netgroups. At that time, I did not consider it of sufficient interest for inclusion in the TCP Wrapper distribution. How times have changed. The patch is relative to TCP Wrappers version 7.6. The main archive site is ftp://ftp.win.tue.nl/pub/security/tcp_wrappers_7.6.tar.gz Thanks to the Debian LINUX folks for expressing their interest in this patch. Wietse |
11_usagi_fix | (download) |
hosts_access.c |
16 9 + 7 - 0 ! |
--- |
12_makefile_config | (download) |
Makefile |
21 14 + 7 - 0 ! |
--- |
13_shlib_weaksym | (download) |
Makefile |
57 41 + 16 - 0 ! |
--- |
14_cidr_support | (download) |
hosts_access.5 |
4 4 + 0 - 0 ! |
--- |
15_match_clarify | (download) |
hosts_access.5 |
2 2 + 0 - 0 ! |
--- |
aclexec | (download) |
hosts_access.c |
9 9 + 0 - 0 ! |
--- |
expand_remote_port | (download) |
eval.c |
22 22 + 0 - 0 ! |
--- |
catch sigchld | (download) |
shell_cmd.c |
54 51 + 3 - 0 ! |
--- |
fix_warnings | (download) |
fix_options.c |
4 2 + 2 - 0 ! |
--- |
have_strerror | (download) |
percent_m.c |
4 4 + 0 - 0 ! |
--- |
man_fromhost | (download) |
hosts_access.3 |
4 4 + 0 - 0 ! |
--- |
more_man_pages | (download) |
safe_finger.8 |
34 34 + 0 - 0 ! |
--- |
match_port | (download) |
hosts_access.5 |
2 1 + 1 - 0 ! |
--- |
restore_sigalarm | (download) |
rfc931.c |
13 12 + 1 - 0 ! |
--- |
rfc931.diff | (download) |
scaffold.c |
13 10 + 3 - 0 ! |
--- |
safe_finger | (download) |
safe_finger.c |
7 5 + 2 - 0 ! |
--- |
sig_fix | (download) |
hosts_access.c |
12 7 + 5 - 0 ! |
--- |
siglongjmp | (download) |
rfc931.c |
6 3 + 3 - 0 ! |
--- |
size_t | (download) |
fix_options.c |
5 5 + 0 - 0 ! |
--- |
tcpdchk_libwrapped | (download) |
tcpdchk.c |
22 20 + 2 - 0 ! |
--- |
fix_static | (download) |
workarounds.c |
2 1 + 1 - 0 ! |
--- |
fix_parsing_long_lines | (download) |
hosts_access.c |
4 3 + 1 - 0 ! |
fix parsing of lines longer than 2047 characters If a line in /etc/hosts.{allow,deny} is longer than BUFLEN-1 (2047) characters then len will be set to 1 at the end of the xgets() loop. . At the next iteration, fgets will be passed a buffer of length 1, so it will only be able to read an empty string (the buffer must always have space for the trailing NUL). . strlen(3) on the empty string will return 0, so len will not be modified anymore and the last step will repeat forever. . To reproduce: perl -e 'print "#sshd: " . ("127.0.0.1, " x 210) . "\n"' > hosts.deny tcpdmatch -d test localhost |
initgroups | (download) |
options.c |
23 19 + 4 - 0 ! |
--- |
ignore_missing_inetdconf | (download) |
inetcf.c |
4 1 + 3 - 0 ! |
--- |