摘要:Pycapa Overview Installation Centos 7 Centos 6 Usage Parameters Examples Kerberos FAQs Overview Pycapa performs network packet capture, both off-the-w 阅读全文
libpcap 的ppt
2020-09-15 20:28 by 宋海宾, 159 阅读, 0 推荐, 收藏,
摘要:https://sharkfestus.wireshark.org/sharkfest.11/presentations/McCanne-Sharkfest'11_Keynote_Address.pdf 阅读全文
libpcap编程介绍
2020-09-15 20:15 by 宋海宾, 201 阅读, 0 推荐, 收藏,
摘要:https://www.tcpdump.org/pcap.html im Carstenstimcarst at yahoo dot comFurther editing and development by Guy Harrisguy at alum dot mit dot edu Ok, let 阅读全文
libpcap 介绍
2020-09-15 19:50 by 宋海宾, 288 阅读, 0 推荐, 收藏,
摘要:gitlib https://github.com/the-tcpdump-group/libpcap 阅读全文
libnids 介绍
2020-09-15 19:20 by 宋海宾, 2227 阅读, 0 推荐, 收藏,
摘要:一.前言 Libnids是一个用于网络入侵检测开发的专业编程接口,它使用Libpcap进行数据包的捕获。同时,Libnids提供了TCP/IP数据流重组功能,因此省去了应用层自己考虑数据分片、重传等情况的麻烦。它是模仿了Linux 2.0.x的IP协议栈进行数据处理,因此非常稳定可靠。当然,libn 阅读全文
C++ daemon函数
2020-09-15 17:43 by 宋海宾, 1588 阅读, 0 推荐, 收藏,
摘要:Daemon函数的用法 说明: 让一个程序后台运行。 原型: view plain #include <unistd.h> int daemon(int nochdir, int noclose); 参数: 当 nochdir为零时,当前目录变为根目录,否则不变; 当 noclose为零时,标准输入 阅读全文
C++设置定时处理函数
2020-09-15 17:15 by 宋海宾, 939 阅读, 0 推荐, 收藏,
摘要:void config_set_log_split(){ if(config.minute <= 0){ config.minute = 24 * 60; } signal(SIGALRM, config_sigalarm_handler); alarm(config.minute * 60); } 阅读全文
C++ 目录操作函数
2020-09-15 17:14 by 宋海宾, 2086 阅读, 0 推荐, 收藏,
摘要:opendir(打开目录) 相关函数 open,readdir,closedir,rewinddir,seekdir,telldir,scandir 表头文件 #include<sys/types.h>#include<dirent.h> 定义函数 DIR * opendir(const char 阅读全文
C++ split分割字符串
2020-09-15 16:59 by 宋海宾, 437 阅读, 0 推荐, 收藏,
摘要:将字符串绑定到输入流istringstream,然后使用getline的第三个参数,自定义使用什么符号进行分割就可以了。 #include <iostream> #include <sstream> #include <string> #include <vector> using namespac 阅读全文
浙公网安备 33010602011771号