Comments (3)
Looks like the pcap in that bug isn't representative of the issue Windows hits now. I'm seeing an almost immediate FIN being sent by the viewer after it sends the SOCKS handshake, so it's not a timeout like that bug. Not seeing the trailing null bytes either. Don't see any way to work around on our end if the connection gets immediately closed, so will have to investigate circuit IP rewriting. Hoped to avoid that because of how messy it is.
from hippolyzer.
Probably need to extract these details out into a TrransportManager class that can be tied to a Session and used for the open_circuit() calls, with hooks for rewriting the login response and the EQ messages that have sim IPs. The TransportManager would have an internal mapping of internally-bound UDP ports<->real sim UDP ports. The TransportManager should return an abstract Transport object that would wrap either the sim IP rewriting or SOCKS5 strategy used for that session, and that would be used in ProxiedCircuit rather than explicitly calling ProxiedUDPPacket.serialize().
The proxy could choose which strategy to use at the time of the login request based on whether or not there's active SOCKS5 UDP associations without sessions tied to them, falling back to IP rewriting if not.
Something like https://github.com/basil00/Divert/blob/master/examples/streamdump/streamdump.c might be nice to transparently force windows viewer traffic through the SOCKS proxy based on src or dest matching a known circuit, but they haven't implemented UDP association and it'd be more work than just doing IP rewriting.
from hippolyzer.
Started a rewrite that would allow plugging in a transport manager that knows how to rewrite IPs and bind alias IPs on demand, but not happy with how deep the hooks have to go. Might try writing a Detours hook for non-DNS sendto / recvfrom that does transparent SOCKS5 first.
from hippolyzer.
Related Issues (20)
- Generate typed message classes based on message template HOT 1
- Teleports sometimes cause a disconnect when attempted right before Event Queue's long-polling timeout HOT 2
- Support reliable LLUDP message sending HOT 1
- Add runtime ObjectManager conformance tests based on newview VOCache
- Support multiple log windows
- Add message log loading / saving HOT 1
- Prevent GUI paints from blocking proxy activity and vice-versa
- Write more docs, split readme up
- LLMesh -> Collada -> LLMesh conversion code to allow for in-proxy mesh upload HOT 1
- Update docs to mention how to work around Firestorm proxy issues HOT 2
- Upgrade to mitmproxy 8.0
- Better EventQueue event injection support HOT 1
- Rewrite git history to add pyogp commits with correct committer field HOT 1
- Better handling of the various disparate inventory representations HOT 1
- Use numpy arrays for mesh coordinate serialization and quantization HOT 1
- LEAP bridge and associated std(in/out) -> TCP forwarding agent HOT 4
- Add support for Python 3.11 HOT 2
- communication HOT 1
- Add support for unknown new block in AvatarAppearance
- Configurable columns for message log display
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hippolyzer.