Warning: file_put_contents(): Only -1 of 44 bytes written, possibly out of free disk space in /var/www/html/index.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 25
sybase_unbuffered_query tcpwrap_check 関数リファレンス PHP Manual TCP ラッパ関数(TCP Wrappers) 導入 ラッパは、古典的な Unix のメカニズムを提供します。これ...
Forum und email

TCP ラッパ関数(TCP Wrappers)

導入

TCP ラッパは、古典的な Unix のメカニズムを提供します。これは リモートクライアントが指定した IP アドレスから接続できるかどうかを 調べるように設計されています。

インストール手順

Tcpwrap は、現在は PECL » https://pecl.php.net/package/tcpwrap で取得できます。

*nix 系のシステム上で » PEAR が有効な 場合は、pear インストーラを用いて tcpwrap 拡張モジュールをインストールする ことが可能です。その場合は以下のようなコマンドを入力します。 pear -v install tcpwrap

tar.gz パッケージをダウンロードし、tcpwrap を手動でインストールすることも 可能です。

Example#1 tcpwrap の手動インストール

gunzip tcpwrap-xxx.tgz
tar -xvf tcpwrap-xxx.tar
cd tcpwrap-xxx
phpize
./configure && make && make install