Projects
home:Eustace:branches:Eulaceura:Factory
tcp_wrappers
_service:obs_scm:tcpdchk_libwrapped.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:tcpdchk_libwrapped.patch of Package tcp_wrappers
Upstream-Status: Backport diff -ruN tcp_wrappers_7.6.orig/tcpdchk.c tcp_wrappers_7.6/tcpdchk.c --- tcp_wrappers_7.6.orig/tcpdchk.c 2003-08-21 02:50:37.000000000 +0200 +++ tcp_wrappers_7.6/tcpdchk.c 2003-08-21 02:50:33.000000000 +0200 @@ -52,6 +52,24 @@ #include "inetcf.h" #include "scaffold.h" +/* list of programs which are known to be linked with libwrap in debian */ +static const char *const libwrap_programs[] = { + "portmap", "mountd", "statd", "ugidd", + "redir", "rlinetd", + "sshd", + "atftpd", + "diald", + "esound", + "gdm", "gnome-session" + "icecast", "icecast_admin", "icecast_client", "icecast_source", + "mysqld", + "ntop", + "pptpd", + "rquotad", + "sendmail", "smail", + NULL +}; + /* * Stolen from hosts_access.c... */ @@ -142,8 +160,8 @@ /* * These are not run from inetd but may have built-in access control. */ - inet_set("portmap", WR_NOT); - inet_set("rpcbind", WR_NOT); + for (c = 0; libwrap_programs[c]; c++) + inet_set(libwrap_programs[c], WR_YES); /* * Check accessibility of access control files.
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2