Top / Installmemo / delegate

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS

delegate is a multi-purpose application level gateway, or a proxy server which runs on multiple platforms (Unix, Windows, MacOS X and OS/2).


インストール

Linux

OS(作業日):VineLinux2.6 Kernel 2.4.22 (2004-10-21)

  • Download
    ftp://ftp.delegate.org/pub/DeleGate/
  • Install
    # tar xvfz delegate8.9.6.tar.gz
    # cd delegate8.9.6
    # make
    delegate稼働ユーザーの作成
    # groupadd -g 200 delegate
    # useradd -g 200 -u 200 delegate

Windows

バイナリのダウンロード

DelegateのページよりWindowsのバイナリをダウンロードすることができる。
http://www.delegate.org/delegate/download/

サービスの登録

C:\opt\dg9_9_3\bin>dg9_9_3.exe -P1525 SERVER=tcprelay://192.168.24.160:1500 RELIABLE="*"
** checking the integrity of dg9_9_3.exe ... [#r0a05911]
-- src Sign> 9.9.3 2009051306 9ed558e2141fbcc9 (Author@DeleGate.ORG)
-- bld Sign> 9.9.3 2009051306 9ed558e2141fbcc9 ()
-- exe Sign? 9.9.3 2009051306 67104913918db673 ()
-- File MD5: 67104913918db673e4cb43504d100859
** NG, this executable is not signed [#o6aab5b9]
** checking DONE (took 0.500 seconds) [#cf1257fe]
Config: WindowsNT; FileSize-Bits=64/64,32/32,32,32; socket=8192/8192; 
sockpair=8192/8192,2016++u; char=signed; thread=Winthread/win; stty=none; 
fmem=2029/0/2047 M; MSC=1400
DeleGate/9.9.3 (May 12, 2009)
AIST-Product-ID: 2000-ETL-198715-01, H14PRO-049, H15PRO-165, H18PRO-443
Copyright (c) 1994-2000 Yutaka Sato and ETL,AIST,MITI
Copyright (c) 2001-2009 National Institute of Advanced Industrial Science and Technology (AIST)
--
FTP: <URL:ftp://ftp.delegate.org/pub/DeleGate/>
WWW: <URL:http://www.delegate.org/>
Mail:<URL:mailto:feedback@delegate.org>
     <URL:http://www.delegate.org/feedback/>
DGROOT=C:/Program Files/DeleGate
ADMIN=
HostID: 2006/05/10/07/42-8A (WindowsNT) AA320887 (tz=-9 db=0 dl=0)
CAUTION: ADMIN is not specified.
You must declare your E-mail address.
ADMIN=hostmaster@asagiri.dyndns.biz
ADMIN=hostmaster@asagiri.dyndns.biz ... OK ?  [y] / n / x(abort): y
... testing ports to be used [1525] ...
Trying to start as a service [DeleGate Server -P1525] ...
Set Automatic Start on System Startup ? [y] / n : y
OK. Parameters are saved in registry:
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DeleGate-P1525\Parameters"

OK. Environments are saved in registry:
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DeleGate-P1525\Environments"
OK. The service is created successfully.
OK. The service started successfully.

サービスの削除

C:\opt\dg9_9_2\bin>dg9_9_2.exe -P1525
Config: WindowsNT; FileSize-Bits=64/64,32/32,32; socket=8192/8192;  sockpair=8192
/8192,2016++u; char=signed; thread=Winthread/win; stty=none; fmem=2047/0/2047M;
MSC=1400
DeleGate/9.9.2 (March 15, 2009)
AIST-Product-ID: 2000-ETL-198715-01, H14PRO-049, H15PRO-165, H18PRO-443
Copyright (c) 1994-2000 Yutaka Sato and ETL,AIST,MITI
Copyright (c) 2001-2009 National Institute of Advanced Industrial Science and  Technology (AIST)
--
FTP: <URL:ftp://ftp.delegate.org/pub/DeleGate/>
WWW: <URL:http://www.delegate.org/>
Mail:<URL:mailto:feedback@delegate.org>
     <URL:http://www.delegate.org/feedback/>
DGROOT=C:/Program Files/DeleGate
ADMIN=
HostID: 2006/05/10/07/42-8A (WindowsNT) AA320887 (tz=-9 db=0 dl=0)
CAUTION: ADMIN is not specified.
You must declare your E-mail address.
ADMIN=hostmaster@asagiri.dyndns.biz
ADMIN=hostmaster@asagiri.dyndns.biz ... OK ?  [y] / n / x(abort): y
... testing ports to be used [1525] ...
Trying to start as a service [DeleGate Server -P1525] ...
The service `DeleGate Server -P1525' exists.  Delete it ? [y] / n : y
OK. DELETEd the previous service.
Create a new service ? [y] / n : n

LinuxでSSLポートをRelayする例(not reverse proxy)

# delegated \
       -P443 \
       SERVER=tcprelay://realserver.address:443 \
       RELIABLE="*" 
# ps auxw | grep delegate
nobody 23109  0.0  1.2  3344 1500 ? S 20:54   0:00 ./delegated 
   -{002:004/002}[RPM=0.11(0.0 0.0 0.0),IDLE=1879s]-P443

商用利用に関して

原文

http://www.delegate.org/mail-lists/delegate/12105

引用

DeleGateの商用利用についてですが、DeleGateの使用が有償となるのは
概ね以下の場合となっています。

 ・有償の製品やサービスにDeleGateを使用する場合
 ・営利組織が中規模以上でDeleGateを使用する場合

DeleGateの使用が有償か無償かは概ね以下のように分類されます。

  I.非営利の組織または個人が非営利目的に使用する場合 ........... 無償
 II.営利組織が内部的に使用または第三者へ無償で提供を行なう場合
      i. 評価目的に使用する場合 ................................ 無償
     ii. 実際の運用に改変無しで使用する場合 .... 一定利用数以上は有償
    iii. 実際の運用に改変有りで使用する場合 .... 一定利用数以上は有償
 III.第三者へ有償で提供を行なう場合 ............................ 有償

上記II.における無償・有償の境界となる「一定利用数」は以下のようになっています。

II.iiの改変無しで使用する場合の無償使用となる利用数は:
 a) インストールするホスト数が50以下
 b) 組織内利用者数が500以下
 c) (プロバイダの場合)プロバイダ内利用者数が5,000以下
 d) 組織外利用者へサービスを提供する場合、利用者数が50,000以下
    またはオフラインで第三者に配布する場合、配布数が50,000以下
II.iiiの改変して使用の場合には、実際の利用数に一定数を乗じて、上のa)〜d)が
適用されます。

参考リンク

[1] Delegate homepage
[2] http://surf.ap.seikei.ac.jp/~nakano/linux/delegate-j.html