]> git.proxmox.com Git - mirror_kronosnet.git/log
mirror_kronosnet.git
11 years agomove knet_link into internals.h
Fabio M. Di Nitto [Tue, 18 Dec 2012 09:57:36 +0000 (10:57 +0100)]
move knet_link into internals.h

hack fest still in place, we need to sort out ABI and locking

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet api cleanup: move knet_host out of public API
Fabio M. Di Nitto [Mon, 17 Dec 2012 16:16:15 +0000 (17:16 +0100)]
libknet api cleanup: move knet_host out of public API

the knet_host_* calls are pretty much set for now.

the new knet_link_* calls are temporary to interface with the old API.

knet_link will die next.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoMove --version to library only bits
Fabio M. Di Nitto [Mon, 17 Dec 2012 13:54:23 +0000 (14:54 +0100)]
Move --version to library only bits

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Mon, 17 Dec 2012 13:45:44 +0000 (14:45 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoreorganize libknet.h in sections
Fabio M. Di Nitto [Fri, 14 Dec 2012 10:37:44 +0000 (11:37 +0100)]
reorganize libknet.h in sections

just makes it easier to read as we move stuff around

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoDrop tests/ subfolder
Fabio M. Di Nitto [Fri, 14 Dec 2012 10:29:09 +0000 (11:29 +0100)]
Drop tests/ subfolder

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoMove all tests in the respective folders
Fabio M. Di Nitto [Fri, 14 Dec 2012 10:25:30 +0000 (11:25 +0100)]
Move all tests in the respective folders

this makes it easier to isolate what needs changing where and when

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoMove hellgrind and valgrind checks to a common make snippet
Fabio M. Di Nitto [Fri, 14 Dec 2012 10:19:12 +0000 (11:19 +0100)]
Move hellgrind and valgrind checks to a common make snippet

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoCleanup tests for kronosnetd
Fabio M. Di Nitto [Fri, 14 Dec 2012 10:10:30 +0000 (11:10 +0100)]
Cleanup tests for kronosnetd

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoremove obsoleted test tool
Fabio M. Di Nitto [Fri, 14 Dec 2012 09:56:30 +0000 (10:56 +0100)]
remove obsoleted test tool

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoDrop one more unrequired config bit
Fabio M. Di Nitto [Fri, 14 Dec 2012 09:37:47 +0000 (10:37 +0100)]
Drop one more unrequired config bit

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agomove all logging definitions in the same section
Fabio M. Di Nitto [Fri, 14 Dec 2012 09:34:50 +0000 (10:34 +0100)]
move all logging definitions in the same section

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agodrop redundant dst_filter config check
Fabio M. Di Nitto [Fri, 14 Dec 2012 09:29:45 +0000 (10:29 +0100)]
drop redundant dst_filter config check

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agofix segfault in ping_test src_port handling
Fabio M. Di Nitto [Fri, 14 Dec 2012 09:24:00 +0000 (10:24 +0100)]
fix segfault in ping_test src_port handling

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agomove listener only define
Fabio M. Di Nitto [Fri, 14 Dec 2012 09:16:21 +0000 (10:16 +0100)]
move listener only define

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agocleanup crypto headers
Fabio M. Di Nitto [Fri, 14 Dec 2012 08:59:28 +0000 (09:59 +0100)]
cleanup crypto headers

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agomove ping size to onwire and make name more clear
Fabio M. Di Nitto [Fri, 14 Dec 2012 08:44:20 +0000 (09:44 +0100)]
move ping size to onwire and make name more clear

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agodrop unrequired header
Fabio M. Di Nitto [Fri, 14 Dec 2012 08:29:40 +0000 (09:29 +0100)]
drop unrequired header

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: create onwire.h to contain/define all packet(s) data/info
Fabio M. Di Nitto [Fri, 14 Dec 2012 08:27:44 +0000 (09:27 +0100)]
libknet: create onwire.h to contain/define all packet(s) data/info

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoMake rename clean
Fabio M. Di Nitto [Fri, 14 Dec 2012 08:24:07 +0000 (09:24 +0100)]
Make rename clean

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agorename libknet-private.h to internals.h
Fabio M. Di Nitto [Fri, 14 Dec 2012 08:22:24 +0000 (09:22 +0100)]
rename libknet-private.h to internals.h

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoMove etherfilter where it belongs
Fabio M. Di Nitto [Thu, 13 Dec 2012 10:09:51 +0000 (11:09 +0100)]
Move etherfilter where it belongs

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: fix host info propagation on kronosnetd restart
Fabio M. Di Nitto [Fri, 7 Dec 2012 15:42:44 +0000 (16:42 +0100)]
libknet: fix host info propagation on kronosnetd restart

this avoids lots of incorrect chit/chat and make sure
to send data when required

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Fri, 7 Dec 2012 05:00:35 +0000 (06:00 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agokronosnetd: fix init script return codes
Fabio M. Di Nitto [Thu, 6 Dec 2012 07:43:39 +0000 (08:43 +0100)]
kronosnetd: fix init script return codes

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoOne more attempt to fix make dist out-of-tree
Fabio M. Di Nitto [Tue, 4 Dec 2012 14:24:29 +0000 (15:24 +0100)]
One more attempt to fix make dist out-of-tree

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agobetter fix to fix git fix for build out of tree fix
Fabio M. Di Nitto [Tue, 4 Dec 2012 14:17:22 +0000 (15:17 +0100)]
better fix to fix git fix for build out of tree fix

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoFix out-of-tree build
Fabio M. Di Nitto [Tue, 4 Dec 2012 14:14:00 +0000 (15:14 +0100)]
Fix out-of-tree build

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Tue, 4 Dec 2012 14:05:46 +0000 (15:05 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agofix O_NONBLOCK fd setting functions
Fabio M. Di Nitto [Tue, 4 Dec 2012 14:00:06 +0000 (15:00 +0100)]
fix O_NONBLOCK fd setting functions

*facepalm*

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agologging: cleanup logging to avoid clogging the logfd pipe
Fabio M. Di Nitto [Tue, 4 Dec 2012 11:02:23 +0000 (12:02 +0100)]
logging: cleanup logging to avoid clogging the logfd pipe

move it to its own thread and clean up logfd handling

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoFix debian generation
Fabio M. Di Nitto [Tue, 4 Dec 2012 08:38:28 +0000 (09:38 +0100)]
Fix debian generation

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agodebian: fix date spacing/formatting
Fabio M. Di Nitto [Tue, 4 Dec 2012 07:57:45 +0000 (08:57 +0100)]
debian: fix date spacing/formatting

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibtap: small step back to .so.0.0.0
Fabio M. Di Nitto [Tue, 4 Dec 2012 07:52:42 +0000 (08:52 +0100)]
libtap: small step back to .so.0.0.0

no point to have 1.0.0 when we are not even sure the API is final

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agobuild: fix maintainer-clean when building on != debian based distro
Fabio M. Di Nitto [Tue, 4 Dec 2012 04:47:05 +0000 (05:47 +0100)]
build: fix maintainer-clean when building on != debian based distro

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate .gitignore
Fabio M. Di Nitto [Tue, 4 Dec 2012 04:38:57 +0000 (05:38 +0100)]
Update .gitignore

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: fix data forwarding check
Fabio M. Di Nitto [Tue, 4 Dec 2012 04:38:22 +0000 (05:38 +0100)]
libknet: fix data forwarding check

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Tue, 4 Dec 2012 04:33:15 +0000 (05:33 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Mon, 3 Dec 2012 14:32:20 +0000 (15:32 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agobuild: fix make dist and make maintainer-clean
Fabio M. Di Nitto [Mon, 3 Dec 2012 11:30:39 +0000 (12:30 +0100)]
build: fix make dist and make maintainer-clean

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoadd support to build deb packages
Fabio M. Di Nitto [Mon, 3 Dec 2012 11:30:13 +0000 (12:30 +0100)]
add support to build deb packages

use: make debs

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agogenerate package version from git/configure
Fabio M. Di Nitto [Sun, 2 Dec 2012 15:52:18 +0000 (16:52 +0100)]
generate package version from git/configure

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Thu, 29 Nov 2012 14:01:50 +0000 (15:01 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoFix copyright/authors all over
Fabio M. Di Nitto [Thu, 29 Nov 2012 13:59:33 +0000 (14:59 +0100)]
Fix copyright/authors all over

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agokronostned: add logrotate file
Fabio M. Di Nitto [Thu, 29 Nov 2012 12:21:48 +0000 (13:21 +0100)]
kronostned: add logrotate file

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoupdate TODO list
Fabio M. Di Nitto [Thu, 29 Nov 2012 10:19:32 +0000 (11:19 +0100)]
update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoFix super annoying kronosnet/kronosnetd discrepancies around
Fabio M. Di Nitto [Thu, 29 Nov 2012 10:04:08 +0000 (11:04 +0100)]
Fix super annoying kronosnet/kronosnetd discrepancies around

and fix a few rpmlint warnings/errors

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate .gitignore
Fabio M. Di Nitto [Thu, 29 Nov 2012 10:03:39 +0000 (11:03 +0100)]
Update .gitignore

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agokronosnetd: add basic spec file
Fabio M. Di Nitto [Thu, 29 Nov 2012 09:39:01 +0000 (10:39 +0100)]
kronosnetd: add basic spec file

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoadd native debian packaging
Fabio M. Di Nitto [Thu, 29 Nov 2012 08:55:15 +0000 (09:55 +0100)]
add native debian packaging

this is based on debhelper version 7 to allow build
also on Ubuntu Lucid

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoupdate from autoscan
Fabio M. Di Nitto [Thu, 29 Nov 2012 08:51:52 +0000 (09:51 +0100)]
update from autoscan

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agokronosnetd: add man pages
Fabio M. Di Nitto [Thu, 29 Nov 2012 08:39:26 +0000 (09:39 +0100)]
kronosnetd: add man pages

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoinit script: shutup lintian warning
Fabio M. Di Nitto [Thu, 29 Nov 2012 08:13:25 +0000 (09:13 +0100)]
init script: shutup lintian warning

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: fix cbuffers cleaning after normal shutdown/link down/crash
Fabio M. Di Nitto [Mon, 26 Nov 2012 10:42:28 +0000 (11:42 +0100)]
libknet: fix cbuffers cleaning after normal shutdown/link down/crash

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Sun, 25 Nov 2012 06:14:05 +0000 (07:14 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: clean up circular buffer counters when remote goes dead
Fabio M. Di Nitto [Sun, 25 Nov 2012 05:53:28 +0000 (06:53 +0100)]
libknet: clean up circular buffer counters when remote goes dead

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: record status from incoming HOST_INFO link up-down messages
Fabio M. Di Nitto [Sun, 25 Nov 2012 05:46:07 +0000 (06:46 +0100)]
libknet: record status from incoming HOST_INFO link up-down messages

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: notify remote host of link status changes
Fabio M. Di Nitto [Fri, 23 Nov 2012 15:30:43 +0000 (16:30 +0100)]
libknet: notify remote host of link status changes

receiver still can't use those data for anything

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: fix locking within logging... for real
Fabio M. Di Nitto [Fri, 23 Nov 2012 15:23:40 +0000 (16:23 +0100)]
libknet: fix locking within logging... for real

what the hell was i thinking with 1ab701ce16

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: fix locking within logging
Fabio M. Di Nitto [Fri, 23 Nov 2012 15:16:39 +0000 (16:16 +0100)]
libknet: fix locking within logging

we cannot grab a lock during logging because something else
might be already using a lock.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: add support for HOST_INFO unicast dispatch
Fabio M. Di Nitto [Fri, 23 Nov 2012 10:28:30 +0000 (11:28 +0100)]
libknet: add support for HOST_INFO unicast dispatch

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: fix data write to fd
Fabio M. Di Nitto [Fri, 23 Nov 2012 10:25:50 +0000 (11:25 +0100)]
libknet: fix data write to fd

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO
Fabio M. Di Nitto [Fri, 23 Nov 2012 06:58:36 +0000 (07:58 +0100)]
Update TODO

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: remove hardcoded magic numbers
Fabio M. Di Nitto [Sat, 17 Nov 2012 07:16:31 +0000 (08:16 +0100)]
libknet: remove hardcoded magic numbers

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: basic prototyping of HOST_INFO messages
Fabio M. Di Nitto [Sat, 17 Nov 2012 07:08:32 +0000 (08:08 +0100)]
libknet: basic prototyping of HOST_INFO messages

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: make all data packed
Fabio M. Di Nitto [Sat, 17 Nov 2012 03:50:44 +0000 (04:50 +0100)]
libknet: make all data packed

gcc doesn't propagate packed attribute down to a union

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: fix unlocking in case of errors in tap_to_links
Fabio M. Di Nitto [Sat, 17 Nov 2012 03:40:10 +0000 (04:40 +0100)]
libknet: fix unlocking in case of errors in tap_to_links

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Fri, 16 Nov 2012 13:42:48 +0000 (14:42 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: add sync host to host messagging
Fabio M. Di Nitto [Fri, 16 Nov 2012 13:32:58 +0000 (14:32 +0100)]
libknet: add sync host to host messagging

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agokronosnetd: make baseport endian clean
Fabio M. Di Nitto [Fri, 16 Nov 2012 08:36:50 +0000 (09:36 +0100)]
kronosnetd: make baseport endian clean

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agokronosnet: merge concept of RINGID and baseport
Fabio M. Di Nitto [Fri, 16 Nov 2012 08:13:04 +0000 (09:13 +0100)]
kronosnet: merge concept of RINGID and baseport

this avoids extra confusion with ringid

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Wed, 14 Nov 2012 14:16:07 +0000 (15:16 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibtap: store ip in the same order as they entered
Fabio M. Di Nitto [Wed, 14 Nov 2012 14:15:17 +0000 (15:15 +0100)]
libtap: store ip in the same order as they entered

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agokronosnetd: save interfaces in the same order as input
Fabio M. Di Nitto [Wed, 14 Nov 2012 14:07:03 +0000 (15:07 +0100)]
kronosnetd: save interfaces in the same order as input

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agokronosnetd: allow vty timeout to be loaded from config
Fabio M. Di Nitto [Wed, 14 Nov 2012 08:33:15 +0000 (09:33 +0100)]
kronosnetd: allow vty timeout to be loaded from config

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Wed, 14 Nov 2012 05:18:25 +0000 (06:18 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Tue, 13 Nov 2012 14:41:26 +0000 (15:41 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibtap: attempt to fix ioctl usage
Fabio M. Di Nitto [Tue, 13 Nov 2012 08:56:49 +0000 (09:56 +0100)]
libtap: attempt to fix ioctl usage

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agokronosnetd: fix parsing of ip_list return from libtap
Fabio M. Di Nitto [Tue, 13 Nov 2012 05:32:20 +0000 (06:32 +0100)]
kronosnetd: fix parsing of ip_list return from libtap

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list (bug list)
Fabio M. Di Nitto [Mon, 12 Nov 2012 18:59:40 +0000 (19:59 +0100)]
Update TODO list (bug list)

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agokronosnetd: increase default vty timeout and save it to config
Fabio M. Di Nitto [Mon, 12 Nov 2012 12:01:23 +0000 (13:01 +0100)]
kronosnetd: increase default vty timeout and save it to config

loading still has no effect

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agokronosnetd: add vty timeout command
Fabio M. Di Nitto [Mon, 12 Nov 2012 10:34:01 +0000 (11:34 +0100)]
kronosnetd: add vty timeout command

the value is not persistent or saved in config

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agokronosnetd: add vty config node
Fabio M. Di Nitto [Mon, 12 Nov 2012 10:13:20 +0000 (11:13 +0100)]
kronosnetd: add vty config node

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Mon, 12 Nov 2012 07:46:45 +0000 (08:46 +0100)]
Update TODO list

cannot be done without major config rewrite right now

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agokronosnetd: fix spacing in login prompt
Fabio M. Di Nitto [Mon, 12 Nov 2012 04:55:16 +0000 (05:55 +0100)]
kronosnetd: fix spacing in login prompt

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Mon, 12 Nov 2012 04:01:39 +0000 (05:01 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agoUpdate TODO list
Fabio M. Di Nitto [Sat, 10 Nov 2012 06:27:54 +0000 (07:27 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agolibknet: fix link_enable logic
Fabio M. Di Nitto [Fri, 9 Nov 2012 07:47:12 +0000 (08:47 +0100)]
libknet: fix link_enable logic

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agokronosnetd: perform clean shutdown on daemon exit
Fabio M. Di Nitto [Thu, 8 Nov 2012 11:30:50 +0000 (12:30 +0100)]
kronosnetd: perform clean shutdown on daemon exit

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agolibknet: fix listener remove return code
Fabio M. Di Nitto [Thu, 8 Nov 2012 11:01:24 +0000 (12:01 +0100)]
libknet: fix listener remove return code

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agolibknet: misc cleanup
Fabio M. Di Nitto [Thu, 8 Nov 2012 10:59:37 +0000 (11:59 +0100)]
libknet: misc cleanup

remove fds from epolls on exit

don't mingle with listeners if there is no link status change

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agolibknet: fix unlocking in log message
Fabio M. Di Nitto [Thu, 8 Nov 2012 10:53:52 +0000 (11:53 +0100)]
libknet: fix unlocking in log message

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agolibknet: make basic infrastructure ready for host to host comm
Fabio M. Di Nitto [Thu, 8 Nov 2012 08:40:54 +0000 (09:40 +0100)]
libknet: make basic infrastructure ready for host to host comm

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agolibknet: rename pipefd to dstpipefd
Fabio M. Di Nitto [Thu, 8 Nov 2012 08:10:22 +0000 (09:10 +0100)]
libknet: rename pipefd to dstpipefd

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agoUpdate TODO list
Fabio M. Di Nitto [Thu, 8 Nov 2012 07:57:55 +0000 (08:57 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agocrypto: move crypto buffer allocation back to handle
Fabio M. Di Nitto [Tue, 6 Nov 2012 19:14:46 +0000 (20:14 +0100)]
crypto: move crypto buffer allocation back to handle

nsscrypto doesn't need to know how many buffers to allocate/free

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agolibknet: drop magic number in header
Fabio M. Di Nitto [Tue, 6 Nov 2012 18:56:52 +0000 (19:56 +0100)]
libknet: drop magic number in header

save 4 bytes per packet and avoid plain text attack

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agoUpdate TODO
Fabio M. Di Nitto [Tue, 6 Nov 2012 15:35:10 +0000 (16:35 +0100)]
Update TODO

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agolibknet: make error message more useful
Fabio M. Di Nitto [Tue, 6 Nov 2012 15:30:42 +0000 (16:30 +0100)]
libknet: make error message more useful

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agokronosnetd: make config safer to copy paste
Fabio M. Di Nitto [Tue, 6 Nov 2012 15:21:46 +0000 (16:21 +0100)]
kronosnetd: make config safer to copy paste

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>