105 Commits
Author SHA1 Message Date
b65d23180c Feature: set open FD offset for iOS (#418)
Co-authored-by: Jason Lyu <xjasonlyu@gmail.com>
2024-10-13 03:51:27 +08:00
Jason LyuandGitHub 1f09b4d42d Refactor(core): replace net.IP with netip.Addr (#395) 2024-08-31 12:00:38 +08:00
Jason LyuandGitHub dd791e50c1 Feature: bump gVisor to latest version (#376) 2024-07-20 11:31:44 +08:00
Jason LyuandGitHub 60a63db500 Chore: bump dependency (#354)
* gVisor: `v0.0.0-20240215211334-a66ecfdd829a` => `v0.0.0-20240405191320-0878b34101b5`
2024-04-07 02:33:43 +08:00
Nicolai MooreandGitHub a49ce339b7 Fix: call SetSendBufferSize when setting send buffer size option (#336) 2024-02-07 10:18:53 +08:00
Jason LyuandGitHub 01d4ac4864 Chore: update go mods (#331) 2024-01-28 07:10:26 +08:00
Jason LyuandGitHub f448baa2ae Chore: use errors.ErrUnsupported (#294) 2023-09-05 01:51:03 +08:00
90f77548ed Feature: add support for multicast (#245)
* add support for multicast (#243)

* adjust setup

---------

Co-authored-by: xjasonlyu <xjasonlyu@gmail.com>
2023-08-28 03:40:49 +08:00
yushengandGitHub 8309fddef3 Feature: fdbased open fd with offset (#272) 2023-06-30 13:18:53 +08:00
xjasonlyu 7ab86fd9b0 Chore: use renamed buffer pkg 2023-06-05 14:54:58 +08:00
xjasonlyu 673a942fb3 Improve: set mtu with unix ioctl 2023-05-30 17:40:46 +08:00
xjasonlyu 44ad654d72 Fix: revert to classic TUN creation (#254) 2023-05-30 17:40:45 +08:00
xjasonlyu 46c04db29f Fix: tun issue with virtio_net_hdr (#254) 2023-05-26 16:23:01 +08:00
xjasonlyu 860cf31256 Fix: relocate unused const 2023-05-20 14:37:02 +08:00
Jason LyuandGitHub 8da083b28e Chore: nolint in tun_wireguard_unix.go (#253) 2023-05-15 15:05:46 +08:00
xjasonlyu 3b343600e7 Chore: core loglevel to debug 2023-03-29 23:19:08 +08:00
xjasonlyu 7327f2c784 Improve: with gvisor internal log 2023-03-27 13:21:10 +08:00
xjasonlyu 680feede3b Improve: add tun io lock 2023-03-26 22:56:01 +08:00
xjasonlyu f7b4f75ed4 Fix: align with wireguard io 2023-03-26 22:10:21 +08:00
xjasonlyu 7fce6e9544 Fix: PacketBufferPtr.IsNil 2022-10-14 22:54:12 +08:00
xjasonlyu ccfb3a47f6 Fix: make build work
This commit may be reverted if gVisor updates its fdbased pkg.
2022-09-25 16:31:15 +08:00
xjasonlyu 82546cd2c5 Chore: with unix build constraint 2022-09-25 15:49:39 +08:00
xjasonlyu c45470650b Chore: reorder imports 2022-08-07 00:25:59 +08:00
xjasonlyu cb6408a17a Fix: update to bufferv2 2022-08-07 00:05:11 +08:00
xjasonlyu e31ffce0e6 Fix: adjust endpoint change 2022-07-15 20:59:37 +08:00
xjasonlyu d65d3b08d0 Change: use default tcp buffer size 2022-04-06 15:48:51 +08:00
xjasonlyu 23a6e28768 Chore(core): format request ID 2022-04-05 23:40:57 +08:00
xjasonlyu 4aea88c36e Chore(core): print TransportEndpointID 2022-04-04 22:32:50 +08:00
xjasonlyu 2e758d1960 Chore(core/tcp): add a comment 2022-04-04 17:06:06 +08:00
xjasonlyu 551e2c345c Feature: cli tcp options 2022-04-01 23:40:17 +08:00
xjasonlyu dc2c555865 Fix: correctly apply recv buffer size 2022-04-01 22:34:44 +08:00
xjasonlyu 81c2d6963b Chore: reorder const and func 2022-04-01 22:26:05 +08:00
xjasonlyu 9f239d146b Chore: separate send/recv buffer 2022-04-01 21:48:17 +08:00
xjasonlyu 3c326c01ed Change: disable tcp recv buffer auto-tuning by default 2022-04-01 21:11:33 +08:00
xjasonlyu 21eb99a37e Fix: should apply default option firstly 2022-04-01 14:28:12 +08:00
xjasonlyu e0b0a1e94b Chore(core): amend message 2022-03-31 23:56:06 +08:00
xjasonlyu 096117dda1 Chore: minor declaration 2022-03-31 23:12:11 +08:00
xjasonlyu 21232703af Chore(core): use config.PrintFunc 2022-03-31 17:48:52 +08:00
xjasonlyu 8d3f8d7631 Fix: potential panic on windows (#110)
This is only a temporary solution.
2022-03-31 15:11:34 +08:00
xjasonlyu b5f61c0999 Fix(core): race cond when init 2022-03-31 00:04:12 +08:00
xjasonlyu 3999c5d66b Refactor(core): with error callback 2022-03-29 17:19:54 +08:00
xjasonlyu 0a9f7f123c Chore: use tcpip.Error 2022-03-29 16:18:52 +08:00
xjasonlyu ba7a7ddc95 Chore(core/adapter): rename to TransportHandler 2022-03-29 15:26:00 +08:00
xjasonlyu 42d6c96b6b Fix: wrong wait logic 2022-03-29 13:39:18 +08:00
xjasonlyu 9d7dacbea1 Chore(core/device): tun constants 2022-03-29 13:39:18 +08:00
xjasonlyu 0e8b16f9a1 Fix: decrease packet reference (#106)
ref: https://github.com/google/gvisor/commit/f375784d83852b1e3ff20cc9de0648b3c0cf8525
2022-03-29 13:39:18 +08:00
xjasonlyu c2af4c0c7c Fix: wait for device to close 2022-03-29 13:39:18 +08:00
xjasonlyu ba0a4acbda Refactor: core.CreateStackWithOptions 2022-03-29 13:39:18 +08:00
xjasonlyu c68dd0771e Chore: make tcpKeepaliveCount explicit 2022-02-13 14:57:31 +08:00
xjasonlyu 5679d15442 Fix: nil addr panic (#99) 2022-02-12 21:16:43 +08:00