Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
G
gost
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
gost
Commits
bbeaafc8
Commit
bbeaafc8
authored
Apr 07, 2022
by
ginuerzh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update version
parent
ffecc464
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
29 additions
and
22 deletions
+29
-22
.github/workflows/buildx.yaml
.github/workflows/buildx.yaml
+2
-2
.gitignore
.gitignore
+1
-0
Dockerfile
Dockerfile
+1
-1
Makefile
Makefile
+4
-0
README.md
README.md
+18
-16
gost.go
gost.go
+1
-1
snapcraft.yaml
snapcraft.yaml
+2
-2
No files found.
.github/workflows/buildx.yaml
View file @
bbeaafc8
...
@@ -4,7 +4,7 @@ name: Docker
...
@@ -4,7 +4,7 @@ name: Docker
on
:
[
push
]
on
:
[
push
]
jobs
:
jobs
:
build
:
build
:
runs-on
:
ubuntu-
18.04
runs-on
:
ubuntu-
latest
steps
:
steps
:
-
name
:
Prepare
-
name
:
Prepare
id
:
prepare
id
:
prepare
...
@@ -19,7 +19,7 @@ jobs:
...
@@ -19,7 +19,7 @@ jobs:
echo ::set-output name=version::snapshot
echo ::set-output name=version::snapshot
fi
fi
echo ::set-output name=docker_platforms::linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/386
echo ::set-output name=docker_platforms::linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/386
,linux/s390x
echo ::set-output name=docker_image::${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}
echo ::set-output name=docker_image::${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}
# https://github.com/crazy-max/ghaction-docker-buildx
# https://github.com/crazy-max/ghaction-docker-buildx
...
...
.gitignore
View file @
bbeaafc8
...
@@ -30,5 +30,6 @@ _testmain.go
...
@@ -30,5 +30,6 @@ _testmain.go
*.bak
*.bak
.vscode/
cmd/gost/gost
cmd/gost/gost
snap
snap
Dockerfile
View file @
bbeaafc8
FROM
--platform=$BUILDPLATFORM golang:1-alpine as builder
FROM
--platform=$BUILDPLATFORM golang:1
.18
-alpine as builder
# Convert TARGETPLATFORM to GOARCH format
# Convert TARGETPLATFORM to GOARCH format
# https://github.com/tonistiigi/xx
# https://github.com/tonistiigi/xx
...
...
Makefile
View file @
bbeaafc8
...
@@ -19,6 +19,7 @@ PLATFORM_LIST = \
...
@@ -19,6 +19,7 @@ PLATFORM_LIST = \
linux-mipsle-hardfloat
\
linux-mipsle-hardfloat
\
linux-mips64
\
linux-mips64
\
linux-mips64le
\
linux-mips64le
\
linux-s390x
\
freebsd-386
\
freebsd-386
\
freebsd-amd64
freebsd-amd64
...
@@ -70,6 +71,9 @@ linux-mips64:
...
@@ -70,6 +71,9 @@ linux-mips64:
linux-mips64le
:
linux-mips64le
:
GOARCH
=
mips64le
GOOS
=
linux
$(GOBUILD)
-o
$(BINDIR)
/
$(NAME)
-
$@
$(GOFILES)
GOARCH
=
mips64le
GOOS
=
linux
$(GOBUILD)
-o
$(BINDIR)
/
$(NAME)
-
$@
$(GOFILES)
linux-s390x
:
GOARCH
=
s390x
GOOS
=
linux
$(GOBUILD)
-o
$(BINDIR)
/
$(NAME)
-
$@
$(GOFILES)
freebsd-386
:
freebsd-386
:
GOARCH
=
386
GOOS
=
freebsd
$(GOBUILD)
-o
$(BINDIR)
/
$(NAME)
-
$@
$(GOFILES)
GOARCH
=
386
GOOS
=
freebsd
$(GOBUILD)
-o
$(BINDIR)
/
$(NAME)
-
$@
$(GOFILES)
...
...
README.md
View file @
bbeaafc8
gost -
GO Simple Tunnel
GO Simple Tunnel
======
======
### GO语言实现的安全隧道
### GO语言实现的安全隧道
...
@@ -13,27 +13,29 @@ gost - GO Simple Tunnel
...
@@ -13,27 +13,29 @@ gost - GO Simple Tunnel
[
English README
](
README_en.md
)
[
English README
](
README_en.md
)
### !!!!!
特性
特性
------
------
*
多端口监听
*
多端口监听
*
可设置转发代理,支持多级转发(代理链)
*
可设置转发代理,支持多级转发(代理链)
*
支持标准HTTP/HTTPS/HTTP2/SOCKS4(A)/SOCKS5代理协议
*
支持标准HTTP/HTTPS/HTTP2/SOCKS4(A)/SOCKS5代理协议
*
Web代理支持
[
探测防御
](
https://
docs.ginuerzh.xyz/gost
/probe_resist/
)
*
Web代理支持
[
探测防御
](
https://
v2.gost.run
/probe_resist/
)
*
[
支持多种隧道类型
](
https://
docs.ginuerzh.xyz/gost
/configuration/
)
*
[
支持多种隧道类型
](
https://
v2.gost.run
/configuration/
)
*
[
SOCKS5代理支持TLS协商加密
](
https://
docs.ginuerzh.xyz/gost
/socks/
)
*
[
SOCKS5代理支持TLS协商加密
](
https://
v2.gost.run
/socks/
)
*
[
Tunnel UDP over TCP
](
https://
docs.ginuerzh.xyz/gost
/socks/
)
*
[
Tunnel UDP over TCP
](
https://
v2.gost.run
/socks/
)
*
[
TCP/UDP透明代理
](
https://
docs.ginuerzh.xyz/gost
/redirect/
)
*
[
TCP/UDP透明代理
](
https://
v2.gost.run
/redirect/
)
*
[
本地/远程TCP/UDP端口转发
](
https://
docs.ginuerzh.xyz/gost
/port-forwarding/
)
*
[
本地/远程TCP/UDP端口转发
](
https://
v2.gost.run
/port-forwarding/
)
*
[
支持Shadowsocks(TCP/UDP)协议
](
https://
docs.ginuerzh.xyz/gost
/ss/
)
*
[
支持Shadowsocks(TCP/UDP)协议
](
https://
v2.gost.run
/ss/
)
*
[
支持SNI代理
](
https://
docs.ginuerzh.xyz/gost
/sni/
)
*
[
支持SNI代理
](
https://
v2.gost.run
/sni/
)
*
[
权限控制
](
https://
docs.ginuerzh.xyz/gost
/permission/
)
*
[
权限控制
](
https://
v2.gost.run
/permission/
)
*
[
负载均衡
](
https://
docs.ginuerzh.xyz/gost
/load-balancing/
)
*
[
负载均衡
](
https://
v2.gost.run
/load-balancing/
)
*
[
路由控制
](
https://
docs.ginuerzh.xyz/gost
/bypass/
)
*
[
路由控制
](
https://
v2.gost.run
/bypass/
)
*
DNS
[
解析
](
https://
docs.ginuerzh.xyz/gost/resolver/
)
和
[
代理
](
https://docs.ginuerzh.xyz/gost
/dns/
)
*
DNS
[
解析
](
https://
v2.gost.run/resolver/
)
和
[
代理
](
https://v2.gost.run
/dns/
)
*
[
TUN/TAP设备
](
https://
docs.ginuerzh.xyz/gost
/tuntap/
)
*
[
TUN/TAP设备
](
https://
v2.gost.run
/tuntap/
)
Wiki站点:
<https://docs.ginuerzh.xyz/gost/>
Wiki站点:
[
v2.gost.run
](
https://v2.gost.run
)
Telegram讨论群:
<https://t.me/gogost>
Telegram讨论群:
<https://t.me/gogost>
...
...
gost.go
View file @
bbeaafc8
...
@@ -20,7 +20,7 @@ import (
...
@@ -20,7 +20,7 @@ import (
)
)
// Version is the gost version.
// Version is the gost version.
const
Version
=
"2.11.
1
"
const
Version
=
"2.11.
2
"
// Debug is a flag that enables the debug log.
// Debug is a flag that enables the debug log.
var
Debug
bool
var
Debug
bool
...
...
snapcraft.yaml
View file @
bbeaafc8
name
:
gost
name
:
gost
type
:
app
type
:
app
version
:
'
2.11.
1
'
version
:
'
2.11.
2
'
title
:
GO Simple Tunnel
title
:
GO Simple Tunnel
summary
:
A simple security tunnel written in golang
summary
:
A simple security tunnel written in golang
description
:
|
description
:
|
...
@@ -12,7 +12,7 @@ license: MIT
...
@@ -12,7 +12,7 @@ license: MIT
parts
:
parts
:
gost
:
gost
:
plugin
:
nil
plugin
:
nil
build-snaps
:
[
go/1.1
3
/stable
]
build-snaps
:
[
go/1.1
8
/stable
]
source
:
https://github.com/ginuerzh/gost.git
source
:
https://github.com/ginuerzh/gost.git
source-subdir
:
cmd/gost
source-subdir
:
cmd/gost
source-type
:
git
source-type
:
git
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment