olsrd.git
10 years agoFix segfault if http/telnet port is not available
Henning Rogge [Thu, 26 Nov 2009 19:33:01 +0000 (20:33 +0100)]
Fix segfault if http/telnet port is not available

10 years agoFix warnings if compiled without DEBUG logging
Henning Rogge [Wed, 25 Nov 2009 17:36:12 +0000 (18:36 +0100)]
Fix warnings if compiled without DEBUG logging

10 years agoUpdate makefile to GIT command
Henning Rogge [Mon, 16 Nov 2009 18:53:47 +0000 (19:53 +0100)]
Update makefile to GIT command

10 years agoObamp Data Message Sequence Numbers are now checked how described in Chapter
Saverio Proto [Tue, 10 Nov 2009 16:45:38 +0000 (17:45 +0100)]
Obamp Data Message Sequence Numbers are now checked how described in Chapter
19 of RFC rfc3626, so wrap around is handled ok, and no messages are discarded
when overflow of the counter occurs

10 years agoFix Buffer overflow in http server
Henning Rogge [Sun, 15 Nov 2009 19:53:06 +0000 (20:53 +0100)]
Fix Buffer overflow in http server

10 years agoRefactor include commands
Henning Rogge [Mon, 9 Nov 2009 14:03:46 +0000 (15:03 +0100)]
Refactor include commands

10 years agoRemove IPC part of config parser, it's not used anywhere
Henning Rogge [Tue, 27 Oct 2009 09:31:54 +0000 (10:31 +0100)]
Remove IPC part of config parser, it's not used anywhere

10 years agoFixed a bug about the size of the OBAMP data messages
Henning Rogge [Sat, 10 Oct 2009 13:04:45 +0000 (15:04 +0200)]
Fixed a bug about the size of the OBAMP data messages
backport from tiptip, author Saverio Proto <zioproto@gmail.com>

10 years agoObamp Data len field needed a 16 bit counter, 8 bit was too small to carry more than...
Henning Rogge [Fri, 9 Oct 2009 09:43:37 +0000 (11:43 +0200)]
Obamp Data len field needed a 16 bit counter, 8 bit was too small to carry more than 256 bytes
payloads

Fixed a bug that was sending OBAMP DATA messages always with the size of OBAMP DATA struct instead of
the real data amount

Thank youSaverio for the fix

10 years agoFix bug in olsr_set_timer()
Henning Rogge [Wed, 7 Oct 2009 14:02:30 +0000 (16:02 +0200)]
Fix bug in olsr_set_timer()

10 years agoFix segfault in tc-set if olsrd is stopped before seeing a single node
Henning Rogge [Wed, 7 Oct 2009 14:02:17 +0000 (16:02 +0200)]
Fix segfault in tc-set if olsrd is stopped before seeing a single node

10 years agoFix bug in olsr_txt_to_milli()
rogge@stream [Wed, 23 Sep 2009 08:01:02 +0000 (10:01 +0200)]
Fix bug in olsr_txt_to_milli()

10 years agoCleanup for avl_insert()
Henning Rogge [Tue, 22 Sep 2009 18:46:46 +0000 (20:46 +0200)]
Cleanup for avl_insert()

10 years agosmall fixes in http2telnet bridge
Markus Kittenberger [Sun, 20 Sep 2009 12:43:15 +0000 (14:43 +0200)]
small fixes in http2telnet bridge

10 years agobugfix for telnet interface timeout
Henning Rogge [Sat, 19 Sep 2009 10:20:36 +0000 (12:20 +0200)]
bugfix for telnet interface timeout
Backport, done by Clemens for olsr development tree

10 years agobugfix for txtinfo template parser and echo telnet command
Henning Rogge [Sat, 19 Sep 2009 10:19:24 +0000 (12:19 +0200)]
bugfix for txtinfo template parser and echo telnet command
Backport, done by Clemens for olsr development tree

10 years agoHttp error codes and messages for http2telnet bridge
Henning Rogge [Thu, 17 Sep 2009 20:09:20 +0000 (22:09 +0200)]
Http error codes and messages for http2telnet bridge

10 years agoFix small bug in http2telnet gate
Henning Rogge [Wed, 16 Sep 2009 17:15:15 +0000 (19:15 +0200)]
Fix small bug in http2telnet gate

10 years agoImplement http2telnet gateway
Henning Rogge [Wed, 16 Sep 2009 16:25:07 +0000 (18:25 +0200)]
Implement http2telnet gateway

10 years agokeep a per dup_set timer rather than a shared timer with expensive cumulative walks
Hannes Gredler [Tue, 15 Sep 2009 19:08:45 +0000 (21:08 +0200)]
keep a per dup_set timer rather than a shared timer with expensive cumulative walks

10 years agoFix wrong numbering of OLSR message types
Henning Rogge [Tue, 15 Sep 2009 16:26:19 +0000 (18:26 +0200)]
Fix wrong numbering of OLSR message types

10 years agoadd todo list for 0.6.0
Hannes Gredler [Tue, 15 Sep 2009 09:26:11 +0000 (11:26 +0200)]
add todo list for 0.6.0

10 years agocreate 0.6.0 branch
Hannes Gredler [Tue, 15 Sep 2009 09:15:16 +0000 (11:15 +0200)]
create 0.6.0 branch

10 years agoAllow parameters for '/' telnet commands
Henning Rogge [Thu, 10 Sep 2009 11:54:39 +0000 (13:54 +0200)]
Allow parameters for '/' telnet commands

10 years agoFix txtinfo2 link command
Henning Rogge [Thu, 10 Sep 2009 11:46:22 +0000 (13:46 +0200)]
Fix txtinfo2 link command

10 years agoThrow error message when using wrong logging parameter
Henning Rogge [Wed, 9 Sep 2009 11:48:47 +0000 (13:48 +0200)]
Throw error message when using wrong logging parameter

10 years agoFix bug in fisheye rewrite
Henning Rogge [Wed, 9 Sep 2009 11:38:41 +0000 (13:38 +0200)]
Fix bug in fisheye rewrite

10 years agoFix spelling in config parser output
Henning Rogge [Wed, 9 Sep 2009 11:00:08 +0000 (13:00 +0200)]
Fix spelling in config parser output

10 years agoRun code formatter on obamp plugin
Henning Rogge [Wed, 2 Sep 2009 17:46:42 +0000 (19:46 +0200)]
Run code formatter on obamp plugin

10 years agoLarge cleanup patch...
Henning Rogge [Tue, 1 Sep 2009 17:13:02 +0000 (19:13 +0200)]
Large cleanup patch...
more sane plugin definition system
simplified AVL-Loop generation

10 years agorelicence mDNS plugin and OBAMP plugin from Saverio Proto and Claudio Pisa to the...
Saverio Proto [Tue, 1 Sep 2009 10:21:06 +0000 (12:21 +0200)]
relicence mDNS plugin and OBAMP plugin from Saverio Proto and Claudio Pisa to the default olsr.org BSD licence

10 years agoAdding the first implementation of the OBAMP plugin. See README file for documentation.
Saverio Proto [Mon, 31 Aug 2009 14:17:05 +0000 (16:17 +0200)]
Adding the first implementation of the OBAMP plugin. See README file for documentation.

10 years agoAccept \r, \n and \\ in user defined templates for txtinfo
Henning Rogge [Sun, 23 Aug 2009 15:47:45 +0000 (17:47 +0200)]
Accept \r, \n and \\ in user defined templates for txtinfo

10 years agoEmergency brake for comport-deinit
Sven-Ola Tuecke [Sun, 23 Aug 2009 11:31:59 +0000 (13:31 +0200)]
Emergency brake for comport-deinit

10 years agoCleanup hna-timeout when removing entry
Henning Rogge [Sun, 23 Aug 2009 10:49:21 +0000 (12:49 +0200)]
Cleanup hna-timeout when removing entry

10 years agoOptimize handling of unused logging
Henning Rogge [Sun, 23 Aug 2009 09:54:11 +0000 (11:54 +0200)]
Optimize handling of unused logging

10 years agoMissed another plugin-pathname dep. - needs rework anyhow
Sven-Ola Tuecke [Sun, 23 Aug 2009 08:36:38 +0000 (10:36 +0200)]
Missed another plugin-pathname dep. - needs rework anyhow

10 years agoSmall bugfix for txtinfo
Henning Rogge [Sat, 22 Aug 2009 21:42:17 +0000 (23:42 +0200)]
Small bugfix for txtinfo

10 years agoFix several memory leaks and a locking inconsistency in mid_set for tc-entries
Henning Rogge [Sat, 22 Aug 2009 19:46:04 +0000 (21:46 +0200)]
Fix several memory leaks and a locking inconsistency in mid_set for tc-entries

10 years agoFix segv if interrupted shortly after startup
Sven-Ola Tuecke [Sat, 22 Aug 2009 12:26:09 +0000 (14:26 +0200)]
Fix segv if interrupted shortly after startup

10 years agoPre-defined plugin name prevents loading plugin with absolute path
Sven-Ola Tuecke [Sat, 22 Aug 2009 11:24:37 +0000 (13:24 +0200)]
Pre-defined plugin name prevents loading plugin with absolute path

10 years agoFixed SEGV at program end: lq plugin was removed before calling parser_remove_func
Sven-Ola Tuecke [Fri, 21 Aug 2009 18:55:10 +0000 (20:55 +0200)]
Fixed SEGV at program end: lq plugin was removed before calling parser_remove_func

10 years agoFix a Bus-error condition for and ARM-based mobile
Sven-Ola Tuecke [Fri, 21 Aug 2009 16:39:25 +0000 (18:39 +0200)]
Fix a Bus-error condition for and ARM-based mobile

10 years agoMDNS plugin: Hacked away jet another uninit-warning if DEBUG=0
Sven-Ola Tuecke [Fri, 21 Aug 2009 16:37:34 +0000 (18:37 +0200)]
MDNS plugin: Hacked away jet another uninit-warning if DEBUG=0

10 years agoSilenced alignment warnings when compiling on ARM CPU
Sven-Ola Tuecke [Fri, 21 Aug 2009 16:29:49 +0000 (18:29 +0200)]
Silenced alignment warnings when compiling on ARM CPU

10 years agoRe-enabled -Wcast-qual warning (which maybe was disabled because of const char* whoes...
Sven-Ola Tuecke [Fri, 21 Aug 2009 16:27:23 +0000 (18:27 +0200)]
Re-enabled -Wcast-qual warning (which maybe was disabled because of const char* whoes with some new plugin stuff)

10 years agoresolve REMOVE_LOG_INFO buildbreak
Hannes Gredler [Mon, 17 Aug 2009 17:13:20 +0000 (19:13 +0200)]
resolve REMOVE_LOG_INFO buildbreak

10 years agoresolve non DEBUG buildbreak
Hannes Gredler [Mon, 17 Aug 2009 17:08:08 +0000 (19:08 +0200)]
resolve non DEBUG buildbreak

10 years agoCleanup in lq_packet.h
Henning Rogge [Thu, 13 Aug 2009 07:41:13 +0000 (09:41 +0200)]
Cleanup in lq_packet.h
small fix to keep ARM compilers quiet

10 years agoSome compiler fixes for win32
Henning Rogge [Wed, 12 Aug 2009 19:48:17 +0000 (21:48 +0200)]
Some compiler fixes for win32

10 years agoWe only need a hello/tc parser for the IDs given by the active lq-plugin
Henning Rogge [Wed, 12 Aug 2009 17:17:18 +0000 (19:17 +0200)]
We only need a hello/tc parser for the IDs given by the active lq-plugin

10 years agoCleanup Hello generation and move it into link_set.c
Henning Rogge [Wed, 12 Aug 2009 16:20:28 +0000 (18:20 +0200)]
Cleanup Hello generation and move it into link_set.c

10 years agoremove ttl_intex from interface (not used anymore)
Henning Rogge [Sun, 9 Aug 2009 07:00:01 +0000 (09:00 +0200)]
remove ttl_intex from interface (not used anymore)
add simple quickstart code to fisheye logic

10 years agomove ansn handling into tc_set.c
Henning Rogge [Sat, 8 Aug 2009 21:13:04 +0000 (23:13 +0200)]
move ansn handling into tc_set.c
decrease message hold time to 100ms

10 years agoremove local tc/mid/hna timer from win32 code
Henning Rogge [Sat, 8 Aug 2009 20:56:19 +0000 (22:56 +0200)]
remove local tc/mid/hna timer from win32 code

10 years agoadd tc fragmentation support again
Henning Rogge [Sat, 8 Aug 2009 20:55:21 +0000 (22:55 +0200)]
add tc fragmentation support again
move tc/hna/mid generation to global timer

10 years agounify tc-generation and put it into tc_set.c
Henning Rogge [Sat, 8 Aug 2009 18:47:00 +0000 (20:47 +0200)]
unify tc-generation and put it into tc_set.c
fix a problem in sequence number handling of tc/hna/mid

10 years agounify HNA generation and put it into hna_set.c
Henning Rogge [Sat, 8 Aug 2009 16:22:47 +0000 (18:22 +0200)]
unify HNA generation and put it into hna_set.c

10 years agoUnify MID generation and put it into mid_set.c
Henning Rogge [Sat, 8 Aug 2009 15:53:20 +0000 (17:53 +0200)]
Unify MID generation and put it into mid_set.c

10 years agoAnother bunch of fixes for the timer refactoring (damn it)
Henning Rogge [Sat, 8 Aug 2009 15:39:13 +0000 (17:39 +0200)]
Another bunch of fixes for the timer refactoring (damn it)

10 years agoFIX for timing refactoring
Henning Rogge [Sat, 8 Aug 2009 15:11:12 +0000 (17:11 +0200)]
FIX for timing refactoring

10 years agoMove TC/MID/HNA timings to global section (windows version is untested !)
Henning Rogge [Sat, 8 Aug 2009 14:12:59 +0000 (16:12 +0200)]
Move TC/MID/HNA timings to global section (windows version is untested !)

10 years agoRemove unsused code from defs.h
Henning Rogge [Sat, 8 Aug 2009 10:58:56 +0000 (12:58 +0200)]
Remove unsused code from defs.h

10 years agoMerged with concurrent change
Henning Rogge [Sat, 8 Aug 2009 10:50:33 +0000 (12:50 +0200)]
Merged with concurrent change

10 years agoChange lqplugin system so plugins can have multiple values for each link (not only...
Henning Rogge [Sat, 8 Aug 2009 10:49:49 +0000 (12:49 +0200)]
Change lqplugin system so plugins can have multiple values for each link (not only lq/nlq)
Add range, quality and name information for each of the lq parameters.
Add simple template engine
Convert txtinfo to template engine

10 years agofix same for handling of on-the-fly gateway routes
Markus Kittenberger [Tue, 4 Aug 2009 18:28:06 +0000 (20:28 +0200)]
fix same for handling of on-the-fly gateway routes

10 years agoserious bug in rtnetlink route exists handling
Markus Kittenberger [Tue, 4 Aug 2009 18:02:32 +0000 (20:02 +0200)]
serious bug in rtnetlink route exists handling

10 years agoUpdate plugin loader infrastructure to sane callbacks
Henning Rogge [Fri, 24 Jul 2009 09:22:35 +0000 (11:22 +0200)]
Update plugin loader infrastructure to sane callbacks

10 years agortnetlink: adopting error handling of Network unreachable to work with 2.6 kernels
Markus Kittenberger [Tue, 21 Jul 2009 22:32:12 +0000 (00:32 +0200)]
rtnetlink: adopting error handling of Network unreachable to work with 2.6 kernels

10 years agoFIX small bugs in MID deserialization and tc deserialization
Henning Rogge [Tue, 21 Jul 2009 16:15:50 +0000 (18:15 +0200)]
FIX small bugs in MID deserialization and tc deserialization

10 years agoInclude default "/" command into telnet server
Henning Rogge [Sun, 19 Jul 2009 18:58:50 +0000 (20:58 +0200)]
Include default "/" command into telnet server

10 years agoImproved duplicate/sequencenumber handling. Small change in message handler callback...
Henning Rogge [Sun, 19 Jul 2009 17:08:11 +0000 (19:08 +0200)]
Improved duplicate/sequencenumber handling. Small change in message handler callback (added argument)

10 years agoFix for etx-fpm metric plugin
Henning Rogge [Fri, 10 Jul 2009 12:13:06 +0000 (14:13 +0200)]
Fix for etx-fpm metric plugin

10 years agoFix array out of bounds error in parser
Henning Rogge [Thu, 9 Jul 2009 18:29:18 +0000 (20:29 +0200)]
Fix array out of bounds error in parser

10 years agoRemove fprintf debug output
Henning Rogge [Wed, 8 Jul 2009 17:51:02 +0000 (19:51 +0200)]
Remove fprintf debug output

10 years agoFIX: floatingpoint-text to uint32 conversion
Henning Rogge [Wed, 8 Jul 2009 17:49:26 +0000 (19:49 +0200)]
FIX: floatingpoint-text to uint32 conversion
rename "reltime" functions
remove olsr_reltime type

10 years agoFree interface correctly when removed
Henning Rogge [Sun, 5 Jul 2009 17:37:10 +0000 (19:37 +0200)]
Free interface correctly when removed

10 years agoAdd cleanup code for html/telnet server
Henning Rogge [Sun, 5 Jul 2009 16:32:20 +0000 (18:32 +0200)]
Add cleanup code for html/telnet server

10 years agoserialized LQ data is not always 4 bytes long, so we need a function to precalculate...
Henning Rogge [Sun, 5 Jul 2009 11:13:03 +0000 (13:13 +0200)]
serialized LQ data is not always 4 bytes long, so we need a function to precalculate message length

10 years agoConvert lq_rfc plugin to new plugin interface
Henning Rogge [Sun, 5 Jul 2009 10:52:39 +0000 (12:52 +0200)]
Convert lq_rfc plugin to new plugin interface

10 years agoConvert etx_lq_fpm plugin to new plugin interface
Henning Rogge [Sun, 5 Jul 2009 10:35:48 +0000 (12:35 +0200)]
Convert etx_lq_fpm plugin to new plugin interface
fix small bugs in etx_lq_ff and etx_lq_float
move some lq based definitions into the plugins

10 years agoConvert lq_etx_float to new plugin system
Henning Rogge [Sun, 5 Jul 2009 09:51:45 +0000 (11:51 +0200)]
Convert lq_etx_float to new plugin system
allow lq_handlers without initialization/deinitialization

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