libevent学习__学习历程总结
環境搭建
下載:?http://sourceforge.net/projects/levent/?source=directory
安裝:
CFLAGS=-DUSE_DEBUG ./configure --disable-shared --prefix
make
make install
學習資料
libevent學習資料
-
Libevent源碼分析專欄
-
Nick’s libevent manual
-
在線查看libevent-book
autotools工具學習
-
Autotools Tutorial
-
GNU Hello?可以作為開源軟件入門的工程
文檔工具的學習
-
熟悉githit網站,以及Markdown標記語言
-
AsciiDoc標記語言,?亂談AsciiDoc的書籍編寫表示還不錯,再者去官網. libevent-book就是用AsciiDoc編寫.
-
doxydoc工具可以根據代碼注釋生成文檔,具體可以參考libevent的doc.
-
http://www.gnu.org/prep/standards/
心得記
學習東西總容易跑題,本人因為在看[Linux高性能服務器編程]這本書才決定看libevent源代碼的,看libevent過程中接觸了許多亂起八糟的東西.
autotools根據手冊過了一遍,因為在工作過程都是手寫Makefile或者esplise生成,所以就不求甚解.DoxyDoc工具知道有這么回事.對于AsciiDoc標記語言,本人很感興趣,在學習過程中用作筆記還是比較不錯的選擇.
補充后續要認識的一些庫與工具
在Unix系統平臺上的網絡安全工具開發中,目前最為流行的C API library有libnet、libpcap、libnids和libicmp等。它們分別從不同層次和角度提供了不同的功能函數。使網絡開發人員能夠忽略網絡底層細節的實現,從而專注于程序本身具體功能的設計與開發。其中,-
libnet提供的接口函數主要實現和封裝了數據包的構造和發送過程。http://blog.csdn.net/firstime_tzjz/article/details/8575304
-
libpcap提供的接口函數主要實現和封裝了與數據包截獲有關的過程。http://blog.csdn.net/htttw/article/details/7521053
-
libnids提供的接口函數主要實現了開發網絡入侵監測系統所必須的一些結構框架。
-
libicmp等相對較為簡單,它封裝的是ICMP數據包的主要處理過程(構造、發送、接收等)。
The Tcpreplay suite includes the following tools:
- tcpprep?- multi-pass pcap file pre-processor which determines packets as client or server and creates cache files used by tcpreplay and tcprewrite
- tcprewrite?- pcap file editor which rewrites TCP/IP and Layer 2 packet headers
- tcpreplay?- replays pcap files at arbitrary speeds onto the network
- tcpliveplay?- Replays network traffic stored in a pcap file on live networks using new TCP connections
- tcpreplay-edit?- replays & edits pcap files at arbitrary speeds onto the network
- tcpbridge?- bridge two network segments with the power of tcprewrite
- tcpcapinfo?- raw pcap file decoder and debugger
總結
以上是生活随笔為你收集整理的libevent学习__学习历程总结的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: elasticsearch亿级数据量全量
- 下一篇: 【转载保存】ThreadPoolExec