olsrd.git
10 years agoeasier support for plugins without parameters
Henning Rogge [Sun, 5 Jul 2009 09:07:42 +0000 (11:07 +0200)]
easier support for plugins without parameters
converted lq_etx_ff plugin to new interface for static linking

10 years agoRemove all float values from olsr_cnf
Henning Rogge [Thu, 2 Jul 2009 19:36:28 +0000 (21:36 +0200)]
Remove all float values from olsr_cnf
convert olsr_cfg.c to caseinsensitive

10 years agoRemove copy of lq_etx_ff plugin from default code and replace it with static linking
Henning Rogge [Thu, 2 Jul 2009 15:39:40 +0000 (17:39 +0200)]
Remove copy of lq_etx_ff plugin from default code and replace it with static linking

10 years agoCleanup makefile and add <plugin>_install targets
Henning Rogge [Thu, 2 Jul 2009 06:23:17 +0000 (08:23 +0200)]
Cleanup makefile and add <plugin>_install targets

10 years agoVersion 6 plugin loader (dynamic loading/unloading, static linking of plugins, easier...
Henning Rogge [Wed, 1 Jul 2009 16:33:12 +0000 (18:33 +0200)]
Version 6 plugin loader (dynamic loading/unloading, static linking of plugins, easier interface)
Only txtinfo was converted to new plugin interface, the other will be done soon

10 years agoMerge
Saverio Proto [Tue, 30 Jun 2009 09:35:36 +0000 (11:35 +0200)]
Merge

10 years agoRemove Olsrd host emulation code
Henning Rogge [Sat, 27 Jun 2009 22:44:08 +0000 (00:44 +0200)]
Remove Olsrd host emulation code

10 years agoRemove IPC interface
Henning Rogge [Sat, 27 Jun 2009 22:12:31 +0000 (00:12 +0200)]
Remove IPC interface

10 years agoThis patch fixes the problem of mdns messages not aligned to 4 bytes
Saverio Proto [Fri, 26 Jun 2009 14:11:16 +0000 (16:11 +0200)]
This patch fixes the problem of mdns messages not aligned to 4 bytes

Tested on virtual lab on Netkit both for IPv4 and IPv6

10 years agouse more appropiate debug/log levels
Markus Kittenberger [Sun, 14 Jun 2009 01:10:39 +0000 (03:10 +0200)]
use more appropiate debug/log levels

10 years agofix issues with rtnetlink rules
Markus Kittenberger [Sun, 14 Jun 2009 00:53:55 +0000 (02:53 +0200)]
fix issues with rtnetlink rules

10 years agologic cleanup in rtnetlink code
Markus Kittenberger [Sat, 13 Jun 2009 14:01:19 +0000 (16:01 +0200)]
logic cleanup in rtnetlink code

10 years agoimproved rtnetlink handling for lo:olsr
Markus Kittenberger [Sat, 13 Jun 2009 12:22:23 +0000 (14:22 +0200)]
improved rtnetlink handling for lo:olsr

10 years agodelete dummy policy rule
Markus Kittenberger [Sat, 13 Jun 2009 10:38:00 +0000 (12:38 +0200)]
delete dummy policy rule

10 years agoFIX for chaining commands in telnet-server
Henning Rogge [Sat, 13 Jun 2009 09:36:30 +0000 (11:36 +0200)]
FIX for chaining commands in telnet-server

10 years agoadd some missing logger #ifdefs
Markus Kittenberger [Fri, 12 Jun 2009 23:09:49 +0000 (01:09 +0200)]
add some missing logger #ifdefs

10 years agomissing header of previous patch
Markus Kittenberger [Fri, 12 Jun 2009 23:08:11 +0000 (01:08 +0200)]
missing header of previous patch

10 years agoadd dummy rule if an custom RtTable is used
Markus Kittenberger [Fri, 12 Jun 2009 23:07:00 +0000 (01:07 +0200)]
add dummy rule if an custom RtTable is used

10 years agoRemember IPs of interfaces going down to filter incoming hello neighbors
Henning Rogge [Thu, 11 Jun 2009 13:05:06 +0000 (15:05 +0200)]
Remember IPs of interfaces going down to filter incoming hello neighbors

10 years agoFIX for modified topology db
Henning Rogge [Thu, 11 Jun 2009 11:00:43 +0000 (13:00 +0200)]
FIX for modified topology db

10 years agoFix cleanup in duplicate set
Henning Rogge [Thu, 11 Jun 2009 09:18:47 +0000 (11:18 +0200)]
Fix cleanup in duplicate set

10 years agoMofify topology db to create "virtual" edges for every tc entry
Henning Rogge [Thu, 11 Jun 2009 09:10:43 +0000 (11:10 +0200)]
Mofify topology db to create "virtual" edges for every tc entry
which has not been mentioned by the neighbor. This is necessary for
tc_redundancy 0 and 1.

10 years agobugfix: add duplicate key support for cookie names
Hannes Gredler [Wed, 10 Jun 2009 07:44:40 +0000 (09:44 +0200)]
bugfix: add duplicate key support for cookie names
timer and memory cookies often share the same name.

10 years agoThis patch adds to the mdns plugin the new feature to tune the TTL of OLSR mdns
Saverio Proto [Fri, 5 Jun 2009 10:09:23 +0000 (12:09 +0200)]
This patch adds to the mdns plugin the new feature to tune the TTL of OLSR mdns
messages from the configuration file. There is new PlParam in the Plugin
configuration block.

(patch includes change to the README for documentation)

10 years agozero-change: cosmetic code cleanup
Hannes Gredler [Sun, 31 May 2009 11:49:54 +0000 (13:49 +0200)]
zero-change: cosmetic code cleanup

10 years agoIntroduce LOG_INTERFACE category for logger
Henning Rogge [Sat, 30 May 2009 21:30:18 +0000 (23:30 +0200)]
Introduce LOG_INTERFACE category for logger

10 years agoFix type in debuginfo plugin
Henning Rogge [Sat, 30 May 2009 21:29:48 +0000 (23:29 +0200)]
Fix type in debuginfo plugin

10 years agoPut MPRSet capabilities into neighbor table.
Henning Rogge [Sat, 30 May 2009 18:30:50 +0000 (20:30 +0200)]
Put MPRSet capabilities into neighbor table.

10 years agoMove from fixed cookie array to dynamic tree
Henning Rogge [Sat, 30 May 2009 17:40:08 +0000 (19:40 +0200)]
Move from fixed cookie array to dynamic tree

10 years agoRemove two_hop_neighbortable.[ch]
Henning Rogge [Sat, 30 May 2009 15:53:47 +0000 (17:53 +0200)]
Remove two_hop_neighbortable.[ch]
(not used anymore)

10 years agoAnother mayor cleanup for neighbor/neighbor2 data.
Henning Rogge [Sat, 30 May 2009 12:38:14 +0000 (14:38 +0200)]
Another mayor cleanup for neighbor/neighbor2 data.
cleanup of n/n2 database by MIDs must still be tested

10 years agoconvert the MPR selector list to an AVL tree
Hannes Gredler [Sat, 30 May 2009 09:21:56 +0000 (11:21 +0200)]
convert the MPR selector list to an AVL tree

10 years agocode-cosmetics: zero-change commit for lq_mpr
Hannes Gredler [Sat, 30 May 2009 08:51:51 +0000 (10:51 +0200)]
code-cosmetics: zero-change commit for lq_mpr

10 years agosquelch compiler warning
Hannes Gredler [Fri, 29 May 2009 20:46:17 +0000 (22:46 +0200)]
squelch compiler warning

10 years agoAdded tag OLSRD_AFTER_NBR2_REFACTORING for changeset 3283602d3be7
Hannes Gredler [Fri, 29 May 2009 20:42:39 +0000 (22:42 +0200)]
Added tag OLSRD_AFTER_NBR2_REFACTORING for changeset 3283602d3be7

10 years agofixup comments, nbr2 refactoring is now complete
Hannes Gredler [Fri, 29 May 2009 20:42:25 +0000 (22:42 +0200)]
fixup comments, nbr2 refactoring is now complete

10 years agoremove inclusion of hash routines, we do not need them anylonger
Hannes Gredler [Fri, 29 May 2009 20:32:28 +0000 (22:32 +0200)]
remove inclusion of hash routines, we do not need them anylonger

10 years agorename: zero-change commit
Hannes Gredler [Fri, 29 May 2009 20:25:46 +0000 (22:25 +0200)]
rename: zero-change commit

10 years agoadd memory management for nbr2 and nbr_list entries
Hannes Gredler [Fri, 29 May 2009 19:25:27 +0000 (21:25 +0200)]
add memory management for nbr2 and nbr_list entries

10 years agobugfix: fix double free of a nbr2 by not recursing through olsr_nbr2_unlock
Hannes Gredler [Fri, 29 May 2009 19:16:46 +0000 (21:16 +0200)]
bugfix: fix double free of a nbr2 by not recursing through olsr_nbr2_unlock

10 years agoconvert the nbr_list references subtree to use avl trees
Hannes Gredler [Fri, 29 May 2009 18:45:51 +0000 (20:45 +0200)]
convert the nbr_list references subtree to use avl trees

10 years agoconvert the nbr2 table to use avl trees
Hannes Gredler [Fri, 29 May 2009 17:09:37 +0000 (19:09 +0200)]
convert the nbr2 table to use avl trees

10 years agodo not clear the timer without stopping it
Hannes Gredler [Wed, 27 May 2009 20:14:44 +0000 (22:14 +0200)]
do not clear the timer without stopping it

10 years agobugfix: remove unnecessary unlock
Hannes Gredler [Wed, 27 May 2009 16:34:28 +0000 (18:34 +0200)]
bugfix: remove unnecessary unlock

10 years agofurther renames, preparation for neighbor2 refactoring
Hannes Gredler [Wed, 27 May 2009 14:34:48 +0000 (16:34 +0200)]
further renames, preparation for neighbor2 refactoring

10 years agokill all nbr2 references prior to removing a nbr2
Hannes Gredler [Wed, 27 May 2009 14:15:20 +0000 (16:15 +0200)]
kill all nbr2 references prior to removing a nbr2

10 years agoresolve merge conflicts
Hannes Gredler [Wed, 27 May 2009 11:11:12 +0000 (13:11 +0200)]
resolve merge conflicts

10 years agoBacked out changeset 341605a12011
Hannes Gredler [Wed, 27 May 2009 11:04:42 +0000 (13:04 +0200)]
Backed out changeset 341605a12011
the nbr2_list is used for gargabe collection -
moving it to the nbr2 entry may cause grief

10 years agoadd a clean lock/unlock model for nbr2 references
Hannes Gredler [Wed, 27 May 2009 08:38:58 +0000 (10:38 +0200)]
add a clean lock/unlock model for nbr2 references

10 years agoadd the rename script which i have used for refactoring
Hannes Gredler [Wed, 27 May 2009 07:30:11 +0000 (09:30 +0200)]
add the rename script which i have used for refactoring

10 years agoremove timer reference when stopping timer
Hannes Gredler [Wed, 27 May 2009 07:22:19 +0000 (09:22 +0200)]
remove timer reference when stopping timer

10 years agorenames in the nbr2 code, preparation for neighbor2 refactoring
Hannes Gredler [Wed, 27 May 2009 07:05:07 +0000 (09:05 +0200)]
renames in the nbr2 code, preparation for neighbor2 refactoring

10 years agoAdd pktstat command to debuginfo
Henning Rogge [Tue, 26 May 2009 20:25:05 +0000 (22:25 +0200)]
Add pktstat command to debuginfo

10 years agoMore work for the new debuginfo plugin
Henning Rogge [Tue, 26 May 2009 18:51:35 +0000 (20:51 +0200)]
More work for the new debuginfo plugin

10 years agoAdd generic processing duplicate detection
Henning Rogge [Tue, 26 May 2009 16:33:01 +0000 (18:33 +0200)]
Add generic processing duplicate detection

10 years agoremove debugging output
Henning Rogge [Tue, 26 May 2009 15:07:19 +0000 (17:07 +0200)]
remove debugging output

10 years agoFIX: segfault during neightable timer cleanup
Henning Rogge [Tue, 26 May 2009 15:04:50 +0000 (17:04 +0200)]
FIX: segfault during neightable timer cleanup

10 years agoFix small explanations in makefile and in release-howto
Henning Rogge [Tue, 26 May 2009 10:40:02 +0000 (12:40 +0200)]
Fix small explanations in makefile and in release-howto

10 years agoFirst version of new http/txt server for OLSR.
Henning Rogge [Tue, 26 May 2009 09:42:44 +0000 (11:42 +0200)]
First version of new http/txt server for OLSR.
Txtinfo has already be changed to new server API.

10 years agoFix error output for debug parameter
Henning Rogge [Tue, 26 May 2009 08:46:27 +0000 (10:46 +0200)]
Fix error output for debug parameter

10 years agobugfix: for auto-deleted routes display the gw and not the interface to avoid a NULL ref
Hannes Gredler [Fri, 22 May 2009 17:51:07 +0000 (19:51 +0200)]
bugfix: for auto-deleted routes display the gw and not the interface to avoid a NULL ref

10 years agobugfix: init key prior to AVL insertion
Hannes Gredler [Fri, 22 May 2009 16:26:44 +0000 (18:26 +0200)]
bugfix: init key prior to AVL insertion

10 years agoAdded tag OLSRD_AFTER_NBR_REFACTORING for changeset 8afe0a863336
Hannes Gredler [Thu, 21 May 2009 09:32:23 +0000 (11:32 +0200)]
Added tag OLSRD_AFTER_NBR_REFACTORING for changeset 8afe0a863336

10 years agorefactor the neighbor database (second attempt)
Hannes Gredler [Thu, 21 May 2009 09:30:33 +0000 (11:30 +0200)]
refactor the neighbor database (second attempt)

10 years agoignore *-backup files
Hannes Gredler [Tue, 19 May 2009 19:01:26 +0000 (21:01 +0200)]
ignore *-backup files

10 years agofixup the Makefile such that it tolerates the string "changeset" in the commit message,
Hannes Gredler [Tue, 19 May 2009 18:18:59 +0000 (20:18 +0200)]
fixup the Makefile such that it tolerates the string "changeset" in the commit message,
like it happens when backing out a changeset.

10 years agoBacked out changeset 41628211a409 - something got way broken during merging
Hannes Gredler [Tue, 19 May 2009 18:06:37 +0000 (20:06 +0200)]
Backed out changeset 41628211a409 - something got way broken during merging

10 years agorefactor the neighbor database
Hannes Gredler [Tue, 19 May 2009 17:55:14 +0000 (19:55 +0200)]
refactor the neighbor database
-replace hashes through AVL trees
-reduce memory churn for MPR election

10 years agoAdded tag OLSRD_BEFORE_NBR_REFACTORING for changeset c715080cb051
Hannes Gredler [Tue, 19 May 2009 17:55:03 +0000 (19:55 +0200)]
Added tag OLSRD_BEFORE_NBR_REFACTORING for changeset c715080cb051

10 years agofurther renames in the nbr code, preparation for neighbor refactoring
Hannes Gredler [Mon, 18 May 2009 13:34:23 +0000 (15:34 +0200)]
further renames in the nbr code, preparation for neighbor refactoring

10 years agomaintain the correct refcount for tc_myself
Hannes Gredler [Mon, 18 May 2009 06:50:58 +0000 (08:50 +0200)]
maintain the correct refcount for tc_myself

10 years agobitfield packing for nbr entries
Hannes Gredler [Sun, 17 May 2009 16:52:23 +0000 (18:52 +0200)]
bitfield packing for nbr entries

10 years agorename neighbor and neighbor2_list entry, preparation for neighbor refactoring
Hannes Gredler [Sun, 17 May 2009 16:03:58 +0000 (18:03 +0200)]
rename neighbor and neighbor2_list entry, preparation for neighbor refactoring

10 years agoreduce TC vtime jitter from 25% down to 5%
Hannes Gredler [Thu, 7 May 2009 15:09:33 +0000 (17:09 +0200)]
reduce TC vtime jitter from 25% down to 5%
25% only should be used for outgoing messages.
for incoming messages we basically want to stick with the vtime of the originator
and reducing it by 5% just provides some smearing to evenly fill our timer buckets.

10 years agoThe TC entry is the hookup point for all sort of leaf information of the link-state...
Hannes Gredler [Thu, 7 May 2009 11:19:20 +0000 (13:19 +0200)]
The TC entry is the hookup point for all sort of leaf information of the link-state database.
Clean up the house - flush all MID aliases and HNA nets when a TC entry is expiring.

10 years agoFIX: ignore UNSPEC_LINKS during MPR lookup
Henning Rogge [Mon, 4 May 2009 12:47:27 +0000 (14:47 +0200)]
FIX: ignore UNSPEC_LINKS during MPR lookup
(found by Peter Tarjan)

10 years agoFIX: gcc options with debug set
Henning Rogge [Sat, 2 May 2009 14:46:47 +0000 (16:46 +0200)]
FIX: gcc options with debug set

10 years agoFIX: ignore UNSPEC link for linktype if there is an ASYM/LOST/SYM Link in the same...
Henning Rogge [Wed, 29 Apr 2009 07:06:08 +0000 (09:06 +0200)]
FIX: ignore UNSPEC link for linktype if there is an ASYM/LOST/SYM Link in the same Hello message

10 years agoFIX: headers of txtinfoshell contribution
Henning Rogge [Tue, 28 Apr 2009 09:33:04 +0000 (11:33 +0200)]
FIX: headers of txtinfoshell contribution

10 years agoadd new tc/tc-edge expiration debug entries
Hannes Gredler [Tue, 28 Apr 2009 07:29:23 +0000 (09:29 +0200)]
add new tc/tc-edge expiration debug entries

10 years agoAdd contrib/txtinfoshell/txtinfo-sh to .hgignore
Henning Rogge [Tue, 28 Apr 2009 07:19:13 +0000 (09:19 +0200)]
Add contrib/txtinfoshell/txtinfo-sh to .hgignore

10 years agoFIX: parse log source "ALL" correctly
Henning Rogge [Tue, 28 Apr 2009 07:18:22 +0000 (09:18 +0200)]
FIX: parse log source "ALL" correctly

10 years agoRemoved print_package.c, it does not even support ETX. Use tcpdump instead.
Henning Rogge [Tue, 28 Apr 2009 07:02:22 +0000 (09:02 +0200)]
Removed print_package.c, it does not even support ETX. Use tcpdump instead.

10 years agoMinishell for accessing txtinfo through sshd/dropbear
Henning Rogge [Mon, 27 Apr 2009 11:38:45 +0000 (13:38 +0200)]
Minishell for accessing txtinfo through sshd/dropbear

10 years agoFIX: segfault in neighbor/neighbor-2 table
Henning Rogge [Thu, 23 Apr 2009 09:08:25 +0000 (11:08 +0200)]
FIX: segfault in neighbor/neighbor-2 table

10 years agoFix wrong order of "drop tc" checks in olsr_input_tc
Henning Rogge [Wed, 22 Apr 2009 16:36:44 +0000 (18:36 +0200)]
Fix wrong order of "drop tc" checks in olsr_input_tc
Thank you to Benny Tops  <b.tops@mindef.nl> for the tip.

10 years agorunning indent...
Henning Rogge [Wed, 22 Apr 2009 16:17:25 +0000 (18:17 +0200)]
running indent...

10 years agoadded Readme about new logger
Henning Rogge [Tue, 21 Apr 2009 16:28:31 +0000 (18:28 +0200)]
added Readme about new logger

10 years agoAccidently deactivated all logging in makefile...
Henning Rogge [Tue, 14 Apr 2009 18:06:27 +0000 (20:06 +0200)]
Accidently deactivated all logging in makefile...

10 years agoSmall changes (more debug output) for log option parser
Henning Rogge [Tue, 14 Apr 2009 17:56:50 +0000 (19:56 +0200)]
Small changes (more debug output) for log option parser

10 years agoDo not remember LQ information UNSPEC_LINK neighbors in Hellos.
Henning Rogge [Tue, 14 Apr 2009 08:57:22 +0000 (10:57 +0200)]
Do not remember LQ information UNSPEC_LINK neighbors in Hellos.

10 years agoCleanup logging control by makefile
Henning Rogge [Tue, 14 Apr 2009 05:59:49 +0000 (07:59 +0200)]
Cleanup logging control by makefile

10 years agoRemove part of mid debug message (removed the other part yesterday)
Henning Rogge [Tue, 14 Apr 2009 05:40:46 +0000 (07:40 +0200)]
Remove part of mid debug message (removed the other part yesterday)

10 years agoCleanup in MID and Topology output
Henning Rogge [Mon, 13 Apr 2009 20:13:10 +0000 (22:13 +0200)]
Cleanup in MID and Topology output

10 years agoPrevent double link tc_edge creation
Henning Rogge [Mon, 13 Apr 2009 19:02:25 +0000 (21:02 +0200)]
Prevent double link tc_edge creation

10 years agostyle cleanup of makefile
Henning Rogge [Mon, 13 Apr 2009 09:05:14 +0000 (11:05 +0200)]
style cleanup of makefile

10 years agoPort of RTNetlink code from 0.5.6 by Markus Kittenberger
Henning Rogge [Mon, 13 Apr 2009 09:00:03 +0000 (11:00 +0200)]
Port of RTNetlink code from 0.5.6 by Markus Kittenberger

10 years agoSmall compiler bugfixes for parser
Henning Rogge [Mon, 13 Apr 2009 08:47:40 +0000 (10:47 +0200)]
Small compiler bugfixes for parser
Fix for plugin loader

10 years agoChange olsr-port and dlpath option to 0.5.6 names
Henning Rogge [Mon, 13 Apr 2009 08:43:31 +0000 (10:43 +0200)]
Change olsr-port and dlpath option to 0.5.6 names

10 years agoFix parser for olsr --debug option
Henning Rogge [Mon, 13 Apr 2009 08:32:54 +0000 (10:32 +0200)]
Fix parser for olsr --debug option