-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:Deathwalker9959/native-http-proxy
- Loading branch information
Showing
3 changed files
with
140 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# This workflow will build a golang project | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | ||
|
||
name: Go | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.20' | ||
|
||
- name: Test | ||
run: go test -v ./... | ||
|
||
- name: Create dist directory | ||
run: mkdir dist | ||
|
||
- name: Build | ||
run: go build -o ./dist -v ./... | ||
|
||
- name: Upload a Build Artifact | ||
uses: actions/upload-artifact@v3.1.3 | ||
with: | ||
# Artifact name | ||
name: native_http_proxy | ||
# A file, directory or wildcard pattern that describes what to upload | ||
path: ./dist/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2023 Andreas Malathouras | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
# HTTP Tunnel Proxy | ||
|
||
This HTTP tunnel proxy is designed to serve both HTTP/1.1 and HTTP/2 requests over TCP while randomizing its TLS fingerprint to evade scraper blocking through TLS fingerprinting techniques. | ||
|
||
## Table of Contents | ||
|
||
- [Features](#features) | ||
- [Installation](#installation) | ||
- [Usage](#usage) | ||
- [Configuration](#configuration) | ||
- [Contributing](#contributing) | ||
- [License](#license) | ||
|
||
## Features | ||
|
||
- **HTTP/1.1 and HTTP/2 Support:** This proxy supports both HTTP/1.1 and HTTP/2 protocols, making it versatile for various web applications. | ||
|
||
- **Randomized TLS Fingerprint:** The proxy continuously randomizes its TLS fingerprint, making it difficult scraper detection to identify and block based on TLS fingerprinting. | ||
|
||
- **TCP Tunneling:** The proxy tunnels traffic over TCP, ensuring robust and reliable communication. | ||
## Source Installation | ||
|
||
1. Clone this repository to your server: | ||
|
||
```bash | ||
git clone https://github.com/Deathwalker9959/native-http-proxy.git | ||
``` | ||
|
||
2. Navigate to the project directory: | ||
|
||
```bash | ||
cd native-http-proxy | ||
``` | ||
|
||
3. Install the required dependencies: | ||
|
||
```bash | ||
go get | ||
``` | ||
4. Install as binary | ||
```bash | ||
go install native-http-proxy | ||
``` | ||
|
||
## Usage | ||
|
||
1. Start the HTTP tunnel proxy: | ||
|
||
```bash | ||
./native-http-proxy --port 8080 | ||
``` | ||
|
||
2. Configure your client to use the proxy. Ensure that you point your client to the correct proxy server address and port. | ||
|
||
3. Enjoy seamless HTTP/1.1 and HTTP/2 traffic while evading scraper blocking! | ||
|
||
## Configuration | ||
|
||
You can customize the behavior of the HTTP tunnel proxy by modifying the commandline arguements. Here are some of the available configuration options: | ||
|
||
- `port`: The port on which the proxy server listens. | ||
|
||
Make sure to review and update the configuration to suit your specific requirements. | ||
|
||
## Contributing | ||
|
||
Contributions are welcome! If you want to contribute to this project, please follow these steps: | ||
|
||
1. Fork the repository. | ||
2. Create a new branch for your feature or bug fix. | ||
3. Make your changes and commit them. | ||
4. Create a pull request describing your changes. | ||
|
||
## License | ||
|
||
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. | ||
|
||
--- | ||
|
||
Feel free to use this HTTP tunnel proxy for your web scraping, data gathering, or other network-related projects. If you have any questions or encounter issues, don't hesitate to open an issue or reach out to us for support. Happy proxying! |