请求复制工具 - TCPCOPY


TCPCOPY  2011-09-27 ८ o  o TCPCOPY ᐣ o o o  o ᐪ  o TCP/IP protocol o Linux Kernel o Raw Socket o Netlinko Netlink ---TCP/IP  ---Linux Kernel ---Raw Socket --- Netlink o Linux Netlink, which is used in Linux both as an intra- kernel messaging system as well as between kernel and user space. o  Linux ८ጱ቗ᡰ  ८᫣᡼!"#$੤ᒮ࿰ ቗ ()*๖८ࡾ੣ ८ጱࡼ/0123$੤ᒮ456"#78ᡰ19:८ጱࡼ/0123$੤ᒮ456"#78ᡰ19: ;6Linux ८ Netfilter <=ጱ>?࠳ABࡃIP Queue DE Fಚ>1HI೚KUser Mode Lጱ$੤M;NO o NetLink Linux PQᆜྞጱT>1Socket Uาੰጱ3ࣞDE o Y࠳Z[Nࡾ\HNetLink DE4]ᘎserver ጱ_ళ;ᡷb cdጱefghABࡃ(ঊ༈k NetLink Netlink Filter TCPCOPY ᐣ o  o ቗ o  o Request Packets ᆜჼo Request Packets ᆜჼ o  o  o ళ o  o  ༈ TCPCOPY  o TCPCOPY ఴጱ ం० o TCPCOPY  ጱUDP o  TCPCOPY ቗ o TCPCOPY client ᡰᡰጱpackets communication 36524 ੰ ࣞᡷጱpackets  ৩ጱ o TCPCOPY client raw socket ෂ੩ packetspackets o TCPCOPY server NetLink ᘎ !"ৢ$ጱ%ళ o TCP connection ౵(TCPCOPY client TCPCOPY server )᫣ಶ,ጱࣞ-./0communication -.12TCP ጱࡕࡉ TCPCOPY---Architecture TCPCOPY---client TCPCOPY---server TCPCOPY---Request Packets ᆜჼ o Client packets( ᡰጱpackets) o Local packets( ਢ) o Nonlocal inter-server packets n Keepalive connectionn Keepalive connection n Short connection TCPCOPY---  o ঊਢ ੤ጱ n !"#$ nᕧ৩' (#$ TCPCOPY---  o িఔం०  ࡾ"# $%੪ጱ()*+,ab ం०-./01 2হ"#኱56 o 789:੤<=bug ,>८@AB o CD࠳ ࡾ੤ం@ጱ TCPCOPY--- ༈ o TCPCOPY server 1৩८ip_queue (modprobe ip_queue) 2ᘎጱੰడoutput ᘎ iptables -I OUTPUT -p tcp --sport port -j QUEUE 3./interception3./interception ఉ৩ip_queue ఉ iptables ੷3 o TCPCOPY client ./tcpcopy ip 1ip 2… port ip  port  o ABහD45 ি'FGH'FIJKL$ n adclient \]tu n adserver \]tu n userserver \]tun userserver \]tu o MNnginx hmux OP o Memcached n tu\]vmembase Lw --- හᆜჼ --- adclient o ᆜჼ n xyX\]packets ,ᡄt{ o ᆜჼ n \]tu^_ለ0.5%ࡾ8n \]tu^_ለ0.5%ࡾ8 n 0|}੤<$%੪4000 ~€ጱ\]ab $%੪20000 ~€ጱ\]‚ab ƒ -. --- adserver o ᆜჼ n ZาGkeepalive ጱ n ྞqZา಑…༭᫣ƒM‡ˆ n ZาM‰ৢ(‹\] Œ಑Žহ<^ਢn Œ಑Žহ<^ਢ o ST n |}\]tu^_ለ0.1%ࡾ8 n 0|}.‘$%੪6000 ~€డ 7ചঌ8•Kহ<–တ9:੤¼ྞAB\½ error.log ໨ࢉ9¾ጱ¿ÀࣞÁ 'ᐪ o ฆTCPCOPY o  n http://code.google.com/p/tcpcopy/ o ਜ਼ࡥo ਜ਼ࡥ n ŽK‘"$੤ࡥ“L n ”Kᒪ–—˜ᒮ‘"™šᒮᣩিࡼ/œᒮžL o ᕫ n 567੿ጱ9ฆ n 56;<ጱ9ฆ n 56અ>?@ࡥBጱ9ฆ
还剩29页未读

继续阅读

下载pdf到电脑,查找使用更方便

pdf的实际排版效果,会与网站的显示效果略有不同!!

需要 10 金币 [ 分享pdf获得金币 ] 0 人已下载

下载pdf

pdf贡献者

xffforever

贡献于2012-04-20

下载需要 10 金币 [金币充值 ]
亲,您也可以通过 分享原创pdf 来获得金币奖励!
下载pdf