fumiama
da391938d6
fix err judge
2021-12-31 21:40:27 +08:00
fumiama
69e328bbf2
fix err judge
2021-12-31 21:36:26 +08:00
fumiama
660c289238
fix err judge
2021-12-31 21:30:42 +08:00
fumiama
2f9b072abd
add lock
2021-12-31 17:47:34 +08:00
fumiama
8a0b0fd8ed
add lock
2021-12-31 17:44:22 +08:00
fumiama
0c176c6cfb
add lock
2021-12-31 17:41:48 +08:00
fumiama
80ce193460
use wg wintun op
2021-12-31 17:37:04 +08:00
fumiama
6d316045a9
rm lock
2021-12-31 17:21:56 +08:00
fumiama
38601da6d1
add ipv4 total len in wu
2021-12-31 00:04:39 +08:00
fumiama
3d68512108
fix no copying packet in write
2021-12-30 13:14:37 +08:00
fumiama
82646596a4
fix if name
2021-12-29 23:53:41 +08:00
fumiama
ed08eb9b35
fix cid err
2021-12-29 23:50:16 +08:00
fumiama
aca20df16f
fix if name
2021-12-29 23:37:04 +08:00
fumiama
4158c133a4
fix if error
2021-12-29 23:31:25 +08:00
fumiama
c7837c1769
fix wintun panic
2021-12-29 23:29:36 +08:00
fumiama
ea1778e8a8
change wintun log
2021-12-29 23:24:20 +08:00
fumiama
67ffd8a6cc
add retry handler
2021-12-29 23:11:11 +08:00
fumiama
f6779d7a58
fix some io error
2021-12-29 23:01:50 +08:00
fumiama
2e6a6e7c87
fix: Failed to register rings: 参数错误
2021-12-29 22:36:18 +08:00
fumiama
29e50756f7
fix: Failed to register rings: 参数错误
2021-12-29 22:04:09 +08:00
fumiama
a18737bcce
fix nil adapter
2021-12-29 22:00:44 +08:00
fumiama
90abaa32e4
fix nil if name
2021-12-29 21:53:30 +08:00
fumiama
67285c9b67
add wintun support
2021-12-29 21:48:28 +08:00
fumiama
5b6a70c00f
add mod
2021-12-29 20:59:42 +08:00
eycorsican
2b4b6d7c09
macOS: Allow to specify a name for the TUN interface ( #79 )
...
* macOS: Allow to specify a name for the TUN interface
* Update syscalls_darwin.go
Co-Authored-By: Song Gao <song@gao.io >
* Add missing imports
* Update syscalls_darwin.go
Co-authored-by: Song Gao <song@gao.io >
2020-03-17 13:31:38 -07:00
Neil Alexander
fd331bda3f
Windows: don't trip over empty HardwareAddr when enumerating interfaces (this happens sometimes when miniport/VPN adapters are active on the system)
2019-07-25 10:31:03 -07:00
Neil Alexander
acc9cc2bfa
Fix Windows interface selection by name as changed in #59
2019-07-25 10:30:48 -07:00
Song Gao
8567d15277
Update CONTRIBUTORS
2019-06-22 19:19:29 -07:00
Yifan Gu
2ed58ad390
addressing comments
2019-06-22 19:13:33 -07:00
Yifan Gu
aa5a321f82
osxtuntap support
2019-06-22 19:13:33 -07:00
Song Gao
6ad6edefb1
test cleanup
2019-04-01 19:05:55 -07:00
Song Gao
3fe638a7bf
use blocking mode pre-go1.11
2019-04-01 19:05:55 -07:00
Song Gao
240a3d7b51
tear down device at end of test
2019-04-01 19:05:55 -07:00
Song Gao
af2921498b
add test that fails on go1.10.*
2019-04-01 19:05:55 -07:00
Dmitry Shihovtsev
f7eb3ca99f
Added description for specifying an interface name for Windows
2019-03-29 20:44:29 -07:00
Dmitry Shihovtsev
d689e71bf7
Styling fixes for Windows device selection support
2019-03-29 20:44:29 -07:00
Dmitry Shihovtsev
86871951e7
Add support for Windows to allow selecting between multiple tap0901 adapters on the same system
...
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com >
2019-03-29 20:44:29 -07:00
Song Gao
f6122f5b2f
add .travis.yml
2019-01-12 14:53:32 -08:00
Song Gao
ed5454b50a
cleanup
2019-01-12 14:53:32 -08:00
Song Gao
2ee3b4ef0b
review feedback from Gnouc
2019-01-12 14:07:38 -08:00
Song Gao
4210fb1286
add Gnouc into CONTRIBUTORS
2019-01-12 14:07:38 -08:00
Song Gao
a1eaabc056
fix darwin tests
2019-01-12 14:07:38 -08:00
Song Gao
686e3943e7
use non-blocking on darwin so file is pollable
2019-01-12 14:07:38 -08:00
Song Gao
5d0ec8c62b
use syscall.Open with O_NONBLOCK flag and os.NewFile after ioctls
...
so that the file is pollable.
2019-01-12 14:07:38 -08:00
Song Gao
ab2cda57af
fix test and revert non-test changes
2019-01-12 14:07:38 -08:00
LE Manh Cuong
4d58427608
Linux set interface underlying fd to non-blocking
2019-01-12 14:07:38 -08:00
Song Gao
8c63d7a3c7
styling changes
2019-01-06 14:05:54 -08:00
Song Gao
bf1a5d0277
populate default PlatformSpecificParams when it's empty ( #43 )
2018-04-20 14:47:39 +08:00
Song Gao
8bbc3c8191
fix darwin test build
2018-03-01 14:23:49 -08:00
Song Gao
75f112d19d
add pquerna to CONTRIBUTORS
2018-02-21 11:03:35 -08:00