This commit is contained in:
retoor 2024-12-31 18:07:48 +01:00
parent 415d2fb666
commit 52e12af440
3 changed files with 38 additions and 2 deletions

View File

@ -1,2 +1,38 @@
pip uninstall pycrypto # Pretty Good Server
pip install pycryptodome
Multipurpose load balancing intercepting proxy written in C.
![Pretty Good Server](static/C_Logo.png)
## Introduction
This application is load balancing intercepting proxy.
Key features:
- security against ddos of your upstream server.
- distribute incomming connections over several servers.
- host multiple protocols / services on one port as a security measurement.
- advanced routing based on host name or any header data.
- interception of content. Modifying content going trough this server is possible.
## Features
### AI Support
Thanks to the Python implementation it's possible to use AI in this server in the way most people are used to.
### Interception
All upstream and downstream data will go trough Python code provided by user. A user is using this capable to modify headers and content. With this functionality you can enhance security. Also, you could apply corrections, translations, removing emoji's. In commercial sense, you could replace certain words with links to advertised content.
### Advanced routing
Routing is more advanced than any other webserver provides. For routing Python is integrated giving it unlimited options. You could even write custom responses with Python, adding webhooks or you could override an existing page of software where you normally can't control over. Other features include, but not limited to:
- Force the usage of authentication tokens. (Or base64 authentication).
- Validate authentication tokens by connecting to a database.
- Do rate limiting.
- Execute calls to AI to modify intercepted content.
### Load balancing
Using Python you can apply your own dynamic load balancing rules. You know exactly what servers have which connections. A good idea could be to include the server load or other statistics in the response header of servers. Using interception you remove this data for the client.
### Hostname redirection
You can redirect based on hostname dynamically. You could use the same source code and base on hostname for example if you use production or development settings.
### Application server
Because of its huge concurrency capabillities it's perfectly fine as an application server. It's not only a load balancer, it's also a reverse proxy. It's a complete solution to your needs.

BIN
pgs.zip Normal file

Binary file not shown.

BIN
static/C_Logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB