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
Song Gao
99d07fc117
Merge pull request #25 from ArroyoNetworks/reattach
...
linux: Support for Persistent Devices and Setting Owner/Group
2017-05-24 09:52:02 -07:00
Matthew Ellison
937f6ba955
linux: Refactors Owner/Group to DevicePermissions
2017-05-23 15:00:10 -04:00
Matthew Ellison
15d1b3ddbb
linux: Re-adds NewTAP/NewTUN Functions
2017-05-23 14:59:22 -04:00
Matthew Ellison
771a72e2ea
Adds Arroyo Networks to Contributors File
2017-05-23 14:13:55 -04:00
Matthew Ellison
6a94337a59
Additional Cleanup (DRY)
2017-05-23 10:01:22 -04:00
Matthew Ellison
f9df1e79f2
Gofmt Cleanup
2017-05-23 09:43:05 -04:00
Matthew Ellison
3c9a2e9525
Updates to README with macOS Caveats
2017-05-23 09:06:42 -04:00
Matthew Ellison
497d14e427
linux: Rewords Documentation for Owner/Group Param
2017-05-23 09:06:42 -04:00
Matthew Ellison
c59a2fb87d
Removes Redundant Type Conversion
2017-05-23 09:06:42 -04:00