Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 0d3ccb336b5b6445d6df8ba7b3afb628773a99a7
https://github.com/fabbione/kronosnet/commit/0d3ccb336b5b6445d6df8ba7b3afb6…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2015-11-30 (Mon, 30 Nov 2015)
Changed paths:
M TODO
M libknet/threads_send_recv.c
Log Message:
-----------
[send/recv] Fix handling of HOSTINFO packets
HOSTINFO packets are nothing more than special cased DATA packets.
The contents of HOSTINFO is stored inside DATA of DATA packets and
up to the point where we need to use the HOSTINFO data, we need
to treat the packets as DATA for defragmentation and deduplication.
This also fixes a problem when using round-robin and active switching
policy where the HOSTINFO exchange would loop forever in a storm
because duplicate pckts were being handled at once.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 7a52c1e548104021cda6d4a53246df37635f81b1
https://github.com/fabbione/kronosnet/commit/7a52c1e548104021cda6d4a53246df…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2015-11-28 (Sat, 28 Nov 2015)
Changed paths:
M kronosnetd/etherfilter.c
M kronosnetd/vty.c
M kronosnetd/vty_cli.c
M kronosnetd/vty_cli_cmds.c
M libknet/host.c
M libknet/link.c
M libknet/listener.c
M libknet/nsscrypto.c
M libknet/threads_heartbeat.c
M libknet/threads_send_recv.c
Log Message:
-----------
Replace memcpy with memmove across the board
memmove is just a tiny littlebit faster than memcpy.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: bbb9d16a452bbad7b104a7800d18fb61e97e399f
https://github.com/fabbione/kronosnet/commit/bbb9d16a452bbad7b104a7800d18fb…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2015-11-28 (Sat, 28 Nov 2015)
Changed paths:
M TODO
M libknet/internals.h
M libknet/threads_pmtud.c
Log Message:
-----------
[PMTUd] Fix crash and calculation when using crypto
most of the problem was around incorrect typing of variables
and incorrect calculation when using signing without encryption.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: cf1e2e6e23869b47d7f343f2c9bb07d4d59785ab
https://github.com/fabbione/kronosnet/commit/cf1e2e6e23869b47d7f343f2c9bb07…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2015-11-27 (Fri, 27 Nov 2015)
Changed paths:
M TODO
M libtap/libtap.c
Log Message:
-----------
[libtap] automatic restore IPv6 address when recovering from MTU flapping
NOTE: if a user manually changes MTU < 1280, your IPv6 addresses
are gone for good.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 977e2cbc62d371fd5b243e0dddcd0364fba07842
https://github.com/fabbione/kronosnet/commit/977e2cbc62d371fd5b243e0dddcd03…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2015-11-25 (Wed, 25 Nov 2015)
Changed paths:
M libknet/crypto.c
M libknet/crypto.h
M libknet/handle.c
M libknet/internals.h
M libknet/nsscrypto.c
M libknet/nsscrypto.h
M libknet/threads_send_recv.c
Log Message:
-----------
[crypto] align crypto_authenticate_and_decrypt API to crypto_encrypt_and_sign
2 issues solved by this change:
1) API were different and crypto_authenticate_and_decrypt would trash the
incoming packet, that we might want to keep for later usage
(re-switch for example)
2) By using an extre pre-allocated buffer while decrypting incoming packets
we save a whole memcpy and that reduces latency on crypto communications:
pre-patch:
[root@kronosnet-node1-br0 ~]# ping 192.168.12.2 -f -c 1000 -s 65000
PING 192.168.12.2 (192.168.12.2) 65000(65028) bytes of data.
--- 192.168.12.2 ping statistics ---
1000 packets transmitted, 1000 received, 0% packet loss, time 5302ms
rtt min/avg/max/mdev = 5.102/5.283/22.679/0.947 ms, pipe 3, ipg/ewma 5.307/5.223 ms
post-patch:
[root@kronosnet-node1-br0 ~]# ping 192.168.12.2 -f -c 1000 -s 65000
PING 192.168.12.2 (192.168.12.2) 65000(65028) bytes of data.
--- 192.168.12.2 ping statistics ---
1000 packets transmitted, 1000 received, 0% packet loss, time 5196ms
rtt min/avg/max/mdev = 4.997/5.154/6.661/0.129 ms, ipg/ewma 5.201/5.173 ms
(using aes256 and sha1)
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>