Commit Graph

19 Commits

Author SHA1 Message Date
Mathias Hall-Andersen
a4eff12d7f Improved receive.go
- Fixed configuration listen-port semantics
- Improved receive.go code for updating listen port
- Updated under load detection, how follows the kernel space implementation
- Fixed trie bug accidentally introduced in last commit
- Added interface name to log (format still subject to change)
- Can now configure the logging level using the LOG_LEVEL variable
- Begin porting netsh.sh tests
- A number of smaller changes
2017-08-11 16:18:20 +02:00
Mathias Hall-Andersen
cba1d6585a Number of fixes in response to code review
This version cannot complete a handshake.
The program will panic upon receiving any message on the UDP socket.
2017-08-07 15:25:04 +02:00
Mathias Hall-Andersen
8c34c4cbb3 First set of code review patches 2017-08-04 16:15:53 +02:00
Mathias Hall-Andersen
1fb00e8045 Fixed shadowing bug 2017-07-27 23:51:07 +02:00
Mathias Hall-Andersen
c3d9ae402d Close UDP connection when listen port changes 2017-07-23 16:21:08 +02:00
Mathias Hall-Andersen
2ed9dac3a5 Merge branch 'darwin' 2017-07-23 15:48:23 +02:00
Mathias Hall-Andersen
2a6dd2ed92 Fixed UAPI deadlock 2017-07-21 15:17:43 +02:00
Mathias Hall-Andersen
47f8a3d89a Moved remaining platform dependent UAPI code 2017-07-20 15:06:24 +02:00
Mathias Hall-Andersen
18714fc4a4 Added last_handshake_time fields to UAPI 2017-07-18 15:22:56 +02:00
Mathias Hall-Andersen
c5d7efc246 Fixed deadlock in index.go 2017-07-17 16:16:18 +02:00
Mathias Hall-Andersen
5c1ccbddf0 Added source verification 2017-07-08 09:23:10 +02:00
Mathias Hall-Andersen
ba3e486667 Completed initial version of outbound flow 2017-06-30 14:41:08 +02:00
Mathias Hall-Andersen
7e185db141 Completed get/set configuration
For debugging of "outbound flow"
Mostly, a few things still missing
2017-06-29 14:39:21 +02:00
Mathias Hall-Andersen
1f0976a26c Work on UAPI
Cross-platform API (get operation)
Handshake initiation creation process
Outbound packet flow
Fixes from code-review
2017-06-28 23:45:45 +02:00
Mathias Hall-Andersen
8236f3afa2 Implemented MAC1/2 calculation 2017-06-27 17:33:06 +02:00
Mathias Hall-Andersen
25190e4336 Restructuring of noise impl. 2017-06-24 15:34:44 +02:00
Mathias Hall-Andersen
1868d15914 Beginning work on TUN interface
And outbound routing

I am not entirely convinced the use of net.IP is a good idea,
since the internal representation of net.IP is a byte slice
and all constructor functions in "net" return 16 byte slices
(padded for IPv4), while the use in this project uses 4 byte slices.
Which may be confusing.
2017-06-04 21:48:15 +02:00
Mathias Hall-Andersen
ec3d656beb Inital implementation of trie 2017-06-01 21:31:30 +02:00
Mathias Hall-Andersen
1eebdf88a3 Beginning work on UAPI and routing table 2017-05-30 22:36:49 +02:00