Download
Magazine
Develop
Account
Download
Magazine
Develop
Login
Forgot Account/Password
Create Account
Language
Help
Language
Help
×
Login
Login Name
Password
×
Forgot Account/Password
Category:
Software
People
PersonalForge
Magazine
Wiki
Search
OSDN
>
Find Software
>
System
>
Networking
>
Firewalls
>
Srelay - the SOCKS proxy and Relay
>
Howto
Srelay - the SOCKS proxy and Relay
Description
Project Summary
Project Reviews
Downloads
How to install Srelay - the SOCKS proxy and Relay
必要なもの
サポートされているOS環境(Linux, FreeBSD, MacOSX, Solaris)
コンパイル環境(gcc, make)
ソースのダウンロード
(最新版)
http://sourceforge.net/projects/socks-relay/files/latest
コンパイル
$ ./configure
..
$ make
# cp srelay /usr/local/bin/.
configure オプション(主なもの)
--disable-thread disable pthread feature.
pthreadを使わない
--with-libwrap
=PATH|yes|no
with tcp_wrapper access control.
TcpWrappersによるアクセスコントロールを組み込まない
起動スクリプト
サンプルはscripts/ディレクトリ以下に
Linux
登録
# cp rc.srelay /etc/init.d/srelay
# cd /etc/init.d
# chkconfig --add srelay
起動
# /sbin/service srelay start
終了
# /sbin/service srelay stop
登録削除
# chkconfig --del srelay
MacOSX 10.4〜
仮登録・起動
$ cp local.srelay.plist /Library/LaunchDaemons/.
$ cd /Library/LaunchDaemons
$ launchctl load -F local.srelay.plist
停止・登録削除
$ launchctl unload local.srelay.plist
本登録・起動
$ launchctl load -w local.srelay.plist
Solaris 10
SMFを使う
# cp svc-srelay /lib/svc/method/.
# svccfg import srelay.xml
起動
# svcadm enable network/srelay
停止
# svcadm disable network/srelay
登録削除
# svcadm disable network/srelay
# svccfg delete network/srelay
FreeBSD
# cp srelay.sh /etc/rc.d/.
/etc/rc.confを編集
srelay_enable="Yes"
の行を追加。もしくはrc.d/srelay.shの以下の行を削除
rcvar=
set_rcvar
Download File List