Branch: refs/heads/libtap-fixes
Home:
https://github.com/kronosnet/kronosnet
Commit: 94a458914048532d9f71beb3c4b6156b2d49321f
https://github.com/kronosnet/kronosnet/commit/94a458914048532d9f71beb3c4b61…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: f4630853642a173f3c9e2dd30358fd0921987337
https://github.com/kronosnet/kronosnet/commit/f4630853642a173f3c9e2dd30358f…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: a212365841fbeccfbc9151584cd3ffa2f4d8d455
https://github.com/kronosnet/kronosnet/commit/a212365841fbeccfbc9151584cd3f…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: 6d5b4b7625add441d7ab6ab325dfd2d9d984dfdc
https://github.com/kronosnet/kronosnet/commit/6d5b4b7625add441d7ab6ab325dfd…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: 74a499ed72c8af3e13f8f3b0092ddde029ea734d
https://github.com/kronosnet/kronosnet/commit/74a499ed72c8af3e13f8f3b0092dd…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: 8d2f158d392e8f2ec6d760ae6407acbb45b7ae40
https://github.com/kronosnet/kronosnet/commit/8d2f158d392e8f2ec6d760ae6407a…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: 904069fe20e34e0131fecf9fa2a37474c0687948
https://github.com/kronosnet/kronosnet/commit/904069fe20e34e0131fecf9fa2a37…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: 7b77865c462f737e90a3a74457d48d9dbfd6d4cf
https://github.com/kronosnet/kronosnet/commit/7b77865c462f737e90a3a74457d48…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: 811a814cdbe760813c9fea5a369f1e85a5a348c2
https://github.com/kronosnet/kronosnet/commit/811a814cdbe760813c9fea5a369f1…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: b6021c96c4678cefd25fa55c7b49ad3ff76a07d6
https://github.com/kronosnet/kronosnet/commit/b6021c96c4678cefd25fa55c7b49a…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: f9f7270723a5471020ab44a960ba04ac88f0bb8d
https://github.com/kronosnet/kronosnet/commit/f9f7270723a5471020ab44a960ba0…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: dd3faa9c44b352aabc313b4fa7544acb9a40fa1d
https://github.com/kronosnet/kronosnet/commit/dd3faa9c44b352aabc313b4fa7544…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: d14e31fb9bfb85ae2eb88af67097d687f7fa5f84
https://github.com/kronosnet/kronosnet/commit/d14e31fb9bfb85ae2eb88af67097d…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: 22bbd5bcd14aaef6851cfcd9faccc79c50b9dbc5
https://github.com/kronosnet/kronosnet/commit/22bbd5bcd14aaef6851cfcd9faccc…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: 64544498bb264cd16c5008eaa96ee866535e2cf8
https://github.com/kronosnet/kronosnet/commit/64544498bb264cd16c5008eaa96ee…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: c61f75f6b4f2928a4a3cb54192f8f208c514a192
https://github.com/kronosnet/kronosnet/commit/c61f75f6b4f2928a4a3cb54192f8f…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: a50ee6f724c3ec614716756b3170c516f2b729ee
https://github.com/kronosnet/kronosnet/commit/a50ee6f724c3ec614716756b3170c…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: b7171c4a1d2a02991f8f760b892e68c19213881b
https://github.com/kronosnet/kronosnet/commit/b7171c4a1d2a02991f8f760b892e6…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: 2ee4dc8fea595c342c190ff096c2e2edc2fa9da4
https://github.com/kronosnet/kronosnet/commit/2ee4dc8fea595c342c190ff096c2e…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: e374b80256b679386429f15df52fd7762bf9ae8b
https://github.com/kronosnet/kronosnet/commit/e374b80256b679386429f15df52fd…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: df8d01e50e7dbd08e20aede8436b55f6be6ee788
https://github.com/kronosnet/kronosnet/commit/df8d01e50e7dbd08e20aede8436b5…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: baa13a80b999beff9698c2d2f2b38e610518597e
https://github.com/kronosnet/kronosnet/commit/baa13a80b999beff9698c2d2f2b38…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: 807fbb5ff9e0417a4c9c3e4bf1c44de34636127e
https://github.com/kronosnet/kronosnet/commit/807fbb5ff9e0417a4c9c3e4bf1c44…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: eac8cac6ca54cd0bd5248ddfec5044e74b9b6774
https://github.com/kronosnet/kronosnet/commit/eac8cac6ca54cd0bd5248ddfec504…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: c03189ea5800e9db8f25f91716b05632452b5c68
https://github.com/kronosnet/kronosnet/commit/c03189ea5800e9db8f25f91716b05…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: 4596dfce72b08350d186def3566a5b59f4c34d4d
https://github.com/kronosnet/kronosnet/commit/4596dfce72b08350d186def3566a5…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2017-12-15 (Fri, 15 Dec 2017)
Changed paths:
M libnozzle/libnozzle.h
Log Message:
-----------
Tidy some English
Commit: 9ef1e7d607be455c45197be545cbd76cb25065c1
https://github.com/kronosnet/kronosnet/commit/9ef1e7d607be455c45197be545cbd…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: 89fd9a36caab6e7b311c3ab74a4f1c474c61e752
https://github.com/kronosnet/kronosnet/commit/89fd9a36caab6e7b311c3ab74a4f1…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: bb168e362f54d6f5f3fdd6c2c005b802040dcb0b
https://github.com/kronosnet/kronosnet/commit/bb168e362f54d6f5f3fdd6c2c005b…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: 123a3c7bd50deeac119ec2953f671051d4759efe
https://github.com/kronosnet/kronosnet/commit/123a3c7bd50deeac119ec2953f671…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: 016dfc99c581adfcdeea1c1e614a64e3cdf5d8c7
https://github.com/kronosnet/kronosnet/commit/016dfc99c581adfcdeea1c1e614a6…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: 5c4ae8b316c3386559b2c5e7369359d528519ca9
https://github.com/kronosnet/kronosnet/commit/5c4ae8b316c3386559b2c5e736935…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: 4275e7701bd9899cbf0dea21c53cd05132c6f1f1
https://github.com/kronosnet/kronosnet/commit/4275e7701bd9899cbf0dea21c53cd…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: cc94b4652177da25119c6c64b51a928c488a2c42
https://github.com/kronosnet/kronosnet/commit/cc94b4652177da25119c6c64b51a9…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: 2916cde989e95440195f178b1dd94a1cb684e715
https://github.com/kronosnet/kronosnet/commit/2916cde989e95440195f178b1dd94…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: c8209c2a1e5f917c7f0c7a4bfb4ae6a8fa1a008a
https://github.com/kronosnet/kronosnet/commit/c8209c2a1e5f917c7f0c7a4bfb4ae…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: ed6febc32f251c9bc3f0edb8f0e63dd5c2de5bcc
https://github.com/kronosnet/kronosnet/commit/ed6febc32f251c9bc3f0edb8f0e63…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: 13265adfc6c0eac053bb1288c63b213aa2a30195
https://github.com/kronosnet/kronosnet/commit/13265adfc6c0eac053bb1288c63b2…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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: 1d9dd1b57a6d4ab240d02a07a6b9e5a7d4c4105b
https://github.com/kronosnet/kronosnet/commit/1d9dd1b57a6d4ab240d02a07a6b9e…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-15 (Fri, 15 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/b3e6b49d987e...1d9dd1b57a6d