summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-31The CLI I/O functions work as desired.Martin Mares
1999-10-29First steps of the Command Line Interface: I/O routines.Martin Mares
1999-10-29Implemented unix-domain sockets.Martin Mares
1999-10-29Events now return a value. If it's non-zero, the event is re-queuedMartin Mares
for processing in next event cycle. This can be used to prevent background actions (hint: user commands) from hogging the CPU for too long time.
1999-10-29Simplify handling of free chunks.Martin Mares
1999-10-29Configure PATH_CONTROL_SOCKET.Martin Mares
autoconf.h is now written to obj/sysdep, the source tree is hopefully completely read-only now.
1999-10-29Added skeleton of the client. Does nothing, but at least compiles.Martin Mares
1999-10-28switch() { } done right.Pavel Machek
1999-10-19Minor changes and bug fixes. Preparing for Exchange and higher states.Ondrej Filip
1999-10-18Huge changes. Neighbor and interface state machines rewritten.Ondrej Filip
It should be cleaner now, I'm preparing for file splitting. Maybe I added some minor bugs. :-(
1999-10-12FIXME's for rip added.Pavel Machek
Will we ever able to generate packets saying "route 1.2.3.4 using someone else"?
1999-10-12Changed syntax of ip_class_mask, the old one was stupid.Martin Mares
1999-10-12Filters: permit variables of prefix types, cleanup aroundPavel Machek
variables. TODO list added, hopefully complete. Use new features of filters in bird.conf
1999-10-11Untested IPv6 support added. I do not know if it compiles in IPV6 mode.Pavel Machek
1999-10-07Added constants of type prefix and pair, added their printingPavel Machek
1999-10-07Added examples of pairs and prefixesPavel Machek
1999-10-07FIXME's added. Hopefully fixme list is now complete for filters.Pavel Machek
1999-10-02Failure to set socket TOS is not a fatal error.Martin Mares
1999-10-02Don't forget to free large blocks.Martin Mares
1999-10-02Obvious bugs in authentication fixed.Pavel Machek
1999-09-29Case arg { 1: printf "one"; } works. You can not use two commandsPavel Machek
after one label, yet.
1999-09-29Make configuration use new case statement.Pavel Machek
1999-08-25DD packet receiving in ExStart.Ondrej Filip
1999-08-24A structure for receiving DD seq packets added.Ondrej Filip
1999-08-24Preparing to send DD packets.Ondrej Filip
1999-08-20Few FIXME's removed from auth, few FIXME's added to filter.Pavel Machek
1999-08-18Few fixme's fixed in rip (will not crash any more on request forPavel Machek
sending routing table - hopefully). Next few steps in md5 authentication (not yet complete).
1999-08-17Added a function for generating 32-bit random numbers.Martin Mares
1999-08-16Better dumping.Ondrej Filip
1999-08-10Small bux fixes. A neigh_chstate added.Ondrej Filip
1999-08-09Multiple "hton problems" fixed. Now we're in EXSTART state.Ondrej Filip
1999-08-09"My own IP problem" fixed.Ondrej Filip
1999-08-09Bug fix in checksum calculation.Ondrej Filip
1999-08-09Bug in election fixed.Ondrej Filip
1999-08-09(Backup) Designated Router election added.Ondrej Filip
1999-08-09Some interface state machine changes. I found some problem in RFC,Ondrej Filip
trying to conntact authors.
1999-08-03Forgot to do a `cvs add', grr.Martin Mares
1999-08-03Ouch, how could I write this?Martin Mares
1999-08-03Taught Netlink how to behave in IPv6 world.Martin Mares
1999-08-03Support for IPv6 sockets. How nice one doesn't have to ifdef aroundMartin Mares
ten years of API evolution :-)
1999-08-03Basic 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-03Pruned the TODO list.Martin Mares
1999-08-03Implemented a Table-to-Table protocol a.k.a The Pipe.Martin Mares
1999-08-03Allow announces of rte's to protocols in FS_FEEDING state.Martin Mares
Else, we would get chicken-egg problems in the table-to-table protocol.
1999-08-03Kernel 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. :)
1999-08-03Protocol engine bug fixes:Martin Mares
o Make proto_config->table always point to the right table even if it should be the default one. o When shutting down, kill protocol in reverse order of their priority. o When stopping a protocol down, disconnect it from routing tables immediately instead of waiting for the delayed protocol flush event. Also added a protocol instance counter (used by KRT code in very magic ways).
1999-08-03Added macros for walking lists backwards.Martin Mares
1999-08-03Added missing structure declarations.Martin Mares
1999-08-03Cleaned up handling of interface patterns:Martin Mares
o Parsing of interface patterns moved to generic code, introduced this_ipatt which works similarly to this_iface. o Interface patterns now support selection by both interface names and primary IP addresses. o Proto `direct' updated. o RIP updated as well, it also seems the memory corruption bug there is gone.