随笔分类 - 网络
摘要:Programmatically add an application to Windows Firewall 回答1 Not sure if this is the best way, but running netsh should work: netsh firewall add allowe
阅读全文
摘要:https://www.zhihu.com/question/24723688/answer/160252724 反向代理在计算机世界里,由于单个服务器的处理客户端(用户)请求能力有一个极限,当用户的接入请求蜂拥而入时,会造成服务器忙不过来的局面,可以使用多个服务器来共同分担成千上万的用户请求,这些
阅读全文
摘要:谷歌搜索xhr site:cnblogs.com https://www.cnblogs.com/xiaohuochai/p/6036475.html 在Chrome的network监视中,类型为XHR
阅读全文
摘要:https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie Domain=<domain-value> Optional Specifies those hosts to which the cookie will be
阅读全文
摘要:How do browser cookie domains work? 答案一 Although there is the RFC 2965 (Set-Cookie2, had already obsoleted RFC 2109) that should define the cookie now
阅读全文
摘要:SSL/TLS协议运行机制的概述 1994年,NetScape公司设计了SSL协议(Secure Sockets Layer)的1.0版,但是未发布。 1995年,NetScape公司发布SSL 2.0版,很快发现有严重漏洞。 1996年,SSL 3.0版问世,得到大规模应用。 1999年,互联网标
阅读全文
摘要:An HTTP cookie (also called web cookie, Internet cookie, browser cookie, or simply cookie) is a small piece of data sent from a website and stored on
阅读全文
摘要:chrome中查看cookie https://stackoverflow.com/questions/10014996/how-do-you-check-cookies-using-chrome To check the current page's cookies using Chrome: Y
阅读全文
摘要:http://blog.csdn.net/bytebai/article/details/21752925 握手阶段: 序号 方向 seq ack1 A->B 0 02 B->A 0 0+1=13 A->B 1 0+1=1解释:1:A向B发起连接请求,以一个随机数初始化A的seq,这里假设为0,此时
阅读全文
摘要:StackOverflow https://stackoverflow.com/questions/5420656/unable-to-read-data-from-the-transport-connection-an-existing-connection-was-f https://brian
阅读全文
摘要:How to get a user's client IP address in ASP.NET? Often you will want to know the IP address of someone visiting your website. While ASP.NET has sever
阅读全文
摘要:https://en.wikipedia.org/wiki/Keepalive Description A keepalive signal is often sent at predefined intervals, and plays an important role on the Inter
阅读全文
摘要:0.0.0.0 IPAddress.Any https://msdn.microsoft.com/en-us/library/system.net.ipaddress.any(v=vs.110).aspx Provides an IP address that indicates that the
阅读全文
摘要:http://tieba.baidu.com/p/3223234493 问题: 服务端在接收客户端数据的时候,抛了个异常出来:System.Net.Sockets.SocketException: 您的主机中的软件中止了一个已建立的连接。 //An established connection wa
阅读全文
摘要:http://stackoverflow.com/questions/2811006/what-is-a-good-buffer-size-for-socket-programming 问题: We are using .Net and sockets. The server is using th
阅读全文
摘要:http://stackoverflow.com/questions/4253454/question-about-listening-and-backlog-for-sockets The listen backlog is, as Pieter said, a queue which is us
阅读全文
摘要:C:\Users\Administrator>tracert 10.0.0.1 通过最多 30 个跃点跟踪到 10.0.0.1 的路由 1 <1 毫秒 1 ms 3 ms 192.168.1.1 2 <1 毫秒 1 ms 1 ms 10.0.0.1 跟踪完成。 C:\Users\Administra
阅读全文
摘要:http://blog.csdn.net/fw0124/article/details/7452695由于TCP连 接是全双工的,因此每个方向都必须单独进行关闭。这原则是当一方完成它的数据发送任务后就能发送一个FIN来终止这个方向的连接。收到一个 FIN只意味着这一方向上没有数据流动,一个TCP连接...
阅读全文
摘要:http://www.tcpipguide.com/free/t_TCPConnectionEstablishmentProcessTheThreeWayHandsh-3.htmsynchronous for SYNAcknowledgement for ACK第一次第一次握手:建立连接时,客户端发...
阅读全文
摘要:http://www.cnblogs.com/TankXiao/archive/2012/10/10/2711777.html 选择网卡 在菜单栏中的Capture-->Interfaces中也可以选择 设置时间的格式 对某一个tcp端口进行数据抓包,点击绿色的开始按钮后,需要再点击右侧的apply
阅读全文