[linux] RedHat, XINETD <-> TCPD <-> hosts.allow

Milan Remenar Remenar_Milan na ebo.seas.sk
Pátek Duben 4 10:03:38 CEST 2003


Podla mojho nazoru xinetd moze ale nemusi pouzivat na obmedzenie
pristupu tcp wrapper (ten vyuziva hosts.deny a hosts. allow) . V pripade
ze sa ma tcpd pouzit na kontrolu pristupu , dal by som ho do suboru
/etc/xinetd.conf pred sluzbou, ktora sa ma pustat(napr. ftpd,telent....).
 Aspon tak som si prelozil cast manualu xinetd.conf. Je tam pisane v casti
NAMEINARGS - This wil cause the first argument in "server_args"
to be argv[0] when executing the server, as specified in "server".
This allow you to use "tcpd" by putting tcpd in "server" and the name
of the server in "server_args" like in normal inetd.

Pre inetd.conf to ma vraj pouzite wrappera vyzerat asi takto:

ftp   stream      tcp   nowait      root  /usr/sbin/tcpd
/usr/sbin/in.ftpd

ale ked citam dalej man xinetd.conf , je tam

server  - determines the program to execute for this service
server _args - determines the arguments passed to the
                            server. In contrast to inetd, the server name
                            should "not" be included in server_args.

...takze toto  mi nie je celkom jasne.
Milanr





Další informace o konferenci linux