amnextking / wallproxy-plus

Automatically exported from code.google.com/p/wallproxy-plus
2 stars 0 forks source link

您好,作者我还是在单位看不成直播? #251

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
能否看下是什么原因?这是控制台信息:
------------------------------------------------------------------------------
127.0.0.1 - - [2012-10-28 15:33:31] "GET http://www.youtube.com/user/p3rvduxa?fe
ature=lb&v=uxDkYdYkjFE HTTP/1.1" 303 26
127.0.0.1 - - [2012-10-28 15:33:32] "GET http://www.youtube.com/watch?v=uxDkYdYk
jFE&feature=lb HTTP/1.1" 200 30111
127.0.0.1 - - [2012-10-28 15:33:33] "GET http://i4.ytimg.com/u/WgNIMSPkbNMmIhhMF
_OkDg/watch_icon.jpg?v=503442f6 HTTP/1.1" 200 21303
127.0.0.1 - - [2012-10-28 15:33:33] "GET http://www.youtube-nocookie.com/gen_204
?attributionpartner=machinima HTTP/1.1" 204 0
127.0.0.1 - - [2012-10-28 15:33:33] "GET http://o-o---preferred---sn-p5q7ynl7---
v6---nonxt6.c.youtube.com/generate_204?sparams=algorithm%2Cburst%2Ccp%2Cfactor%2
Cgcr%2Cid%2Cip%2Cipbits%2Citag%2Cns%2Csource%2Cupn%2Cexpire&fexp=916601%2C926101
%2C919006%2C914055%2C916613%2C922401%2C920704%2C912806%2C927201%2C925003%2C91354
6%2C913556%2C920201%2C900816%2C911112%2C901451&burst=40&ip=74.125.185.22&cp=U0hU
RlROUF9KU0NONF9MSFRFOmpGckpVUlA4d21K&id=uxDkYdYkjFE&newshard=yes&source=youtube&
gcr=us&factor=1.25&ns=yt-live&itag=34&ipbits=8&sver=3&expire=1351432459&key=yt1&
upn=e2CbBIkn0dg&algorithm=throttle-factor&mt=1351409594&mv=m&ms=au&signature=B41
B485BF4A52D92FFEE5C2B86B5CB8AD9C11A55.8BF2305900A6B0F8A3E1642CAFE4B40729084CAE H
TTP/1.1" 204 0
127.0.0.1 - - [2012-10-28 15:33:34] "GET http://www.youtube.com/live_204?ptk=mac
hinima&st=0&plid=AATNGZFxEcp60NNf&video_id=uxDkYdYkjFE&noflv=1&metric=connected&
ps=live&tmi=1&asv=3&fmt=34&el=detailpage&begin=Infinity HTTP/1.1" 200 0
127.0.0.1 - - [2012-10-28 15:33:34] "GET http://www.youtube.com/ptracking?ptk=ma
chinima&ptchn=p3rvduxa&oid=Ub4HVMaNS3_bFHc6MYUOiw&video_id=uxDkYdYkjFE&pltype=co
ntentlive&plid=AATNGZFxEcp60NNf HTTP/1.1" 204 0
127.0.0.1 - - [2012-10-28 15:33:35] "GET http://www.google-analytics.com/__utm.g
if?utmwv=5.3.7&utms=4&utmn=1302196675&utmhn=downloader.bestvideodownloader.com&u
tmt=event&utme=5(EYTD%20Button*Display)&utmcs=UTF-8&utmsr=1024x768&utmsc=24-bit&
utmul=zh-cn&utmje=0&utmfl=11.4%20r402&utmhid=906239062&utmr=http%3A%2F%2Fwww.you
tube.com%2Fwatch%3Fv%3DuxDkYdYkjFE%26feature%3Dlb&utmp=%2FTrackEvent%3Fcategory%
3DEYTD%252520Button%26gaction%3DDisplay&utmac=UA-4639659-39&utmcc=__utma%3D58991
538.679287704.1351409475.1351409475.1351409475.1%3B%2B__utmz%3D58991538.13514094
75.1.1.utmcsr%3Dyoutube.com%7Cutmccn%3D(referral)%7Cutmcmd%3Dreferral%7Cutmcct%3
D%2Fwatch%3B&utmu=4B~ HTTP/1.1" 200 35
127.0.0.1 - - [2012-10-28 15:33:37] "GET http://o-o---preferred---sn-p5q7ynl7---
v6---nonxt6.c.youtube.com/crossdomain.xml HTTP/1.1" 200 169
127.0.0.1 - - [2012-10-28 15:33:37] "GET http://o-o---preferred---sn-p5q7ynl7---
v6---nonxt6.c.youtube.com/liveplay?algorithm=throttle-factor&burst=40&cp=U0hURlR
OUF9KU0NONF9MSFRFOmpGckpVUlA4d21K&expire=1351432459&factor=1.25&fexp=916601%2C92
6101%2C919006%2C914055%2C916613%2C922401%2C920704%2C912806%2C927201%2C925003%2C9
13546%2C913556%2C920201%2C900816%2C911112%2C901451&gcr=us&id=uxDkYdYkjFE&ip=74.1
25.185.22&ipbits=8&itag=34&key=yt1&ms=au&mt=1351409594&mv=m&newshard=yes&ns=yt-l
ive&signature=B41B485BF4A52D92FFEE5C2B86B5CB8AD9C11A55.8BF2305900A6B0F8A3E1642CA
FE4B40729084CAE&source=youtube&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cgcr%2Ci
d%2Cip%2Cipbits%2Citag%2Cns%2Csource%2Cupn%2Cexpire&sver=3&upn=e2CbBIkn0dg&ptk=m
achinima&ptchn=p3rvduxa&begin=Infinity HTTP/1.1" 200 171
127.0.0.1 - - [2012-10-28 15:33:37] "GET http://www.youtube.com/live_stats?v=uxD
kYdYkjFE&t=1351409617116 HTTP/1.1" 200 23
127.0.0.1 - - [2012-10-28 15:33:38] "GET http://o-o---preferred---sn-p5q7ynl7---
v6---nonxt6.c.youtube.com/liveplay?algorithm=throttle-factor&burst=40&cp=U0hURlR
OUF9KU0NONF9MSFRFOmpGckpVUlA4d21K&expire=1351432459&factor=1.25&fexp=916601%2C92
6101%2C919006%2C914055%2C916613%2C922401%2C920704%2C912806%2C927201%2C925003%2C9
13546%2C913556%2C920201%2C900816%2C911112%2C901451&gcr=us&id=uxDkYdYkjFE&ip=74.1
25.185.22&ipbits=8&itag=34&key=yt1&ms=au&mt=1351409594&mv=m&newshard=yes&ns=yt-l
ive&signature=B41B485BF4A52D92FFEE5C2B86B5CB8AD9C11A55.8BF2305900A6B0F8A3E1642CA
FE4B40729084CAE&source=youtube&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cgcr%2Ci
d%2Cip%2Cipbits%2Citag%2Cns%2Csource%2Cupn%2Cexpire&sver=3&upn=e2CbBIkn0dg&ptk=m
achinima&ptchn=p3rvduxa&begin=Infinity HTTP/1.1" 200 171
127.0.0.1 - - [2012-10-28 15:33:42] "GET http://o-o---preferred---sn-p5q7ynl7---
v6---nonxt6.c.youtube.com/liveplay?algorithm=throttle-factor&burst=40&cp=U0hURlR
OUF9KU0NONF9MSFRFOmpGckpVUlA4d21K&expire=1351432459&factor=1.25&fexp=916601%2C92
6101%2C919006%2C914055%2C916613%2C922401%2C920704%2C912806%2C927201%2C925003%2C9
13546%2C913556%2C920201%2C900816%2C911112%2C901451&gcr=us&id=uxDkYdYkjFE&ip=74.1
25.185.22&ipbits=8&itag=34&key=yt1&ms=au&mt=1351409594&mv=m&newshard=yes&ns=yt-l
ive&signature=B41B485BF4A52D92FFEE5C2B86B5CB8AD9C11A55.8BF2305900A6B0F8A3E1642CA
FE4B40729084CAE&source=youtube&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cgcr%2Ci
d%2Cip%2Cipbits%2Citag%2Cns%2Csource%2Cupn%2Cexpire&sver=3&upn=e2CbBIkn0dg&ptk=m
achinima&ptchn=p3rvduxa&begin=Infinity HTTP/1.1" 200 171
127.0.0.1 - - [2012-10-28 15:33:43] "GET http://o-o---preferred---sn-p5q7ynl7---
v6---nonxt6.c.youtube.com/liveplay?algorithm=throttle-factor&burst=40&cp=U0hURlR
OUF9KU0NONF9MSFRFOmpGckpVUlA4d21K&expire=1351432459&factor=1.25&fexp=916601%2C92
6101%2C919006%2C914055%2C916613%2C922401%2C920704%2C912806%2C927201%2C925003%2C9
13546%2C913556%2C920201%2C900816%2C911112%2C901451&gcr=us&id=uxDkYdYkjFE&ip=74.1
25.185.22&ipbits=8&itag=34&key=yt1&ms=au&mt=1351409594&mv=m&newshard=yes&ns=yt-l
ive&signature=B41B485BF4A52D92FFEE5C2B86B5CB8AD9C11A55.8BF2305900A6B0F8A3E1642CA
FE4B40729084CAE&source=youtube&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cgcr%2Ci
d%2Cip%2Cipbits%2Citag%2Cns%2Csource%2Cupn%2Cexpire&sver=3&upn=e2CbBIkn0dg&ptk=m
achinima&ptchn=p3rvduxa&begin=Infinity HTTP/1.1" 200 171
127.0.0.1 - - [2012-10-28 15:33:43] "GET http://o-o---preferred---sn-p5q7ynl7---
v6---nonxt6.c.youtube.com/liveplay?algorithm=throttle-factor&burst=40&cp=U0hURlR
OUF9KU0NONF9MSFRFOmpGckpVUlA4d21K&expire=1351432459&factor=1.25&fexp=916601%2C92
6101%2C919006%2C914055%2C916613%2C922401%2C920704%2C912806%2C927201%2C925003%2C9
13546%2C913556%2C920201%2C900816%2C911112%2C901451&gcr=us&id=uxDkYdYkjFE&ip=74.1
25.185.22&ipbits=8&itag=34&key=yt1&ms=au&mt=1351409594&mv=m&newshard=yes&ns=yt-l
ive&signature=B41B485BF4A52D92FFEE5C2B86B5CB8AD9C11A55.8BF2305900A6B0F8A3E1642CA
FE4B40729084CAE&source=youtube&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cgcr%2Ci
d%2Cip%2Cipbits%2Citag%2Cns%2Csource%2Cupn%2Cexpire&sver=3&upn=e2CbBIkn0dg&ptk=m
achinima&ptchn=p3rvduxa&begin=Infinity HTTP/1.1" 200 171
127.0.0.1 - - [2012-10-28 15:33:44] "GET http://s.youtube.com/stream_204?ec=107&
rt=10.359&scoville=1&event=streamingerror&fexp=920704,922401,916613,912806,91405
5,911112,927201,913546,925003,900816,920201,901451,913556,926101,916601,919006&p
lid=AATNGZFxEcp60NNf&ps=live&erc=1&partnerid=27&fv=WIN%2011,4,402,287&v=uxDkYdYk
jFE&el=detailpage&shost=o-o---preferred---sn-p5q7ynl7---v6---nonxt6.c.youtube.co
m&fmt=34 HTTP/1.1" 204 0
127.0.0.1 - - [2012-10-28 15:33:47] "GET http://www.youtube.com/live_204?ptk=mac
hinima&st=0&plid=AATNGZFxEcp60NNf&video_id=uxDkYdYkjFE&noflv=1&metric=error-107&
ps=live&tmi=1&asv=3&fmt=34&el=detailpage&begin=Infinity HTTP/1.1" 200 0
127.0.0.1 - - [2012-10-28 15:33:52] "GET http://www.youtube.com/live_comments?ac
tion_get_comments=1&video_id=uxDkYdYkjFE&lt=1351409602&format=html&nnc=0&pd=1500
0&rc=0&dst=0&lch=4158&ps=-1&pvd=0&pct=0&scr=false HTTP/1.1" 200 232
127.0.0.1 - - [2012-10-28 15:34:07] "GET http://www.youtube.com/live_stats?v=uxD
kYdYkjFE&t=1351409647130 HTTP/1.1" 200 23

Original issue reported on code.google.com by jlz19821...@gmail.com on 28 Oct 2012 at 7:38

GoogleCodeExporter commented 9 years ago
直接访问http://o-o---preferred---sn-p5q7ynl7---
v6---nonxt6.c.youtube.com/liveplay?algorithm=throttle-factor&burst=40&cp=U0hURlR
OUF9KU0NONF9MSFRFOmpGckpVUlA4d21K&expire=1351432459&factor=1.25&fexp=916601%2C92
6101%2C919006%2C914055%2C916613%2C922401%2C920704%2C912806%2C927201%2C925003%2C9
13546%2C913556%2C920201%2C900816%2C911112%2C901451&gcr=us&id=uxDkYdYkjFE&ip=74.1
25.185.22&ipbits=8&itag=34&key=yt1&ms=au&mt=1351409594&mv=m&newshard=yes&ns=yt-l
ive&signature=B41B485BF4A52D92FFEE5C2B86B5CB8AD9C11A55.8BF2305900A6B0F8A3E1642CA
FE4B40729084CAE&source=youtube&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cgcr%2Ci
d%2Cip%2Cipbits%2Citag%2Cns%2Csource%2Cupn%2Cexpire&sver=3&upn=e2CbBIkn0dg&ptk=m
achinima&ptchn=p3rvduxa&begin=Infinity 看看那171字节提示的是什么

Original comment by www.eh...@gmail.com on 28 Oct 2012 at 10:21

GoogleCodeExporter commented 9 years ago
控制台提示信息如下:
------------------------------------------------------------------------------
127.0.0.1 - - [2012-10-28 18:25:52] "GET http://o-o---preferred---sn-p5q7ynl7---
/ HTTP/1.1" 500 362
127.0.0.1 - - [2012-10-28 18:25:54] "GET http://o-o---preferred---sn-p5q7ynl7---
/favicon.ico HTTP/1.1" 500 395
127.0.0.1 - - [2012-10-28 18:25:57] "GET http://o-o---preferred---sn-p5q7ynl7---
/favicon.ico HTTP/1.1" 500 395
网页提示信息如下:
Python Server Fetch Info

GET 'http://o-o---preferred---sn-p5q7ynl7---/'

Return Code: 500

Message: Python Server: Urlfetch error: ['DownloadError Unable to fetch URL: 
http://o-o---preferred---sn-p5q7ynl7---/(deadline=60)', 'DownloadError Unable 
to fetch URL: http://o-o---preferred---sn-p5q7ynl7---/(deadline=60)']

Original comment by jlz19821...@gmail.com on 28 Oct 2012 at 10:28

GoogleCodeExporter commented 9 years ago
拜托把换行符去掉拼成一个网址再访问。

Original comment by www.eh...@gmail.com on 28 Oct 2012 at 11:11

GoogleCodeExporter commented 9 years ago
控制台提示信息如下:
------------------------------------------------------------------------------
127.0.0.1 - - [2012-10-28 19:50:30] "GET http://o-o---preferred---sn-p5q7ynl7---
v6---nonxt6.c.youtube.com/liveplay?algorithm=throttle-factor&burst=40&cp=U0hURlR
OUF9KU0NONF9MSFRFOmpGckpVUlA4d21K&expire=1351432459&factor=1.25&fexp=916601%2C92
6101%2C919006%2C914055%2C916613%2C922401%2C920704%2C912806%2C927201%2C925003%2C9
13546%2C913556%2C920201%2C900816%2C911112%2C901451&gcr=us&id=uxDkYdYkjFE&ip=74.1
25.185.22&ipbits=8&itag=34&key=yt1&ms=au&mt=1351409594&mv=m&newshard=yes&ns=yt-l
ive&signature=B41B485BF4A52D92FFEE5C2B86B5CB8AD9C11A55.8BF2305900A6B0F8A3E1642CA
FE4B40729084CAE&source=youtube&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cgcr%2Ci
d%2Cip%2Cipbits%2Citag%2Cns%2Csource%2Cupn%2Cexpire&sver=3&upn=e2CbBIkn0dg&ptk=m
achinima&ptchn=p3rvduxa&begin=Infinity/ HTTP/1.1" 200 171
127.0.0.1 - - [2012-10-28 19:50:32] "GET http://10.204.12.252/disable/disable.ht
m HTTP/1.1" 500 374
127.0.0.1 - - [2012-10-28 19:50:33] "GET http://o-o---preferred---sn-p5q7ynl7---
v6---nonxt6.c.youtube.com/favicon.ico HTTP/1.1" 404 942
127.0.0.1 - - [2012-10-28 19:50:33] "GET http://o-o---preferred---sn-p5q7ynl7---
v6---nonxt6.c.youtube.com/favicon.ico HTTP/1.1" 404 942
网页提示信息如下:
Python Server Fetch Info

GET 'http://10.204.12.252/disable/disable.htm'

Return Code: 500

Message: Python Server: Urlfetch error: ['DownloadError DNS lookup failed for 
URL: http://10.204.12.252/disable/disable.htm(deadline=60)', 'DownloadError DNS 
lookup failed for URL: http://10.204.12.252/disable/disable.htm(deadline=60)']

Original comment by jlz19821...@gmail.com on 28 Oct 2012 at 11:52

GoogleCodeExporter commented 9 years ago
确实是屏蔽了。
访问http://wallproxy/打开“配置文件(py)”,找到:
            if hosts_rules.match(url, host):
                return DIRECT
中间加一行,改为以下后保存:
            if hosts_rules.match(url, host):
                if req.command == 'GET': req.command = '\r\nGET'
                return DIRECT
看看是不是这个原因(注意空白部分要使用空格缩进,需要��
�改51行、77行附近两处)。

Original comment by www.eh...@gmail.com on 28 Oct 2012 at 12:43

GoogleCodeExporter commented 9 years ago
谢谢作者,终于可以看了。

Original comment by jlz19821...@gmail.com on 28 Oct 2012 at 1:01

GoogleCodeExporter commented 9 years ago
访问http://wallproxy/ 提示用户名密码 怎么进入啊

Original comment by mvprique...@gmail.com on 28 Oct 2012 at 2:11

GoogleCodeExporter commented 9 years ago
[listen]
port = 8086
# 以下是wallproxy Web Authenticate的帐号,Web界面帐号
web_username = admin
web_password = admin
# 以下是wallproxy Proxy Authenticate的帐号,代理帐号
username = 
password = 

Original comment by www.eh...@gmail.com on 28 Oct 2012 at 2:38

GoogleCodeExporter commented 9 years ago
Moved to: Issue wallproxy:306

Original comment by heeroyuyj on 2 Dec 2012 at 4:31