分类
- .net (22)
- adf (11)
- android (3)
- article (236)
- astronomy (1)
- block chain (8)
- C# Code (9)
- c/c++ (2)
- cache (8)
- cloud (2)
- consensus (3)
- css (2)
- cve (1)
- db (55)
- digest (1)
- english (1)
- finance (2)
- go (3)
- gps (2)
- hardware (1)
- html (2)
- http (2)
- info (19)
- iot (1)
- it (3)
- java (30)
- javascript (6)
- jsp (2)
- linux (76)
- mail (14)
- math (1)
- message (8)
- mood (4)
- mq (2)
- network (22)
- php (9)
- protocol (4)
- push/pull (2)
- python (5)
- rpc (2)
- search (4)
- servlet (1)
- space (24)
- storage (15)
- technologys (103)
- templete (1)
- virtual machine (7)
- web server (37)
- windows (12)
-
近期文章
其他操作
链接
年归档:2017年
Google Chrome VIEW HTTP/2
Google Chrome
Google Chrome 中在开发者工具中看不到 HTTP/2 指示器。
Chrome 用特殊的地址
chrome://net-internals/#http2 给出了相关信息。
chrome://net-internals/#events&q=id:336
继续阅读
发表在 technologys
Google Chrome VIEW HTTP/2已关闭评论
windows 7/windows 2008/ Apple / ATS
配置windows7/windows 2008 支持ats
苹果提出的ATS强制标准:
部署服务器SSL证书,启用HTTPS加密连接。但需满足以下ATS默认的安全要求:
1、ATS要求服务器必须支持传输层安全(TLS)协议1.2以上版本;
2、通讯中的加密套件配置要求支持列出的正向保密;(以下Apple官方文档列表)
3、数字证书必须使用SHA256或者更高级的签名哈希算法签名,并且保证密钥是2048位及以上的RSA密钥或者256位及以上的ECC算法。
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
DSA算法要求使用以下加密套件:
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
TLS_ECDHE_EC...
发表在 windows
windows 7/windows 2008/ Apple / ATS已关闭评论
windows 7/windows 2008/ tls1.2 / .net
TLS 1.2 and Microsoft.Net
Now lets focus on using TLS 1.2 in .Net world. We need to make sure that
the web sites are served via TLS 1.2 protocol and client apps which are
consuming the same need to support TLS 1.2. .Net is running on top of
operating system and mostly its windows. If host windows supports TLS
1.2 .Net can also support TLS 1.2 as it relies on schannel.dll1
the web sites are served via TLS 1.2 protocol and client apps which are
consuming the same need to support TLS 1.2. .Net is running on top of
operating system and mostly its windows. If host windows supports TLS
1.2 .Net can also support TLS 1.2 as it relies on schannel.dll1
The first task here is to make sure we are using the right tools and technologies.
TLS 1.2 and .Net Framework 4.5
.Net is also versioned. Versions below 4.5*doesn't know how to
communicate via TLS 1.2.In .Net...
communicate via TLS 1.2.In .Net...
发表在 .net
windows 7/windows 2008/ tls1.2 / .net已关闭评论
nuget
下载地址:
命令行: http://nuget.codeplex.com/downloads/get/669083
命令行: http://nuget.org/downloads
图形窗: https://github.com/NuGetPackageExplorer 继续阅读
发表在 .net
nuget已关闭评论
ASP.NET URL
Browser Request 的網址相關的屬性與用法:
網址:http://localhost:1897/News/Press/Content.aspx/123?id=1#toc | |
Request.ApplicationPath | / |
Request.PhysicalPath | D:\Projects\Solution\web\News\Press\Content.aspx |
System.IO.Path.GetDirectoryName(Request.PhysicalPath) | D:\Projects\Solution\web\News\Press |
Request.PhysicalApplicationPath | D:\Projects\Solution\web\ |
System.IO.Path.GetFileName(Request.PhysicalPath) | Content.aspx |
Request.CurrentExecutionFilePath | /News/Press/Content.aspx |
Request.FilePath | /News/Press/Content.aspx |
Request.Path | /News/Press/Content.aspx/123 |
Request.RawUrl | /News/Press/Content.aspx/123?id=1 |
Request.Url.Absol... |
发表在 .net
ASP.NET URL已关闭评论
sql injection scans
测试SQL注入的工具:通过精度选择还是向量覆盖率选择?
为了回答这个问题,我们使用了sectoolmarket.com网站提供的标准测试结果,我们先假设候选的扫描程序的测试精度和向量覆盖率有相同的重要
性。我们将GET。POST,HTTP Cookie和HTTP
Headers作为应该被支持的输入向量。当所有的参数都被支持时,这个扫描器的覆盖范围的比率为100%(4/4)。
我们建议使用下面的算术方程式,也就是说对于漏洞扫描器的得分求一个平均值。
然后从得到的检测准确率的百分比中,我们列出前14名的扫描器:
Rank | Vulnerability Scanner | Vendor | Detection Rate | Input Vector Coverage | Average Score |
1 | Arachni | Tasos Laskos | 100.00% | 100% | 100.00% |
2 | Sqlmap | sqlmap developers | 97.06% | 100% | 98,53% |
3 | IBM AppScan | IBM Security Sys Division | 93.38% | 100% | 96,69% |
4 | Acunetix WVS | Acunetix | 89.71% | 100% | 94,85% |
5 | NTOSpider | NT OBJECTives | 85.29% | 1... |
发表在 article
sql injection scans已关闭评论
China Unicom PING AWS
China unicom ping aws
2017/03/01
美国东部 (弗吉尼亚北部)
C:\Users\Administrator>ping console.aws.amazon.com
正在 Ping us-east-1.console.aws.amazon.com [54.239.31.83] 具有 32 字节的数据:
来自 54.239.31.83 的回复: 字节=32 时间=281ms TTL=224
来自 54.239.31.83 的回复: 字节=32 时间=281ms TTL=224
来自 54.239.31.83 的回复: 字节=32 时间=281ms TTL=224
来自 54.239.31.83 的回复: 字节=32 时间=281ms TTL=224
美国东部 (俄亥俄)
C:\Users\Administrator>ping us-east-2.console.aws.amazon.com
正在 Ping console.us-east-2.amazonaws.com [52.95.20.79] 具有 32 字节的数据:
来自 52.95.20.79 的回复: 字节=32 时间=219ms TTL=230
来自 52.95.20.79 的回复: 字节=32 时间=219ms TTL=230
来自 52.95.20.... 继续阅读
发表在 article
China Unicom PING AWS已关闭评论
Int64/Long
Int64.Max 9223372036854775807
UInt64.Max 18446744073709551615
每分钟1亿条:
100000000 * 60 * 24
day =144000000000
9223372036854775807 / 144000000000 / 365
year = 275482
每分钟10亿条:
1000000000 * 60 * 24
day =1440000000000
9223372036854775807 / 1440000000000 / 365
year = 17548
每分钟100亿条:
10000000000 * 60 * 24
day =14400000000000
9223372036854775807 / 14400000000000 / 365
year = 1754
发表在 article
Int64/Long已关闭评论
基于lucene实现自己的推荐引擎
采用基于数据挖掘的算法来实现推荐引擎是各大电子商务网站、SNS社区最为常用的方
法,推荐引擎常用的Content-Based推荐算法及协同过滤算法(Item-Based
、User-based)在电子商务推荐系统入门v2.0 、电子商务推荐系统入门基础 中已经有所阐述。但从实际应用来看,对于大部分中小型企业来说,
要在电子商务系统完整采用以上算法有很大的难度。
1、常用推荐引擎算法问题
1)、相对成熟、完整、现成的开源解决方案较少
粗略分来,目前与数据挖掘及推荐引擎相关的开源项目主要有如下几类:
数据挖掘相关:主要包括Weka、R-Project、Knime、RapidMiner、Orange 等
文本挖掘相关:主要包括OpenNLP、LingPipe、FreeLing、GATE 、Carrot2 等,具体可以参考LingPipe’s Competition
推荐引擎相关:主要包括Apache Mahout、Duine framework、Singular Value Decomposition (SVD) ,其他包可以参考Open Source Collaborative Filtering Written in Java
搜索引擎相关:Lucene、Solr、Sphinx、Hibernate Search等
2)、常用推荐...
Ceph
UnitedStack块存储系统
分布式存储有出色的性能,可以扛很多故障,能够轻松扩展,所以我们UnitedStack使用Ceph构建了高性能、高可靠的块存储系统,并使用它支撑UnitedStack公有云和托管云的云主机、云硬盘服务。
由于使用分布式块存储系统,避免了复制镜像的过程,所以云主机的创建时间可以缩短到10秒以内,而且云主机还能快速热迁移,方便了运维人员对物理服务器上硬件和软件的维护。
用户对于块存储系统最直观的感受来源于云硬盘服务,现在我们的云硬盘的特点是:
- 每个云硬盘最大支持 6000 IOPS和170 MB/s的吞吐率,95%的4...
ALPHA,BETA,GAMMA,GA,RC,LTS 常见版本/version
(1)RC:(Release Candidate)
Candidate是候选人的意思,用在软件上就是候选版本。Release.Candidate.就是发行候选版本。和Beta版最大的差别在于Beta阶段会一直加入新的功能,但是到了RC版本,几乎就不会加入新的功能了,而主要着重于除错!
是最终发放给用户的最接近正式版的版本,发行后改正bug就是正式版了,就是正式版之前的最后一个测试版
(2)GA:(general availability)
比如:Apache Struts 2 GA
这是Apache Struts 2首次发行稳定的版本,GA意味着General Availability,也就是官方开始推荐广泛使用了。
(3)有关软件测试中的alpha、beta、gamma版本
广义上对测试有三个传统的称呼:alpha、beta、gamma,用来标识测试的阶段和范围。
alpha 是指内测,即现在说的 CB,指开发团队内部测试的版本或者有限用户体验测试版本。
beta 是指公测,即针对所有用户公开的测试版本。
&nb...
耳机排行
最受欢迎的耳机十大品牌排行榜
注:数据来源于网络
TOP.1 森海塞尔耳机
Sennheiser (声海)为全世界的使用者呈献质量最佳、最动听的声音盛宴。无论是在家里或是在户外;在舞台上、在录音室里或是在音乐骑师..
TOP.2 铁三角耳机
鐵三角总公司在1962 年于日本成立,公司的全球开发小组一直致力于音响器材的设计、制造、行销及发行上。鐵三角公司由最初专注于留
TOP.3 AKG耳机
1945年,二战后的维也纳被盟军占领,战火几乎将维也纳破坏殆尽,随着重建工作的开始,历史翻开了新的一页。两个精干的维也纳人再次相遇
TOP.4 索尼耳机
索尼公司(TYO: 6758, NYSE: SNE)(ソニー株式会社,Sony Corporation),或者索尼株式会社,简称索尼,台湾、香港译名新力公司,简
TOP.5 飞利浦耳机
飞利浦是个综合性大集团,目前旗下部门有:飞利浦优质生活,飞利浦照明,和飞利浦医疗系统。 飞利浦公司以生产家用电器、军用和民
TOP.6 拜亚动力耳机
提起拜亚话筒、耳机和其他音频产品,专业音响圈几乎无人不知、无人不晓,老一代的音响专家们对于拜亚话筒(过去中文译名为拜尔话筒)更
TOP.7 漫步者耳机
Edifier漫步者企业1996年创立于北京,多年来专注于音频技术的研究开发与产品应用,目前已发展成为以专业多媒体音响和...
发表在 article
耳机排行已关闭评论
.NET Platform Standard
.NET Platform Standard 直译过来就是 .NET 平台规范或标准,它的目的就是使 .NET 各个平台之间更加统一和规范 .NET Standard Library 现在有一个对应程序包NETStandard.Library
,它的作用是兼容各个 .NET Platform。
.NET Platform Standard 列表:
Target Platform Name | Alias | |||||||
---|---|---|---|---|---|---|---|---|
.NET Platform Standard | netstandard | 1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 1.5 | 1.6 |
.NET Core | netcoreapp | → | → | → | → | → | → | 1.0 |
.NET Framework | net | → | → | → | → | → | → | 4.6.3 |
→ | → | → | → | → | 4.6.2 | |||
→ | → | → | → | 4.6.1 | ||||
→ | → | → | 4.6 | |||||
→ | → | 4.5.2 | ||||||
→ | → | 4.5.1 | ||||||
→ | 4.5 | |||||||
Universal Windows Platform | uap | → | → | → | → | 10.0 | ||
Windows | win | → | → | 8.1 | ||||
→ | 8.0 | |||||||
Windows Phone | wpa | → | → | 8.1 | ||||
Windows Phone Silverlight | wp | 8.1 | ||||||
8.0 | ||||||||
Mono/Xamarin Platforms | → | → | → | → | → | → | * | |
Mono | → | → | * |
分别参考:
.NET Platform Standard:https://github.com/dotnet/corefx/blob/maste...
发表在 .net
.NET Platform Standard已关闭评论
ipsec.conf
NAME
ipsec.conf —— IPsec配置
DESCRIPTION
ipsec.conf指定了Openswan IPsec子系统的大多数配置和控制信息。
include ipsec.*.conf 包含指定的配置文件
CONN SECTIONS
conn项定义了一个IPsec连接的规范,名字可以随意定义。例如:
conn snt
left=10.11.11.1
leftsubnet=10.0.1.0/24
leftnexthop=172.16.55.66
leftsourceip=10.0.1.1
right=192.168.22.1
rightsubnet=10.0.2.0/24
rightnexthop=172.16.88.99
rightsourceip=10.0.2.1
keyingtries=%forever
CONN PARAMETERS: GENERAL
connaddrfamily
... 继续阅读
发表在 network
ipsec.conf已关闭评论