https://github.com/tg123/xtcprelay
tcp over any data link layer, even mail based floppy
https://github.com/tg123/xtcprelay
nat tcprelay
Last synced: 2 months ago
JSON representation
tcp over any data link layer, even mail based floppy
- Host: GitHub
- URL: https://github.com/tg123/xtcprelay
- Owner: tg123
- License: mit
- Created: 2021-01-22T12:06:35.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-22T12:53:29.000Z (over 4 years ago)
- Last Synced: 2024-05-02T06:06:31.537Z (about 1 year ago)
- Topics: nat, tcprelay
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xtcprelay
xtcprelay is a framework which can take anything, literally, as a relayer of a tcp connection.
lets take mail based floppy data transmission as an example:
### Normal TCP Connection
```.--. .--.
|__| .-------. |__| .-------.
|=.| |.-----.| |=.| |.-----.|
|--| || C || <====> |--| || S ||
| | |'-----'| | | |'-----'|
|__|~')_____(' |__|~')_____('
```### xtcprelay with Mail based floppy driver
```
.--.
|__| .-------.
|=.| |.-----.| .-------------. ______
|--| || C || <====> | Client Side | <====> | |__| |
| | |'-----'| | xtcprelay | | () |
|__|~')_____(' |_____________| |______|
^
| |
| |
V
_________
.`. `.
/ \ .======.\
| | |______||
via UPS/USPS/FedEx/.... | | _____ |
| | / / |
| | /____/ |
| _ | |
|/ \|.-"```"-.|
`` ||| |||^
| |
| |
| |
.--. | |
|__| .-------. V
|=.| |.-----.| .-------------. ______
|--| || S || <====> | Server Side | <====> | |__| |
| | |'-----'| | xtcprelay | | () |
|__|~')_____(' |_____________| |______|```
This will be useful to bridge two networks with anything.
# Supported Drivers
## Azure Storage Queue
talk over azure storage queue### Usage
Bridge a tcp server listens on `:9000` as an example
* Server Side
```
./xtcprelay -d azqueue --azqueue-account --azqueue-key serverside --azqueue-relayer-address test --azqueue-server-address 127.0.0.1:9000
```
* Client Side
```
./xtcprelay -d azqueue --azqueue-account --azqueue-key clientside --azqueue-relayer-address test --azqueue-listen-address 0.0.0.0:9001
```
Now on client side machine you will have a `9001` identical to remote `9000`. All traffic are relayed by your storage queue## Mail based floppy
WIP