显示标签为“network”的博文。显示所有博文
显示标签为“network”的博文。显示所有博文

2007年10月18日星期四

百度一统江湖

http://nings.cn/2007/10/18/all-of-baidu.html

今日早上,发神经不知为什么去上www.live.com,谁知结果让我愕然,搜索任何词汇均直接转向一个百度的错误页 http: //www.baidu.com/search/error.html 。移动、网通、电信线路均如此。

幻灭那边的消息:

雅虎搜索(yahoo.com),搜索结果也跳转到百度;

而谷歌博客搜索(blogsearch.google.cn),直接打开的是百度首页。

如果用国外代理服务器访问,一切都是正常的。

通常“认为”,域名解析放到国内我们自己做比较安全,现在来看,真的是这样的吗?

这次百度不知是被谁当做了垫脚石(亦或它自己成了疯狂的石头),总之感觉这真是个神奇的国度。

补充:根据大面积的反馈,这次事件是一起有组织的大规模DNS劫持事件,劫持方式为将众多包含搜索功能网站或网站模块劫持到百度搜索,受影响网站包含国内(如淘宝的搜索模块)和国外(如microsoft.com的搜索模块),受影响范围为中国大陆,发生时间多为今天,持续时间不等。

今天是互联网上的国耻日。

2007年7月19日星期四

ASP.NET开发经验(一) 被拒的密码

最近在学ASP.NET,用的是VS2005
刚刚学到创建用户和Admin等,就遇到了一个奇怪的问题
不论我输入什么密码,都提示:

密码最短长度为7,其中必须包含以下非字母数字字符:1
Password length minimum: 7. Non-alphanumeric characters required: 1.

相当莫名其妙~

解决办法一:
1“密码最短长度为7,其中必须包含以下非字母数字字符: 1”的意思是说,非字母和数字的字符至少必须有一个,
用~!@#$%^&*()_+中的一个试一下,肯定就好了!

解决办法二:

密码最短长度为7,其中必须包含以下非字母数字字符: 1 1(Password length minimum: 7. Non-alphanumeric characters required: 1. )

收到以上的消息主要是在创建用户的时候产生的,对于用Asp.net Web site manage的时候创建用户也会产生。

主要是密码输入不符合要求,要改变上面的规定时,主要有两种方法:

1.所有的站点都改变。
找到machine.config文件能看到



type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="LocalSqlServer"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
applicationName="/"
requiresUniqueEmail="false"
passwordFormat="Hashed"
maxInvalidPasswordAttempts="5"
minRequiredPasswordLength="7"
minRequiredNonalphanumericCharacters="1"
passwordAttemptWindow="10"
passwordStrengthRegularExpression="" />

< /membership>

里面有两个属性,一个是 minRequiredPasswordLength,意思是最长密码,默认为7另一个是 minRequiredNonalphanumericCharacters,默认为1,意思是至少有一个非字母字符,只要把它改成0就可以了。

如果只要改变一个站点的属性,只要修改web.config的值就ok了
修改如上,把上面的代码插入在下面就ok了。





type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

connectionStringName="LocalSqlServer"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
applicationName="/"
requiresUniqueEmail="false"
passwordFormat="Hashed"
maxInvalidPasswordAttempts="5"
minRequiredPasswordLength="6"
minRequiredNonalphanumericCharacters="0"
passwordAttemptWindow="10"
passwordStrengthRegularExpression="" />


2007年7月6日星期五

From the Ad. of SJTU-How The Google Adsense works?

Several days before, an Ad. provided by the Google AdSense is displayed on the top of my blog. It was about the enrollment of our uni,really amazing and funny:I was helping my uni advertise enrolling.
How The Google AdSense works,I asked Google and found some results.
The theory is, as following:

1.I had inserted some javascrīpt codes in my blog
2.Visitor open my blog.
3.Javascrīpt notice and messages the Google AdSense server:"give me some Ad."
4.Google AdSense server reply:"negative,I can't inspect the content on your page."
5.Then the visitor see no AdSense or,maybe see none-profit Ad.
6.If Google AdSense server have inspected the content on your page.
7.The server will analyse the content of your page.If it find the word 'SJ TU' and 'University' are frequent in your blog.
8.Finally the Google AdSense server regard this page as a hot Page about SJ TU and university.
9.Another visitor is coming.
10.Again Javascrīpt notice and messages the Google AdSense server:"give me some Ad."
11.This time Google AdSense server replies:"affirmative,this page is about SJ TU and university,I can give some Ad. about it";
12.Visitor see the Ad. and thinks:"I want to go to SJ TU,so click the links."
13.Now,money comes.
It shows like this:

2007年7月3日星期二

我博客上惊现SJTU招生广告



今天打开我的博客,一行醒目的字印入眼帘:

上海交通大学机动学院招收硕士生

定睛一看,原来是google分配的广告。
SJTU招生广告,而且还是我们学院的,那个寒啊~
时下正是高考招生的紧张阶段,每当想到我不能为SJTU本科招生出一份力,心中真是遗憾万分。现在好了,硕士招生的广告打到我的blog上了,也算是为母校进了一份责任。

2007年6月20日星期三

在线代理网站列表

水源上还真是有好东西
以下是一些web代理的网站
1.Inblogs:用来访问blogspot的在线代理网站,
并且也可以用http://www.inblogs.net/blogname来访问你的blogspot。
另一个以前用来访问Blogspot的在线代理网站pkblogs好像已经不能使用了。
2.Anonymouse:速度一般,不过一直比较稳定,一直都能使用。
3.WebProxy:免费在线代理,不过有时会出现乱码的现象。
4.X4ce:速度一般,有时需要尝试多次才行。
5.U9H:速度还不错,没有广告,可以显示是否显示图片,Scripts等。(推荐)
6.Proxycrew:速度不错,也没有广告跳出。(推荐)
7.9i7.cn:国内的一个在线代理网站,速度还不错。并且还提供分享代码,使你可以在自己的Blog使用代理服务。
8.Cemsg:速度有一点慢,转入网站之前有广告。
9.68Q.NET:速度不错,界面也很简洁,载入没有广告。(推荐)

2007年6月8日星期五

为什么blogspot总是被封——总结突破方法

blogspot又被封了,好在有代理,我们才有机会看看这面屏蔽之墙后的世界
我已经快5天没来了,my blogspot, 杂草丛生了

1 使用web代理
这里说一个用web代理上的方法法吧

http://anonymouse.org/cgi-bin/anon-www.cgi/http://xaxinn.blogspot.com

就是說在我的域名前面加上代理的site就可以了,速度还可以

还有另一个代理网站 http://www.pkblog.com 进去之后您就知道怎么做了。

更多信息看这里

2 下面在说说中国XP用户怎么用更改host文件的方法登录blogspot吧

首先找到C:\WINDOWS\system32\drivers\etc\hosts,用记事本打开
在最末尾加上 72.14.219.190 ×××××.blogspot.com
把×××换成你想要去的blogspot就可以了,比如我的就是 xaxinn.blogspot.com

用这种方法基本算一劳永逸就可以了,当然ip有更换的话我换提醒大家的,总之常来我这看看咯。

3 改hosts文件不适用于非XP用户,大家也可以使用代理工具tor

tor的全写是“The Onion Router”,是洋葱路由器的意思。它是一种点对点的代理软件,依靠网络上的众多电脑运行的tor服务来提供代理。

详细的信息请看 “枪旗工作室:火旗枪剑的试验田”丰富的tor资源

或者直接到 tor官网下载tor和教程


在GFW的使用上,我真的很不解gov的做法,思想的进步视需要慢慢来的,外国的服务器gov的法律約束不到,不能控制內容,也不能说封就封吧。我们有能力独自对网上的内容作出判断。
或许,这就是中国的特色吧。

附录 什么是GFW(防火长城)

2007年6月4日星期一

Fortunately,my loptop was attacked by virus finally.
until now, I didn't solve it.

THE SITUATION IS :

As soon as I logged in Xp,the use of CPU increased vertically into 100%!!You know what it meant——loptop immediately wnent down.I even couldn't close it in a normal way.
I checked out that the SVCHOST.exe was using amazingly degree of CPU source,almost 99%.
Meanwhile , I found another couse:wuanclt.exe was running unnormal,also using much EMS memory than usual.

So I guessed what the matter was.
Close the wuanclt.exe .OK ,things seemed worked out.Also I have asked for help on the BBS.
This is what I found on the Google.

%system%文件夹中的wuauclt.exe是WINDOWS 自动更新的客户端。然而,今天说的这个wuauclt.exe非%system%文件夹中的那个wuauclt.exe。这个位于%windows%文件夹中。今天VirusTotal多引擎扫描结果,只有4家报,其中3家报可疑;AntiVir的启发式报“恶意程序。4家均未给出具体名称。连接网络时,运行这个wuauclt.exe,它通过80端口访问61.128.196.671创建下列文件:C:\windows\wuauclt.exe

C:\windows\bbyb.exe

C:\windows\bbybs.exe

C:\windows\bbyb.dll

C:\windows\ies.dll

C:\windows\noruns.reg(将其中内容导入注册表后,此文件被自动删除。)

在系统分区以外的所有分区根目录以及U盘根目录下创建sxs.exe和autorun.inf。其中C:\windows\bbyb.dll动态插入应用程序进程。

C:\windows\wuauclt.exe删除注册表中瑞星、KV、卡巴斯基以及雅虎助手的启动项和服务项。

有意思的是,它还删除一个流行木马NTdhcp.exe的启动项。

添加的注册表启动项为:HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Microsoft

查杀:结束C:\windows\wuauclt.exe进程。

该进程结束后,U盘中的sxs.exe和autorun.inf可直接删除。删除后,将U盘拔出。然后,删除下列文件:C:\windows\wuauclt.exe

C:\windows\bbyb.exe

C:\windows\bbybs.exe

C:\windows\bbyb.dll

C:\windows\ies.dll删除其启动项。

2007年6月1日星期五

掉線是一件很可怕的事

suddenly......
The laptop went down,without any sign
slowly...slowly...
QQ drop offline,then MSN,and then fetion

cos the net connection was broken
terribly ,the loptop worked like a toothless old man
all went down.

wireless network,wordless.....