Evsyukov Denis
a2d7aecb6f
fix: improvements in memory consumption ( #100 )
...
* fix: must close the connection after processing
I think it should help to close #80
* feat: migration to github.com/things-go/go-socks5
- preallocate config slices
- not used interfaces in consumer
- do not allocate new variables in loops
* feat: close connection after full processing
* feat: correct process sigint signal
* feat: improve build system
* fix: http proxy
* feat: update golangci-lint-action to v3.7.0
* feat: correct process routines
* fix: close http conn correctly
* feat: update golangci-lint-action to v4
* fix: goreleaser used clean now
2024-02-11 12:45:43 +00:00
guangwu
49f568810c
fix: typo ( #93 )
...
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2024-02-09 10:57:11 +00:00
dependabot[bot]
af973227e9
Bump golang.org/x/crypto from 0.14.0 to 0.17.0 ( #98 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 11:33:21 +08:00
Jonah Brüchert
0f4d79dea8
Fix build on go 1.21 by updating wireguard-go ( #91 )
2023-10-18 03:21:11 +01:00
Johan
d1a455e87d
Remove interface address subnet length check ( #86 )
...
Resolves #82
2023-08-17 23:10:38 +01:00
François Guerraz
5f76f777d5
Use io.Copy instead of io.CopyBuffer ( #85 )
2023-08-17 22:40:19 +01:00
Jonah Brüchert
d2f7768c51
Update dependencies ( #79 )
...
* Update dependencies
gvisor was not updated to the latest version, because it did not
compile.
* actions: Update go version to 1.20
* docker: Update go version to 1.20
2023-08-17 11:42:52 +01:00
villepeh
05c8493981
Provide an example systemd service file ( #77 )
...
* Create README.md
* Create wireproxy.service
* Update README.md
2023-07-15 20:39:33 +01:00
Jonah Brüchert
31e6afd75d
Allow to use wireproxy as endpoint ( #74 )
...
This is useful for running wireguard endpoints in unprivileged
containers.
2023-07-15 20:39:24 +01:00
François Guerraz
aa207764b2
Implement STDIOTunnel ( #70 )
2023-06-14 03:17:32 +01:00
Mike Dacre
edf63253df
Update README with Firefox VPN tabs instructions ( #73 )
...
* Update README with Firefox VPN tabs instructions
* move instructions to another file
---------
Co-authored-by: octeep <github@bandersnatch.anonaddy.com>
2023-06-14 03:04:06 +01:00
pufferfish
b0a405a075
Update wireproxy.yml
2023-05-22 18:05:32 +01:00
Wayback Archiver
25e6568f4d
Add support for http proxy ( #68 )
...
* Add support for http proxy
* add test case for http proxy
---------
Co-authored-by: octeep <github@bandersnatch.anonaddy.com>
Co-authored-by: pufferfish <74378430+pufferffish@users.noreply.github.com>
2023-05-22 17:47:33 +01:00
pufferfish
d9c6eb7143
add test CI ( #69 )
2023-05-22 17:03:27 +01:00
Wayback Archiver
30d2697f03
Add silent flag to reduce output ( #67 )
2023-05-20 23:47:19 +01:00
Wayback Archiver
6fcd53d2a0
Fix tag describe in makefile ( #65 )
...
* Fix tag describe in makefile
* Use build directive from makefile
2023-05-09 16:11:37 +01:00
octeep
d898e7a931
Merge pull request #60 from octeep/dependabot/go_modules/golang.org/x/net-0.7.0
...
Bump golang.org/x/net from 0.0.0-20220225172249-27dd8689420f to 0.7.0
2023-02-25 19:30:25 +00:00
dependabot[bot]
2c327f6f76
Bump golang.org/x/net from 0.0.0-20220225172249-27dd8689420f to 0.7.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.0.0-20220225172249-27dd8689420f to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/commits/v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-25 19:10:00 +00:00
octeep
9afc0f75ff
Merge pull request #59 from octeep/dependabot/go_modules/golang.org/x/sys-0.1.0
...
Bump golang.org/x/sys from 0.0.0-20220315194320-039c03cc5b86 to 0.1.0
2023-02-25 19:09:32 +00:00
dependabot[bot]
d5ec898e57
Bump golang.org/x/sys from 0.0.0-20220315194320-039c03cc5b86 to 0.1.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.0.0-20220315194320-039c03cc5b86 to 0.1.0.
- [Release notes](https://github.com/golang/sys/releases )
- [Commits](https://github.com/golang/sys/commits/v0.1.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-25 11:41:30 +00:00
Wind Wong
62f53faa35
Merge pull request #53 from 0ff/feature/allow-embedding
...
make VirtualTun fields public
2023-01-05 09:56:21 +08:00
Wind Wong
ae453954ea
Update LICENSE
2022-12-31 10:17:01 +00:00
Fabian Off
b18b709f84
make VirtualTun fields public
2022-12-23 14:32:36 +01:00
octeep
2d53f675af
add Makefile
2022-09-01 19:06:20 +08:00
octeep
41f2d96f04
support go 1.19
2022-09-01 10:53:10 +08:00
octeep
9a1616cb25
bump version to 1.0.4
2022-08-23 22:04:36 +08:00
octeep
f2c20380a1
add print version flag
2022-08-23 21:43:30 +08:00
octeep
275c628654
Merge pull request #45 from jordemort/distroless-docker
...
Redo Dockerfile
2022-08-23 19:51:12 +08:00
octeep
c230b33f47
Do not push to registry on PRs
2022-08-23 19:40:09 +08:00
octeep
3114c9f8c7
Revert "Try publishing to Docker Hub instead"
...
This reverts commit b2546b3219
.
2022-08-23 19:37:37 +08:00
Jordan Webb
59e69fbd63
Try publishing to Docker Hub instead
2022-08-21 23:04:34 -05:00
Jordan Webb
ca54648617
Try moving permissions key to top-level
2022-08-21 09:18:14 -05:00
Jordan Webb
03cc7c81f1
Try giving the workflow packages: write
2022-08-21 09:03:58 -05:00
octeep
5049337e3a
Update README.md
2022-08-21 11:09:30 +08:00
octeep
ca4631eaa0
Merge pull request #47 from jordemort/multiple-peers
...
Allow multiple peers, tunnels, and proxies
2022-08-21 11:04:52 +08:00
octeep
b3a58725de
update wireguard dependency and fix linter
2022-08-21 10:56:10 +08:00
Jordan Webb
0affd64fc8
Add metadata to image
2022-08-20 20:04:48 -05:00
Jordan Webb
aef9da0bdf
Allow multiple peers, tunnels, and proxies
2022-08-20 19:11:40 -05:00
Jordan Webb
11ed078257
Add workflow to build container
2022-08-20 09:56:08 -05:00
Jordan Webb
35071b55fc
Redo Dockerfile
...
- Build the currently checked-out code, instead of cloning the repo
inside the Dockerfile. This makes it much easier to build a container
for a particular branch or commit; people working on personal forks
will be able to build containers for their forks without modifying the
Dockerfile.
- Switch from Alpine to distroless; I couldn't actually get the current
version of the Dockerfile to build, it kept dying with some error about
gvisor. Aside from building with no trouble, the new Dockerfile reduces
the size of the image from 23MB to 9MB.
- Move Dockerfile into the root; this is a matter of taste, but allows
one to simply `docker build` the directory instead of having to also
specify the path to the Dockerfile. As part of this, I removed the
`config` and `Makefile` from the `docker` directory, since they seemed
specific to someone's setup and incomplete without that context.
2022-08-20 09:55:55 -05:00
octeep
e686381fa9
update go version to 1.18
2022-05-20 12:25:48 +01:00
octeep
cafcdcd566
Update wireproxy.yml
2022-04-05 07:32:38 +01:00
octeep
6a66de7ef9
resolve host for every new connection in static tunnels
2022-04-04 20:45:28 +01:00
octeep
e068771c9b
fix misspellings in CI
2022-04-04 06:02:47 +01:00
octeep
bac5ba9284
Merge remote-tracking branch 'refs/remotes/origin/master'
2022-04-04 06:02:15 +01:00
octeep
7704fa76b9
OpenBSD unveil to prevent -d from executing other binaries
2022-04-04 06:00:38 +01:00
octeep
12f2e532cc
Update wireproxy.yml
2022-04-03 19:55:16 +01:00
octeep
666b575104
Merge remote-tracking branch 'refs/remotes/origin/master'
2022-04-03 19:42:29 +01:00
octeep
da4990df06
replace log.Panic with log.Fatal
2022-04-03 19:42:19 +01:00
octeep
fded2e2506
Add IPv6 support
2022-04-03 19:35:08 +01:00