标题 简介 类型 公开时间
关联规则 关联知识 关联工具 关联文档 关联抓包
参考1(官网)
参考2
参考3
详情
[SAFE-ID: JIWO-2024-475]   作者: ecawen 发表于: [2017-08-27]

本文共 [298] 位读者顶过

simple udp proxy for testing only
C
Clone or download 
Branch: master 
New pull request
Fetching latest commit…
.gitignore
README.md
udp_proxy.c
udp_proxy.sln
udp_proxy.vcxproj
udp_proxy.vcxproj.filters

 README.md

udp-proxy

simple udp proxy for testing only [出自:jiwo.org]

requirements

This tool requires libevent.

building for *nix

Install libevent as a shared library using either your package manager of choice or download the sources from their site and install with their directions.

In the udp-proxy source directory build by:

$ gcc -Wall udp_proxy.c -o udp_proxy -levent

It should be ready to run.

building for Windows

Download the sources and extract them into your project directory. Both libevent and the udp_proxy sources at the same level in your project directory:

...\Project\
    -> libevent\
    -> udp_proxy\

Libevent normally names its source directory with the version number, rename it as "libevent". It uses an nmake Makefile to build, which requires using the command line. Open the appropriate command line shell from the Visual Studio directory in the Start menu, depending on 32-bit or 64-bit builds. Change directories into the libevent directory and run:

...\Project\libevent> nmake /f Makefile.nmake

This should build the library.

Open the solution file, udp_proxy.sln. Select either Win32 for 32-bit or x64 for 64-bit builds. You can do a debug or release build. The solution references the libevent headers and libraries assuming they are in a directory named libevent as the same level as udp_proxy.

running

From the udp_proxy directory:

$ ./udp_proxy -p 12345 -s 127.0.0.1:11111

For use with wolfSSL example server with client talking to proxy on port 12345:

$ ./examples/server/server -u
$ ./examples/client/client -u -p 12345

Under Windows, you don't need all the path information, run each how you normally would.

评论

暂无
发表评论
 返回顶部 
热度(298)
 关注微信