Branch: refs/heads/pmtu-fixes
Home: https://github.com/kronosnet/kronosnet
Commit: fb6e68209cdca90fe3e83367ab734d35da893032
https://github.com/kronosnet/kronosnet/commit/fb6e68209cdca90fe3e83367ab734…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libknet/host.c
M libknet/threads_heartbeat.c
M libknet/threads_pmtud.c
M libknet/threads_rx.c
M libknet/transport_sctp.c
Log Message:
-----------
[pmtud] fix handling of errno and savederrno
also, during debugging it turned out that sendto does not reset
errno on successful run, returning the status from the previous
error. While that's hardly a problem, it makes debugging more
interesting, so let's reset errno before each call to sendto.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: c03d81d5b08861fbcebc7c0f15d85e636cedf558
https://github.com/kronosnet/kronosnet/commit/c03d81d5b08861fbcebc7c0f15d85…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libknet/internals.h
M libknet/links.c
M libknet/threads_pmtud.c
Log Message:
-----------
[pmtud] fix PMTU detection when link is first up
we noticed, during testing, that from time to time the kernel would return EMSGSIZE
also on known valid packet specially during first time link intialization.
after re-reading carefully man 7 ip, it turns out that we did not account for:
"While MTU discovery is in progress, initial packets from datagram sockets may be dropped.
Applications using UDP should be aware of this and not take it into account for their
packet retransmit strategy."
as solution, we use the first PMTUd run to send a series of packets that will give
time to the kernel to perform its own PMTU detection before we start operating.
This can probably lay the base for sending packets, and then use getsockopt to determine
the link MTU vs rely on other nodes reply.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: f5bc89a900e62ee910d1692a9fa65d8d1ce64b17
https://github.com/kronosnet/kronosnet/commit/f5bc89a900e62ee910d1692a9fa65…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libknet/threads_heartbeat.c
Log Message:
-----------
[pmtud] fix PMTU detection when link is first up (part 2)
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 8885a8e5228dbd276d38c47714d365271e6a4a3f
https://github.com/kronosnet/kronosnet/commit/8885a8e5228dbd276d38c47714d36…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libknet/threads_pmtud.c
Log Message:
-----------
[pmtud] don't burst packets but spread them around
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Compare: https://github.com/kronosnet/kronosnet/compare/5e5ab0747866...8885a8e5228d
Branch: refs/heads/libtap-fixes
Home: https://github.com/kronosnet/kronosnet
Commit: 89e0baa8da2d966a9b450e2ec21d4933d752d2b6
https://github.com/kronosnet/kronosnet/commit/89e0baa8da2d966a9b450e2ec21d4…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libtap/libtap.c
Log Message:
-----------
[libtap] tests: allow random localhost IPs for testing
- avoids clashing with machine routing
- allows parallel testing
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: cd082ecfd3213807a8cfa918dc2480d8541f06c1
https://github.com/kronosnet/kronosnet/commit/cd082ecfd3213807a8cfa918dc248…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libtap/libtap.c
Log Message:
-----------
[libtap] tests: add better IPv6 private address space randomization
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: a75d2531b4120cc1b724e942fce289b6947e3526
https://github.com/kronosnet/kronosnet/commit/a75d2531b4120cc1b724e942fce28…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M configure.ac
M libtap/libtap.c
Log Message:
-----------
[libtap] port to freebsd and fix a bunch of small bugs
- tap_open: do mutex lock only after malloc to avoid deadlock
- fix test suite to increase randomness when testing named tap devices
- remove hardcoded paths to /bin/true /bin/false and /bin/grep
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: f9747bed24f331c04e959836c2d454af270225de
https://github.com/kronosnet/kronosnet/commit/f9747bed24f331c04e959836c2d45…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M README
Log Message:
-----------
[libtap] update README for BSD
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 6e1d90202fe7e395393211d82a41f9ebe8db7b8b
https://github.com/kronosnet/kronosnet/commit/6e1d90202fe7e395393211d82a41f…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libtap/libtap.h
Log Message:
-----------
[libtap] define IFNAMSIZ for applications that don't need/want to include net/if.h
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 3d28291e29443bf8d38f69227e4b005287fa955c
https://github.com/kronosnet/kronosnet/commit/3d28291e29443bf8d38f69227e4b0…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libtap/libtap.c
Log Message:
-----------
[libtap] BSD: switch to ioctl to destroy tap devices
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: c89d892910c50bda3fb4353aa5b07aac64d347a8
https://github.com/kronosnet/kronosnet/commit/c89d892910c50bda3fb4353aa5b07…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M Makefile.am
M NOTES_TO_PACKAGE_MAINTAINERS
M README
M configure.ac
M kronosnet.spec.in
M kronosnetd/Makefile.am
M kronosnetd/cfg.c
M kronosnetd/cfg.h
M kronosnetd/vty_cli_cmds.c
A libnozzle/Makefile.am
A libnozzle/api-test-coverage
A libnozzle/libnozzle.c
A libnozzle/libnozzle.h
A libnozzle/libnozzle.pc.in
A libnozzle/libnozzle_exported_syms
A libnozzle/tap_updown_bad/down.d/kronostest
A libnozzle/tap_updown_bad/post-down.d/kronostest
A libnozzle/tap_updown_bad/pre-up.d/kronostest
A libnozzle/tap_updown_bad/up.d/kronostest
A libnozzle/tap_updown_good/down.d/kronostest
A libnozzle/tap_updown_good/post-down.d/kronostest
A libnozzle/tap_updown_good/pre-up.d/kronostest
A libnozzle/tap_updown_good/up.d/kronostest
R libtap/Makefile.am
R libtap/api-test-coverage
R libtap/libtap.c
R libtap/libtap.h
R libtap/libtap.pc.in
R libtap/libtap_exported_syms
R libtap/tap_updown_bad/down.d/kronostest
R libtap/tap_updown_bad/post-down.d/kronostest
R libtap/tap_updown_bad/pre-up.d/kronostest
R libtap/tap_updown_bad/up.d/kronostest
R libtap/tap_updown_good/down.d/kronostest
R libtap/tap_updown_good/post-down.d/kronostest
R libtap/tap_updown_good/pre-up.d/kronostest
R libtap/tap_updown_good/up.d/kronostest
Log Message:
-----------
[libnozzle] rename libtap to libnozzle (part 1)
Our fearless Debian maintainer wferi made us aware that TAP is an overloaded
term already and it would be very confusing to add yet another one.
nozzle is a good pick from http://www.thesaurus.com/browse/tap
I am sure lib*cock* would have cause havoc :-)
This commit only rename files and allow builds. The API needs to be renamed too,
but that will come over time with major code cleanup as documented here:
https://trello.com/c/pyEKd4UH/396-libnozzle-make-it-production-ga-ready
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 20127fff3b78a8e58c4c3362396756e7e45e9744
https://github.com/kronosnet/kronosnet/commit/20127fff3b78a8e58c4c336239675…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] add Doxygen header
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: ccb0f5cfbace925bdf09e39b0157bf6f4e74183c
https://github.com/kronosnet/kronosnet/commit/ccb0f5cfbace925bdf09e39b0157b…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] include net/if.h to define IFNAMSIZ instead of redefine
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 66def3b74ec56e900450eef7175687e90c5716c4
https://github.com/kronosnet/kronosnet/commit/66def3b74ec56e900450eef717568…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] rename tap_t to nozzle_t
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: e3a117cadf469e1c35d76bed9dab4f25f2b6df55
https://github.com/kronosnet/kronosnet/commit/e3a117cadf469e1c35d76bed9dab4…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] rename struct _iface to nozzle_iface (looks better on public headers)
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: e8dfffaa956bc0c30c796885163bfe1e4bc4c88a
https://github.com/kronosnet/kronosnet/commit/e8dfffaa956bc0c30c796885163bf…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libnozzle/libnozzle.pc.in
Log Message:
-----------
[nozzle] fix pkg-config to point to nozzle
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: ef8f0cb51c4d2b27d37ba70467451f0c83d505a1
https://github.com/kronosnet/kronosnet/commit/ef8f0cb51c4d2b27d37ba70467451…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libnozzle/api-test-coverage
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
M libnozzle/libnozzle_exported_syms
Log Message:
-----------
[nozzle] rename API from tap_ to nozzle_
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 37be28b5b4cc28b4528808c38f96a1b75b63065a
https://github.com/kronosnet/kronosnet/commit/37be28b5b4cc28b4528808c38f96a…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] rename last tap bits to nozzle
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 9e6b98b16629dacaf2030a002050d84b400f9abd
https://github.com/kronosnet/kronosnet/commit/9e6b98b16629dacaf2030a002050d…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup nozzle_open coding style and return codes
also update the header file for Doxygen man pages
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: f6856d84c05b9e53e3521a1d75aa976e59b7dd65
https://github.com/kronosnet/kronosnet/commit/f6856d84c05b9e53e3521a1d75aa9…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] start to cleanup nozzle_close to be more informative and effective
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: d4e786622a19afeca6c931fb55c9b5eea1aadad5
https://github.com/kronosnet/kronosnet/commit/d4e786622a19afeca6c931fb55c9b…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_set_up
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 76e750d6db6036a352ad90bfe0a4364af9a39e4e
https://github.com/kronosnet/kronosnet/commit/76e750d6db6036a352ad90bfe0a43…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_set_down
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: d22bbbca9a1ee555c68ed92746aca595bfe0a677
https://github.com/kronosnet/kronosnet/commit/d22bbbca9a1ee555c68ed92746aca…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] re-order functions in order of importance
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 6fc4484b14e65795d9e4952ce7f3b09b9c0d67a7
https://github.com/kronosnet/kronosnet/commit/6fc4484b14e65795d9e4952ce7f3b…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_add_ip
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 10a164fdbf7fc230830a40e4306669c587381959
https://github.com/kronosnet/kronosnet/commit/10a164fdbf7fc230830a40e430666…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_del_ip
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 3c47f62174fe2b1869ac3d57afce324f58e24b6f
https://github.com/kronosnet/kronosnet/commit/3c47f62174fe2b1869ac3d57afce3…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_get_ips (part 1)
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 3769bf7cf29618652408fbc88d3b8a369cab97e2
https://github.com/kronosnet/kronosnet/commit/3769bf7cf29618652408fbc88d3b8…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libnozzle/libnozzle.c
Log Message:
-----------
[nozzle] fix test on BSD
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: f369c22c477a5057c01e61c60069194049d8699c
https://github.com/kronosnet/kronosnet/commit/f369c22c477a5057c01e61c600691…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_get_mtu
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 15719299ed3229d396919805dfa07a0d828834ee
https://github.com/kronosnet/kronosnet/commit/15719299ed3229d396919805dfa07…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_set_mtu and nozzle_reset_mtu
couldn't split those 2 because they are stricly related
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: bd245c606563d3a93ebacb8ab3da7c3dc06946ba
https://github.com/kronosnet/kronosnet/commit/bd245c606563d3a93ebacb8ab3da7…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libnozzle/libnozzle.h
Log Message:
-----------
Tidy some English
Commit: 8a29bc012159ea98206d6928e82210a206d4ebad
https://github.com/kronosnet/kronosnet/commit/8a29bc012159ea98206d6928e8221…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_get_mac
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 0b622f3edee69d65481a6a069c4b6b455d1e36cf
https://github.com/kronosnet/kronosnet/commit/0b622f3edee69d65481a6a069c4b6…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_(re)set_mac
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 840d94b0fbe5504499ba77c8070c72bdfe28f2c0
https://github.com/kronosnet/kronosnet/commit/840d94b0fbe5504499ba77c8070c7…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_get_handle_by_name
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: fc34d830017f8167c87f48bb3d95618e7f262bed
https://github.com/kronosnet/kronosnet/commit/fc34d830017f8167c87f48bb3d956…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_get_name_by_handle
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 5bfd9219960820e19290c71d787bdeee68636683
https://github.com/kronosnet/kronosnet/commit/5bfd9219960820e19290c71d787bd…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_get_fd
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Compare: https://github.com/kronosnet/kronosnet/compare/90fb89460354...5bfd92199608
Branch: refs/heads/master
Home: https://github.com/kronosnet/kronosnet
Commit: 3629f34f6ad1d56c641566d00a6cfcc96c853bf7
https://github.com/kronosnet/kronosnet/commit/3629f34f6ad1d56c641566d00a6cf…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-11-25 (Sat, 25 Nov 2017)
Changed paths:
M libknet/tests/test-common.c
M libknet/transport_common.c
Log Message:
-----------
Don't require root privileges unless necessary
On Linux, if /proc/sys/net/core/[rw]mem_max are set to at least
8388608 (KNET_RING_RCVBUFF), setting the socket buffer sizes
doesn't require root privileges.
FreeBSD uses the kern.ipc.maxsockbuf sysctl MIB variable for
capping user buffer requests.
Linux doubles the requested amount for administrative overhead,
but FreeBSD does not, so we can't be too strict when checking
the results.
Commit: f1c6182f0d1eba2bb59d54811abf17315bd7148e
https://github.com/kronosnet/kronosnet/commit/f1c6182f0d1eba2bb59d54811abf1…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-11-26 (Sun, 26 Nov 2017)
Changed paths:
M libknet/tests/api_knet_get_compress_list.c
M libknet/tests/api_knet_get_crypto_list.c
M libknet/tests/api_knet_get_transport_id_by_name.c
M libknet/tests/api_knet_get_transport_list.c
M libknet/tests/api_knet_get_transport_name_by_id.c
M libknet/tests/api_knet_handle_add_datafd.c
M libknet/tests/api_knet_handle_clear_stats.c
M libknet/tests/api_knet_handle_compress.c
M libknet/tests/api_knet_handle_crypto.c
M libknet/tests/api_knet_handle_enable_filter.c
M libknet/tests/api_knet_handle_enable_pmtud_notify.c
M libknet/tests/api_knet_handle_enable_sock_notify.c
M libknet/tests/api_knet_handle_free.c
M libknet/tests/api_knet_handle_get_channel.c
M libknet/tests/api_knet_handle_get_datafd.c
M libknet/tests/api_knet_handle_get_stats.c
M libknet/tests/api_knet_handle_get_transport_reconnect_interval.c
M libknet/tests/api_knet_handle_new.c
M libknet/tests/api_knet_handle_new_limit.c
M libknet/tests/api_knet_handle_pmtud_get.c
M libknet/tests/api_knet_handle_pmtud_getfreq.c
M libknet/tests/api_knet_handle_pmtud_setfreq.c
M libknet/tests/api_knet_handle_remove_datafd.c
M libknet/tests/api_knet_handle_set_transport_reconnect_interval.c
M libknet/tests/api_knet_handle_setfwd.c
M libknet/tests/api_knet_host_add.c
M libknet/tests/api_knet_host_enable_status_change_notify.c
M libknet/tests/api_knet_host_get_host_list.c
M libknet/tests/api_knet_host_get_id_by_host_name.c
M libknet/tests/api_knet_host_get_name_by_host_id.c
M libknet/tests/api_knet_host_get_policy.c
M libknet/tests/api_knet_host_get_status.c
M libknet/tests/api_knet_host_remove.c
M libknet/tests/api_knet_host_set_name.c
M libknet/tests/api_knet_host_set_policy.c
M libknet/tests/api_knet_link_clear_config.c
M libknet/tests/api_knet_link_get_config.c
M libknet/tests/api_knet_link_get_enable.c
M libknet/tests/api_knet_link_get_link_list.c
M libknet/tests/api_knet_link_get_ping_timers.c
M libknet/tests/api_knet_link_get_pong_count.c
M libknet/tests/api_knet_link_get_priority.c
M libknet/tests/api_knet_link_get_status.c
M libknet/tests/api_knet_link_set_config.c
M libknet/tests/api_knet_link_set_enable.c
M libknet/tests/api_knet_link_set_ping_timers.c
M libknet/tests/api_knet_link_set_pong_count.c
M libknet/tests/api_knet_link_set_priority.c
M libknet/tests/api_knet_log_get_loglevel.c
M libknet/tests/api_knet_log_set_loglevel.c
M libknet/tests/api_knet_recv.c
M libknet/tests/api_knet_send.c
M libknet/tests/api_knet_send_compress.c
M libknet/tests/api_knet_send_crypto.c
M libknet/tests/api_knet_send_loopback.c
M libknet/tests/api_knet_send_sync.c
M libknet/tests/crypto_bench.c
M libknet/tests/int_crypto.c
M libknet/tests/knet_bench.c
M libknet/tests/test-common.c
M libknet/tests/test-common.h
Log Message:
-----------
Remove the need_root() function
The point is not having root privileges, but having high enough socket
buffer caps. Very few of the test can run without it.
Commit: 3b1b2a9987b4fd355697bc29ef076f120f096574
https://github.com/kronosnet/kronosnet/commit/3b1b2a9987b4fd355697bc29ef076…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-11-27 (Mon, 27 Nov 2017)
Changed paths:
M libknet/transport_common.c
Log Message:
-----------
Detailed error reporting about socket buffer sizes
Commit: 0f7bf3fce06b887a71675b05befc01815d4867d6
https://github.com/kronosnet/kronosnet/commit/0f7bf3fce06b887a71675b05befc0…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-27 (Mon, 27 Nov 2017)
Changed paths:
M libknet/tests/api_knet_get_compress_list.c
M libknet/tests/api_knet_get_crypto_list.c
M libknet/tests/api_knet_get_transport_id_by_name.c
M libknet/tests/api_knet_get_transport_list.c
M libknet/tests/api_knet_get_transport_name_by_id.c
M libknet/tests/api_knet_handle_add_datafd.c
M libknet/tests/api_knet_handle_clear_stats.c
M libknet/tests/api_knet_handle_compress.c
M libknet/tests/api_knet_handle_crypto.c
M libknet/tests/api_knet_handle_enable_filter.c
M libknet/tests/api_knet_handle_enable_pmtud_notify.c
M libknet/tests/api_knet_handle_enable_sock_notify.c
M libknet/tests/api_knet_handle_free.c
M libknet/tests/api_knet_handle_get_channel.c
M libknet/tests/api_knet_handle_get_datafd.c
M libknet/tests/api_knet_handle_get_stats.c
M libknet/tests/api_knet_handle_get_transport_reconnect_interval.c
M libknet/tests/api_knet_handle_new.c
M libknet/tests/api_knet_handle_new_limit.c
M libknet/tests/api_knet_handle_pmtud_get.c
M libknet/tests/api_knet_handle_pmtud_getfreq.c
M libknet/tests/api_knet_handle_pmtud_setfreq.c
M libknet/tests/api_knet_handle_remove_datafd.c
M libknet/tests/api_knet_handle_set_transport_reconnect_interval.c
M libknet/tests/api_knet_handle_setfwd.c
M libknet/tests/api_knet_host_add.c
M libknet/tests/api_knet_host_enable_status_change_notify.c
M libknet/tests/api_knet_host_get_host_list.c
M libknet/tests/api_knet_host_get_id_by_host_name.c
M libknet/tests/api_knet_host_get_name_by_host_id.c
M libknet/tests/api_knet_host_get_policy.c
M libknet/tests/api_knet_host_get_status.c
M libknet/tests/api_knet_host_remove.c
M libknet/tests/api_knet_host_set_name.c
M libknet/tests/api_knet_host_set_policy.c
M libknet/tests/api_knet_link_clear_config.c
M libknet/tests/api_knet_link_get_config.c
M libknet/tests/api_knet_link_get_enable.c
M libknet/tests/api_knet_link_get_link_list.c
M libknet/tests/api_knet_link_get_ping_timers.c
M libknet/tests/api_knet_link_get_pong_count.c
M libknet/tests/api_knet_link_get_priority.c
M libknet/tests/api_knet_link_get_status.c
M libknet/tests/api_knet_link_set_config.c
M libknet/tests/api_knet_link_set_enable.c
M libknet/tests/api_knet_link_set_ping_timers.c
M libknet/tests/api_knet_link_set_pong_count.c
M libknet/tests/api_knet_link_set_priority.c
M libknet/tests/api_knet_log_get_loglevel.c
M libknet/tests/api_knet_log_set_loglevel.c
M libknet/tests/api_knet_recv.c
M libknet/tests/api_knet_send.c
M libknet/tests/api_knet_send_compress.c
M libknet/tests/api_knet_send_crypto.c
M libknet/tests/api_knet_send_loopback.c
M libknet/tests/api_knet_send_sync.c
M libknet/tests/crypto_bench.c
M libknet/tests/int_crypto.c
M libknet/tests/knet_bench.c
M libknet/tests/test-common.c
M libknet/tests/test-common.h
M libknet/transport_common.c
Log Message:
-----------
Merge pull request #91 from kronosnet/no-root
Enable testing without root privileges
Compare: https://github.com/kronosnet/kronosnet/compare/cc2209872ec0...0f7bf3fce06b
Branch: refs/heads/no-root
Home: https://github.com/kronosnet/kronosnet
Commit: f1c6182f0d1eba2bb59d54811abf17315bd7148e
https://github.com/kronosnet/kronosnet/commit/f1c6182f0d1eba2bb59d54811abf1…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-11-26 (Sun, 26 Nov 2017)
Changed paths:
M libknet/tests/api_knet_get_compress_list.c
M libknet/tests/api_knet_get_crypto_list.c
M libknet/tests/api_knet_get_transport_id_by_name.c
M libknet/tests/api_knet_get_transport_list.c
M libknet/tests/api_knet_get_transport_name_by_id.c
M libknet/tests/api_knet_handle_add_datafd.c
M libknet/tests/api_knet_handle_clear_stats.c
M libknet/tests/api_knet_handle_compress.c
M libknet/tests/api_knet_handle_crypto.c
M libknet/tests/api_knet_handle_enable_filter.c
M libknet/tests/api_knet_handle_enable_pmtud_notify.c
M libknet/tests/api_knet_handle_enable_sock_notify.c
M libknet/tests/api_knet_handle_free.c
M libknet/tests/api_knet_handle_get_channel.c
M libknet/tests/api_knet_handle_get_datafd.c
M libknet/tests/api_knet_handle_get_stats.c
M libknet/tests/api_knet_handle_get_transport_reconnect_interval.c
M libknet/tests/api_knet_handle_new.c
M libknet/tests/api_knet_handle_new_limit.c
M libknet/tests/api_knet_handle_pmtud_get.c
M libknet/tests/api_knet_handle_pmtud_getfreq.c
M libknet/tests/api_knet_handle_pmtud_setfreq.c
M libknet/tests/api_knet_handle_remove_datafd.c
M libknet/tests/api_knet_handle_set_transport_reconnect_interval.c
M libknet/tests/api_knet_handle_setfwd.c
M libknet/tests/api_knet_host_add.c
M libknet/tests/api_knet_host_enable_status_change_notify.c
M libknet/tests/api_knet_host_get_host_list.c
M libknet/tests/api_knet_host_get_id_by_host_name.c
M libknet/tests/api_knet_host_get_name_by_host_id.c
M libknet/tests/api_knet_host_get_policy.c
M libknet/tests/api_knet_host_get_status.c
M libknet/tests/api_knet_host_remove.c
M libknet/tests/api_knet_host_set_name.c
M libknet/tests/api_knet_host_set_policy.c
M libknet/tests/api_knet_link_clear_config.c
M libknet/tests/api_knet_link_get_config.c
M libknet/tests/api_knet_link_get_enable.c
M libknet/tests/api_knet_link_get_link_list.c
M libknet/tests/api_knet_link_get_ping_timers.c
M libknet/tests/api_knet_link_get_pong_count.c
M libknet/tests/api_knet_link_get_priority.c
M libknet/tests/api_knet_link_get_status.c
M libknet/tests/api_knet_link_set_config.c
M libknet/tests/api_knet_link_set_enable.c
M libknet/tests/api_knet_link_set_ping_timers.c
M libknet/tests/api_knet_link_set_pong_count.c
M libknet/tests/api_knet_link_set_priority.c
M libknet/tests/api_knet_log_get_loglevel.c
M libknet/tests/api_knet_log_set_loglevel.c
M libknet/tests/api_knet_recv.c
M libknet/tests/api_knet_send.c
M libknet/tests/api_knet_send_compress.c
M libknet/tests/api_knet_send_crypto.c
M libknet/tests/api_knet_send_loopback.c
M libknet/tests/api_knet_send_sync.c
M libknet/tests/crypto_bench.c
M libknet/tests/int_crypto.c
M libknet/tests/knet_bench.c
M libknet/tests/test-common.c
M libknet/tests/test-common.h
Log Message:
-----------
Remove the need_root() function
The point is not having root privileges, but having high enough socket
buffer caps. Very few of the test can run without it.
Commit: 3b1b2a9987b4fd355697bc29ef076f120f096574
https://github.com/kronosnet/kronosnet/commit/3b1b2a9987b4fd355697bc29ef076…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-11-27 (Mon, 27 Nov 2017)
Changed paths:
M libknet/transport_common.c
Log Message:
-----------
Detailed error reporting about socket buffer sizes
Compare: https://github.com/kronosnet/kronosnet/compare/3629f34f6ad1...3b1b2a9987b4
Branch: refs/heads/pmtu-fixes
Home: https://github.com/kronosnet/kronosnet
Commit: 5e5ab0747866d5b7d7291878e5182e2332d473e5
https://github.com/kronosnet/kronosnet/commit/5e5ab0747866d5b7d7291878e5182…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-27 (Mon, 27 Nov 2017)
Changed paths:
M libknet/threads_pmtud.c
Log Message:
-----------
[pmtud] don't burst packets but spread them around
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/pmtu-fixes
Home: https://github.com/kronosnet/kronosnet
Commit: db004181c5bde3ab484da4361f4f79bc817ef014
https://github.com/kronosnet/kronosnet/commit/db004181c5bde3ab484da4361f4f7…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-26 (Sun, 26 Nov 2017)
Changed paths:
M libknet/threads_heartbeat.c
Log Message:
-----------
[pmtud] fix PMTU detection when link is first up (part 2)
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/pmtu-fixes
Home: https://github.com/kronosnet/kronosnet
Commit: 2b1cd7120428690d8181afae7949f5be2dcac92c
https://github.com/kronosnet/kronosnet/commit/2b1cd7120428690d8181afae7949f…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-26 (Sun, 26 Nov 2017)
Changed paths:
M libknet/internals.h
M libknet/links.c
M libknet/threads_pmtud.c
Log Message:
-----------
[pmtud] fix PMTU detection when link is first up
we noticed, during testing, that from time to time the kernel would return EMSGSIZE
also on known valid packet specially during first time link intialization.
after re-reading carefully man 7 ip, it turns out that we did not account for:
"While MTU discovery is in progress, initial packets from datagram sockets may be dropped.
Applications using UDP should be aware of this and not take it into account for their
packet retransmit strategy."
as solution, we use the first PMTUd run to send a series of packets that will give
time to the kernel to perform its own PMTU detection before we start operating.
This can probably lay the base for sending packets, and then use getsockopt to determine
the link MTU vs rely on other nodes reply.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/pmtu-fixes
Home: https://github.com/kronosnet/kronosnet
Commit: e25cd37fd438507b10b54af55271f6e115d9ecbe
https://github.com/kronosnet/kronosnet/commit/e25cd37fd438507b10b54af55271f…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-11-26 (Sun, 26 Nov 2017)
Changed paths:
M libknet/host.c
M libknet/threads_heartbeat.c
M libknet/threads_pmtud.c
M libknet/threads_rx.c
M libknet/transport_sctp.c
Log Message:
-----------
[pmtud] fix handling of errno and savederrno
also, during debugging it turned out that sendto does not reset
errno on successful run, returning the status from the previous
error. While that's hardly a problem, it makes debugging more
interesting, so let's reset errno before each call to sendto.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>