ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] saned: сетевое сканирование
Date: Wed, 17 Mar 2010 19:17:56 +0300
Message-ID: <20100317161756.GL4905@newmaster.mivlgu.local> (raw)
In-Reply-To: <201003171529.27595.gusev.v.u@pkb.ru>

[-- Attachment #1: Type: text/plain, Size: 944 bytes --]

On Wed, Mar 17, 2010 at 03:29:10PM +0300, Гусев В.Ю. wrote:
> После настройки сетевого сканирования получилось, что к сканеру могут 
> подключаться только машины из подсети сканера, остальные получают отказ.
> 
> В /etc/xinetd.d/sane прописано:
> ...
> only_from = 172.26.0.0/16 
> ...
> 
> Так вот, из сети 172.26.44.0/24, в которой находится сканирующая машина, 
> подключения проходят без проблем, а вот из других получается следующее:
> 
> saned[17426]: saned (AF-indep+IPv6) from sane-backends 1.0.20 starting up
> saned[17426]: check_host: access by remote host: 172.26.94.155
> saned[17426]: init: access by host 172.26.94.155 denied
> saned[17426]: saned exiting

Кроме настройки only_from в xinetd, необходимо ещё указать список
адресов, которым разрешён доступ, в /etc/sane.d/saned.conf (в
простейшем случае можно вписать там "+", разрешив доступ всем, тогда
будет работать только ограничение средствами xinetd).

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2010-03-17 16:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-17 12:29 Гусев В.Ю.
2010-03-17 14:12 ` Алексей Шенцев
2010-03-17 16:17 ` Sergey Vlasov [this message]
2010-03-18  6:52   ` Гусев В.Ю.

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=20100317161756.GL4905@newmaster.mivlgu.local \
    --to=vsu@altlinux.ru \
    --cc=community@lists.altlinux.org \
    /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