Giter Club home page Giter Club logo

udp-proxy's Introduction

udp-proxy

simple udp proxy for testing only

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.

udp-proxy's People

Contributors

bandi13 avatar cyassl avatar dgarske avatar ejohnstown avatar julek-wolfssl avatar rizlik avatar toddouska avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.