上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 164 下一页

2021年5月18日

摘要: root@cloud:~# iptables -t nat -L POSTROUTING -n --line-number Chain POSTROUTING (policy ACCEPT) num target prot opt source destination 1 KUBE-POSTROUT 阅读全文
posted @ 2021-05-18 16:53 tycoon3 阅读(96) 评论(0) 推荐(0)
摘要: ESTAB 状态下的 Recv-Q Send-Q 分别表示内核协议栈的发送缓冲区和接受缓冲区中保存的内容字节数。 在 Linux 上,TCP 的三次握手在内核里完成。内核通过一个半连接和已连接 2 个队列来实现。 已连接队列的大小由 net.core.somaxconn 和 int listen(i 阅读全文
posted @ 2021-05-18 15:54 tycoon3 阅读(485) 评论(0) 推荐(0)
摘要: tcp_timestamps是在RFC 1323中定义的一个TCP选项。这篇wiki介绍一下timestamps的设计目的和相关原理,尤其强调一些比较tricky的地方。 关于RFC1323 这是一篇介绍针对High-bandwidth, Long delay链路设计的一些TCP扩展选项的资料。强烈 阅读全文
posted @ 2021-05-18 09:20 tycoon3 阅读(546) 评论(0) 推荐(0)
摘要: root@ubuntu:~# netstat -s | grep reject 71 packetes rejected in established connections because of timestamp root@ubuntu:~# netstat -s | grep reject 7 阅读全文
posted @ 2021-05-18 09:04 tycoon3 阅读(103) 评论(0) 推荐(0)

2021年5月17日

摘要: 1、定义 2、核心接口 queues主要由成员函数push(),front(),back(),pop()构成。 push()将元素置入queue中。 front()会返回queue内的下一个元素(也就是第一个被置入的元素) back()会返回queue的最后一个元素(也就是最后一个被插入的元素) p 阅读全文
posted @ 2021-05-17 17:16 tycoon3 阅读(1563) 评论(0) 推荐(0)

2021年5月16日

摘要: UNDERSTANDING OPENFLOW RULES OpenVswitch (OVS) is a virtual switch that connects virtual machines together using virtual links and ports. Traditionall 阅读全文
posted @ 2021-05-16 23:15 tycoon3 阅读(458) 评论(0) 推荐(0)
摘要: ^C[root@bogon raw-sockets-example]# cat raw_udp_client.c #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/ 阅读全文
posted @ 2021-05-16 17:02 tycoon3 阅读(163) 评论(0) 推荐(0)
摘要: #include<stdio.h> #include<stdlib.h> #include<string.h> #include<netinet/ip_icmp.h> #include<netinet/tcp.h> #include<netinet/udp.h> #include<arpa/inet 阅读全文
posted @ 2021-05-16 12:44 tycoon3 阅读(152) 评论(0) 推荐(0)
摘要: client #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <time.h> #include <arpa/inet.h> #include <sys/socket.h> 阅读全文
posted @ 2021-05-16 11:17 tycoon3 阅读(115) 评论(0) 推荐(0)

2021年5月15日

摘要: https://blog.cloudflare.com/zh-cn/when-tcp-sockets-refuse-to-die-zh-cn/ 在我们的Spectrum服务器上工作时,我们注意到了一些奇怪的现象:我们认为应该关闭了的TCP套接字一直在徘徊。我们意识到我们并不真正了解TCP套接字何时应 阅读全文
posted @ 2021-05-15 22:03 tycoon3 阅读(351) 评论(0) 推荐(0)
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 164 下一页

导航