xinetd

xiaoxiao2021-03-06  89

From

http://www.xinetd.org/

xinetd

XINETD IS A Secure Replacement for inetd. it was inetd. It was ney .. CoLorado.edu. this is a home for xinetd, and a place for information to be gathered, bugs to be submitted, and hopefully fixed.

Information:

Features of xinetd

Xinetd FAQ

Changelog

Sample Config

Recent Changes

CVS Web

Download:

Source to Xinetd 2.3.13 (Released 1 Feb. 2004).

Old Distributions of Xinetd

Frederic Raynal Has Written An Excellent

Article on xinetd.

Curator Has Written A Tutorial on the use of xinetd

Here.

Xinetd Has A Mailing List. More Information On Xinetd Mailing Lists CAN Be Found

Here.

The xinetd cvs repository Can Be Accessed in The Following Way:

CVS -D: PServer: anonymous@cvs.xinetd.org: / cvs / xinetd login

Hit Enter When Asked for a password. (There is no password) You can then the Following Command:

CVS -D: PServer: anonymous@cvs.xinetd.org: / cvs / xinetd co Xinetd

Features:

Access Control:

Has builtin access control for stopping connections from evil bad guys, or for only allowing connections from good guys Can be compiled with builtin libwrap support Use hosts...!! {Allow | deny} More efficient than using tcpd Tcp wrappers are good, but can only see one connection at a time. xinetd can limit the rate of incoming connections, number of incoming connections from specific hosts, or total number of connections for a service. limit access to services based on access time of day. You can have specific Services Bind to Specific IP's. This Lets You Provide Different Services To Internal Clients Than External Clients. Prevent Denial of Service Attacks!

With the access control capabilities of limiting the rate of incoming connections, xinetd can respond to "port bombs" in a reasonable fashion. If one host seems to be hogging your services, you can limit the number of simultaneous connections from a host. You can place limits on the size of the log files it creates, so people can not fill your disk. Extensive logging abilities! you can configure the syslog logging level for each service independently. If you do not want to use syslog logging, you can have each service log to a file, independent of any other service. It can log the start and stop times for the connection, so you can determine how long a client used your services. It can log extensive information about failed connection attempts. Offload services TO a Remote Host

The redir feature allows you to redirect a TCP stream to another host. This other host does not need to be an externally reachable machine. If you want to provide services on a NAT'd machine, run xinetd with the redir feature to redirect the service TO a DIFFERENT HOST. IPv6 Support

As of the xinetd 2.1.8.8pre * series, xinetd supports IPv6. User Interaction

You can print different banners to the client when they have a successful connection, when their connection attempt failed, and always regardless of connection status. This can help keep your users informed of changes, and why they may be having trouble accessing services.

2.3.13

Add NULL entry to success_log_options to properly end the nvlist. -Steve Grubb Portability updates to libportable.h. -Matthias Andree Occasionally Smorefds did not allocate more fds as expected. -Jay Fenlason Address list parsing considered the comma in factorized addresses to be an error. Updated test to allow factorized address. -Steve Grubb When parsing inet.conf, the filename was not being set for subsequent messages. -Steve Grubb Fix addrlist_match to correctly handle IPv4 mapped IPv6 addresses. -Christof Meerwald Fixed a bug where reloading configuration would core dump if file logging was enabled in defaults and a connection existed when SIGHUP was received. -Steve Grubb If too many connections hit and exhausts the file descriptors such that accept fails, deactivate the service like the cps access control does. This problem Was reported by David Cook. -steve grubb Updated rpm.spec file and added default config files to control Fied by Numeric Value. -steve grubb 2.3.12

Cleanup some signal handling if not defined. -MARUYAMA Shinichi Make ident protocol work properly for multi-homed hosts. -Alan Sundell Code cleanup for const warnings. -Steve Grubb Make redirect protocol independent. -Cougar Make reconfig iterate over all services. Some may be in "not started" state and were being missed. -Steve Grubb Make redirected, forking builtins, & tcpmux close all listening descriptors so reconfig works. -Jay Fenlason Add support for the IPV6_V6ONLY socket option. Do not assume a default setting, .. as the default seems to be in flux address compare in readjust was wrong Its now corrected to handle each address family separately -Steve Grubb Add command line option to not fork This will allow xinetd to be started by init or daemontools... - Matthias Andree Fixed a leak in reconfig. If log_type = file is used for a service and SIGHUP is sent to xinetd, it leaked a file descriptor and 44 bytes of memory per service using FILE. -Steve Grubb Change all close () calls to Sclose () to prevent future problems. -Steve Grubb Fixed bug if service name is unparsable and in an included directory that caused xinetd to core dump. -Steve Grubb Fixed bug where address lists had "version"

uninitialized when the list used hostnames with no dots in the name. -Steve Grubb Numerous memory leaks when parsing errors occurred. -Steve Grubb Remove the servers and xadmin internal services. Update addrlist_match to use the address part of the IPv6 address structure. -Christof Meerwald Correct looping problems for udp connections rejected by the child access controls. -Steve Grubb Added TRAFFIC logging option to report total bytes in and out for a redirected service. -Christof Meerwald Correct a double-free condition if a retry was scheduled. -Steve Grubb Add filename to parse messages. -Steve Grubb Improve port error messages after parsing. -Steve Grubb Sclose dump_fd if SIO error causes dump abort. -Steve Grubb Smorefds was not allocating the proper amount of sio descriptor space if the fd was> 5 Over ITS Last Known fd. -steve grubb 2.3.11fix some compile time errors on Solaris fixed a bounds check in sdone (). patch from dmitry v. Levin Added FreeBSD loadavg support. Patch from Vanilla I. Shu TCPMUX parser updates. -Steve Grubb TCPMUX was causing core dumps due to changes made in 2.3.10's child_process (), reverted changes. -Philip Armstrong Remove RECORD logging option. -Steve Grubb Change Sclose to make sure it always closes the fd. -Steve Grubb Added better error handling to filelog.c. -Steve Grubb error messages now go to syslog instead of stderr in strparse.c. -Steve Grubb Fixed memory leaks found with valgrind. -Steve Grubb Correct problems with bind specified In The Default Section. -steve Grubb Use Sclose To Close Banner Commands. -JAY Fenlason Correct Banner To Match Man Pages. -JAY Fenlason 2.3.10

Close the service descriptors on fork. This only matters for internal forking services, since anything that calls exec () will get those closed automagically. This will help reduce the file discriptors used by the daemon when using some internal services Fix a numbering bug with xinetd's internal flag representation that was manifesting its self as all services being disabled upon recieving a SIGUSR2 (hard reconfig) Do not pass a hostname to dns registration calls, it'll pick a hostname automagically. Remove CLEANUP and other dead code. Make sure tcp internal non-forking services close their filedescriptors Added syslog facilities for the xinetd log configuration to match SUS -.. Steve Grubb Start reporting the Per Source value when dumping debugging output - Steve Grubb Correct the fake-getnameinfo.h to include appropriate macros. - Steve Grubb Up The Default CPS Value To 50 from 10. Document The Default CPS VALUES IN The xinetd.conf man page. Fix a closing of the connection when ' s an error handling the service -.. Steve Grubb Fixed a bug in the includedir path where a reference was kept to free () 'd memory Fixed a bug in the consistency check mechanism where it would report the signal pipe as a problem Clear. Memory Before Freeing It. This isn '

.... T strictly necissary, but aids in debugging Add the pid to debugging messages Remove access control calls for special services The access control functions must always allow these services anyway Fixed a bug with reconfiguring services using the interface attribute -. Adam Lukosek Fixed a bug with deallocating dns registrations. Fixed a bug where tcp_wrappers would not identify an internal service since the internal service has no executable. -Steve Grubb Sclose was being used on the config file descriptor. Since sio never touches the descriptor, it failed to close it -. Steve Grubb Fix a potential memory leak with bind_addr and service reconfig -. Andrey Alekseyev Fix a reconfig timing issue -. Andrey Alekseyev 2.3.9Fixed bug uncovered by IPv6 updates for bind parser In the id_parser, a test was being performed. For uniqueness. It belied on the address already being given. However, The Address May Not Be Known If More Than One Record Came Back from The getaddrinfo function call. -Steve Grubb Added code to service_fill to resolve port if unspecified. -Steve Grubb Consolidated duplicate services tests into check_entry. -Steve Grubb Fixed a bug with access control & internal services. Make sure we byteswap the value returned by time services. Fix an omission With the tcpmux integration. Fixed a Race When are's 1 service configured and it is a Wait service. 2.3.8

Reworked redirect to better detect problems in its configuration. Also, redirect now allows service names for port numbers. -Steve Grubb Reworked attribute checking in confparse & updated attr.h. -Steve Grubb Ensure that children have the default signal handlers installed. Added support for DNS service registration ala Rendezvous. Fixed some compile errors on Mac OS X, FreeBSD, and OpenBSD. Added preliminary support for tcpmux -Philip Armstrong Update the xinetd man page to document the -version option. Now ignores the --with-inet6 compile option. Services will default to IPv4 unless configured otherwise. Bring back the inetd.conf parser in a different form. Parse all the xinetd config files first, then parse /etc/inetd.conf, and add services from there (if it exists) . Use the -inetd_compat option to read inetd.conf. IPv6 updates for bind_parser, only_from, and no_access. -Steve Grubb 2.3.7Added fixes or workarounds for issues introduced after 2.3.3 including the signal pipe leak into Child Processes (a security hole). -solar designer name xinetd unlink it tries pidfile when Turns Out to Be No Services Configured on Reload. -solar Designer 2.3.6

Updated only_from to 'and' both the remote address and the specified portion if a network mask type address is used. -Steve Grubb Updated explicit_mask to chose NUMERIC_ADDR if mask is 32. -Steve Grubb Many parser updates. -Steve Grubb Propogate default attributes even if not specified. log_on_success, log_on_failure, passenv were the main items affected by this problem. only_from and no_access now conform to this new propogation technique. -Steve Grubb Xremove now uses domain names in addition to ip addresses. -Steve Grubb Moved sensor code into its own file and changed it to use timer facility. -Steve Grubb reworked remote_addr check & addrlist_match to not cache IP addresses and corrected several algorithmic problems. -Steve Grubb Off-by-one error corrected in pset_delete. -Steve Grubb Updated attrfill to use IPv4 Addresses if Bind Specified. -Steve Grubb fixed bug in libwrap code to check server better for null-steve grubb added better testing of configuration if nameinargs flag i s set. -Steve Grubb Updated config.guess & config.sub. -Thomas Seyrat Added an rpm spec file. -Steve Grubb Removed sio / suite directory. It appears that key files have been deleted in the past so it no longer works. -Steve Grubb Make the file descriptor buffer allocation dynamic. This substantially reduces xinetd's normal memory footprint (~ 760KB). -Rob Braun Work around bugs in Mac OS X's getrlimit / setrlimit which causes them to be almost unusable. -Rob Braun 2.3.5

Included patch from Trond at RedHat to check signal pipe if there are no services running. Update the access_times parser to disable service if there is a parse error. Also corrected ti_add too. -Steve Grubb Updated all parsers to propogate errors so service will be disabled . -Steve Grubb Updated internal services to check the signal pipe periodically. -Steve Grubb Updated sendsig to wait for termed children so zombies are not created and ports are clear to rebind to on hard_reconfig. -Steve Grubb Included a patch from Hendrik Visage for .

转载请注明原文地址:https://www.9cbs.com/read-98466.html

New Post(0)