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
Song Gao
54d5d58fac
Merge pull request #36 from pquerna/pq/fix_build_flags
...
Fix build flags for test file
2018-02-21 11:02:04 -08:00
Paul Querna
fff2511682
Fix build flags for test file
2018-02-21 18:15:03 +00:00
Song Gao
dc106b4195
Merge pull request #29 from yinheli/patch-1
...
fix for mips compile
2017-09-27 11:52:53 -07:00
Song Gao
da407cd8ff
Merge branch 'master' into patch-1
2017-09-27 11:52:14 -07:00
yinheli
b1ef928105
update contributors
2017-09-22 15:32:42 +08:00
yinheli
affaa7322a
use uintptr instand of uint
...
thanks @songgao
2017-09-19 15:55:00 +08:00
Song Gao
352f2426f8
Merge pull request #30 from ajeecai/master
...
fix a bug where TUN flag was used for TAP interface
2017-09-01 08:43:10 -07:00
ajee cai
5b955608a1
Update CONTRIBUTORS
2017-09-01 11:29:48 +08:00
ajee cai
56d7fa05b1
TAP interface doesn't work as expected
...
The flags should be set to TAP instead of TUN, then resolve my issue at https://github.com/songgao/water/issues/28 .
2017-08-31 23:45:14 +08:00
yinheli
deffbe3fa6
fix for mips compile
...
issue detail : https://github.com/golang/go/issues/21596
const is untyped int
2017-08-28 16:29:47 +08:00
Song Gao
6b639456fc
Merge pull request #27 from tonyluj/Multiqueue
...
Add flags cIFF_MULTI_QUEUE
2017-08-24 08:38:48 -07:00
Tony Lu
1f021c893b
Add Tony Lu to CONTRIBUTORS
...
Signed-off-by: Tony Lu <tonyluj@gmail.com >
2017-08-24 02:46:40 +08:00
Tony Lu
21ef3573b9
Add comment about MultiQueue
...
Signed-off-by: Tony Lu <tonyluj@gmail.com >
2017-08-24 02:45:01 +08:00
Tony Lu
9effada2e6
Use |=, instead of repeating flags
...
Signed-off-by: Tony Lu <tonyluj@gmail.com >
2017-08-24 00:18:25 +08:00
Tony Lu
c14726aabc
Add flags cIFF_MULTI_QUEUE
...
Signed-off-by: Tony Lu <tonyluj@gmail.com >
2017-08-22 01:08:43 +08:00