libevent学习__学习历程总结
環(huán)境搭建
下載:?http://sourceforge.net/projects/levent/?source=directory
安裝:
CFLAGS=-DUSE_DEBUG ./configure --disable-shared --prefix
make
make install
學(xué)習(xí)資料
libevent學(xué)習(xí)資料
-
Libevent源碼分析專欄
-
Nick’s libevent manual
-
在線查看libevent-book
autotools工具學(xué)習(xí)
-
Autotools Tutorial
-
GNU Hello?可以作為開源軟件入門的工程
文檔工具的學(xué)習(xí)
-
熟悉githit網(wǎng)站,以及Markdown標(biāo)記語言
-
AsciiDoc標(biāo)記語言,?亂談AsciiDoc的書籍編寫表示還不錯(cuò),再者去官網(wǎng). libevent-book就是用AsciiDoc編寫.
-
doxydoc工具可以根據(jù)代碼注釋生成文檔,具體可以參考libevent的doc.
-
http://www.gnu.org/prep/standards/
心得記
學(xué)習(xí)東西總?cè)菀着茴},本人因?yàn)樵诳碵Linux高性能服務(wù)器編程]這本書才決定看libevent源代碼的,看libevent過程中接觸了許多亂起八糟的東西.
autotools根據(jù)手冊過了一遍,因?yàn)樵诠ぷ鬟^程都是手寫Makefile或者esplise生成,所以就不求甚解.DoxyDoc工具知道有這么回事.對于AsciiDoc標(biāo)記語言,本人很感興趣,在學(xué)習(xí)過程中用作筆記還是比較不錯(cuò)的選擇.
補(bǔ)充后續(xù)要認(rèn)識的一些庫與工具
在Unix系統(tǒng)平臺上的網(wǎng)絡(luò)安全工具開發(fā)中,目前最為流行的C API library有l(wèi)ibnet、libpcap、libnids和libicmp等。它們分別從不同層次和角度提供了不同的功能函數(shù)。使網(wǎng)絡(luò)開發(fā)人員能夠忽略網(wǎng)絡(luò)底層細(xì)節(jié)的實(shí)現(xiàn),從而專注于程序本身具體功能的設(shè)計(jì)與開發(fā)。其中,-
libnet提供的接口函數(shù)主要實(shí)現(xiàn)和封裝了數(shù)據(jù)包的構(gòu)造和發(fā)送過程。http://blog.csdn.net/firstime_tzjz/article/details/8575304
-
libpcap提供的接口函數(shù)主要實(shí)現(xiàn)和封裝了與數(shù)據(jù)包截獲有關(guān)的過程。http://blog.csdn.net/htttw/article/details/7521053
-
libnids提供的接口函數(shù)主要實(shí)現(xiàn)了開發(fā)網(wǎng)絡(luò)入侵監(jiān)測系統(tǒng)所必須的一些結(jié)構(gòu)框架。
-
libicmp等相對較為簡單,它封裝的是ICMP數(shù)據(jù)包的主要處理過程(構(gòu)造、發(fā)送、接收等)。
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
總結(jié)
以上是生活随笔為你收集整理的libevent学习__学习历程总结的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: elasticsearch亿级数据量全量
- 下一篇: 【转载保存】ThreadPoolExec