summaryrefslogtreecommitdiffstats
path: root/contrib/tcp_wrappers
Commit message (Collapse)AuthorAgeFilesLines
* MFC r272947, r272950:pfg2015-01-174-48/+49
| | | | | | | | | | | | tcpd: complete function prototypes. tcpd.h: add prototype for hosts_ctl This clears up at least a build issues on mysql-server ports. While here also replace some spaces with tabs in our headers. PR: 32808 PR: 42336
* Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS ineadler2012-12-061-2/+2
| | | | | | | | | | | | share/mk/sys.mk instead. This is part of a medium term project to permit deterministic builds of FreeBSD. Submitted by: Erik Cederstrand <erik@cederstrand.dk> Reviewed by: imp, toolchain@ Approved by: cperciva MFC after: 2 weeks
* Make these files compile with clang.rpaulo2010-07-221-0/+1
| | | | Submitted by: Dimitry Andric <dimitry at andric.com>
* Allow comment (#) to be placed anywhere in the line, not only at thesobomax2010-01-081-1/+11
| | | | | | beginning, so it's consistent with other configuration files. MFC after: 3 weeks
* NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 definesume2005-05-132-12/+4
| | | | | NI_WITHSCOPEID, and our getaddrinfo(3) does nothing special for it, now.
* Correct compilation with "#define really_paranoid".ceri2003-12-271-1/+1
| | | | | PR: bin/59674 Submitted by: Vaclav Rehak <vasek@zoom-int.cz>
* Add a declaration that malloc() returns a pointer, not an int. Otherwisepeter2003-01-081-0/+2
| | | | | this segfaults on ia64. (Cannot cast an int to a pointer). The rest of the code does it this way rather than use system includes....
* This commit was generated by cvs2svn to compensate for changes in r80260,kris2001-07-241-3/+18
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import updated/clarified license for tcp_wrappers.kris2001-07-241-3/+18
| | | | | | | | | | | | | | | | +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that this entire copyright notice +* is duplicated in all such copies. Obtained from: ftp://ftp.porcupine.org/pub/security/tcp_wrappers_license
* | Unbreak "paranoid" host checking, which was broken with the IPv6 codekris2001-07-041-1/+1
| | | | | | | | | | | | import. Submitted by: Tony Finch <dot@dotat.at>
* | Make tcpwrappers use the magic in syslog.h for getting syslog facilitydwmalone2001-01-141-100/+10
| | | | | | | | | | | | | | | | | | and level names. Add FreeBSD tag. PR: 24218 Approved by: markm
* | - reject numeric addressume2000-09-251-0/+22
| | | | | | | | | | | | | | | | - validate scope in sockaddr comparison logic patch was originally submitted by itojun and slightly modified by me. Reviewed by: itojun, kris
* | Don't touch ai_canonname without checking NULL. Currentume2000-09-231-3/+6
| | | | | | | | | | | | | | | | implementation of getaddrinfo() may return NULL ai_canonname. There is no consensus how getaddrinfo() should fill ai_canonname when numeric hostname is given. Reported by: kris
* | Add IPv6 scoped address support.ume2000-07-146-319/+296
| | | | | | | | | | | | | | | | It enables us to control link-local connections by interface like this: ALL : [fe80::%ed0]/10 : allow ALL : [fe80::]/10 : deny
* | Stop the tcp_wrappers ident code sending a request which is splitdwmalone2000-07-141-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | across several packets. This is done by not turning off buffering on the stdio stream for the ident connection. Originally this was done to avoid reading back what you'd just written into the buffer. However ANSI C gives a list of functions which should allow you to safely change direction on a stdio stream, and Wietse found that fseek seemed to be the most portable. The original patch used a different workaround, but this should be a real fix. PR: 16086 Reviewed by: wietse@porcupine.org (Original version) Approved by: markm
* | Missing tcp_wrapper IPv6 support seemed to be a bug, so commit it.shin2000-02-0316-12/+727
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now when tcp_wrapper is enabled by inetd -wW, several accesses which should be permitted are refused only for IPv6, if hostname is used to decide the host to be allowed. IPv6 users will be just upset. About security related concern. -All extensions are wrapped by #ifdef INET6, so people can completely disable the extension by recompile libwrap without INET6 option. -Access via IPv6 is not enabled by default. People need to enable IPv6 access by changing /etc/inetd.conf at first, by adding tcp6 and/or tcp46 entries. -The base of patches are from KAME package and are actually daily used for more than a year in several Japanese IPv6 environments. -Patches are reviewed by markm. Approved by: jkh Submitted by: Hajimu UMEMOTO <ume@mahoroba.org> Reviewed by: markm Obtained from: KAME project
* | Add the ``blacklist'' feature, which allows a path to a filename tosheldonh1999-09-213-1/+65
| | | | | | | | | | | | | | | | be used as a valid pattern in the access control language. Patch obtained from ftp://ftp.porcupine.org/pub/security/ . Requested by: markm
* | Since our inetd wrapped now, treat all its services as tcpd-prefixedache1999-04-031-0/+4
|/ | | | for tcpdchk
* Clean import of TCP-wrappers by Wietse Venema.markm1999-03-1456-0/+9731
Rest of build to follow.
OpenPOWER on IntegriCloud