-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
256 changed files
with
39,997 additions
and
17 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,12 @@ | ||
frp版本0.33.0 | ||
### [frp](https://github.com/fatedier/frp) 是一个专注于内网穿透的高性能的反向代理应用,支持 TCP、UDP、HTTP、HTTPS 等多种协议。可以将内网服务以安全、便捷的方式通过具有公网 IP 节点的中转暴露到公网。 | ||
|
||
### 当前frp版本号0.35.1 | ||
|
||
### [编译方法](https://github.com/FrpcCluster/frpc-Android/blob/master/Compile_zh.md) | ||
|
||
### NDK version: 20.0.5594570 | ||
|
||
### [下载地址](https://www.pgyer.com/afrp) | ||
|
||
|
||
|
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
Binary file not shown.
Binary file not shown.
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
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,25 @@ | ||
version: 2 | ||
jobs: | ||
test1: | ||
docker: | ||
- image: circleci/golang:1.15-node | ||
working_directory: /go/src/github.com/fatedier/frp | ||
steps: | ||
- checkout | ||
- run: make | ||
- run: make alltest | ||
test2: | ||
docker: | ||
- image: circleci/golang:1.14-node | ||
working_directory: /go/src/github.com/fatedier/frp | ||
steps: | ||
- checkout | ||
- run: make | ||
- run: make alltest | ||
|
||
workflows: | ||
version: 2 | ||
build_and_test: | ||
jobs: | ||
- test1 | ||
- test2 |
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,44 @@ | ||
--- | ||
name: Bug Report | ||
about: Bug Report for FRP | ||
title: '' | ||
labels: Requires Testing | ||
assignees: '' | ||
|
||
--- | ||
|
||
<!-- From Chinese to English by machine translation, welcome to revise and polish. --> | ||
|
||
<!-- ⚠️⚠️ Incomplete reports will be marked as invalid, and closed, with few exceptions ⚠️⚠️ --> | ||
<!-- in addition, please use search well so that the same solution can be found in the feedback, we will close it directly --> | ||
<!-- for convenience of differentiation, use FRPS or FRPC to refer to the FRP server or client --> | ||
|
||
**[REQUIRED] hat version of frp are you using** | ||
<!-- Use ./frpc -v or ./frps -v --> | ||
Version: | ||
|
||
**[REQUIRED] What operating system and processor architecture are you using** | ||
OS: | ||
CPU architecture: | ||
|
||
**[REQUIRED] description of errors** | ||
|
||
**confile** | ||
<!-- Please pay attention to hiding the token, server_addr and other privacy information --> | ||
|
||
**log file** | ||
<!-- If the file is too large, use Pastebin, for example https://pastebin.ubuntu.com/ --> | ||
|
||
**Steps to reproduce the issue** | ||
1. | ||
2. | ||
3. | ||
|
||
**Supplementary information** | ||
|
||
**Can you guess what caused this issue** | ||
|
||
**Checklist**: | ||
<!--- Make sure you've completed the following steps (put an "X" between of brackets): --> | ||
- [] I included all information required in the sections above | ||
- [] I made sure there are no duplicates of this report [(Use Search)](https://github.com/fatedier/frp/issues?q=is%3Aissue) |
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,5 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: DOCS | ||
url: https://github.com/fatedier/frp | ||
about: Here you can find out how to configure frp. |
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,22 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: "[+] Enhancement" | ||
assignees: '' | ||
|
||
--- | ||
|
||
<!-- From Chinese to English by machine translation, welcome to revise and polish. --> | ||
|
||
**The solution you want** | ||
<!--A clear and concise description of the solution you want. --> | ||
|
||
**Alternatives considered** | ||
<!--A clear and concise description of any alternative solutions or features you have considered. --> | ||
|
||
**How to implement this function** | ||
<!--Implementation steps for the solution you want. --> | ||
|
||
**Application scenarios of this function** | ||
<!--Make a clear and concise description of the application scenario of the solution you want. --> |
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,115 @@ | ||
name: Build Image and Publish to Dockerhub & GPR | ||
|
||
on: | ||
release: | ||
types: [ created ] | ||
workflow_dispatch: | ||
inputs: | ||
tag: | ||
description: 'Image tag' | ||
required: true | ||
default: 'test' | ||
jobs: | ||
binary: | ||
name: Build Golang project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Set up Go 1.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.15 | ||
- | ||
run: go version | ||
- | ||
name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
- | ||
name: Build | ||
run: make build | ||
- | ||
name: Archive artifacts for frpc | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: frpc | ||
path: bin/frpc | ||
- | ||
name: Archive artifacts for frps | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: frps | ||
path: bin/frps | ||
|
||
image: | ||
name: Build Image from Dockerfile and binaries | ||
runs-on: ubuntu-latest | ||
needs: binary | ||
steps: | ||
# environment | ||
- | ||
name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: '0' | ||
- | ||
name: Set up QEMU | ||
uses: docker/setup-qemu-action@v1 | ||
- | ||
name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
# download binaries of frpc and frps | ||
- | ||
name: Download binary of frpc | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: frpc | ||
path: bin/frpc | ||
- | ||
name: Download binary of frps | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: frps | ||
path: bin/frps | ||
# get image tag name | ||
- | ||
name: Get Image Tag Name | ||
run: | | ||
if [ x${{ github.event.inputs.tag }} == x"" ]; then | ||
echo "TAG_NAME=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | ||
else | ||
echo "TAG_NAME=${{ github.event.inputs.tag }}" >> $GITHUB_ENV | ||
fi | ||
# prepare image tags | ||
- | ||
name: Prepare Image Tags | ||
run: | | ||
echo "DOCKERFILE_FRPC_PATH=dockerfiles/Dockerfile-for-frpc" >> $GITHUB_ENV | ||
echo "DOCKERFILE_FRPS_PATH=dockerfiles/Dockerfile-for-frps" >> $GITHUB_ENV | ||
echo "TAG_FRPC=fatedier/frpc:${{ env.TAG_NAME }}" >> $GITHUB_ENV | ||
echo "TAG_FRPS=fatedier/frps:${{ env.TAG_NAME }}" >> $GITHUB_ENV | ||
echo "TAG_FRPC_GPR=ghcr.io/fatedier/frpc:${{ env.TAG_NAME }}" >> $GITHUB_ENV | ||
echo "TAG_FRPS_GPR=ghcr.io/fatedier/frps:${{ env.TAG_NAME }}" >> $GITHUB_ENV | ||
# build images | ||
- | ||
name: Build Images | ||
run: | | ||
# for Docker hub | ||
docker build --file ${{ env.DOCKERFILE_FRPC_PATH }} --tag ${{ env.TAG_FRPC }} . | ||
docker build --file ${{ env.DOCKERFILE_FRPS_PATH }} --tag ${{ env.TAG_FRPS }} . | ||
# for GPR | ||
docker build --file ${{ env.DOCKERFILE_FRPC_PATH }} --tag ${{ env.TAG_FRPC_GPR }} . | ||
docker build --file ${{ env.DOCKERFILE_FRPS_PATH }} --tag ${{ env.TAG_FRPS_GPR }} . | ||
# push to dockerhub | ||
- | ||
name: Publish to Dockerhub | ||
run: | | ||
echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login --username ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin | ||
docker push ${{ env.TAG_FRPC }} | ||
docker push ${{ env.TAG_FRPS }} | ||
# push to gpr | ||
- | ||
name: Publish to GPR | ||
run: | | ||
echo ${{ secrets.GPR_TOKEN }} | docker login ghcr.io --username ${{ github.repository_owner }} --password-stdin | ||
docker push ${{ env.TAG_FRPC_GPR }} | ||
docker push ${{ env.TAG_FRPS_GPR }} |
Oops, something went wrong.