Skip to content

Commit da001d7

Browse files
authored
Merge branch 'bepass-org:master' into master
2 parents 57fcf55 + a49dbf1 commit da001d7

39 files changed

Lines changed: 779 additions & 1384 deletions

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"

.github/workflows/go-build.yaml

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -83,30 +83,6 @@ jobs:
8383
go-version: '1.22'
8484
check-latest: true
8585

86-
- name: Cache wintun
87-
id: cache
88-
uses: actions/cache@v4
89-
if: matrix.goos == 'windows'
90-
env:
91-
cache-name: cache-wintun
92-
with:
93-
path: ~/wintun-0.14.1.zip
94-
key: wintun-0.14.1.zip
95-
96-
- name: Download wintun
97-
if: matrix.goos == 'windows' && steps.cache.outputs.cache-hit != 'true'
98-
run: |
99-
curl -LO https://www.wintun.net/builds/wintun-0.14.1.zip --output-dir ~/
100-
ls -lah ~/
101-
102-
- name: Validate wintun
103-
if: matrix.goos == 'windows'
104-
run: |
105-
pushd ~/
106-
echo "07c256185d6ee3652e09fa55c0b673e2624b565e02c4b9091c79ca7d2f24ef51 wintun-0.14.1.zip" | sha256sum --check --status
107-
unzip ~/wintun-0.14.1.zip -d ~/wintun
108-
popd
109-
11086
- name: Build warp-plus
11187
run: |
11288
go build -v -o warp-plus_${{ env.ASSET_NAME }}/ -trimpath -ldflags "-s -w -buildid= -X main.version=${{ github.ref }}" ./cmd/warp-plus
@@ -117,17 +93,6 @@ jobs:
11793
cp ${GITHUB_WORKSPACE}/README.md ./warp-plus_${{ env.ASSET_NAME }}/README.md
11894
cp ${GITHUB_WORKSPACE}/LICENSE ./warp-plus_${{ env.ASSET_NAME }}/LICENSE
11995
120-
- name: Redistribute wintun.dll
121-
if: matrix.goos == 'windows'
122-
run: |
123-
if [ "$GOARCH" = "amd64" ]; then
124-
mv ~/wintun/wintun/bin/amd64/wintun.dll ./warp-plus_${{ env.ASSET_NAME }}/
125-
elif [ "$GOARCH" = "arm64" ]; then
126-
mv ~/wintun/wintun/bin/arm64/wintun.dll ./warp-plus_${{ env.ASSET_NAME }}/
127-
elif [ "$GOARCH" = "386" ]; then
128-
mv ~/wintun/wintun/bin/x86/wintun.dll ./warp-plus_${{ env.ASSET_NAME }}/
129-
fi
130-
13196
- name: Create ZIP archive
13297
shell: bash
13398
run: |

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@
44
/warp-scan.exe
55
.idea
66
stuff/
7-
wintun.dll

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,24 +32,24 @@ FLAGS
3232
--dns STRING DNS address (default: 1.1.1.1)
3333
--gool enable gool mode (warp in warp)
3434
--cfon enable psiphon mode (must provide country as well)
35-
--country STRING psiphon country code (valid values: [AT BE BG BR CA CH CZ DE DK EE ES FI FR GB HR HU IE IN IT JP LV NL NO PL PT RO RS SE SG SK UA US]) (default: AT)
35+
--country STRING psiphon country code (valid values: [AT AU BE BG CA CH CZ DE DK EE ES FI FR GB HR HU IE IN IT JP LV NL NO PL PT RO RS SE SG SK US]) (default: AT)
3636
--scan enable warp scanning
3737
--rtt DURATION scanner rtt limit (default: 1s)
3838
--cache-dir STRING directory to store generated profiles
39-
--tun-experimental enable tun interface (experimental)
40-
--fwmark UINT set linux firewall mark for tun mode (default: 4981)
39+
--fwmark UINT set linux firewall mark for tun mode (requires sudo/root/CAP_NET_ADMIN) (default: 0)
4140
--reserved STRING override wireguard reserved value (format: '1,2,3')
4241
--wgconf STRING path to a normal wireguard config
42+
--test-url STRING connectivity test url (default: http://connectivity.cloudflareclient.com/cdn-cgi/trace)
4343
-c, --config STRING path to config file
4444
--version displays version number
4545
```
4646

4747
### Country Codes for Psiphon
4848

4949
- Austria (AT)
50+
- Australia (AU)
5051
- Belgium (BE)
5152
- Bulgaria (BG)
52-
- Brazil (BR)
5353
- Canada (CA)
5454
- Switzerland (CH)
5555
- Czech Republic (CZ)
@@ -60,8 +60,8 @@ FLAGS
6060
- Finland (FI)
6161
- France (FR)
6262
- United Kingdom (GB)
63-
- Hungary (HU)
6463
- Croatia (HR)
64+
- Hungary (HU)
6565
- Ireland (IE)
6666
- India (IN)
6767
- Italy (IT)
@@ -76,7 +76,6 @@ FLAGS
7676
- Sweden (SE)
7777
- Singapore (SG)
7878
- Slovakia (SK)
79-
- Ukraine (UA)
8079
- United States (US)
8180
![0](https://raw.githubusercontent.com/Ptechgithub/configs/main/media/line.gif)
8281
### Termux

0 commit comments

Comments
 (0)