albion-online-stats icon indicating copy to clipboard operation
albion-online-stats copied to clipboard

[FEATURE REQUEST] - Support for VPN's

Open DaniVSainz opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. The meter does not work while using vpn's.

Describe the solution you'd like Either add support for vpn's or if you could point me int the right direction in the code(just generally so i wouldn't need to go through/ramp up on everything) I wouldn't mind looking into it and potentially make a PR.

Describe alternatives you've considered Go through the code, implement and open pr.

Additional context Add any other context or screenshots about the feature request here.

DaniVSainz avatar Jul 29 '20 18:07 DaniVSainz

Hey, sorry for late response I have a lot going on my head right now.

Either add support for vpn's or if you could point me int the right direction in the code(just generally so i wouldn't need to go through/ramp up on everything) I wouldn't mind looking into it and potentially make a PR.

I don't have time for implementing it myself but I'm willing to help you as much as possible.


AFAIK vpns like exit lag changes ports for incoming messages, thus I believe the best way to apporach it would be direcly in packet sniffing.

I guess I need to give you a quick dependency list of modules used in this project.

aostats (damage/healing/fame logic + UI) | |-- pyaoaddons python bindings for aoaddons

I guess the places for change would be https://github.com/mazurwiktor/albion-online-addons/blob/master/src/translate.rs, which is module containing hardcoded port to listen on

or directly in https://github.com/mazurwiktor/albion-online-addons/blob/master/src/packet_sniffer/mod.rs and hide vpn tunneling there


I hope it helps you. Let me know if you need more info. I'll try to response faster this time.

mazurwiktor avatar Aug 01 '20 10:08 mazurwiktor