* [Comm] xinetd and hosts.*
@ 2003-10-06 7:47 "Fedor Sumkin"
2003-10-06 8:03 ` Mike Lykov
0 siblings, 1 reply; 2+ messages in thread
From: "Fedor Sumkin" @ 2003-10-06 7:47 UTC (permalink / raw)
To: Community
Вопрос такой через xinetd настроен сервре tftp. Хотелось бы ограничить доступ к
нему с использованием hosts.allow and hosts.deny
cодержание xinetd.conf:
defaults
{
log_type = SYSLOG authpriv info
log_on_success = PID HOST DURATION
log_on_failure = HOST
instances = 100
per_source = 5
}
includedir /etc/xinetd.d
содержание /etc/xinetd.d/tftp
service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -c -u root -s /work/tftp
}
прописываю в hosts.deny прописываю единственную строку
tftp:10.33.5.104
service xinetd restart
пытаюсь получить доступ к tftp - пропускает, в логах такая батва:
warning : /etc/hosts.deny, line 9 : missing newline or line too long
Как настроить доступ, кто пробовал, подскажите?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] xinetd and hosts.*
2003-10-06 7:47 [Comm] xinetd and hosts.* "Fedor Sumkin"
@ 2003-10-06 8:03 ` Mike Lykov
0 siblings, 0 replies; 2+ messages in thread
From: Mike Lykov @ 2003-10-06 8:03 UTC (permalink / raw)
To: community
В сообщении от Понедельник 06 Октябрь 2003 12:47 Fedor Sumkin написал:
> прописываю в hosts.deny прописываю единственную строку
> tftp:10.33.5.104
> service xinetd restart
> пытаюсь получить доступ к tftp - пропускает, в логах такая батва:
> warning : /etc/hosts.deny, line 9 : missing newline or line too long
>
> Как настроить доступ, кто пробовал, подскажите?
дать ему то, что он хочет?
> tftp:10.33.5.104
завершить символом "новая строка"?
--
Mike
registered linux user #315334
jabber id: combr@jabber.ru
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-10-06 8:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-06 7:47 [Comm] xinetd and hosts.* "Fedor Sumkin"
2003-10-06 8:03 ` Mike Lykov
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git