olsrd.git
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

10 years agoLot's of small bugfixes for logging
Henning Rogge [Mon, 13 Apr 2009 08:28:49 +0000 (10:28 +0200)]
Lot's of small bugfixes for logging
redesigned debug makefile options

10 years agowe were missing an #include "olsr.h". Otherwise there was a buildbreak since it did...
L. Aaron Kaplan [Sun, 5 Apr 2009 01:08:39 +0000 (03:08 +0200)]
we were missing an #include "olsr.h". Otherwise there was a buildbreak since it did not know the olsr_exit() function in Mac OS X.

10 years agoFix IPv6 route adds on FreeBSD and other BSDs.
John Hay [Sat, 4 Apr 2009 07:10:12 +0000 (09:10 +0200)]
Fix IPv6 route adds on FreeBSD and other BSDs.

10 years agoFreeBSD-current does not have RTF_CLONING anymore.
John Hay [Sat, 4 Apr 2009 07:09:03 +0000 (09:09 +0200)]
FreeBSD-current does not have RTF_CLONING anymore.

10 years agoMake it compile again on FreeBSD after the syslog changes.
John Hay [Sat, 4 Apr 2009 07:07:58 +0000 (09:07 +0200)]
Make it compile again on FreeBSD after the syslog changes.

10 years agoadd missing xml source file for olsrd.conf manual FIX3
Markus Kittenberger [Thu, 26 Mar 2009 17:05:18 +0000 (18:05 +0100)]
add missing xml source file for olsrd.conf manual

10 years agoAdd OlsrPort to olsrd.conf manual page
Markus Kittenberger [Thu, 26 Mar 2009 16:55:34 +0000 (17:55 +0100)]
Add OlsrPort to olsrd.conf manual page

10 years agoAdding first version of the OLSR mdns plugin written by Saverio Proto and
Saverio Proto [Thu, 26 Mar 2009 00:25:34 +0000 (01:25 +0100)]
Adding first version of the OLSR mdns plugin written by Saverio Proto and
Claudio Pisa (Ninux.org)

10 years agoBSD IPv6 multicast fix by John Hay
Henning Rogge [Wed, 25 Mar 2009 19:53:33 +0000 (20:53 +0100)]
BSD IPv6 multicast fix by John Hay

10 years agoWin32 Bugfixes, first part
Henning Rogge [Mon, 23 Mar 2009 22:42:55 +0000 (23:42 +0100)]
Win32 Bugfixes, first part

10 years agoBugfix for logging praeprocessor directives
Henning Rogge [Sun, 22 Mar 2009 15:39:59 +0000 (16:39 +0100)]
Bugfix for logging praeprocessor directives

10 years agorename two logging options
Henning Rogge [Sun, 22 Mar 2009 15:22:01 +0000 (16:22 +0100)]
rename two logging options

10 years agoChanges for new logger for win32. Not testet at all.
Henning Rogge [Sun, 22 Mar 2009 14:57:48 +0000 (15:57 +0100)]
Changes for new logger for win32. Not testet at all.

10 years agoSome cleanup and logging during startup
Henning Rogge [Sun, 22 Mar 2009 14:20:03 +0000 (15:20 +0100)]
Some cleanup and logging during startup

10 years agoSmall bugfixes and enhanced help for configuration parser
Henning Rogge [Sun, 22 Mar 2009 12:09:09 +0000 (13:09 +0100)]
Small bugfixes and enhanced help for configuration parser

10 years agoDisable forking if legacy debug level is used with parameter > 0
Henning Rogge [Sun, 22 Mar 2009 11:24:10 +0000 (12:24 +0100)]
Disable forking if legacy debug level is used with parameter > 0

10 years agoAdd new logging options, add legacy "debug" option
Henning Rogge [Sun, 22 Mar 2009 11:21:21 +0000 (12:21 +0100)]
Add new logging options, add legacy "debug" option
Remove debug_level variable

10 years agoOLSR_PRINTF removed from all active code except win32 specific stuff
Henning Rogge [Sun, 22 Mar 2009 10:05:20 +0000 (11:05 +0100)]
OLSR_PRINTF removed from all active code except win32 specific stuff

10 years agoConvert some plugins to new logger
Henning Rogge [Sat, 21 Mar 2009 22:19:32 +0000 (23:19 +0100)]
Convert some plugins to new logger

10 years agosrc directory mostly changed to new logger
Henning Rogge [Sat, 21 Mar 2009 21:10:37 +0000 (22:10 +0100)]
src directory mostly changed to new logger

10 years agoProtect OLSR against jumping timestamps of system.
Henning Rogge [Thu, 19 Mar 2009 19:12:30 +0000 (20:12 +0100)]
Protect OLSR against jumping timestamps of system.
replace internal clock_t with uint32 (and always ms resolution).

10 years agoFIX: avl comparators
Henning Rogge [Mon, 16 Mar 2009 19:48:55 +0000 (20:48 +0100)]
FIX: avl comparators

10 years agoremove ipequal functions, they are often mixed up with ipcmp()
Henning Rogge [Mon, 16 Mar 2009 19:46:42 +0000 (20:46 +0100)]
remove ipequal functions, they are often mixed up with ipcmp()

10 years agodepreciate the OLSR_FOR_ALL_HNA_RT_ENTRIES macro
Hannes Gredler [Mon, 16 Mar 2009 07:17:00 +0000 (08:17 +0100)]
depreciate the OLSR_FOR_ALL_HNA_RT_ENTRIES macro

10 years agoMore logger stuff
Henning Rogge [Sun, 15 Mar 2009 19:11:07 +0000 (20:11 +0100)]
More logger stuff

10 years agodisambiguate the per-originator subtree as per Heniings request.
Hannes Gredler [Sun, 15 Mar 2009 16:22:53 +0000 (17:22 +0100)]
disambiguate the per-originator subtree as per Heniings request.

10 years agoEven more logging refactorings
Henning Rogge [Sun, 15 Mar 2009 09:21:50 +0000 (10:21 +0100)]
Even more logging refactorings

10 years agoSwitch of warning in ipcalc.c
Henning Rogge [Sat, 14 Mar 2009 23:10:10 +0000 (00:10 +0100)]
Switch of warning in ipcalc.c

10 years agoWTF ???
Henning Rogge [Sat, 14 Mar 2009 22:41:20 +0000 (23:41 +0100)]
WTF ???

10 years agoMore Logger stuff
Henning Rogge [Sat, 14 Mar 2009 22:40:15 +0000 (23:40 +0100)]
More Logger stuff

10 years agoMore use of the new logger (WIP)
Henning Rogge [Sat, 14 Mar 2009 21:46:10 +0000 (22:46 +0100)]
More use of the new logger (WIP)

10 years agoBSD was still using the OLSRPORT #define. Make it clean and introduce it everywhere.
L. Aaron Kaplan [Sun, 8 Mar 2009 17:37:52 +0000 (18:37 +0100)]
BSD was still using the OLSRPORT #define. Make it clean and introduce it everywhere.
trivial change.

10 years agoConfigurable dynamic library path
Henning Rogge [Sat, 7 Mar 2009 20:14:20 +0000 (21:14 +0100)]
Configurable dynamic library path

10 years agoAllow configuration of olsr port
Henning Rogge [Sat, 7 Mar 2009 19:55:52 +0000 (20:55 +0100)]
Allow configuration of olsr port

10 years agoSource IP patch
Henning Rogge [Sat, 7 Mar 2009 19:41:55 +0000 (20:41 +0100)]
Source IP patch

10 years agoFIX: Drop packages with same seqno in etx_ff (most likely a layer1/2 problem)
Henning Rogge [Sat, 7 Mar 2009 18:44:30 +0000 (19:44 +0100)]
FIX: Drop packages with same seqno in etx_ff (most likely a layer1/2 problem)

10 years agoReplace local tc_entries after main-ip change
Henning Rogge [Sat, 28 Feb 2009 13:47:23 +0000 (14:47 +0100)]
Replace local tc_entries after main-ip change

10 years agoApply indent to txtinfo.c
Henning Rogge [Sat, 28 Feb 2009 11:05:00 +0000 (12:05 +0100)]
Apply indent to txtinfo.c

10 years agoAdd sanity check for avl_delete
Henning Rogge [Sat, 28 Feb 2009 09:58:48 +0000 (10:58 +0100)]
Add sanity check for avl_delete

10 years agoFIX: double free between rt_path and rt_entry lists because of
Henning Rogge [Sat, 28 Feb 2009 09:39:00 +0000 (10:39 +0100)]
FIX: double free between rt_path and rt_entry lists because of
different keys (ip_prefix and ip).

10 years agoFix typo in readme
Alexander Wenzel [Thu, 26 Feb 2009 08:21:48 +0000 (09:21 +0100)]
Fix typo in readme

10 years agoAdd CSV-Output-Mode to the txtinfo-Plugin.
Alexander Wenzel [Thu, 26 Feb 2009 08:19:48 +0000 (09:19 +0100)]
Add CSV-Output-Mode to the txtinfo-Plugin.

10 years agoIMPORTANT bugfix for txtinfo plugin.
Henning Rogge [Tue, 24 Feb 2009 22:02:41 +0000 (23:02 +0100)]
IMPORTANT bugfix for txtinfo plugin.

10 years agoBugfix for logging output
Henning Rogge [Tue, 24 Feb 2009 21:06:53 +0000 (22:06 +0100)]
Bugfix for logging output

10 years agoBugfix for etx_ff
Henning Rogge [Tue, 24 Feb 2009 21:05:50 +0000 (22:05 +0100)]
Bugfix for etx_ff

10 years agoFIX: compiler warning in txtinfo
Henning Rogge [Mon, 23 Feb 2009 21:11:06 +0000 (22:11 +0100)]
FIX: compiler warning in txtinfo

10 years ago/cookies option for txtinfo
Henning Rogge [Mon, 23 Feb 2009 20:56:48 +0000 (21:56 +0100)]
/cookies option for txtinfo

10 years agoSome more text about lq_etx_float and lq_etx_fpm parameter.
Henning Rogge [Wed, 18 Feb 2009 13:33:02 +0000 (14:33 +0100)]
Some more text about lq_etx_float and lq_etx_fpm parameter.

10 years agoadd a bit of guidance how to make a release
Hannes Gredler [Mon, 16 Feb 2009 21:31:54 +0000 (22:31 +0100)]
add a bit of guidance how to make a release

10 years agoExport getRelevantTcCount()
Henning Rogge [Sat, 14 Feb 2009 19:16:52 +0000 (20:16 +0100)]
Export getRelevantTcCount()

10 years agoBugfix for new txtinfo code... thank you Aaron for testing it.
Henning Rogge [Thu, 12 Feb 2009 17:48:16 +0000 (18:48 +0100)]
Bugfix for new txtinfo code... thank you Aaron for testing it.

10 years agoUpdate for txtinfo plugin, new command is "/stats"
Henning Rogge [Thu, 12 Feb 2009 17:31:37 +0000 (18:31 +0100)]
Update for txtinfo plugin, new command is "/stats"

10 years agoadd interface to various routing log outputs
markus@DevVserver [Sun, 8 Feb 2009 21:39:24 +0000 (22:39 +0100)]
add interface to various routing log outputs

10 years agoolsr_exit() has only one parameter.
L. Aaron Kaplan [Sun, 8 Feb 2009 20:43:42 +0000 (21:43 +0100)]
olsr_exit() has only one parameter.
And the scheduler functions should also work on os x , *BSD

10 years agoin_addr_t does not exist in windows
L. Aaron Kaplan [Sun, 8 Feb 2009 20:30:43 +0000 (20:30 +0000)]
in_addr_t does not exist in windows

10 years agocorrect it on windows
L. Aaron Kaplan [Sun, 8 Feb 2009 20:23:31 +0000 (20:23 +0000)]
correct it on windows

10 years agoConvert duplicate set to new logger.
Henning Rogge [Fri, 6 Feb 2009 15:17:55 +0000 (16:17 +0100)]
Convert duplicate set to new logger.
Add logger macros for "no header" lines.
example for new macros in duplcate_set.c olsr_print_duplicate_table()

10 years agoBugfixes for new logging code
Henning Rogge [Fri, 6 Feb 2009 14:42:27 +0000 (15:42 +0100)]
Bugfixes for new logging code

10 years agoChanged lq-plugin system to new logger
Henning Rogge [Fri, 6 Feb 2009 13:29:53 +0000 (14:29 +0100)]
Changed lq-plugin system to new logger

10 years agoFirst batch of olsrd logging changes
Henning Rogge [Fri, 6 Feb 2009 12:18:32 +0000 (13:18 +0100)]
First batch of olsrd logging changes
Removed all direct calls to olsr_syslog()
Dont initialize syslog unless the specific syslogger is called
Small modifications to olsr_exit() semantic
No direct creation of a signal to stop olsrd in the main code.

10 years agoFix warn_unused_result message
Sven-Ola Tuecke [Wed, 4 Feb 2009 10:07:57 +0000 (11:07 +0100)]
Fix warn_unused_result message

10 years agoImprovement for lq_ff metric (goes slowly down if no packages are received over a...
Henning Rogge [Mon, 2 Feb 2009 12:40:01 +0000 (13:40 +0100)]
Improvement for lq_ff metric (goes slowly down if no packages are received over a link)

10 years agoFIX: hanging topology entries when neighbor vanishes
Henning Rogge [Mon, 2 Feb 2009 11:52:05 +0000 (12:52 +0100)]
FIX: hanging topology entries when neighbor vanishes

10 years agoFix a build break for BSD and two possible buffer overflows
Henning Rogge [Sun, 1 Feb 2009 19:38:37 +0000 (20:38 +0100)]
Fix a build break for BSD and two possible buffer overflows

10 years agoreplaced strcpy, strncat in config parser
Sven-Ola Tuecke [Sat, 31 Jan 2009 08:36:12 +0000 (09:36 +0100)]
replaced strcpy, strncat in config parser

10 years agofix for last fix: fbsd now compiles
Sven-Ola Tuecke [Sat, 31 Jan 2009 07:57:35 +0000 (08:57 +0100)]
fix for last fix: fbsd now compiles

10 years agoRemoved superfluous olsr_kernel_del_route6
Sven-Ola Tuecke [Fri, 30 Jan 2009 12:12:18 +0000 (13:12 +0100)]
Removed superfluous olsr_kernel_del_route6

10 years agoAs requested...
L. Aaron Kaplan [Wed, 28 Jan 2009 16:54:35 +0000 (17:54 +0100)]
As requested...
Backed out changeset c6a72905834aba39520e6277aca01da7ef2bf4c5
since the quickfixes for OpenBSD were a bit to ugly...
Need to make it nicer.

10 years agoMake tip compile on OpenBSD.
L. Aaron Kaplan [Wed, 28 Jan 2009 12:09:13 +0000 (13:09 +0100)]
Make tip compile on OpenBSD.
Some of the changes are a big ugly.
Like double calculations for str lengths for strncat and strncpy and so.
But on the other hand, the olsr_cfg.c code needs beautifying anyway.
(but it does work brilliantly and it is great that it was done!)
This patch is tested against openBSD 4.1 and it works together with Mac OS X (tip)
and freifunk fw 1.36

10 years agoWin32: compile fix. Note: SEVERITY_ERROR also in windows.h
Sven-Ola Tuecke [Thu, 22 Jan 2009 11:22:07 +0000 (12:22 +0100)]
Win32: compile fix. Note: SEVERITY_ERROR also in windows.h

10 years agoRemoved End-of-line Spaces
Sven-Ola Tuecke [Thu, 22 Jan 2009 11:19:22 +0000 (12:19 +0100)]
Removed End-of-line Spaces

10 years agoMaint for .hgignore file
Sven-Ola Tuecke [Tue, 20 Jan 2009 08:59:59 +0000 (09:59 +0100)]
Maint for .hgignore file

10 years agoInclude stand-alone config parser in makefile
Sven-Ola Tuecke [Tue, 20 Jan 2009 08:51:45 +0000 (09:51 +0100)]
Include stand-alone config parser in makefile
to make sure that it can be compiled and nobody has
added global variables or references to olsr_cfg to
the wrong places.

10 years agodyn_gw_plain: cleanup and reformat
Sven-Ola Tuecke [Mon, 19 Jan 2009 21:53:17 +0000 (22:53 +0100)]
dyn_gw_plain: cleanup and reformat

10 years agoFix for oops when removing ip_prefix from list
Sven-Ola Tuecke [Mon, 19 Jan 2009 21:52:07 +0000 (22:52 +0100)]
Fix for oops when removing ip_prefix from list

10 years agoRepair --delgw option
Sven-Ola Tuecke [Mon, 19 Jan 2009 18:58:25 +0000 (19:58 +0100)]
Repair --delgw option