Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/denismakogon/udp2http
UDP 2 HTTP traffic forwarder
https://github.com/denismakogon/udp2http
Last synced: 20 days ago
JSON representation
UDP 2 HTTP traffic forwarder
- Host: GitHub
- URL: https://github.com/denismakogon/udp2http
- Owner: denismakogon
- License: mit
- Created: 2022-08-15T06:49:58.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-16T08:20:10.000Z (over 2 years ago)
- Last Synced: 2024-06-21T15:43:07.254Z (5 months ago)
- Language: Go
- Size: 142 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UDP to HTTP proxy forwarder
## Usage
```shell
udp2http -hNAME:
udp2http startUSAGE:
udp2http start [command options] [arguments...]DESCRIPTION:
starts UDP server that forwards requests to an HTTP endpoint defined through '-t/--target' flagOPTIONS:
--fs value, --frame-size value, -s value UDP frame size to read from socket (default: 2048)
--rqt value, --request-timeout value, --timeout value HTTP request timeout, in seconds (default: 60)
-p value, --port value UDP socket port to start a server on (default: 20777)
-t value, --target value HTTP endpoint to where forward the request
-w value, --workers value number of request handing workers (default: 4)
```## Compile to MIPSle-32
```shell
GOOS=linux GOARCH=mipsle go build -compiler gc -o target/udp2http.$(date +'%Y.%m.%d').linux.mipsle main.go
```