Jason Lyu
|
391d3d9f89
|
Refactor(pool): use generic buffer/pool (#399)
|
2 months ago |
Jason Lyu
|
fc4c5c4c55
|
Refactor(pool): move to internal (#398)
|
2 months ago |
Jason Lyu
|
bd37a1a4c6
|
Refactor(metadata): replace net.IP with netip.Addr (#396)
|
2 months ago |
Jason Lyu
|
fd98f65994
|
Refactor(tunnel): modularize tunnel pkg (#393)
|
2 months ago |
xjasonlyu
|
3320ba46e4
|
Fix: update tcpip.Address api
|
1 year ago |
LanceLi
|
2d0bd1d219
|
Improve: tunnel/tcp pipe (#219)
Co-authored-by: xjasonlyu <xjasonlyu@gmail.com>
|
2 years ago |
xjasonlyu
|
61a9d26815
|
Minor: UDP unidirectionalPacketStream
|
2 years ago |
xjasonlyu
|
4cc02c822c
|
Minor: improve tunnel/udp
|
2 years ago |
xjasonlyu
|
20499c6432
|
Revert: cli tcp-wait-timeout option
This reverts commit 2c51a65685 .
|
2 years ago |
xjasonlyu
|
ad522ebb35
|
Chore: minor renames
|
2 years ago |
xjasonlyu
|
b809f89411
|
Revert: udp-rlybuf option
As a low-level networking tool, tun2socks should be able to handle UDP packets of all possible sizes. This reverts commit fb9ca95909 .
|
2 years ago |
xjasonlyu
|
89c37dc156
|
Improve: deprecate isIgnorable
All errors should be returned by copyBuffer and handled by higher level functions.
|
2 years ago |
xjasonlyu
|
1b8e063485
|
Fix: log message typo
|
2 years ago |
Solyn
|
2c51a65685
|
Feature: cli tcp-wait-timeout option (#156)
Co-authored-by: xjasonlyu <xjasonlyu@gmail.com>
|
2 years ago |
xjasonlyu
|
fb9ca95909
|
Feature: add udp-rlybuf option
* Default UDP relay buffer size: 16KiB
|
2 years ago |
xjasonlyu
|
1e99f2d580
|
Chore: debug level log
|
2 years ago |
xjasonlyu
|
ce15b1b2c2
|
Improve: with default tracker
|
2 years ago |
xjasonlyu
|
66860d3de8
|
Improve: enhance error handling
|
2 years ago |
xjasonlyu
|
c61d7b5a20
|
Chore: error is ignorable
|
2 years ago |
xjasonlyu
|
c45470650b
|
Chore: reorder imports
|
2 years ago |
xjasonlyu
|
55a8d038d6
|
Improve: ignore tcp errors
|
2 years ago |
xjasonlyu
|
1ecd587857
|
Fix(udp): ignore EOF
|
3 years ago |
xjasonlyu
|
a8e8a2dc4c
|
Fix(tunnel/udp): NAT source verification (#112)
|
3 years ago |
xjasonlyu
|
f2cfa15945
|
Chore(tunnel): minify log message
|
3 years ago |
xjasonlyu
|
764657d657
|
Chore: ignore io timeout
|
3 years ago |
xjasonlyu
|
102b46e9f6
|
Refactor(tunnel): udp packet relay
|
3 years ago |
xjasonlyu
|
ab728bd8cc
|
Chore(tunnel): log tcp error
|
3 years ago |
xjasonlyu
|
9797cb31c0
|
Refactor: return metadata.Addr only
|
3 years ago |
xjasonlyu
|
8f97bda4f5
|
Chore: amend log messages
|
3 years ago |
xjasonlyu
|
31e19a0690
|
Change: udp timeout = time.Duration
|
3 years ago |
xjasonlyu
|
d3fc3abbb7
|
Migration: go 1.18
|
3 years ago |
xjasonlyu
|
5679d15442
|
Fix: nil addr panic (#99)
|
3 years ago |
xjasonlyu
|
dc2794ae1e
|
Improve(statistic): use google/uuid
|
3 years ago |
xjasonlyu
|
6cfbf4d0e6
|
Chore: add TODOs
|
3 years ago |
xjasonlyu
|
edec658cd0
|
Refactor: use core/adapter
|
3 years ago |
xjasonlyu
|
d552de237f
|
Fix: reset timeout in udp tunnel
|
3 years ago |
xjasonlyu
|
6603c1f334
|
Refactor: improve metadata structure
|
3 years ago |
xjasonlyu
|
dd0cde04b4
|
Refactor: optimize UDP module
Symmetric NAT support for now.
|
3 years ago |
xjasonlyu
|
3480680806
|
Chore: chmod -x .go files
|
3 years ago |
xjasonlyu
|
fd000c6617
|
Refactor: standalone metadata module
|
3 years ago |
xjasonlyu
|
1bbb51b332
|
Chore: use automaxprocs
|
3 years ago |
Fan Lin
|
c068fbd626
|
Fix: set major version to v2 (#88)
|
3 years ago |
xjasonlyu
|
ccc35c3c1b
|
Refactor(tunnel): using parseAddr
|
3 years ago |
xjasonlyu
|
3f7fdc1d83
|
Fix: atomic operation panic
This reverts commit 094199656b .
|
4 years ago |
xjasonlyu
|
094199656b
|
Chore: make set operation atomic
|
4 years ago |
xjasonlyu
|
9502706ed9
|
Feature: add an option to set udp timeout
|
4 years ago |
xjasonlyu
|
ec4d98c4bf
|
Fix: reset udp timeout after sending
|
4 years ago |
xjasonlyu
|
43b8dd885d
|
Chore: udp timeout => 60s
|
4 years ago |
xjasonlyu
|
b54d9936f9
|
Chore: unexported globals with _
Use uber’s go style.
|
4 years ago |
xjasonlyu
|
c28690bfc9
|
Fix: deprecate metadata.Valid method
|
4 years ago |