Branch: refs/heads/libtap-fixes
Home:
https://github.com/kronosnet/kronosnet
Commit: 5b9bcf6145e254bcf190aa160bd2a3105cf6486a
https://github.com/kronosnet/kronosnet/commit/5b9bcf6145e254bcf190aa160bd2a…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: 8583344ee8d05896e9ee12190c42de40099f3c02
https://github.com/kronosnet/kronosnet/commit/8583344ee8d05896e9ee12190c42d…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: 464cf60c4bce6c223f09019409820d47e2c5d80a
https://github.com/kronosnet/kronosnet/commit/464cf60c4bce6c223f09019409820…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: 180a85dfb2e3f17e2e8efba9f49f4dec3079eb2d
https://github.com/kronosnet/kronosnet/commit/180a85dfb2e3f17e2e8efba9f49f4…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 2017)
Changed paths:
M README
Log Message:
-----------
[libtap] update README for BSD
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 396d563822cf9d2449b8881ed4517e003fe27acb
https://github.com/kronosnet/kronosnet/commit/396d563822cf9d2449b8881ed4517…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: 8f80de5e8a510486fff2f7bbb52d2d48d3da9209
https://github.com/kronosnet/kronosnet/commit/8f80de5e8a510486fff2f7bbb52d2…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: c6564f143837914d5fd4758ce8f54553433d2654
https://github.com/kronosnet/kronosnet/commit/c6564f143837914d5fd4758ce8f54…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: 02b1e88b4d13ab6ef03e49252f857dcce8e3f962
https://github.com/kronosnet/kronosnet/commit/02b1e88b4d13ab6ef03e49252f857…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: d08db3341d03884eada1061225ab84c813daf00e
https://github.com/kronosnet/kronosnet/commit/d08db3341d03884eada1061225ab8…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: 89ed8d71e9bd5daab130f9865b97070bb3536422
https://github.com/kronosnet/kronosnet/commit/89ed8d71e9bd5daab130f9865b970…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: 9b433d10ba8aa2129edae4b58b43d3451c2992ae
https://github.com/kronosnet/kronosnet/commit/9b433d10ba8aa2129edae4b58b43d…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: e36a785f4e2e4155795217aa20a16bf93e0f00b8
https://github.com/kronosnet/kronosnet/commit/e36a785f4e2e4155795217aa20a16…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: b1377bc9aab5f39e51f5e881c6b720328b86c252
https://github.com/kronosnet/kronosnet/commit/b1377bc9aab5f39e51f5e881c6b72…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: e878778506dc00636715396dfda325954d467a03
https://github.com/kronosnet/kronosnet/commit/e878778506dc00636715396dfda32…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: 84e02dbbba72f720ffdf3d7c58e93839ac94a585
https://github.com/kronosnet/kronosnet/commit/84e02dbbba72f720ffdf3d7c58e93…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: 2d64ebf43d59a1d839141453f86e976a7331bff9
https://github.com/kronosnet/kronosnet/commit/2d64ebf43d59a1d839141453f86e9…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: 6c0e2b9a368a56b13f2d4b21c572e4849a01f65c
https://github.com/kronosnet/kronosnet/commit/6c0e2b9a368a56b13f2d4b21c572e…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: 69e6198e8f81e79c4e2ec2c59f556f112c3bd3d7
https://github.com/kronosnet/kronosnet/commit/69e6198e8f81e79c4e2ec2c59f556…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: 8ac1f8e2b7c834333606efea15baa3a859029893
https://github.com/kronosnet/kronosnet/commit/8ac1f8e2b7c834333606efea15baa…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: 70def8f85f7a8f02ccf75275cb18f177c41ca201
https://github.com/kronosnet/kronosnet/commit/70def8f85f7a8f02ccf75275cb18f…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: 6d5d79db28ebda1d9956aff809ebf2f213c83e5d
https://github.com/kronosnet/kronosnet/commit/6d5d79db28ebda1d9956aff809ebf…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: 6a4b42372c77e304cbb392d09aa965ecc0c0fe11
https://github.com/kronosnet/kronosnet/commit/6a4b42372c77e304cbb392d09aa96…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: b323d0bbc5404b55eca074a6574f833af58ddb10
https://github.com/kronosnet/kronosnet/commit/b323d0bbc5404b55eca074a6574f8…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: 9c9c7acffab81d4c474f689911f6224c7a0cbd58
https://github.com/kronosnet/kronosnet/commit/9c9c7acffab81d4c474f689911f62…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: 231cdde7e29da4f3b43ff91ec52a546ba645ab83
https://github.com/kronosnet/kronosnet/commit/231cdde7e29da4f3b43ff91ec52a5…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: 7a6fad0582f8d760df6096c7d576ffa4a27829b2
https://github.com/kronosnet/kronosnet/commit/7a6fad0582f8d760df6096c7d576f…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 2017)
Changed paths:
M libnozzle/libnozzle.h
Log Message:
-----------
Tidy some English
Commit: 6fdc2d26957b190b577731b1c55a71c5ef13be40
https://github.com/kronosnet/kronosnet/commit/6fdc2d26957b190b577731b1c55a7…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: 81b19593777a53b9c3e528ef880250d02dd103c0
https://github.com/kronosnet/kronosnet/commit/81b19593777a53b9c3e528ef88025…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: ce0f8809ae51254d017dc1b3c28b13b95a9ffc69
https://github.com/kronosnet/kronosnet/commit/ce0f8809ae51254d017dc1b3c28b1…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: 254df8f7cea0506e527e76962a90fc90a2dda331
https://github.com/kronosnet/kronosnet/commit/254df8f7cea0506e527e76962a90f…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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: 772ad26eec773219b46bae970e7d29da7ae3e6e7
https://github.com/kronosnet/kronosnet/commit/772ad26eec773219b46bae970e7d2…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 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>
Commit: d4b8f0b56499b5259d7bcb0ad5c56f3a4da53187
https://github.com/kronosnet/kronosnet/commit/d4b8f0b56499b5259d7bcb0ad5c56…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 2017)
Changed paths:
M libknet/Makefile.am
Log Message:
-----------
[man] drop redundant update-man-page code
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 3e85135e90724a990ccdd4c9026e5325e53f6e71
https://github.com/kronosnet/kronosnet/commit/3e85135e90724a990ccdd4c9026e5…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 2017)
Changed paths:
M libnozzle/Makefile.am
A libnozzle/internals.h
M libnozzle/libnozzle.c
Log Message:
-----------
[cleanup] start splitting the code across multiple files
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 52473994158f34c2ef16d83207fc59d2d8417e2b
https://github.com/kronosnet/kronosnet/commit/52473994158f34c2ef16d83207fc5…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 2017)
Changed paths:
M libnozzle/internals.h
M libnozzle/libnozzle.c
Log Message:
-----------
[nozzle] rename _config to nozzle_lib_config
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 6578b488fc9f1bb0ccc1bf5036431d49a8267187
https://github.com/kronosnet/kronosnet/commit/6578b488fc9f1bb0ccc1bf5036431…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 2017)
Changed paths:
M libnozzle/internals.h
M libnozzle/libnozzle.c
Log Message:
-----------
[cleanup] rename struct _ip to struct nozzle_ip and cleanup related defines
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 38fc1595bf3c32adbc315dc5c53694a3a69a6647
https://github.com/kronosnet/kronosnet/commit/38fc1595bf3c32adbc315dc5c5369…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 2017)
Changed paths:
M libnozzle/internals.h
M libnozzle/libnozzle.c
Log Message:
-----------
[cleanup] rename sockfd to ioctlfd
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 0e18706fbc7d6a77612368837677debc42eceadf
https://github.com/kronosnet/kronosnet/commit/0e18706fbc7d6a77612368837677d…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 2017)
Changed paths:
M libnozzle/internals.h
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[cleanup] rename ip_addr to ipaddr
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: c9ed9db63ca23fdd3868439a690b5cf6ac4a44bd
https://github.com/kronosnet/kronosnet/commit/c9ed9db63ca23fdd3868439a690b5…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 2017)
Changed paths:
M libnozzle/internals.h
M libnozzle/libnozzle.c
Log Message:
-----------
[cleanup] document nozzle_iface struct, drop unnecessary ifr struct and cleanup names
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: a0990d4052317f0e9c878b78d019541d2257eed2
https://github.com/kronosnet/kronosnet/commit/a0990d4052317f0e9c878b78d0195…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-16 (Sat, 16 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
Log Message:
-----------
[build] fix build on BSD
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Compare:
https://github.com/kronosnet/kronosnet/compare/1d9dd1b57a6d...a0990d405231