简介
该用户还未填写简介
擅长的技术栈
未填写擅长的技术栈
可提供的服务
暂无可提供的服务
Ubuntu18.04版本——netfilter源码分析
网上一些netfilter的例子比较老,而netfliter新版本中有很多东西改动较大,例如hook函数的定义原型完全不一样,这里记录一下18.04的代码。/usr/src/linux-headers-5.4.0-42-generic/include/uapi/linux/netfilter.h/* SPDX-License-Identifier: GPL-2.0 WITH Linux-sysca
python多线程ctrl+C强制退出
#!/usr/bin/env python# -*- coding: utf-8 -*import threading, time, signalimport sysdef printA():while True:print('a')time.sleep(1)def printB():while True:print('b')time.sleep(1)def quit(signum, frame)
到底了