2019-11-15 22:47:50 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
"""
|
|
|
|
proxy.py
|
|
|
|
~~~~~~~~
|
2019-11-19 04:45:51 +00:00
|
|
|
⚡⚡⚡ Fast, Lightweight, Pluggable, TLS interception capable proxy server focused on
|
|
|
|
Network monitoring, controls & Application development, testing, debugging.
|
2019-11-15 22:47:50 +00:00
|
|
|
|
|
|
|
:copyright: (c) 2013-present by Abhinav Singh and contributors.
|
|
|
|
:license: BSD, see LICENSE for more details.
|
2021-11-16 23:34:29 +00:00
|
|
|
|
|
|
|
.. spelling::
|
|
|
|
|
|
|
|
Cloudflare
|
2022-01-26 14:20:12 +00:00
|
|
|
ws
|
|
|
|
onmessage
|
2022-01-26 23:34:54 +00:00
|
|
|
httpbin
|
|
|
|
localhost
|
2022-06-11 17:26:01 +00:00
|
|
|
Lua
|
2019-11-15 22:47:50 +00:00
|
|
|
"""
|
2019-11-22 05:16:01 +00:00
|
|
|
from .cache import CacheResponsesPlugin, BaseCacheResponsesPlugin
|
2022-01-20 10:04:54 +00:00
|
|
|
from .shortlink import ShortLinkPlugin
|
|
|
|
from .proxy_pool import ProxyPoolPlugin
|
|
|
|
from .program_name import ProgramNamePlugin
|
2019-11-15 22:47:50 +00:00
|
|
|
from .mock_rest_api import ProposedRestApiPlugin
|
2022-01-20 10:04:54 +00:00
|
|
|
from .reverse_proxy import ReverseProxyPlugin
|
|
|
|
from .cloudflare_dns import CloudflareDnsResolverPlugin
|
2019-11-15 22:47:50 +00:00
|
|
|
from .modify_post_data import ModifyPostDataPlugin
|
|
|
|
from .web_server_route import WebServerPlugin
|
2022-01-20 10:04:54 +00:00
|
|
|
from .man_in_the_middle import ManInTheMiddlePlugin
|
|
|
|
from .filter_by_upstream import FilterByUpstreamHostPlugin
|
|
|
|
from .custom_dns_resolver import CustomDnsResolverPlugin
|
2020-06-21 16:27:03 +00:00
|
|
|
from .filter_by_client_ip import FilterByClientIpPlugin
|
2020-07-13 05:10:34 +00:00
|
|
|
from .filter_by_url_regex import FilterByURLRegexPlugin
|
2020-07-12 15:54:20 +00:00
|
|
|
from .modify_chunk_response import ModifyChunkResponsePlugin
|
2024-06-09 17:22:37 +00:00
|
|
|
from .modify_request_header import ModifyRequestHeaderPlugin
|
2022-01-20 10:04:54 +00:00
|
|
|
from .redirect_to_custom_server import RedirectToCustomServerPlugin
|
2024-09-21 05:24:07 +00:00
|
|
|
from .tls_intercept_conditionally import TlsInterceptConditionallyPlugin
|
2022-01-20 10:04:54 +00:00
|
|
|
|
2019-11-15 22:47:50 +00:00
|
|
|
|
|
|
|
__all__ = [
|
|
|
|
'CacheResponsesPlugin',
|
2019-11-22 05:16:01 +00:00
|
|
|
'BaseCacheResponsesPlugin',
|
2019-11-15 22:47:50 +00:00
|
|
|
'FilterByUpstreamHostPlugin',
|
|
|
|
'ManInTheMiddlePlugin',
|
|
|
|
'ProposedRestApiPlugin',
|
|
|
|
'ModifyPostDataPlugin',
|
|
|
|
'RedirectToCustomServerPlugin',
|
|
|
|
'ShortLinkPlugin',
|
|
|
|
'WebServerPlugin',
|
2019-11-30 05:28:31 +00:00
|
|
|
'ReverseProxyPlugin',
|
2019-12-10 03:38:49 +00:00
|
|
|
'ProxyPoolPlugin',
|
2020-06-21 16:27:03 +00:00
|
|
|
'FilterByClientIpPlugin',
|
2020-07-01 22:00:29 +00:00
|
|
|
'ModifyChunkResponsePlugin',
|
2020-07-13 05:10:34 +00:00
|
|
|
'FilterByURLRegexPlugin',
|
2021-11-05 02:06:02 +00:00
|
|
|
'CustomDnsResolverPlugin',
|
|
|
|
'CloudflareDnsResolverPlugin',
|
2021-12-25 07:10:25 +00:00
|
|
|
'ProgramNamePlugin',
|
2024-06-09 17:22:37 +00:00
|
|
|
'ModifyRequestHeaderPlugin',
|
2024-09-21 05:24:07 +00:00
|
|
|
'TlsInterceptConditionallyPlugin',
|
2019-11-15 22:47:50 +00:00
|
|
|
]
|