6462 Commits
Author SHA1 Message Date
Shelikhoo f67e46cb1b Update version to 5.11.0 v5.11.0 2023-11-03 11:46:43 +00:00
Huang-Huang BaoandXiaokang Wang (Shelikhoo) 42c50d25e1 fix: set TTL for incoming UDP IP packets from TUN with PacketAddr dispatcher
Fixes UDP packets being dropped in non-local routing path(e.g. forwarding to LAN or container veth) due to 0-TTL.
2023-11-01 12:58:10 +00:00
AkinoKaedeandXiaokang Wang (Shelikhoo) c0a0ce29e3 feat: add sniffing for tun 2023-11-01 12:57:57 +00:00
dependabot[bot]andXiaokang Wang (Shelikhoo) 5ac91da18b Chore: bump github.com/quic-go/quic-go from 0.39.3 to 0.40.0
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.39.3 to 0.40.0.
- [Release notes](https://github.com/quic-go/quic-go/releases)
- [Changelog](https://github.com/quic-go/quic-go/blob/master/Changelog.md)
- [Commits](https://github.com/quic-go/quic-go/compare/v0.39.3...v0.40.0)

---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 12:57:28 +00:00
Shelikhoo f8d27415bc update version to v5.10.1 v5.10.1 2023-10-28 03:46:12 +01:00
Shelikhoo 6cb780fea5 fix nil pointer deref at http upgrade transport hub 2023-10-28 03:45:39 +01:00
Shelikhoo bf7684c790 update version to v5.10.0 v5.10.0 2023-10-27 15:47:29 +01:00
dependabot[bot]andXiaokang Wang (Shelikhoo) 7f2956f1db Chore: bump github.com/quic-go/quic-go from 0.39.0 to 0.39.3
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.39.0 to 0.39.3.
- [Release notes](https://github.com/quic-go/quic-go/releases)
- [Changelog](https://github.com/quic-go/quic-go/blob/master/Changelog.md)
- [Commits](https://github.com/quic-go/quic-go/compare/v0.39.0...v0.39.3)

---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-27 15:45:42 +01:00
Shelikhoo 1eefcd31f7 add httpupgrade transport 2023-10-27 13:09:58 +01:00
Shelikhoo cb84b28de4 Update generated protobuf files to v1.31.0 2023-10-24 19:50:30 +01:00
pathCandXiaokang Wang (Shelikhoo) 1ef0ee170d Chore: support the new versioning scheme of Protobuf
Protobuf has changed their versioning scheme to language-specific one. For Golang, the first version applied the scheme would be 4.21.0 which followed the preceding version,3.20.1. Basically the major part is language-specific and no longer important.
Check more:
https://protobuf.dev/news/2022-05-06/
https://github.com/protocolbuffers/protobuf/issues/11440
https://github.com/protocolbuffers/protobuf/issues/11123
2023-10-24 19:47:14 +01:00
Shelikhoo be8e8accb8 update version to v5.9.0 v5.9.0 2023-10-24 17:58:17 +01:00
dependabot[bot]andXiaokang Wang (Shelikhoo) fd0b98700a Chore: bump github.com/google/gopacket from 1.1.17 to 1.1.19
Bumps [github.com/google/gopacket](https://github.com/google/gopacket) from 1.1.17 to 1.1.19.
- [Commits](https://github.com/google/gopacket/compare/v1.1.17...v1.1.19)

---
updated-dependencies:
- dependency-name: github.com/google/gopacket
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-24 16:28:01 +01:00
dependabot[bot]andXiaokang Wang (Shelikhoo) 6eb7e46c95 Chore: bump github.com/google/go-cmp from 0.5.9 to 0.6.0
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.9 to 0.6.0.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.9...v0.6.0)

---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-24 16:26:44 +01:00
dyhkwongandXiaokang Wang (Shelikhoo) 761422c28d fix http2 chain proxy 2023-10-24 16:23:15 +01:00
dependabot[bot]andXiaokang Wang (Shelikhoo) abf03a2df9 Chore: bump github.com/go-chi/chi/v5 from 5.0.8 to 5.0.10
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from 5.0.8 to 5.0.10.
- [Release notes](https://github.com/go-chi/chi/releases)
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-chi/chi/compare/v5.0.8...v5.0.10)

---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 20:55:44 +01:00
dependabot[bot]andXiaokang Wang (Shelikhoo) 477dcc434c Chore: bump github.com/go-chi/render from 1.0.2 to 1.0.3
Bumps [github.com/go-chi/render](https://github.com/go-chi/render) from 1.0.2 to 1.0.3.
- [Commits](https://github.com/go-chi/render/compare/v1.0.2...v1.0.3)

---
updated-dependencies:
- dependency-name: github.com/go-chi/render
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 20:45:28 +01:00
dependabot[bot]andXiaokang Wang (Shelikhoo) 87492f73b8 Chore: bump github.com/jhump/protoreflect from 1.15.1 to 1.15.3
Bumps [github.com/jhump/protoreflect](https://github.com/jhump/protoreflect) from 1.15.1 to 1.15.3.
- [Release notes](https://github.com/jhump/protoreflect/releases)
- [Commits](https://github.com/jhump/protoreflect/compare/v1.15.1...v1.15.3)

---
updated-dependencies:
- dependency-name: github.com/jhump/protoreflect
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 20:43:55 +01:00
dependabot[bot]andXiaokang Wang (Shelikhoo) b364923acf Chore: bump github.com/go-playground/validator/v10
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.14.1 to 10.15.5.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.14.1...v10.15.5)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 20:43:21 +01:00
dependabot[bot]andXiaokang Wang (Shelikhoo) 4444a02e90 Chore: bump google.golang.org/grpc from 1.57.0 to 1.59.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.57.0 to 1.59.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.57.0...v1.59.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 20:41:47 +01:00
dependabot[bot]andXiaokang Wang (Shelikhoo) 6d84436f70 Chore: bump github.com/miekg/dns from 1.1.54 to 1.1.56
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.54 to 1.1.56.
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release)
- [Commits](https://github.com/miekg/dns/compare/v1.1.54...v1.1.56)

---
updated-dependencies:
- dependency-name: github.com/miekg/dns
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 20:40:33 +01:00
alloandXiaokang Wang (Shelikhoo) edff5c8e2d refactor: using callback instead of defer function 2023-10-23 20:38:07 +01:00
AlloandXiaokang Wang (Shelikhoo) 6593b88837 refactor: move unix domain socket filelocker to internal 2023-10-23 20:38:07 +01:00
AlloandXiaokang Wang (Shelikhoo) 79164496d0 feat(transport): allow to set permission for unix domain socket 2023-10-23 20:38:07 +01:00
OurebiKitsuandXiaokang Wang (Shelikhoo) b0919678b3 fix: improve error messages when parsing config in jsonv5 2023-10-23 20:29:30 +01:00
pathCandShelikhoo 21b7a0046b feat: use security engine in h2 transport
This will enable uTLS support for h2 transport.
2023-10-23 20:26:09 +01:00
pathCandShelikhoo a98f468ac4 feat: add h2 as a stream protocol for jsonv5 2023-10-23 20:26:09 +01:00
Shelikhoo 0ca849637d fix tun app lints 2023-10-23 01:47:08 +01:00
Shelikhoo e87af12bf8 fix crash when tun app has no socket option 2023-10-23 01:39:19 +01:00
Shelikhoo 263fbf5765 fix domain socket abstract name and add jsonv5 support 2023-10-23 01:13:01 +01:00
Shelikhoo efdc05f04c Add fullcone packet filtering to tun app 2023-10-23 01:13:01 +01:00
AkinoKaedeandShelikhoo 89ff606655 feat: socket options 2023-10-22 22:44:43 +01:00
AkinoKaedeandShelikhoo 7a42380599 feat: add error log for create endpoint 2023-10-22 22:44:35 +01:00
AkinoKaedeandShelikhoo 98463db088 feat: remove packetaddr support because gVisor not support cone-nat 2023-10-22 22:44:35 +01:00
AkinoKaedeandShelikhoo c439a12d06 feat: use goroutines to process connections 2023-10-22 22:44:35 +01:00
AkinoKaedeandShelikhoo 0a090a073b feat: refine handle logic 2023-10-22 22:44:35 +01:00
AkinoKaedeandShelikhoo 5f6031b1e8 chore: refine code struct 2023-10-22 22:44:35 +01:00
AkinoKaedeandShelikhoo c324d3af70 style: refine code style 2023-10-22 22:44:35 +01:00
AkinoKaedeandShelikhoo d1c3007d30 style: remove unused code and comments 2023-10-22 22:44:34 +01:00
AkinoKaedeandShelikhoo 4b5f788b2f fix: wrong source and destination 2023-10-22 22:44:34 +01:00
AkinoKaedeandShelikhoo 54b605ba4c fix: handler logic 2023-10-22 22:44:34 +01:00
AkinoKaedeandShelikhoo 2617a4c332 fix: cannot start tun 2023-10-22 22:44:34 +01:00
AkinoKaedeandShelikhoo c6c1cdbb4f feat: add tun to all distro 2023-10-22 22:44:28 +01:00
AkinoKaedeandShelikhoo f9ea8609cc feat: set route config 2023-10-22 22:44:28 +01:00
AkinoKaedeandShelikhoo 04104ad13d feat: add promiscuous mode and spoofing config 2023-10-22 22:44:28 +01:00
AkinoKaedeandShelikhoo a1c5a6bc41 feat: add address to NIC 2023-10-22 22:44:28 +01:00
AkinoKaedeandShelikhoo 5fafc29771 fix: inbound context 2023-10-22 22:44:28 +01:00
AkinoKaedeandShelikhoo e2d2676dfc feat: set MTU for gVisor tun 2023-10-22 22:44:28 +01:00
AkinoKaedeandShelikhoo f39b046e03 style: refine code style 2023-10-22 22:44:28 +01:00
AkinoKaedeandShelikhoo 1cb3ab7f84 feat: add udp handler 2023-10-22 22:44:28 +01:00