2006年10月29日

kernel tcp librAry

hi All :>

This dAys,i hAve been studying the protocol stAck,i’m A beginner :p. And I deside to mAke one,but it’s reAlly difficult for me to do the whole thing,so I port one from BSD’s tcp protocol for study perpose.(sorry for my Awful english -___-)

I hAve post my rootkit here like ten months Ago, it nAmed uay. thAt one’s tcp trAnsfer pArt is not good, I just mAde it run, but when trAnsfer some big files, it very slow And unstAble. so i rewrite it.

In this tcp lib, there Are some infAces like bind(), Listen(), Accept(), send(), recv(). It’s reAlly simple. it doesn’t contAins the options And urgent dAtA.

It still bAsed on NDIS protocol hooking for some reAsons. And I didn’t put connect() pArt into it, becAuse the wAy I got destinAtion mAc And locAl mAc is Awful. My computer use DHCP -___-. It’s not finish yet, it’s just the beginning, I wAnt implement more protocols, mAke it A complete protocol stAck. (I wAnnA leArn some LINUX stuff befor leAve school, so i stop for A little while :p) I hope this tcp thing is usefull, And i think open source cAn mAke it more stAble And becomes A reAl thing.
I Am A newbies here. so pleAse give me your Advices to improve it. 请高手多指教 :>
test.c is A test progrAm for it, only contAins one dir commAnd.

后面的太多,贴不上来了 https://www.rootkit.com/vault/uty/kernel_tcp.rar

很久没上blog了,教育网里也登不上. 几个月不见donews的blog成了这个鸟样,小广告也给贴上了,代码也都给我堆到一行上…..