首页   注册   登录
holinhot

holinhot

V2EX 第 96641 号会员,加入于 2015-02-09 22:31:51 +08:00
大家好,当然是小丑我啦!
limit_conn 和 limit_req 在 http2 下问题
NGINX  •  holinhot  •  8 天前  •  最后回复来自 holinhot
1
nginx 运行用户问题
NGINX  •  holinhot  •  8 天前  •  最后回复来自 asilin
3
Centos7 单网卡多 IP, 指定出口 IP 无效
Linux  •  holinhot  •  23 天前  •  最后回复来自 julyclyde
5
这个 mysql 文章分类标签表能一次查询出来吗
问与答  •  holinhot  •  47 天前  •  最后回复来自 holinhot
3
golang 一秒能完成多少次 http 探测
Go  •  holinhot  •  95 天前  •  最后回复来自 xvrzhao
37
问一个 mysql 数据表设计问题。
MySQL  •  holinhot  •  106 天前  •  最后回复来自 holinhot
5
holinhot 最近回复了
23 小时 41 分钟前
回复了 yuyuyu 创建的主题 云计算 有用阿里云 CDN 的吗?经常连不上是什么情况?
阿里 cdn 回源就是屎。动态 cdn 他肯定不优化回源线路与速率。所以不是加速,而是减速
@goobai 所以开源的东西没有测试过程啦?
@wsseo 看过了,开发者说一样的错误但原因是不一样的。咋个解决。你的意思我要去发个 issue 等上 1 星期,手上工作先人停一星期?
8 天前
回复了 holinhot 创建的主题 NGINX limit_conn 和 limit_req 在 http2 下问题
25 天前
回复了 gowk 创建的主题 程序员 用了新版 Edge,世界顿时清净了许多...
不知为何我的 chrome 播放油管 4k 卡得像幻灯片。但是火狐流畅播放
25 天前
回复了 holinhot 创建的主题 Linux Centos7 单网卡多 IP, 指定出口 IP 无效
已搞定似乎 softether 自动创建的 iptables 规则破坏了出口 ip

[[email protected] network-scripts]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
INPUT_direct all -- anywhere anywhere
INPUT_ZONES_SOURCE all -- anywhere anywhere
INPUT_ZONES all -- anywhere anywhere
DROP all -- anywhere anywhere ctstate INVALID
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
FORWARD_direct all -- anywhere anywhere
FORWARD_IN_ZONES_SOURCE all -- anywhere anywhere
FORWARD_IN_ZONES all -- anywhere anywhere
FORWARD_OUT_ZONES_SOURCE all -- anywhere anywhere
FORWARD_OUT_ZONES all -- anywhere anywhere
DROP all -- anywhere anywhere ctstate INVALID
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
OUTPUT_direct all -- anywhere anywhere

Chain FORWARD_IN_ZONES (1 references)
target prot opt source destination
FWDI_public all -- anywhere anywhere [goto]
FWDI_public all -- anywhere anywhere [goto]

Chain FORWARD_IN_ZONES_SOURCE (1 references)
target prot opt source destination

Chain FORWARD_OUT_ZONES (1 references)
target prot opt source destination
FWDO_public all -- anywhere anywhere [goto]
FWDO_public all -- anywhere anywhere [goto]

Chain FORWARD_OUT_ZONES_SOURCE (1 references)
target prot opt source destination

Chain FORWARD_direct (1 references)
target prot opt source destination

Chain FWDI_public (2 references)
target prot opt source destination
FWDI_public_log all -- anywhere anywhere
FWDI_public_deny all -- anywhere anywhere
FWDI_public_allow all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere

Chain FWDI_public_allow (1 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere ctstate NEW mark match 0x64

Chain FWDI_public_deny (1 references)
target prot opt source destination

Chain FWDI_public_log (1 references)
target prot opt source destination

Chain FWDO_public (2 references)
target prot opt source destination
FWDO_public_log all -- anywhere anywhere
FWDO_public_deny all -- anywhere anywhere
FWDO_public_allow all -- anywhere anywhere

Chain FWDO_public_allow (1 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere ctstate NEW
ACCEPT all -- anywhere anywhere ctstate NEW

Chain FWDO_public_deny (1 references)
target prot opt source destination

Chain FWDO_public_log (1 references)
target prot opt source destination

Chain INPUT_ZONES (1 references)
target prot opt source destination
IN_public all -- anywhere anywhere [goto]
IN_public all -- anywhere anywhere [goto]

Chain INPUT_ZONES_SOURCE (1 references)
target prot opt source destination

Chain INPUT_direct (1 references)
target prot opt source destination

Chain IN_public (2 references)
target prot opt source destination
IN_public_log all -- anywhere anywhere
IN_public_deny all -- anywhere anywhere
IN_public_allow all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere

Chain IN_public_allow (1 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere ctstate NEW mark match 0x65
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh ctstate NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:http ctstate NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:https ctstate NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:vop ctstate NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:ddi-tcp-1 ctstate NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:55555 ctstate NEW
ACCEPT udp -- anywhere anywhere udp dpt:isakmp ctstate NEW
ACCEPT udp -- anywhere anywhere udp dpt:l2tp ctstate NEW
ACCEPT udp -- anywhere anywhere udp dpt:ipsec-nat-t ctstate NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:personal-agent ctstate NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:54321 ctstate NEW

Chain IN_public_deny (1 references)
target prot opt source destination

Chain IN_public_log (1 references)
target prot opt source destination

Chain OUTPUT_direct (1 references)
target prot opt source destination
25 天前
回复了 holinhot 创建的主题 Linux Centos7 单网卡多 IP, 指定出口 IP 无效
default via192.168.1.1 dev ens160
192.168.1.0/29 dev ens160 proto kernel scope link src 192.168.1.3
169.254.0.0/16 dev ens160 scope link metric 1002
25 天前
回复了 holinhot 创建的主题 Linux Centos7 单网卡多 IP, 指定出口 IP 无效
路由表
192.168.1.0/29 dev ens160 proto kernel scope link src 192.168.1.3
169.254.0.0/16 dev ens160 scope link metric 1002
25 天前
回复了 holinhot 创建的主题 Linux Centos7 单网卡多 IP, 指定出口 IP 无效
以前这样用过是可以的,不知道现在为什么无效了
@xem 这样每个类别,标签都要单独查一次。
目前我写这个是要 3 次查询才能获得预期结果。在查询文章时 join 所有关系表。然后按关系表里的 id,去获取标签与分类的名称。
关于   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   3209 人在线   最高记录 5168   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 21ms · UTC 11:46 · PVG 19:46 · LAX 04:46 · JFK 07:46
♥ Do have faith in what you're doing.