summaryrefslogtreecommitdiffstats
path: root/conf
AgeCommit message (Collapse)Author
2000-05-31Updated all the Doc files to new format.Martin Mares
2000-05-30Recognize `!'.Martin Mares
2000-05-30Tracing of CLI connections/commands can be now controlledMartin Mares
by `debug commands <level>' in the configuration. Level 0 means no tracing, 1 means connections only, 2 includes all commands.
2000-05-25Use ? in path matching to avoid /* trap.Pavel Machek
2000-05-16Resolved shift/reduce conflictPavel Machek
2000-05-15Changed syntax of expressions. Each `expr' can be now either a numeric literalMartin Mares
or a symbol or parenthesised filter expression.
2000-05-15Cleanup 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-15Got rid of startup functions and filters_postconfig().Martin Mares
By the way, how do you expect pointers to fit in an int?
2000-05-13Added prefix_or_ipa.Martin Mares
2000-05-13Unified parsing of prefixes.Martin Mares
Had to rename `prefix' in filters to `fprefix'.
2000-05-05Added skeleton Doc files for the whole developer's documentation.Martin Mares
2000-05-04pxlen works even in IPv6 mode.Martin Mares
2000-04-28Include CF_HDR section in keywords.h as well, so that protocol symbolsMartin Mares
can be used in definition of ENUM's.
2000-04-28Split CF_HDR section to CF_HDR (only includes) and CF_DEFINES (defines,Martin Mares
C declarations etc.).
2000-04-28Event handlers no longer return re-queue flag. Instead of using it, justMartin Mares
call ev_schedule() on the same handler which should work perfectly now.
2000-04-12Renamed f_path to f_path_mask -- which is what it really is. UsePavel Machek
linklist instead of array of signed integers for path mask.
2000-04-12Path masks are needed for filters.Pavel Machek
2000-04-01Include "lib/string.h" instead of <string.h>. It should give us bzero()Martin Mares
and other non-portable functions on all systems.
2000-03-13Add internal commands of the client to the command list.Martin Mares
2000-03-12Made `show status' show uptime and time of last reconfiguration.Martin Mares
2000-03-12Great cleanup of debug messages. LOCAL_DEBUG turned off in most modules,Martin Mares
several debug() calls converted to DBG().
2000-03-10Fix <=, >=, !=Pavel Machek
2000-03-07Added configuration of default protocol debugging flags.Martin Mares
2000-03-04Removed bogus comment.Martin Mares
2000-03-04Please *think* when defining operator priorities.Martin Mares
(-: num_of_parser_conflicts -= 42 :-)
2000-03-01Made `datetime' more user friendly. Now it should be a quoted stringMartin Mares
of type "dd-mm-yyyy".
2000-03-01Defined INVALID_TOKEN which is a token guaranteed to be never generated.Martin Mares
2000-02-17Client: Online help works (Cisco style: just press `?' at the end of a line).Martin Mares
2000-01-19Generate a list of all commands and their help texts for the client to use.Martin Mares
2000-01-19Split off general commands to cmds.c.Martin Mares
Added `show symbols' command which dumps whole symbol table together with symbol types etc.
2000-01-17Separated `official protocol names' used in status dumps from name templatesMartin 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-17When a quoted string is encountered, don't forget to copy it to theMartin Mares
config pool before passing it to the parser.
2000-01-16Converted shutdown to a kind of reconfiguration, it's no more handledMartin Mares
as a exception in protocol state machines. Introduced a `shutdown' CLI command. Killed few reconfiguration bugs.
2000-01-16First attempt on dynamic reconfiguration. There are still lots of bugsMartin Mares
and problems to solve, but the hardest part works.
1999-12-06Added type `g' for void (general) pointer.Martin Mares
1999-12-06Moved initialization of protocol list to proto.c.Martin Mares
Added sysdep configuration hooks.
1999-12-02I 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-02Avoid `default rule can be matched' warning in CLI state.Martin Mares
1999-12-01Added dumping of routing tables (`show route'). This includes filtering.Martin Mares
1999-11-30Lexer supports fallback symbol tables and uses them to recognizeMartin Mares
symbols from global config when parsing CLI commands. cf_lex_init_tables() is now called automatically inside the lexer.
1999-11-25cli_msg() moved to cli.h, so that it can be used outside the parser.Martin Mares
1999-11-17Command line interface now works.Martin Mares
1999-11-15Defined CF_ENUM.Martin Mares
1999-11-15SYM_STAT is gone.Martin Mares
1999-11-10Enumerational types, defined keyword added.Pavel Machek
1999-11-04Silly bug.Martin Mares
1999-11-04Symbols are not scoped.Martin Mares
1999-11-03You should not follow next two times.Pavel Machek
1999-10-31Parse CLI commands. We use the same parser as for configuration files (becauseMartin 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-28switch() { } done right.Pavel Machek