olsrd.git
14 years agofixes for freebsd
Bruno Randolf [Thu, 2 Jun 2005 15:09:37 +0000 (15:09 +0000)]
fixes for freebsd

14 years agominor makefile restructurings
Bruno Randolf [Thu, 2 Jun 2005 14:41:59 +0000 (14:41 +0000)]
minor makefile restructurings

14 years agoNo need for dynamic linking
Andreas Tonnesen [Thu, 2 Jun 2005 14:07:39 +0000 (14:07 +0000)]
No need for dynamic linking

14 years agono need to doy everything yourself - just include Makefile.inc
Bruno Randolf [Thu, 2 Jun 2005 14:01:29 +0000 (14:01 +0000)]
no need to doy everything yourself - just include Makefile.inc

14 years agoadded include for win32
Bruno Randolf [Thu, 2 Jun 2005 13:59:12 +0000 (13:59 +0000)]
added include for win32

14 years agoWildcards are now supported in the link command. Makes mass-link manipulation a breeze :)
Andreas Tonnesen [Wed, 1 Jun 2005 18:53:29 +0000 (18:53 +0000)]
Wildcards are now supported in the link command. Makes mass-link manipulation a breeze :)

14 years agoSome initial wildcard matching code added
Andreas Tonnesen [Wed, 1 Jun 2005 05:32:15 +0000 (05:32 +0000)]
Some initial wildcard matching code added

14 years agoAdded warning flags and fixed warnings
Andreas Tonnesen [Tue, 31 May 2005 20:37:00 +0000 (20:37 +0000)]
Added warning flags and fixed warnings

14 years agoAdded automatic OS detection to makefile
Andreas Tonnesen [Tue, 31 May 2005 20:23:33 +0000 (20:23 +0000)]
Added automatic OS detection to makefile

14 years agoFinally compiles for win32, but still not working ok
Andreas Tonnesen [Tue, 31 May 2005 19:59:32 +0000 (19:59 +0000)]
Finally compiles for win32, but still not working ok

14 years agoMore win32 warning fixes
Andreas Tonnesen [Tue, 31 May 2005 18:18:00 +0000 (18:18 +0000)]
More win32 warning fixes

14 years agoFixed some win32 warnings
Andreas Tonnesen [Tue, 31 May 2005 17:49:31 +0000 (17:49 +0000)]
Fixed some win32 warnings

14 years agoHelp on commands added. Link list function added. Bugfixes
Andreas Tonnesen [Tue, 31 May 2005 16:40:45 +0000 (16:40 +0000)]
Help on commands added. Link list function added. Bugfixes

14 years agoMinor fixes and cleanups to the log command
Andreas Tonnesen [Tue, 31 May 2005 14:04:21 +0000 (14:04 +0000)]
Minor fixes and cleanups to the log command

14 years agoAdded randomize code for link calculation and new log bit for link calculation
Andreas Tonnesen [Tue, 31 May 2005 08:55:23 +0000 (08:55 +0000)]
Added randomize code for link calculation and new log bit for link calculation

14 years agoBidirectional links now work with link command
Andreas Tonnesen [Tue, 31 May 2005 07:34:18 +0000 (07:34 +0000)]
Bidirectional links now work with link command

14 years agolink command now works(in a limited way)
Andreas Tonnesen [Tue, 31 May 2005 06:52:28 +0000 (06:52 +0000)]
link command now works(in a limited way)

14 years agoMore link command code
Andreas Tonnesen [Tue, 31 May 2005 05:30:40 +0000 (05:30 +0000)]
More link command code

14 years agoAdded tx/rx to connections and smaller issues
Andreas Tonnesen [Mon, 30 May 2005 20:24:54 +0000 (20:24 +0000)]
Added tx/rx to connections and smaller issues

14 years agoFix for olsr_switch exit
Andreas Tonnesen [Mon, 30 May 2005 20:24:02 +0000 (20:24 +0000)]
Fix for olsr_switch exit

14 years agoAdded some commands
Andreas Tonnesen [Mon, 30 May 2005 19:57:49 +0000 (19:57 +0000)]
Added some commands

14 years agoAdded foundations for command interface and cleaned up
Andreas Tonnesen [Mon, 30 May 2005 19:17:20 +0000 (19:17 +0000)]
Added foundations for command interface and cleaned up

14 years agoNot restoring network state for host-emul interfaces
Andreas Tonnesen [Mon, 30 May 2005 17:23:09 +0000 (17:23 +0000)]
Not restoring network state for host-emul interfaces

14 years agoWIN32 fixes, still not working
Andreas Tonnesen [Mon, 30 May 2005 14:32:00 +0000 (14:32 +0000)]
WIN32 fixes, still not working

14 years agohostemu fixes for FreeBSD
Andreas Tonnesen [Mon, 30 May 2005 14:08:57 +0000 (14:08 +0000)]
hostemu fixes for FreeBSD

14 years agoFixed for hostemu on win32
Andreas Tonnesen [Mon, 30 May 2005 13:50:27 +0000 (13:50 +0000)]
Fixed for hostemu on win32

14 years agoAdde olsr_switch stuff
Andreas Tonnesen [Mon, 30 May 2005 13:15:42 +0000 (13:15 +0000)]
Adde olsr_switch stuff

14 years agoInitial commit of the olsr_switch code. Includes the new switch code and modification...
Andreas Tonnesen [Mon, 30 May 2005 13:13:48 +0000 (13:13 +0000)]
Initial commit of the olsr_switch code. Includes the new switch code and modifications to olsrd to be able to run in host-emul mode

14 years agonew plugin interface:
Bruno Randolf [Sun, 29 May 2005 12:47:46 +0000 (12:47 +0000)]
new plugin interface:
  - plugins can now directly access all olsrd data structures
  - a plugin only has to include "olsrd_plugin.h" and provide 3 interface functions:
      1. olsrd_plugin_interface_version()
      2. olsrd_plugin_register_param()
      3. olsrd_plugin_init()
    which are called in the above order
  - moved all plugins to the new interface

14 years agoRemoved unused constructor and destructor
Andreas Tonnesen [Sat, 28 May 2005 19:30:47 +0000 (19:30 +0000)]
Removed unused constructor and destructor

14 years agoEven more cleanups
Andreas Tonnesen [Sat, 28 May 2005 16:01:14 +0000 (16:01 +0000)]
Even more cleanups

14 years agoNot initializing plugin if init function not found
Andreas Tonnesen [Sat, 28 May 2005 15:56:47 +0000 (15:56 +0000)]
Not initializing plugin if init function not found

14 years agoHELLO LQ print function added
Andreas Tonnesen [Sat, 28 May 2005 14:43:07 +0000 (14:43 +0000)]
HELLO LQ print function added

14 years agoTesting synchmail
Andreas Tonnesen [Sat, 28 May 2005 14:06:25 +0000 (14:06 +0000)]
Testing synchmail

14 years agoAdded printout function for HELLO messages, only HELLO LQ missing now
Andreas Tonnesen [Sat, 28 May 2005 14:01:59 +0000 (14:01 +0000)]
Added printout function for HELLO messages, only HELLO LQ missing now

14 years agoCleanups, removed unnessecarry pointer use
Andreas Tonnesen [Sat, 28 May 2005 13:29:57 +0000 (13:29 +0000)]
Cleanups, removed unnessecarry pointer use

14 years agoMoved some variable declarations to prevent future mixups of ipv4/ipv6 variables
Andreas Tonnesen [Sat, 28 May 2005 13:04:57 +0000 (13:04 +0000)]
Moved some variable declarations to prevent future mixups of ipv4/ipv6 variables

14 years agoremove mini binary
Bruno Randolf [Sat, 28 May 2005 12:49:51 +0000 (12:49 +0000)]
remove mini binary

14 years agoTesting synchmail script pt.2
Andreas Tonnesen [Fri, 27 May 2005 08:29:22 +0000 (08:29 +0000)]
Testing synchmail script pt.2

14 years agoTesting synchmail script
Andreas Tonnesen [Fri, 27 May 2005 07:00:32 +0000 (07:00 +0000)]
Testing synchmail script

14 years agoRemoved redundant header inclusion
Andreas Tonnesen [Thu, 26 May 2005 21:04:22 +0000 (21:04 +0000)]
Removed redundant header inclusion

14 years agoaccidentally checked in
Bruno Randolf [Thu, 26 May 2005 16:38:26 +0000 (16:38 +0000)]
accidentally checked in

14 years agoFixed pointer issue in olsr_close_plugins
Andreas Tonnesen [Thu, 26 May 2005 16:18:15 +0000 (16:18 +0000)]
Fixed pointer issue in olsr_close_plugins

14 years agoadded mini plugin
Bruno Randolf [Thu, 26 May 2005 16:11:15 +0000 (16:11 +0000)]
added mini plugin

14 years ago- added mini plugin as an example and for testing the new plugin interface
Bruno Randolf [Thu, 26 May 2005 16:09:26 +0000 (16:09 +0000)]
- added mini plugin as an example and for testing the new plugin interface
- changed plugin_loader to load plugins with old and new interface

14 years agoadd -Wl,-export-dynamic to LDFLAGS to allow direct linking of plugins
Bruno Randolf [Thu, 26 May 2005 11:31:17 +0000 (11:31 +0000)]
add -Wl,-export-dynamic to LDFLAGS to allow direct linking of plugins

14 years agoAdded full print functions for all messages except HELLO and LQ-HELLO
Andreas Tonnesen [Thu, 26 May 2005 11:12:16 +0000 (11:12 +0000)]
Added full print functions for all messages except HELLO and LQ-HELLO

14 years agoAdded new generic message/packet print functions. individual packet print functions...
Andreas Tonnesen [Thu, 26 May 2005 09:55:11 +0000 (09:55 +0000)]
Added new generic message/packet print functions. individual packet print functions not yet implemented

14 years ago1) Export all symbols in olsrd on Windows. 2) If the interface address is
Thomas Lopatic [Wed, 25 May 2005 22:17:07 +0000 (22:17 +0000)]
1) Export all symbols in olsrd on Windows. 2) If the interface address is
zero, then consider the interface to be down.

14 years agoMoved the src/net.* files to src/net_olsr.*
Andreas Tonnesen [Wed, 25 May 2005 20:59:46 +0000 (20:59 +0000)]
Moved the src/net.* files to src/net_olsr.*

14 years agoUpdates on httpinfo, secure and powerinfo status
Andreas Tonnesen [Wed, 25 May 2005 18:23:05 +0000 (18:23 +0000)]
Updates on httpinfo, secure and powerinfo status

14 years agoadded OS support status table
Bruno Randolf [Wed, 25 May 2005 16:56:22 +0000 (16:56 +0000)]
added OS support status table

14 years agocompile fixes for OpenBSD
Bruno Randolf [Wed, 25 May 2005 16:33:25 +0000 (16:33 +0000)]
compile fixes for OpenBSD

14 years agoNetBSD compile fixes
Bruno Randolf [Wed, 25 May 2005 16:00:42 +0000 (16:00 +0000)]
NetBSD compile fixes

14 years agothe TAS plugin still needs -lm
Bruno Randolf [Wed, 25 May 2005 15:05:34 +0000 (15:05 +0000)]
the TAS plugin still needs -lm

14 years agoAdded a few lines on the removal of pow and -lm
Andreas Tonnesen [Wed, 25 May 2005 14:51:37 +0000 (14:51 +0000)]
Added a few lines on the removal of pow and -lm

14 years agofixing command line interfaces (-i ifX): sizeof(interf_n->name) returns the
Bruno Randolf [Wed, 25 May 2005 14:32:52 +0000 (14:32 +0000)]
fixing command line interfaces (-i ifX): sizeof(interf_n->name) returns the
size of the pointer, not the length of the string

14 years agoremoved -lm, not needed anymore
Bruno Randolf [Wed, 25 May 2005 14:16:24 +0000 (14:16 +0000)]
removed -lm, not needed anymore

14 years agoanother round of Makefile cleanup
Bruno Randolf [Wed, 25 May 2005 13:50:22 +0000 (13:50 +0000)]
another round of Makefile cleanup
 - guess the OS (via OS env variable and uname), no need to make OS=xxx
   anymore
 - seperate OS specific stuff into make/Makefile.$OS
 - all Makefiles include Makefile.inc which includes the OS
   specifics and provides defaults for about anything
 - this removes a lot of copy & paste from all Makefiles
 - dependency generation with gcc flags -MD instead of "makedepends"

14 years agoRemoved me_to_double use. Replaced with macro
Andreas Tonnesen [Wed, 25 May 2005 13:43:30 +0000 (13:43 +0000)]
Removed me_to_double use. Replaced with macro

14 years agoRemoved unused function pointer
Andreas Tonnesen [Wed, 25 May 2005 13:39:08 +0000 (13:39 +0000)]
Removed unused function pointer

14 years agoUpdated mantissa functions, no longer linking to math
Andreas Tonnesen [Wed, 25 May 2005 13:37:33 +0000 (13:37 +0000)]
Updated mantissa functions, no longer linking to math

14 years agoForgot to free memory after use of get_default_if_config, fixed
Andreas Tonnesen [Mon, 23 May 2005 18:26:33 +0000 (18:26 +0000)]
Forgot to free memory after use of get_default_if_config, fixed

14 years agoAdded assertion bugfix
Andreas Tonnesen [Mon, 23 May 2005 18:02:03 +0000 (18:02 +0000)]
Added assertion bugfix

14 years agoReduced MID hack vtime from 20.0 to 10.0 seconds
Andreas Tonnesen [Mon, 23 May 2005 17:43:01 +0000 (17:43 +0000)]
Reduced MID hack vtime from 20.0 to 10.0 seconds

14 years agoAdded fix for stale routes in olsr_delete_routes_from_kernel
Andreas Tonnesen [Mon, 23 May 2005 17:27:41 +0000 (17:27 +0000)]
Added fix for stale routes in olsr_delete_routes_from_kernel

14 years agoDecreased inerface changes poll interval
Andreas Tonnesen [Mon, 23 May 2005 14:12:57 +0000 (14:12 +0000)]
Decreased inerface changes poll interval

14 years agoAdded OpenBSD port
Andreas Tonnesen [Sat, 21 May 2005 11:40:36 +0000 (11:40 +0000)]
Added OpenBSD port

14 years agoOpenbsd patch for sysctl from Holger Mauerman added
Andreas Tonnesen [Sat, 21 May 2005 10:04:12 +0000 (10:04 +0000)]
Openbsd patch for sysctl from Holger Mauerman added

14 years agoAdde dextra output info in routing table printout
Andreas Tonnesen [Thu, 19 May 2005 20:26:22 +0000 (20:26 +0000)]
Adde dextra output info in routing table printout

14 years agoChanged some strcpys to strncpy to avoid troublesome warnings on paranoid systems...
Andreas Tonnesen [Tue, 17 May 2005 23:53:01 +0000 (23:53 +0000)]
Changed some strcpys to strncpy to avoid troublesome warnings on paranoid systems...

14 years agoOpenBSD fixes
Andreas Tonnesen [Tue, 17 May 2005 23:44:26 +0000 (23:44 +0000)]
OpenBSD fixes

14 years agoOpenBSD changes
Andreas Tonnesen [Tue, 17 May 2005 09:48:06 +0000 (09:48 +0000)]
OpenBSD changes

14 years agoAdded OpenBSD target
Andreas Tonnesen [Sun, 15 May 2005 17:51:30 +0000 (17:51 +0000)]
Added OpenBSD target

14 years agoPatches for openbsd
Andreas Tonnesen [Sun, 15 May 2005 13:43:34 +0000 (13:43 +0000)]
Patches for openbsd

14 years agoAdded OpenBSD to BSD types in olsr_types
Andreas Tonnesen [Sun, 15 May 2005 12:57:24 +0000 (12:57 +0000)]
Added OpenBSD to BSD types in olsr_types

14 years agoFixed command line argument parsing issues
Andreas Tonnesen [Fri, 13 May 2005 10:13:36 +0000 (10:13 +0000)]
Fixed command line argument parsing issues

14 years agoadd localhost to /etc/hosts file
Bruno Randolf [Thu, 28 Apr 2005 12:46:32 +0000 (12:46 +0000)]
add localhost to /etc/hosts file

14 years agoinclude ADMIN_INTERFACE flag and src/cfgparser/cfgfile_gen.o
Bruno Randolf [Mon, 25 Apr 2005 11:36:23 +0000 (11:36 +0000)]
include ADMIN_INTERFACE flag and src/cfgparser/cfgfile_gen.o

14 years agoreplaced httpinfo Makefile with the generic one. the old version had problems
Bruno Randolf [Mon, 25 Apr 2005 10:57:17 +0000 (10:57 +0000)]
replaced httpinfo Makefile with the generic one. the old version had problems
with cross-compiling

14 years agoIPv6 address change crashfix
Andreas Tonnesen [Fri, 22 Apr 2005 11:59:04 +0000 (11:59 +0000)]
IPv6 address change crashfix

14 years agoFixed crash when changing IPv6 addresses
Andreas Tonnesen [Fri, 22 Apr 2005 11:48:04 +0000 (11:48 +0000)]
Fixed crash when changing IPv6 addresses

14 years agoonly write the 3 nearest (best ETX) nameservers to /etc/resolv.conf. updated README
Bruno Randolf [Wed, 20 Apr 2005 17:57:00 +0000 (17:57 +0000)]
only write the 3 nearest (best ETX) nameservers to /etc/resolv.conf. updated README

14 years agoadd cumulative etx for each destination to the routing table (struct rt_entry).
Bruno Randolf [Wed, 20 Apr 2005 17:52:12 +0000 (17:52 +0000)]
add cumulative etx for each destination to the routing table (struct rt_entry).
output it in the httpinfo plugin "routes" page

14 years agoRemoved unused comparison
Andreas Tonnesen [Mon, 18 Apr 2005 05:52:14 +0000 (05:52 +0000)]
Removed unused comparison

14 years agoremove redundant echo
Dave Cornejo [Fri, 15 Apr 2005 08:04:35 +0000 (08:04 +0000)]
remove redundant echo

14 years agomodify the Makefile to allow more flexible config file specification
Dave Cornejo [Thu, 14 Apr 2005 23:29:15 +0000 (23:29 +0000)]
modify the Makefile to allow more flexible config file specification
and handling of plugin build/installation.

14 years agoa Makefile to build all the plug-ins at once. note that the list of
Dave Cornejo [Thu, 14 Apr 2005 21:38:42 +0000 (21:38 +0000)]
a Makefile to build all the plug-ins at once.  note that the list of
SUBDIRS may be tailored per OS

14 years agoTC set is accessible.
Thomas Lopatic [Wed, 13 Apr 2005 22:53:13 +0000 (22:53 +0000)]
TC set is accessible.

14 years agoTwo-hop neighbours are accessible. Take care of clocks that go backward.
Thomas Lopatic [Wed, 13 Apr 2005 22:10:23 +0000 (22:10 +0000)]
Two-hop neighbours are accessible. Take care of clocks that go backward.

14 years agoSupport recursive tables.
Thomas Lopatic [Tue, 12 Apr 2005 19:57:26 +0000 (19:57 +0000)]
Support recursive tables.

14 years agoAutomatically scroll down to show the most recent messages.
Thomas Lopatic [Tue, 12 Apr 2005 19:04:58 +0000 (19:04 +0000)]
Automatically scroll down to show the most recent messages.

14 years agoInitial import of the TAS plugin.
Thomas Lopatic [Tue, 12 Apr 2005 17:17:35 +0000 (17:17 +0000)]
Initial import of the TAS plugin.

14 years agoAdded IP deny set and filtering
Andreas Tonnesen [Mon, 11 Apr 2005 18:43:40 +0000 (18:43 +0000)]
Added IP deny set and filtering

14 years agoAdded changes
Andreas Tonnesen [Mon, 11 Apr 2005 09:09:23 +0000 (09:09 +0000)]
Added changes

14 years agoFixed bug that did not allow willingness of 0
Andreas Tonnesen [Mon, 11 Apr 2005 09:01:59 +0000 (09:01 +0000)]
Fixed bug that did not allow willingness of 0

14 years agoAdded the register_olsr_param function to avoid plugin load error message
Andreas Tonnesen [Sun, 10 Apr 2005 11:52:05 +0000 (11:52 +0000)]
Added the register_olsr_param function to avoid plugin load error message

14 years agoUpdated interface version to 3 for all plugins
Andreas Tonnesen [Sun, 10 Apr 2005 11:45:35 +0000 (11:45 +0000)]
Updated interface version to 3 for all plugins

14 years agoUpdated plugin interface version and added extended output on version missmatch
Andreas Tonnesen [Sun, 10 Apr 2005 11:41:50 +0000 (11:41 +0000)]
Updated plugin interface version and added extended output on version missmatch

14 years agoUpdated default port
Andreas Tonnesen [Fri, 8 Apr 2005 07:27:57 +0000 (07:27 +0000)]
Updated default port