Comments (8)
couple of points:
- It's
json
instead ofyaml
(#45) because I didn't want to introduce a new dependency - I have no idea how to implement relays (with __ syntax) in this json :)
from python-proxy.
Cool template design!
My suggestion is relays can be implemented by adding a key "relay" in "servers".
It can be nested with several layers.
for example:
"servers": [
{
"enabled": true,
"name": "SERVER1",
........
"relay": {
"enabled": true,
"name": "SERVER2",
........
"relay": {
"enabled": true,
"name": "FINAL_SERVE",
........
}
}
}
]
from python-proxy.
ok I think I got your point. But here's a bigger question. Do we need to identify one of the methods (config file or command line arguments) as a main template and convert the other one to the template? This way we can make pluggable configuration formats connected to pproxy
if we wanted.
from python-proxy.
Currently I don't see great benefits of using a configuration file. Maybe converting from json config file to command line argument parameter is a good way to make it easier.
from python-proxy.
I agree with this not being a high priority. Let's keep this here as an open improvement issue but with lower priority. Meanwhile, I'll try to work on some low hanging fruit.
from python-proxy.
Form my side i dont like that auth informations are handled via command option. I'm under linux and when im doing ps
i see my proxy password what i dont want to!
So in general a +1 from me for the config file! Maybe start with a MVP just for the pw ;)
It would be nice if passwords are not stored in plaintext somewhere. Instead it would be nice if passwords are fetched from linux keyring. e.g. via secret-tool but i guess that is to os specific.
from python-proxy.
Form my side i dont like that auth informations are handled via command option. I'm under linux and when im doing
ps
i see my proxy password what i dont want to!So in general a +1 from me for the config file! Maybe start with a MVP just for the pw ;)
It would be nice if passwords are not stored in plaintext somewhere. Instead it would be nice if passwords are fetched from linux keyring. e.g. via secret-tool but i guess that is to os specific.
I use python script to avoid auth information leak via command option.
Python script is better than config file, I think.
from python-proxy.
Forget shadowsocks. We config like this:
arg=(
'-l','socks5://127.0.0.1:8080',
'-r','ss://cipher:[email protected]:8000',
)
pproxy.server.main(args)
Isn't it cool?
from python-proxy.
Related Issues (20)
- Secure connection failed while generating self-signed certificate
- run docker failure HOT 1
- Hello sir I am HESSAM live in *Iran* if you take look in world news nowadays seeing in Iran ban all vpn and instagram and what up cause people against regime according netblocks report ...so glad to sign or show me way how I used this vpn code in all device I am beginner Python programming and little know code must written in text editors I want to know is it include all platform or just desktop? My second question is which file must or main for this vpn for example I see dns or ip is it include all of file or setup file just .
- pac not work
- Initial HTTP CONNECT and GET requests fail on 3.11.x, but work on 3.10.x and below HOT 1
- Run UDP socks5 on localhost error HOT 1
- Monitor bandwidth usage ? HOT 3
- Define port for outgoing packets
- socks5 udp无法使用
- http proxy fail for pproxy -l http://:9000/ -r http://httpbin.org/ -v HOT 1
- Empty reply from proxy server - even when remote target port is closed HOT 1
- Question about iptables
- Backward Proxy GET => Empty reply from server
- Dynamically set a username and password for the remote proxy
- How to print all request headers
- Possibility of redirecting traffic to warp?
- how to set systme proxy in python code,like 'dict(rserver=[remote])' ?
- Rules seem to be ignored with 'direct' HOT 3
- 有没有办法拦截特定的路径并返回特定的响应 HOT 1
- ProxyBackward' object has no attribute 'sockets
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 python-proxy.