Test environment with Tcpcopy copy on-line flow pressure measurement

Source: Internet
Author: User

Tcpcopy Project Address: https://github.com/session-replay-tools/tcpcopy

Author Address: http://blog.csdn.net/wangbin579

1: Environment description

Erecting three servers

10.53.132.52

10.53.132.55

10.53.132.101

101 We believe that the online servers, 52 and 55 are test environments. We run Tcpcopy on 101 to copy the online traffic to 55, on 55 We turn the answer to 52 on the route and discard the answer on 52.

Apache deployed on 101 and 55 respectively, Port 8090

2: Step

101 Deployment on Tcpcopy

Tcpcopy-x 8090-10.53.132.55:8090-s 10.53.132.52-c 192.168.100.x-n 5

Copy the traffic on the native 8090 to the 8090 port of 55.

-s specifies the server on which the intercept process resides. (Packet drop server)

-C Modify the request's host address to 192.168.100.x to set the route on 55 (the route is set to turn the answer to 52 "packet Drop Server")

-N Flow magnification

55 Set up routing on

Route add-net 192.168.100.0 netmask 255.255.255.0 GW 10.53.132.52

52 running the intercept

Intercept-i eth1-f TCP and SRC port 8090-d

Reference address

http://blog.csdn.net/wangbin579/article/details/8950282

http://blog.csdn.net/wangbin579/article/details/7476413

Test environment with Tcpcopy copy on-line flow pressure measurement

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.