Matthias Radestock
|
99525ebf85
|
refactor: LocalConnection.CheckFatal be gone!
use Shutdown instead, which is in the Connection interface, thus
further reducing dependency on LocalConnection.
|
2015-01-21 21:23:59 +00:00 |
|
Matthias Radestock
|
ac95d5ab29
|
rename and lift ProtocolMsg into API
|
2015-01-20 23:23:59 +00:00 |
|
Matthias Radestock
|
d089900632
|
fix crypto
|
2015-01-20 23:22:44 +00:00 |
|
Matthias Radestock
|
1181a0cb33
|
better APIs for sending protocol messages
no longer tagging requiring the caller to construct them
|
2015-01-20 22:31:16 +00:00 |
|
Matthias Radestock
|
62da72e26d
|
cosmetic: move a bunch of error types to where they belong
|
2015-01-20 21:01:50 +00:00 |
|
Matthias Radestock
|
be4dca5bf7
|
cosmetic: move crypto types from types.go into crypto.go
|
2015-01-20 20:27:59 +00:00 |
|
Matthias Radestock
|
d69854d9c5
|
cosmetic: turn some if-then-else into 'switch'
|
2015-01-17 19:19:47 +00:00 |
|
Matthias Radestock
|
7cfb79cfc1
|
close connection when failing to decrypt packets
Since we may never recover from that if nonces got out of sync.
Closes #274.
|
2014-12-28 19:52:56 +00:00 |
|
Matthias Radestock
|
f792bf7ef8
|
don't log packet on decryption error
since that is expensive and clutters the logs
|
2014-12-28 19:09:41 +00:00 |
|
Matthias Radestock
|
801b2f6761
|
refactor for consistency
|
2014-12-13 10:19:17 +00:00 |
|
Matthias Radestock
|
4ddfc47448
|
don't trip over truncated udp packets
and log such events, plus any other errors during decoding, nicely,
including the connection on which this occured.
Closes #123.
|
2014-10-15 21:03:15 +01:00 |
|
Matthias Radestock
|
a587fef9c4
|
fix package name following move
|
2014-10-15 15:20:49 +01:00 |
|
Matthias Radestock
|
e2fd1fda31
|
move router code
|
2014-10-15 15:07:42 +01:00 |
|