This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@acro-syncer /home/jb]# ./foo | |
2016/08/18 22:05:33 Do Test1 | |
2016/08/18 22:05:33 Send To: 217.10.68.152:3478 | |
2016/08/18 22:05:33 Received: {packet nil: false, local: 194.126.249.11:44444, remote: 217.10.68.152:3478, changed: 217.116.122.138:3479, identical: false} | |
2016/08/18 22:05:33 Do Test2 | |
2016/08/18 22:05:33 Send To: 217.10.68.152:3478 | |
2016/08/18 22:05:43 Received: Nil | |
2016/08/18 22:05:43 Do Test1 | |
2016/08/18 22:05:43 Send To: 217.116.122.138:3479 | |
2016/08/18 22:05:43 Received: {packet nil: false, local: 194.126.249.11:44444, remote: 217.116.122.138:3479, changed: 217.10.68.152:3478, identical: false} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jb@syno:~/tmp $ go run foo.go | |
Port restricted NAT 213.114.6.177:27618 <nil> | |
jb@hlv-srx240> show security flow session source-port 44444 | |
Session ID: 46185, Policy name: trust-to-untrust/4, Timeout: 52, Valid | |
In: 172.16.32.182/44444 --> 217.116.122.136/3479;udp, If: vlan.100, Pkts: 1, Bytes: 72 | |
Out: 217.116.122.136/3479 --> 213.114.6.177/22805;udp, If: vlan.200, Pkts: 1, Bytes: 116 | |
Session ID: 46318, Policy name: trust-to-untrust/4, Timeout: 60, Valid |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jb@hlv-srx240> show security flow session source-port 22020 | |
Session ID: 45753, Policy name: trust-to-untrust/4, Timeout: 56, Valid | |
In: 172.16.32.11/22020 --> 217.10.68.152/3478;udp, If: vlan.100, Pkts: 71, Bytes: 5328 | |
Out: 217.10.68.152/3478 --> 213.114.6.177/6112;udp, If: vlan.200, Pkts: 44, Bytes: 5104 | |
Session ID: 48430, Policy name: trust-to-untrust/4, Timeout: 48, Valid | |
In: 172.16.32.11/22020 --> 194.126.249.11/22020;udp, If: vlan.100, Pkts: 299, Bytes: 56420 | |
Out: 194.126.249.11/22020 --> 213.114.6.177/12700;udp, If: vlan.200, Pkts: 0, Bytes: 0 | |
Total sessions: 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[I6KAH] 2016/08/18 20:32:06.466050 kcp_listen.go:202: DEBUG: kcp://127.0.0.1:22001 stun discovery on stun1.voiceeclipse.net:3478: write udp 127.0.0.1:22001->64.24.35.201:3478: sendto: can't assign requested address (<nil>) | |
[I6KAH] 2016/08/18 20:32:06.466632 kcp_listen.go:202: DEBUG: kcp://127.0.0.1:22001 stun discovery on stun.ekiga.net:3478: write udp 127.0.0.1:22001->217.10.68.152:3478: sendto: can't assign requested address (<nil>) | |
[I6KAH] 2016/08/18 20:32:06.467369 kcp_listen.go:202: DEBUG: kcp://127.0.0.1:22001 stun discovery on stun1.voiceeclipse.net:3478: write udp 127.0.0.1:22001->64.24.35.201:3478: sendto: can't assign requested address (<nil>) | |
[I6KAH] 2016/08/18 20:32:06.469232 kcp_listen.go:202: DEBUG: kcp://127.0.0.1:22001 stun discovery on stun.ekiga.net:3478: write udp 127.0.0.1:22001->217.10.68.152:3478: sendto: can't assign requested address (<nil>) | |
[I6KAH] 2016/08/18 20:32:06.471193 kcp_listen.go:202: DEBUG: kcp://127.0.0.1:22001 stun discovery on stun1.voiceeclipse.net:3478: write udp 127.0. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Go 1.6.3: | |
2016/08/16 13:29:21 Result: Wall time: 6.740987566s | |
2016/08/16 13:29:21 Result: 303.8 MiB/s synced | |
2016/08/16 13:29:21 Receiver: Utime: 25.591915s | |
2016/08/16 13:29:21 Receiver: Stime: 3.667778s | |
2016/08/16 13:29:21 Receiver: MaxRSS: 42048 KiB | |
2016/08/16 13:29:21 Sender: Utime: 13.977881s | |
2016/08/16 13:29:21 Sender: Stime: 3.158603s | |
2016/08/16 13:29:21 Sender: MaxRSS: 34168 KiB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Intel(R) Atom(TM) CPU D510 @ 1.66GHz | |
[email protected]:~# ./gohashcompare | |
Build: go1.7rc1 linux-amd64 | |
testing: warning: no tests to run | |
Blake2b 256-2 300 3666414 ns/op 35.75 MB/s 32 B/op 1 allocs/op | |
Blake2b 256 Modified-2 1000 1502475 ns/op 87.24 MB/s 32 B/op 1 allocs/op | |
Blake2b 256 SIMD-2 500 2760274 ns/op 47.49 MB/s 32 B/op 1 allocs/op 1.10x | |
Blake2b 512-2 1000 1504312 ns/op 87.13 MB/s 64 B/op 1 allocs/op | |
Blake2b 512 Modified-2 1000 1509428 ns/op 86.84 MB/s 64 B/op 1 allocs/op |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lib/events/events.go | 4 ++++ | |
1 file changed, 4 insertions(+) | |
diff --git a/lib/events/events.go b/lib/events/events.go | |
index 5d44bb4..8923aef 100644 | |
--- a/lib/events/events.go | |
+++ b/lib/events/events.go | |
@@ -255,6 +255,7 @@ func NewBufferedSubscription(s *Subscription, size int) BufferedSubscription { | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit ba7243d9be98dcbc66a7d108ceae21203c81ee91 | |
Author: Jakob Borg <[email protected]> | |
Date: Tue May 31 22:11:35 2016 +0200 | |
wip | |
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md | |
index 0ab98ba..30b78ef 100644 | |
--- a/CONTRIBUTING.md | |
+++ b/CONTRIBUTING.md |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Frame 1: 60 bytes on wire (480 bits), 60 bytes captured (480 bits) on interface 0 | |
Interface id: 0 (eth0.100) | |
Encapsulation type: Ethernet (1) | |
Arrival Time: Apr 28, 2016 11:33:23.725565244 CEST | |
[Time shift for this packet: 0.000000000 seconds] | |
Epoch Time: 1461836003.725565244 seconds | |
[Time delta from previous captured frame: 0.000000000 seconds] | |
[Time delta from previous displayed frame: 0.000000000 seconds] | |
[Time since reference or first frame: 0.000000000 seconds] | |
Frame Number: 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[4OODC] 10:13:50 INFO: Enabled debug data for "connections" | |
[4OODC] 10:16:12 DEBUG: connect from [2001:7a0:8000:1002:f4ef:752f:4fd2:2c9f]:59259 | |
[4OODC] 10:16:14 DEBUG: Switching connections 7DDRT7J-UICR4PM-PBIZYL3-MZOJ7X7-EX56JP6-IK6HHMW-S7EK32W-G3EUPQA | |
[4OODC] 10:16:14 INFO: Connection to 7DDRT7J-UICR4PM-PBIZYL3-MZOJ7X7-EX56JP6-IK6HHMW-S7EK32W-G3EUPQA closed: switching connections | |
[4OODC] 10:16:14 INFO: Connection to 7DDRT7J-UICR4PM-PBIZYL3-MZOJ7X7-EX56JP6-IK6HHMW-S7EK32W-G3EUPQA closed: EOF | |
[4OODC] 10:16:16 INFO: Established secure connection to 7DDRT7J-UICR4PM-PBIZYL3-MZOJ7X7-EX56JP6-IK6HHMW-S7EK32W-G3EUPQA at [2001:470:deeb:32::26]:22000-[2001:7a0:8000:1002:f4ef:752f:4fd2:2c9f]:59259 (direct-accept) | |
[4OODC] 10:16:16 DEBUG: cipher suite: C02F in lan: false | |
[4OODC] 10:16:16 INFO: Device 7DDRT7J-UICR4PM-PBIZYL3-MZOJ7X7-EX56JP6-IK6HHMW-S7EK32W-G3EUPQA client is "syncthing v0.13.0-beta.0+175-g287066b-dirty-logo" named "syno" | |
[4OODC] 10:16:16 INFO: Connection to 7DDRT7J-UICR4PM-PBIZYL3-MZOJ7X7-EX56JP6-IK6HHMW-S |