zoukankan      html  css  js  c++  java
  • goreplay 流量重放命令

    // 同步转发并且比对响应结果

    cd /production/www/go_replay/

    ulimit -n 65000

    /usr/local/bin/gor --input-raw :80 --input-raw-track-response   --input-raw-bpf-filter "host ! 167.xxx.xxx.xx"  --input-raw-override-snaplen --prettify-http --output-http http://192.168.3.110:80 --output-http-timeout 10s --output-http-workers 1000 --output-http-workers-min 100  --http-allow-header "Aww-Csid: xxxxx" --output-http-track-response --http-allow-method POST --middleware "/production/www/go_replay/client/middleware/sync --project {project_name}" --output-http-compatibility-mode --http-allow-url /article/detail

    // 流量收集到文件

    /usr/local/bin/gor --input-raw :80  --input-raw-track-response --input-raw-override-snaplen --prettify-http --input-raw-expire 5s --output-stdout  --http-disallow-header "Aci: xxxxx"  --output-file-size-limit 5m 

    // 请求重写

    /usr/local/bin/gor --input-raw :80  --output-http https://xxxx.com --output-http-timeout 10s --input-raw-override-snaplen --prettify-http  --http-set-header  "Host:"  --http-allow-url /article/add


    万水千山总是情, 领个红包行不行?

    觉得还可以的话记的打赏哦^.^..
  • 相关阅读:
    php省市联动实现
    json学习笔记
    ajax无刷新技术
    session和cookie
    缩略图,透明度,水印,图片合并
    PHP画矩形,椭圆,圆,画椭圆弧 ,饼状图
    PHP字母数字验证码和中文验证码
    PHP画图的基本步骤GD库
    文件上传和多文件上传
    js身份证验证
  • 原文地址:https://www.cnblogs.com/mafeng/p/15179576.html
Copyright © 2011-2022 走看看