歡迎您光臨本站 註冊首頁

SS5代理UDP協議問題

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

SS5代理UDP協議問題

安裝配置完SS5(SOCKS SERVER 5)后,代理TCP很好沒任何問題,但是當代理UDP協議時發生錯誤:

# ./configure --prefix=/usr/local/ss5 --with-logfile=/var/log/ss5.log --with-configfile=/etc/ss5.conf --with-passwordfile=/etc/ss5.passwd --datadir=/var/ss5
# make
# make install


# cat /etc/ss5.conf

set SS5_DNSORDER
set SS5_NETBIOS_DOMAIN
auth    0.0.0.0/0               -               u
permit -        0.0.0.0/0       -       0.0.0.0/0       -       -       -       10240   -

當客戶端使用nslookup查詢域名時顯示DNS連接超時如下:

C:\Documents and Settings\Administrator>nslookup www.aidns.cn 192.168.0.10

DNS request timed out.
    timeout was 2 seconds.
*** Can't find server name for address 192.168.0.10: Timed out
Server:  UnKnown
Address:  192.168.0.10

DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
*** Request to UnKnown timed-out


ss5日誌顯示如下:
# cat /var/log/ss5.log

SS5 Version 3.6.4 - Release 3 reloading
Copyright (C) 2002-2007 by Matteo Ricchetti - <matteo.ricchetti@libero.it>
Setting dynamic configuration.
Cleaning old configuration.
Loading and validating new configuration.
Option          SS5_VERBOSE set.
Loading configuration completed
N.      1 permit  lines loaded.
N.      1 method  lines loaded.
N.      0 proxy   lines loaded.
N.      0 dump    lines loaded.
N.      0 virtual lines loaded.
$S5LoadConfData$: (No such file or directory).
Switching to new configuration.
Role is ALONE.
192.168.0.1 llzqq "UDP ASSOCIATE" ACLDENY 0 0 - (192.168.0.10:53 -> 192.168.0.1:3692)
192.168.0.1 llzqq "UDP ASSOCIATE" ACLDENY 0 0 - (192.168.0.10:53 -> 192.168.0.1:3694)
192.168.0.1 llzqq "UDP ASSOCIATE" ACLDENY 0 0 - (192.168.0.10:53 -> 192.168.0.1:3696)



先前用過dante(也是一個sock5代理伺服器),代理UDP協議則沒有問題。有明白的朋友說說。

[ 本帖最後由 llzqq 於 2007-11-11 17:03 編輯 ]
《解決方案》

:em16:

[火星人 ] SS5代理UDP協議問題已經有1600次圍觀

http://coctec.com/docs/service/show-post-34443.html