• home
  • about
  • 全ての投稿
  • ソフトウェア・ハードウェアの設定のまとめ
  • 分析関連のまとめ
  • ヘルスケア関連のまとめ
  • 生涯学習関連のまとめ

xinetd

date: 2021-12-07 excerpt: xinetdについて

tag: linuxxinetdinetd


xinetdについて

概要

  • xinetd - the extended Internet services daemon

インストール

debian

$ sudo apt install xinetd

/etc/xinetd.confと/etc/xinetd.d/

  • /etc/xinetd.dには個別の設定ファイルが入っている

設定凡例

service telnet
{
	 flags           = REUSE
	 socket_type     = stream # ネットワークソケットタイプ
	 wait            = no # シングルスレッドかマルチスレッド
	 user            = root # 実行ユーザ
	 server          = /usr/kerberos/sbin/telnetd
	 log_on_failure  += USERID
	 log_on_success  += <PID,HOST,USERID,EXIT,DURATION,TRAFFIC>
	 disable         = yes # サービスを有効にするか無効にするか
	 no_access	     = <subnet> # アクセス禁止
	 only_from    = <subnet> # アクセス許可
	 access_times    = 09:45-16:15 # アクセス許可時間
	 # bind          = <ip-address> # 指定のIPへ転送
	 # redirect      = <ip-address port-number> # IP:PORTへ転送
}

参考

  • 2.6.3. XINETD


linuxxinetdinetd Share Tweet