Age | Commit message (Collapse) | Author | |
---|---|---|---|
2000-04-01 | Changed initialization of protocol list -- now we call proto_build() instead | Martin Mares | |
of calling the protocols manually. Implemented printing of dynamic attributes in `show route all'. Each protocol can now register its own attribute class (protocol->attr_class, set to EAP_xxx) and also a callback for naming and formatting of attributes. The callback can return one of the following results: GA_UNKNOWN Attribute not recognized. GA_NAME Attribute name recognized and put to the buffer, generic code should format the value. GA_FULL Both attribute name and value put to the buffer. Please update protocols generating dynamic attributes to provide the attr_class and formatting hook. | |||
2000-03-31 | Use bsprintf() instead of sprintf(). | Martin Mares | |
2000-03-31 | Include "lib/string.h" instead of <string.h>. It should give us bzero() | Martin Mares | |
and other non-portable functions on all systems. | |||
2000-03-30 | Defined sk_close() which closes the socket safely even if called from | Martin Mares | |
socket hook. Replaces the SK_DELETED hack. Squashed a couple of bugs in handling of TCP sockets. | |||
2000-03-20 | Handle EINPROGRESS properly. | Martin Mares | |
Set IP_DONTROUTE sockopt only if sk->ttl == 1. | |||
2000-03-12 | Fixed a bunch of FIXME's by removing them :) | Martin Mares | |
2000-03-12 | Added tm_format_datetime(). | Martin Mares | |
2000-03-12 | Yet another LOCAL_DEBUG turned off. | Martin Mares | |
2000-03-12 | Cleaned up debugging in kernel syncer. Netlink has still LOCAL_DEBUG | Martin Mares | |
turned on, but after some testing I'll gag it. | |||
2000-03-12 | Great cleanup of debug messages. LOCAL_DEBUG turned off in most modules, | Martin Mares | |
several debug() calls converted to DBG(). | |||
2000-03-07 | Renamed command `shutdown' to `down', so that `s' can be used as an | Martin Mares | |
abbreviation for `show'. | |||
2000-03-04 | Garbage collector events and counters are now per table and one day | Martin Mares | |
they can be made configurable if it turns out to be useful. | |||
2000-03-01 | ipa_opposite hack is not applicable in IPv6. | Martin Mares | |
2000-02-29 | Rewrote interface type detection logic. The `unnumbered' flag is now per | Martin Mares | |
address, not per interface (hence it's ifa->flags & IA_UNNUMBERED) and should be set reliably. IF_MULTIACCESS should be fixed now, but it isn't wise to rely on it on interfaces configured with /30 prefix. | |||
2000-01-19 | Put client on a stony ground. The whole client is going to be system-specific | Martin Mares | |
(the current version UNIX-specific) anyway, so it's useless to try splitting it to sysdep and generic part. Instead of this, configure script decides (based on system type and user's wish) what (if any) client should be built and what autoconfiguration it requires. Also, the client provides its own die/bug/... functions. | |||
2000-01-18 | Killed protocol->priority. Protocol startup should be clean and hack-free now. | Martin Mares | |
It seems everything still works (except for disable/enable/restart which hangs sometimes, but it's another story). | |||
2000-01-18 | Kernel route syncer now supports dynamic reconfiguration. Also it doesn't | Martin Mares | |
depend on the startup counter hack now and uses a zero-time timer instead to make itself scheduled after normal protocol startup. | |||
2000-01-17 | Removed point-to-point tunnel hack as it breaks ordinary PtP interfaces. | Martin Mares | |
I'll find a better solution soon. | |||
2000-01-17 | Separated `official protocol names' used in status dumps from name templates | Martin Mares | |
used for automatic generation of instance names. protocol->name is the official name protocol->template is the name template (usually "name%d"), should be all lowercase. Updated all protocols to define the templates, checked that their configuration grammar includes proto_name which generates the name and interns it in the symbol table. | |||
2000-01-17 | Reconfiguration for device protocol. | Martin Mares | |
2000-01-16 | Wording changes. | Martin Mares | |
2000-01-16 | Converted shutdown to a kind of reconfiguration, it's no more handled | Martin Mares | |
as a exception in protocol state machines. Introduced a `shutdown' CLI command. Killed few reconfiguration bugs. | |||
2000-01-16 | First attempt on dynamic reconfiguration. There are still lots of bugs | Martin Mares | |
and problems to solve, but the hardest part works. | |||
1999-12-16 | Minor cleanups. | Martin Mares | |
1999-12-16 | Handle cases when SIOCGIFINDEX is defined, but doesn't work (new glibc | Martin Mares | |
with 2.0 kernels). | |||
1999-12-16 | Better order of includes. | Martin Mares | |
set_inaddr() moved to sysio.h. | |||
1999-12-16 | Tried to clean up multicast handling. Now we don't try to guess | Martin Mares | |
multicast abilities depending on definedness of symbols and use hard-wired system-dependent configuration defines instead. Please test whereever you can. | |||
1999-12-09 | Added universal locking mechanism which will solve problems | Martin Mares | |
with protocols wanting to use the same port on the same interface during reconfiguration time. How to use locks: In the if_notify hook, just order locks for the interfaces you want to work with and do the real socket opening after the lock hook function gets called. When you stop using the socket, close it and rfree() the lock. Please update your protocols to use the new locking mechanism. | |||
1999-12-08 | Temporary work-arounds for multicast problems. Needs further investigation. | Martin Mares | |
1999-12-08 | Except for special protocols (nowadays only the kernel syncer), don't | Martin Mares | |
export host and link scope routes. | |||
1999-12-08 | - Path to control socket is selectable via command-line option. | Martin Mares | |
- die() when control socket open failed. | |||
1999-12-06 | Allow logging to stderr as well. | Martin Mares | |
1999-12-06 | Logging is now configurable. You can define multiple log outputs (to both | Martin Mares | |
files and syslog) and assign lists of message categories to each of them. | |||
1999-12-06 | Added tracked_fopen() which is a fopen registered in resource database. | Martin Mares | |
Will be used for log files. | |||
1999-12-06 | Implemented echoing of log messages to CLI connections. Just try `echo all'. | Martin Mares | |
1999-12-01 | Added tm_format_reltime() for formatting of relative time quantities. | Martin Mares | |
1999-11-30 | Moved TIME_INFINITY to timer.h, so that it's publicly available. | Martin Mares | |
1999-11-17 | If the main event queue is not empty, call select() with zero timeout, so | Martin Mares | |
that the events are ran again after the FD's are checked. This allows us to schedule I/O checks between processing of user commands. | |||
1999-11-04 | Renamed attr->attrs to attr->eattrs. | Martin Mares | |
1999-10-31 | The CLI I/O functions work as desired. | Martin Mares | |
1999-10-29 | First steps of the Command Line Interface: I/O routines. | Martin Mares | |
1999-10-29 | Implemented unix-domain sockets. | Martin Mares | |
1999-10-29 | Configure PATH_CONTROL_SOCKET. | Martin Mares | |
autoconf.h is now written to obj/sysdep, the source tree is hopefully completely read-only now. | |||
1999-10-29 | Added skeleton of the client. Does nothing, but at least compiles. | Martin Mares | |
1999-10-02 | Failure to set socket TOS is not a fatal error. | Martin Mares | |
1999-08-17 | Added a function for generating 32-bit random numbers. | Martin Mares | |
1999-08-03 | Taught Netlink how to behave in IPv6 world. | Martin Mares | |
1999-08-03 | Support for IPv6 sockets. How nice one doesn't have to ifdef around | Martin Mares | |
ten years of API evolution :-) | |||
1999-08-03 | Basic support for IPv6. The system-dependent part doesn't work yet, | Martin Mares | |
but the core routines are there and seem to be working. o lib/ipv6.[ch] written o Lexical analyser recognizes IPv6 addresses and when in IPv6 mode, treats pure IPv4 addresses as router IDs. o Router ID must be configured manually on IPv6 systems. o Added SCOPE_ORGANIZATION for org-scoped IPv6 multicasts. o Fixed few places where ipa_(hton|ntoh) was called as a function returning converted address. | |||
1999-08-03 | Kernel route syncer supports multiple tables. | Martin Mares | |
The changes are just too extensive for lazy me to list them there, but see the comment at the top of sysdep/unix/krt.c. The code got a bit more ifdeffy than I'd like, though. Also fixed a bunch of FIXME's and added a couple of others. :) |