使用Wireshark完成OpenWrt抓包

最近家里添置了不少物联网设备。现在不少的物联网设备为了方便,都采用配网协议,让用户将Wi-Fi的SSID和密码直接配置上去。这样设备就可以自...

January 4, 2020

MySQL常用的权限操作

添加用户 SQL指令如下: CREATE USER '用户名'@'主机' IDENTIFIED BY '密码'; 例如,要创建在所有主机登录、密...

December 18, 2019

IPVS connection timeout issue

Issue When TCP session is idle for more than 15 mins (900 secs), IPVS connection times out and gets cleared from the connection table. There are two different timeouts — one for IPVS and another one for TCP. Default IPVS timeout value: ipvsadm -l --timeout Timeout (tcp tcpfin udp): 900 120 300 Default TCP timeout value: tcp_keepalive_time = 7200 (seconds) tcp_keepalive_intvl = 75 (seconds) tcp_keepalive_probes = 9 (number of probes) When IPVS timesout, it clears the connection from the table....

September 15, 2018

让LVS更持久

原文转载自 Lvs Persistence 综述 今天遇到了一个问题,客户端psql在连接Greenplum时,静置一段时间后(大约15分钟),随便敲一条select * from x...

September 15, 2018

如何删除repo不为none但tag为none的镜像

在docker中,一个镜像的所有标记(TAG)都被删除,而镜像仍然还在时,我们称之为dangling状态。这种镜像,在通过docker ima...

March 14, 2018

搭建Registry服务并突破端口封锁的那些坑

参照Docker的官方文档,搭建一套Docker Registry服务,对于很多人来讲是很容易的一件事情。为什么我要单独拿出来说,这个过程又遇...

March 2, 2018