Commit Graph

24 Commits

Author SHA1 Message Date
Kelvin Sherlock
eabcc72005 missing linux headers. 2019-03-25 16:34:31 -04:00
Kelvin Sherlock
76918b362d missing include 2019-03-04 22:18:27 -05:00
Kelvin Sherlock
5e852773ca os x - setuid helper utility to connect to the bridge interface. 2019-01-08 18:41:55 -05:00
Kelvin Sherlock
4a5d6effd5 to work around vmnet root/entitlement restrictions, add a stand-alone helper utility than can be setuid root.
vmnet_helper creates a vmnet connection then communicates back to GS+ via pipes to stdin/stdout and a simple binary messaging protocol.
2019-01-06 22:58:41 -05:00
Kelvin Sherlock
f0bd88195b bsd tuntap documentation. 2019-01-02 21:49:38 -05:00
Kelvin Sherlock
b353a7ff22 cleanup headers a bit 2019-01-02 19:53:34 -05:00
Kelvin Sherlock
4923efb5fc cleanup to build under msys2/mingw64 2019-01-02 18:45:14 -05:00
Kelvin Sherlock
fae38450e9 tap cleanup, more *BSD support. 2018-12-31 20:49:39 -05:00
Kelvin Sherlock
aaeda41baf unix mtu/mac code for pcap. 2018-12-31 20:49:07 -05:00
Kelvin Sherlock
4af3cf0761 untested win32 mac code. 2018-12-31 20:48:34 -05:00
Kelvin Sherlock
04314d7bb0 dead code, no longer needed as of Uthernet Link Layer 1.0.2 2018-12-31 20:48:07 -05:00
Kelvin Sherlock
41b01509ad rawnet - replace ugly transmit/receive functions with read/write. 2018-12-30 15:53:54 -05:00
Kelvin Sherlock
5884e751bc rawnet - close pcap if not an ethernet device. 2018-12-30 15:51:53 -05:00
Kelvin Sherlock
c4796f77ec rawnet - add rawnet_status() call to check if interface is open. 2018-12-30 15:50:41 -05:00
Kelvin Sherlock
324c9a191f win32 - support for npcap which is a successor to winpcap. winpcap is still supported. 2018-12-30 15:49:29 -05:00
Kelvin Sherlock
0b03aad15d tap/tun interface (alpha!) 2018-12-29 15:04:14 -05:00
Kelvin Sherlock
c34b0a4c02 vmnet - allocate one buffer and use it. 2018-12-26 22:51:04 -05:00
Kelvin Sherlock
b98635aaf1 darwin rawnet - since the MAC address can't change, switch it with Uthernet's mac address. Unfortunately, dhcp requests include a mac address, so it also has to be swapped in the DHCP message. 2018-12-18 19:23:57 -05:00
Kelvin Sherlock
9370ed8604 rawnet - add functions to get mac and mtu, if known. 2018-12-18 19:21:20 -05:00
Kelvin Sherlock
f550249382 tweak rawnet_hexdump 2018-12-18 19:20:11 -05:00
Kelvin Sherlock
12c8f215ba darwin vmnet tweaks. 2018-12-14 20:35:50 -05:00
Kelvin Sherlock
a8c23a4c2a rawnet - fix logging, add hexdump. 2018-12-14 20:35:23 -05:00
Kelvin Sherlock
1b1983b64a rawnet - add link libraries, debugging defines. 2018-12-14 20:35:04 -05:00
Kelvin Sherlock
698678f508 rawnet
vice cleaned up TFE and called it RAWNET.  Slightly better code separation.
I removed libnet stuff in the unix version and added a darwin version that uses the vmnet framework.
2018-12-13 23:20:04 -05:00