ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "\"Fedor Sumkin\" " <altcommunity@mail.ru>
To: Community@altlinux.ru
Subject: [Comm] xinetd and hosts.*
Date: Mon, 06 Oct 2003 11:47:41 +0400
Message-ID: <E1A6Q5l-0006hz-00.altcommunity-mail-ru@f22.mail.ru> (raw)

 
Вопрос такой через 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 
 
Как настроить доступ, кто пробовал, подскажите? 
 
 


             reply	other threads:[~2003-10-06  7:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-06  7:47 "Fedor Sumkin"  [this message]
2003-10-06  8:03 ` Mike Lykov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1A6Q5l-0006hz-00.altcommunity-mail-ru@f22.mail.ru \
    --to=altcommunity@mail.ru \
    --cc=Community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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