Age | Commit message (Collapse) | Author | |
---|---|---|---|
2000-05-15 | Cleanup of configuration. | Martin Mares | |
o Use `expr' instead of `NUM' and `ipa' instead of `IPA', so that defined symbols work everywhere. o `define' now accepts both numbers and IP addresses. o Renamed `ipa' in filters to `fipa'. Pavel, please update filters to accept define'd symbols as well. | |||
2000-05-15 | Got rid of startup functions and filters_postconfig(). | Martin Mares | |
By the way, how do you expect pointers to fit in an int? | |||
2000-05-13 | Added prefix_or_ipa. | Martin Mares | |
2000-05-13 | Unified parsing of prefixes. | Martin Mares | |
Had to rename `prefix' in filters to `fprefix'. | |||
2000-05-05 | Added skeleton Doc files for the whole developer's documentation. | Martin Mares | |
2000-05-04 | pxlen works even in IPv6 mode. | Martin Mares | |
2000-04-28 | Include CF_HDR section in keywords.h as well, so that protocol symbols | Martin Mares | |
can be used in definition of ENUM's. | |||
2000-04-28 | Split CF_HDR section to CF_HDR (only includes) and CF_DEFINES (defines, | Martin Mares | |
C declarations etc.). | |||
2000-04-27 | Event handlers no longer return re-queue flag. Instead of using it, just | Martin Mares | |
call ev_schedule() on the same handler which should work perfectly now. | |||
2000-04-12 | Renamed f_path to f_path_mask -- which is what it really is. Use | Pavel Machek | |
linklist instead of array of signed integers for path mask. | |||
2000-04-12 | Path masks are needed for filters. | Pavel Machek | |
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-12 | Add internal commands of the client to the command list. | Martin Mares | |
2000-03-12 | Made `show status' show uptime and time of last reconfiguration. | Martin Mares | |
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-10 | Fix <=, >=, != | Pavel Machek | |
2000-03-07 | Added configuration of default protocol debugging flags. | Martin Mares | |
2000-03-04 | Removed bogus comment. | Martin Mares | |
2000-03-04 | Please *think* when defining operator priorities. | Martin Mares | |
(-: num_of_parser_conflicts -= 42 :-) | |||
2000-03-01 | Made `datetime' more user friendly. Now it should be a quoted string | Martin Mares | |
of type "dd-mm-yyyy". | |||
2000-03-01 | Defined INVALID_TOKEN which is a token guaranteed to be never generated. | Martin Mares | |
2000-02-17 | Client: Online help works (Cisco style: just press `?' at the end of a line). | Martin Mares | |
2000-01-19 | Generate a list of all commands and their help texts for the client to use. | Martin Mares | |
2000-01-19 | Split off general commands to cmds.c. | Martin Mares | |
Added `show symbols' command which dumps whole symbol table together with symbol types etc. | |||
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-16 | When a quoted string is encountered, don't forget to copy it to the | Martin Mares | |
config pool before passing it to the parser. | |||
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-06 | Added type `g' for void (general) pointer. | Martin Mares | |
1999-12-06 | Moved initialization of protocol list to proto.c. | Martin Mares | |
Added sysdep configuration hooks. | |||
1999-12-02 | I tried to turn on the YYERROR_VERBOSE switch, but bison is buggy as hell, | Martin Mares | |
so it doesn't even compile. Turned it again off and added a comment on it. | |||
1999-12-02 | Avoid `default rule can be matched' warning in CLI state. | Martin Mares | |
1999-12-01 | Added dumping of routing tables (`show route'). This includes filtering. | Martin Mares | |
1999-11-30 | Lexer supports fallback symbol tables and uses them to recognize | Martin Mares | |
symbols from global config when parsing CLI commands. cf_lex_init_tables() is now called automatically inside the lexer. | |||
1999-11-25 | cli_msg() moved to cli.h, so that it can be used outside the parser. | Martin Mares | |
1999-11-17 | Command line interface now works. | Martin Mares | |
1999-11-15 | Defined CF_ENUM. | Martin Mares | |
1999-11-15 | SYM_STAT is gone. | Martin Mares | |
1999-11-10 | Enumerational types, defined keyword added. | Pavel Machek | |
1999-11-04 | Silly bug. | Martin Mares | |
1999-11-04 | Symbols are not scoped. | Martin Mares | |
1999-11-03 | You should not follow next two times. | Pavel Machek | |
1999-10-31 | Parse CLI commands. We use the same parser as for configuration files (because | Martin Mares | |
we want to allow filter and similar complex constructs to be used in commands and we should avoid code duplication), only with CLI_MARKER token prepended before the whole input. Defined macro CF_CLI(cmd, args, help) for defining CLI commands in .Y files. The first argument specifies the command itself, the remaining two arguments are copied to the help file (er, will be copied after the help file starts to exist). This macro automatically creates a skeleton rule for the command, you only need to append arguments as in: CF_CLI(STEAL MONEY, <$>, [[Steal <$> US dollars or equivalent in any other currency]]): NUM { cli_msg(0, "%d$ stolen", $3); } ; Also don't forget to reset lexer state between inputs. | |||
1999-10-28 | switch() { } done right. | Pavel Machek | |
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-07-01 | Function calling in filters works - somehow. Calling syntax is | Pavel Machek | |
currently very ugly, beware. Variables are not really local - that needs to be fixed. | |||
1999-05-26 | Added notion of datetime | Pavel Machek | |
1999-05-17 | From now we support multiple tables. The master_table variable is | Martin Mares | |
definitely gone. Both rte_update() and rte_discard() have an additional argument telling which table should they modify. Also, rte_update() no longer walks the whole protocol list -- each table has a list of all protocols connected to this table and having the rt_notify hook set. Each protocol can also freely decide (by calling proto_add_announce_hook) to connect to any other table, but it will be probably used only by the table-to-table protocol. The default debugging dumps now include all routing tables and also all their connections. | |||
1999-05-17 | Implemented two new symbol handling functions: | Martin Mares | |
o cf_define_symbol() -- it assigns a meaning to a symbol, bailing out if it already has one. o cf_find_symbol() -- finds symbol by name and creates it if not found. Also modified filter/config.Y to make use of the first function. | |||
1999-04-19 | Updated filters: they now actually see IP/pxlen of net being filtered, | Pavel Machek | |
gateway, and who told us, so they can do usefull jobs from now on. |