Linux/Python学习论坛-京峰教育

 找回密码
 立即注册

一键登录:

搜索
热搜: 活动 交友 discuz
查看: 506|回复: 0

京东商城网站服务器分析 不指定

[复制链接]

238

主题

288

帖子

1925

积分

超级版主

Rank: 8Rank: 8

积分
1925
QQ
发表于 2015-3-20 16:50:36 | 显示全部楼层 |阅读模式
京东商城是专业的数码网上购物商城,主要产品包括数码、家电、手机、电脑配件、网络产品等数万种商品。

京东商城是我比较喜欢的一个网站,UI/UE方面做得非常棒,从他们网站的细节就可以看出来,虽然我一直没有网购的经历,但是以后如果要网购,而同时京东上面有我想买的商品,我可能会考虑在京东商城买东西。

出于对京东商城的喜欢,因此简单的分析了一下他们的服务器情况

从X-Cache: MISS from www.360buy.com可以看出,京东的主站应该是采用了Squid反向代理
caihuafeng>curl -I www.360buy.com
HTTP/1.0 200 OK
Cache-Control: public, max-age=600
Content-Type: text/html; charset=gb2312
Last-Modified: Wed, 05 Aug 2009 10:20:41 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Date: Wed, 05 Aug 2009 10:20:41 GMT
X-Cache: MISS from www.360buy.com
Content-Length: 83486
X-Cache: MISS from www.360buy.com
Connection: close

京东的主站有两台web服务器
caihuafeng>nslookup www.360buy.com
服务器:  ns.crcbj.com
Address:  61.233.9.9

非权威应答:
名称:    www.360buy.com
Addresses:  211.151.68.196
          60.29.252.21

用nmap检测出服务器211.151.68.196用的是FreeBSD的操作系统,但是用curl -I抓取的http header里面有ASP.NET的字样,一般ASP.NET是不能运行在FreeBSD操作系统下的,难道ASP.NET真的可以运行在FreeBSD或其它的非windows操作系统吗?Google了一下,终于找到了答案,通过一个叫做mono的软件就可以实现,这真的是一个重大的发现,以前知道京东是用ASP.NET开发的,没有想到却是运行在FreeBSD操作系统下面的。
You need to use an open source implementation of the Microsoft .NET architecture called mono.

Mono provides the necessary software to develop and run .NET client and server applications on Linux, Solaris, Mac OS X, Windows, and Unix. Sponsored by Novell, the Mono open source project has an active and enthusiastic contributing community and is positioned to become the leading choice for development of Linux applications.

Mono can be run on

    * Linux
    * FreeBSD
    * UNIX
    * Mac OS X
    * Solaris
    * Windows operating systems
Via:http://www.cyberciti.biz/faq/how-to-use-aspnet-on-linux-solaris-freebsd/

检测京东主站的操作系统,连服务器运行了16.999 days都统计出来了,说明京东的服务器在16.999天以前曾经重启过
[root@CentOS_Test_Server ~]# nmap -O www.360buy.com

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2009-08-06 00:10 CST
Warning: Hostname www.360buy.com resolves to 2 IPs. Using 211.151.68.196.
Warning:  OS detection will be MUCH less reliable because we did not find at least 1 open and 1 closed TCP port
Interesting ports on 211.151.68.196:
Not shown: 1676 filtered ports
PORT     STATE SERVICE
22/tcp   open  ssh
53/tcp   open  domain(打开了53端口,主要是用于DNS服务)
80/tcp   open  http
8888/tcp open  sun-answerbook
Device type: general purpose
Running: FreeBSD 4.X
OS details: FreeBSD 4.5-RELEASE (or -STABLE) through 4.6-RC (x86)
Uptime 16.999 days (since Mon Jul 20 00:14:45 2009)

Nmap finished: 1 IP address (1 host up) scanned in 121.576 seconds

京东商城的搜索用的有可能是lucene,因为抓取它们网站的header显示Apache-coyote/1.1的字样
C:\Users\caihuafeng>curl -I search.360buy.com/Search
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=006837CC3C733EB2686B2D142BB51170; Path=/
Content-Type: text/html;charset=GB2312
Content-Length: 16998
Date: Wed, 05 Aug 2009 10:24:13 GMT
Connection: close
Set-Cookie: BIGipServerbeta_360buy_soxue=2383063232.20480.0000; expires=Wed, 05-
Aug-2009 10:00:08 GMT; path=/


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|京峰教育,只为有梦想的人 ( 京ICP备15013173号 )

GMT+8, 2019-7-17 12:59 , Processed in 0.052460 second(s), 13 queries , Apc On.

快速回复 返回顶部 返回列表