ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergei <serpiph@pochtamt.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Как запустить telnetсервер?
Date: Sat Jul 28 11:49:11 2001
Message-ID: <01072812200606.07436@pif.b5.mephi.ru> (raw)
In-Reply-To: <01072900392300.01353@alex>

Воскресенье 29 Июль 2001 00:39, Вы написали:
> Приветствую!
>
> Задача стоит в том, чтобы запустить в xinetd telnet сервер, а также talk
> сервер. Что сделал я: из документации из файла примерной конфигурации
> вырезал куски и вставил их как файлы в директорию /etc/xinet.d Вот эти
> файлы:
>
> Файл talk:
> service talk
> {
> 	socket_type		= dgram

	protocol			= udp

> 	wait				= yes
> 	user				= root
> 	server			= /usr/sbin/in.talkd
> }
>
> Файл telnet:
> # Telnet
> #
> service telnet
> {
> 	flags				= REUSE
> 	socket_type		= stream

	protocol			= tcp

> 	wait				= no
> 	user				= root
> #	server			= /usr/etc/in.telnetd

	server 			= /usr/sbin/in.telnetd
	only_from		= ______

> #^^^ Такого файла вообще нет и не только в этой директории
> # В README что-то говорится, что для встроенных сервисов не надо указывать
> # сервер, и в качестве примера приведен telnet
> 	log_on_failure += USERID
> }
> Логи выдрать не могу так как по команде fgrep -r telnet >telnet создается
> файл на 70 мегабайт с куей мусора в нем. Так что-же делать?
>
> Благодарю!
В качестве параметра еще укажите only_from, иначе подключиться сможете только 
с localhost (по умолчанию). И просмотри /etc/hosts.{allow|deny} на предмет 
разрешения подключения. И это не встроенные сервера.
Встроенные: chargen, daytime, echo, discard, time, services. У них идут 
параметры
type = INTERNAL
id = ___

-- 
С уважением, Епифанов Сергей.



  reply	other threads:[~2001-07-28 11:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-27 20:18 Alex A. Puchkov
2001-07-28 11:49 ` Sergei [this message]
2001-07-28 16:15   ` Alex A. Puchkov
2001-07-28 23:50     ` Alex Savvin
2001-07-29  5:18     ` [mdk-re] Re[2]: " Angelique

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=01072812200606.07436@pif.b5.mephi.ru \
    --to=serpiph@pochtamt.ru \
    --cc=mandrake-russian@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