Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jkcoxson/Secret-Tunnel
A loopback magic box for lockdownd connections on device
https://github.com/jkcoxson/Secret-Tunnel
Last synced: 7 days ago
JSON representation
A loopback magic box for lockdownd connections on device
- Host: GitHub
- URL: https://github.com/jkcoxson/Secret-Tunnel
- Owner: jkcoxson
- Archived: true
- Created: 2022-06-20T04:03:39.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-26T17:12:31.000Z (about 2 years ago)
- Last Synced: 2024-08-01T13:38:06.632Z (3 months ago)
- Language: Rust
- Size: 239 KB
- Stars: 18
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SECRET TUNNEL!
So I accidently wrote [software](https://github.com/jkcoxson/em_proxy) that is a ton faster than this and way simpler.
Rip secret tunnel.```
...Yeah, and I forget the next couple of lines, but then it goes...
Secret tunnel!
Secret tunnel!
Through the mountain!
Secret, secret, secret, secret tunnel!"
```In all seriousness, this library is meant to create loopback connections to lockdownd.
It tricks lockdownd into thinking it's not a loopback connection using Wireguard.# Basic Functional Overview
1. Listens on a port for incoming Wireguard connections
2. Handshakes with Wireguard
3. Create and send fake IP/TCP packets to Wireguard
4. Adapt [libimobiledevice](https://github.com/jkcoxson/libimobiledevice) to use the fake IP/TCP packets
5. Profit**Completeness: 5/5**
# TCP Stack
The TCP stack is a barebones implementation of a TCP/IP stack. It makes many assumptions about the reliability of the underlying transport layer, and makes little effort to handle any errors.
- [x] Packets are generated and checksummed
- [ ] Maximum segment size is negotiated.
- [ ] Window scaling is negotiated.
- [x] Multiple packets are transmitted without waiting for an acknowledgement.
- [ ] Reassembly of out-of-order segments is supported, with no more than 4 or 32 gaps in sequence space.
- [ ] Keep-alive packets may be sent at a configurable interval.
- [ ] Retransmission timeout
- [ ] Time-wait timeout
- [ ] Delayed acknowledgements are supported, with configurable delay.
- [ ] Nagle's algorithm is implemented.# How to use
Don'tETA: July of 2069