]>
git.proxmox.com Git - mirror_kronosnet.git/log
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Fabio M. Di Nitto [Tue, 6 Nov 2012 13:43:26 +0000 (14:43 +0100)]
kronosnetd: add ringid to interface creation to spicy up mac generation
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Tue, 6 Nov 2012 11:21:46 +0000 (12:21 +0100)]
fix multihoming support
major change across the board:
- drop concept of listeners completely, they are now handled internally
- link needs src/dst
- fix different segfaults
- cleanup API
- port kronosnetd UI to new format
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Fri, 2 Nov 2012 15:39:35 +0000 (16:39 +0100)]
libknet: first big hammer on logging
still needs fine tuning as we go to understand exactly what to log
in debugging mode
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Fri, 2 Nov 2012 11:42:42 +0000 (12:42 +0100)]
kronosnet: use a different macro for debug from libknet
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Fri, 2 Nov 2012 11:36:37 +0000 (12:36 +0100)]
Update TODO list
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Fri, 2 Nov 2012 11:20:14 +0000 (12:20 +0100)]
kronosnetd: add logging from libknet to logfile/stdout
no logging to vty yet
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Thu, 1 Nov 2012 09:01:17 +0000 (10:01 +0100)]
libknet: add basic logging infrastructure to the library
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sun, 28 Oct 2012 13:34:33 +0000 (14:34 +0100)]
Update TODO list
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sun, 28 Oct 2012 07:32:08 +0000 (08:32 +0100)]
Rename config fd to make space for logging from knet
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sat, 27 Oct 2012 05:23:41 +0000 (07:23 +0200)]
Update TODO list for libknet logging infrastructure
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sat, 27 Oct 2012 05:06:18 +0000 (07:06 +0200)]
Update TODO list
Using multiple dynamic links requires:
link dynamicXXXXXXXX
where XXXXXXXX can be any identifier
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sat, 27 Oct 2012 04:41:15 +0000 (06:41 +0200)]
Use bindv6only by default and make code simpler and safer
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Fri, 26 Oct 2012 09:14:32 +0000 (11:14 +0200)]
Update TODO list
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Fri, 26 Oct 2012 07:02:48 +0000 (09:02 +0200)]
libknet: fix bindv6only socket handling for dynamic connections
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Thu, 25 Oct 2012 19:12:32 +0000 (21:12 +0200)]
libknet/kronosnetd: add support for bindv6only
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Thu, 25 Oct 2012 18:41:56 +0000 (20:41 +0200)]
kronosnetd: fix error message and exit path
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Thu, 25 Oct 2012 18:38:31 +0000 (20:38 +0200)]
kronosnetd: add support for dual stack CLI (bindv6only yes/no)
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Thu, 25 Oct 2012 18:04:47 +0000 (20:04 +0200)]
kronosnetd: increase CLI default timeout
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Thu, 25 Oct 2012 10:09:38 +0000 (12:09 +0200)]
libknet: fix timespec handling
guess what.. it ain't portable...
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Thu, 25 Oct 2012 10:00:10 +0000 (12:00 +0200)]
Update TODO
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Thu, 25 Oct 2012 07:02:49 +0000 (09:02 +0200)]
Update TODO list
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Wed, 24 Oct 2012 15:14:35 +0000 (17:14 +0200)]
kronosnetd: don't buffer overflow
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Wed, 24 Oct 2012 14:52:43 +0000 (16:52 +0200)]
update .gitignore
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Wed, 24 Oct 2012 14:51:52 +0000 (16:51 +0200)]
build: link as needed
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Wed, 24 Oct 2012 14:35:37 +0000 (16:35 +0200)]
general: add init script and service file
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Wed, 24 Oct 2012 14:24:29 +0000 (16:24 +0200)]
libknet: ship .pc file and sort linking
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Wed, 24 Oct 2012 12:24:16 +0000 (14:24 +0200)]
libknet: link against -lrt for clock_gettime symbol
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Wed, 24 Oct 2012 12:19:35 +0000 (14:19 +0200)]
build: fix build for old version of nss/nspr
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Wed, 24 Oct 2012 12:15:59 +0000 (14:15 +0200)]
build: add missing file from tarball
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Wed, 24 Oct 2012 09:37:25 +0000 (11:37 +0200)]
Add preliminary support for handling dynamic ip connections
max on dynamic link per host for now, we need to fix link_id handling
first
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Tue, 23 Oct 2012 12:38:51 +0000 (14:38 +0200)]
kronosnetd: provide basic status functionality
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Tue, 23 Oct 2012 09:25:25 +0000 (11:25 +0200)]
ping_test: fix unit measure to be bearable
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Tue, 23 Oct 2012 09:24:16 +0000 (11:24 +0200)]
ping_test: fix usage example
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Tue, 23 Oct 2012 08:54:32 +0000 (10:54 +0200)]
kronosnet: add config support for link timers
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Tue, 23 Oct 2012 04:10:26 +0000 (06:10 +0200)]
kronosnetd: add link priority configuration
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Tue, 23 Oct 2012 03:26:25 +0000 (05:26 +0200)]
libknet: add link priority api call
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Mon, 15 Oct 2012 15:20:29 +0000 (17:20 +0200)]
libtap: workaround bug in SETMTU ioctl
apparently SETMTU does parse flags as well, make it clean
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Mon, 15 Oct 2012 09:33:20 +0000 (11:33 +0200)]
kronosnetd: allow configuration of switching-policy engine
passive/active/round-robin
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Mon, 15 Oct 2012 08:59:15 +0000 (10:59 +0200)]
update TODO list
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sun, 14 Oct 2012 12:26:45 +0000 (14:26 +0200)]
libknet: worst commit ever....
fix a series of segfaults in crypto init code
add api call to set switching policy (that was the original idea
of this change, till things started exploding on me)
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sun, 14 Oct 2012 05:18:57 +0000 (07:18 +0200)]
libknet: readd dst_cache_update function for internal use
this is required to trigger a recalculation when we change switching
policy at runtime from active/passive to active/active or round-robin
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sun, 14 Oct 2012 05:06:51 +0000 (07:06 +0200)]
libknet: don't use black magic..
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sun, 14 Oct 2012 04:56:37 +0000 (06:56 +0200)]
libknet: simplify link updown notification code
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sun, 14 Oct 2012 04:30:13 +0000 (06:30 +0200)]
libknet: remove that horrid dst_cache update and mask it around link_enabled
makes the API a bit more readable.
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sat, 13 Oct 2012 18:22:34 +0000 (20:22 +0200)]
libknet: fix 3des key size
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sat, 13 Oct 2012 10:10:00 +0000 (12:10 +0200)]
libknet: add support for 3des nss crypto
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sat, 13 Oct 2012 08:40:51 +0000 (10:40 +0200)]
libknet: add support for nss aes128 and aes192
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sat, 13 Oct 2012 06:53:44 +0000 (08:53 +0200)]
Update TODO list
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Fri, 12 Oct 2012 17:49:02 +0000 (19:49 +0200)]
libknet: move crypto to fully modular system
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Fri, 12 Oct 2012 16:48:09 +0000 (18:48 +0200)]
libknet: start implementing generic crypto vs nsscrypto framework
it will save us some time later if we decide to plug something else
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Fri, 12 Oct 2012 14:46:05 +0000 (16:46 +0200)]
crypto: rework the API and make it a separate init call
this also saves us a few memcpy around when not using crypto
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sun, 7 Oct 2012 14:14:35 +0000 (16:14 +0200)]
libknet: make host add a O(1) operation
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sat, 6 Oct 2012 13:06:49 +0000 (15:06 +0200)]
libknet: keep host ordered by insert
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sat, 6 Oct 2012 13:06:24 +0000 (15:06 +0200)]
kronosnetd: drop trailing space when saving config
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sat, 6 Oct 2012 09:00:25 +0000 (11:00 +0200)]
libknet: fix memmove offset and make it simpler
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sat, 6 Oct 2012 08:21:48 +0000 (10:21 +0200)]
libknet: first cut for RR support per packet
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Fri, 5 Oct 2012 14:38:40 +0000 (16:38 +0200)]
libknet: add handling of link priority for active passive
also update the TODO list
(this commit has not been tested)
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Fri, 5 Oct 2012 13:23:28 +0000 (15:23 +0200)]
update TODO list based on rekey brainstorm
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Wed, 3 Oct 2012 11:11:03 +0000 (13:11 +0200)]
kronosnetd: use fixed mac addresses to reduce arp work
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Wed, 3 Oct 2012 09:29:27 +0000 (11:29 +0200)]
libknet: export function to allow dst cache update on link removal
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Wed, 3 Oct 2012 09:06:12 +0000 (11:06 +0200)]
update TODO list
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Wed, 3 Oct 2012 08:58:00 +0000 (10:58 +0200)]
link policy handler: add first cut of code to have a switching policy engine
for now only ACTIVE and PASSIVE are supported. RR needs dst_cache_update/lookup.
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Tue, 2 Oct 2012 12:35:08 +0000 (14:35 +0200)]
libknet: rename var to be more explicit
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Tue, 2 Oct 2012 11:12:21 +0000 (13:12 +0200)]
libknet: fix endianess and memory alignment issues
also check for some return codes
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Tue, 2 Oct 2012 10:58:18 +0000 (12:58 +0200)]
build: drop warning check for enum-compare
in some older versions of gcc, the flag is supported only for C++,
our flag test succeed, but we fail to build.
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Mon, 1 Oct 2012 06:45:10 +0000 (08:45 +0200)]
libknet: add unicast switching support
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sun, 30 Sep 2012 05:54:19 +0000 (07:54 +0200)]
update TODO with some ideas for improvements
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sat, 29 Sep 2012 15:14:34 +0000 (17:14 +0200)]
build: LIBQB -> libqb
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sat, 29 Sep 2012 13:12:54 +0000 (15:12 +0200)]
libknet: rename fields in knet_link to be more meaningful
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sat, 29 Sep 2012 09:52:30 +0000 (11:52 +0200)]
libknet: rename i,j,k to some proper vars and make code a bit more readable
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sat, 29 Sep 2012 05:05:54 +0000 (07:05 +0200)]
libknet: make ready for unicast handling and fix unlocking if crypto fails
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Sat, 29 Sep 2012 04:43:28 +0000 (06:43 +0200)]
update TODO list
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Fri, 28 Sep 2012 19:05:13 +0000 (21:05 +0200)]
libknet: packet inspector first cut
add packet destination filter API and provide an example
for ethernet packet inspector.
also start to plug the inspector into the transmitting end of
libknet
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Fri, 28 Sep 2012 11:43:40 +0000 (13:43 +0200)]
libknet: implement basic ring buffer for bcast packets
fix KNET_FRAME_SIZE handling around
don't try to send messages to links that are not ready
gather host info for all incoming pkcts (data/ping) since there
is no point to go crazy figuring it out
add basic ring buffer functions based on playground implementation
(still missing reset of the buffer)
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Fri, 28 Sep 2012 10:14:01 +0000 (12:14 +0200)]
kronosnetd: fix data initialization
we can't memset knet_link because khost_add does some initialization
there that we overwrite otherwise.
drop incorrect clean up path. knet_links are not malloc'ed but statically
allocated.
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Thu, 27 Sep 2012 19:06:02 +0000 (21:06 +0200)]
kronosnetd: remove spurios debugging messages
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Thu, 27 Sep 2012 19:00:18 +0000 (21:00 +0200)]
libknet: add seq_num to sender host
bcast for packets that needs to be sent to all nodes
ucast for direct packets
the difference is necessary to avoid unncessary re-encryption
of packets. This will make more sense once packet inspector
is in place, but basically seq_num are per host and not all
packets will go everywhere, creating undesirable holes in the
packet_ring_buffer, that in turns, in a non-encrypted network
could lead to some annoyance.
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>