- veth device from CNI/CNM plugin: eth0
- tap device that connects to the VM: tap0
tc qdisc add dev eth0 ingress
tc filter add dev eth0 parent ffff: protocol all u32 match u8 0 0 action mirred egress redirect dev tap0
yum --enablerepo=base-debuginfo install -y kernel-debuginfo-$(uname -r) |
#!/usr/bin/python | |
#coding:utf-8 | |
#作者:Byron | |
#博客:http://jiabin.tk | |
import urllib2 | |
import re | |
#定义程序主函数 | |
def qiubai(page): |