]>
git.ipfire.org Git - thirdparty/bird.git/log
Martin Mares [Sun, 4 Jun 2000 19:30:55 +0000 (19:30 +0000)]
Use nested scopes properly. Updated according to cf_define_symbol() changes.
The rest of code doesn't need changing since it doesn't use nesting.
Martin Mares [Sun, 4 Jun 2000 19:30:13 +0000 (19:30 +0000)]
Nested scopes could never have worked. My fault I wrote such a buggy code,
Pavel's fault that he's never tested shadowing of declarations in the filters.
cf_define_symbol() has been modified to check the scope of the symbol it's
given and it if it's an already defined symbol, but in a different scope,
a copy is created in the current scope and redefined to the new meaning,
the consequence being that it cf_define_symbol() now returns the new symbol
you need to use when assigning aux and aux2.
Ondrej Filip [Sun, 4 Jun 2000 19:21:23 +0000 (19:21 +0000)]
Install newer lsa even if nothing in its body change.
Ondrej Filip [Sun, 4 Jun 2000 19:20:28 +0000 (19:20 +0000)]
Many bugs in ext lsa origination.
Ondrej Filip [Sun, 4 Jun 2000 19:19:36 +0000 (19:19 +0000)]
Schedule RT calcualtion if you delete LSA by premature aging.
Martin Mares [Sun, 4 Jun 2000 18:46:30 +0000 (18:46 +0000)]
When cloning a rte and replacing its rta, remember to free the old one
so that we don't leak memory. Thanks go to the resource tracking system
for quickly discovering the source of leakages.
Martin Mares [Sun, 4 Jun 2000 18:34:39 +0000 (18:34 +0000)]
Added library progdocs.
Ondrej Filip [Sun, 4 Jun 2000 17:51:52 +0000 (17:51 +0000)]
Just to be sure, that rt calculation cannot start beforeorigination of rt LSA.
Ondrej Filip [Sun, 4 Jun 2000 17:33:15 +0000 (17:33 +0000)]
Bug in debugging.
Ondrej Filip [Sun, 4 Jun 2000 17:10:52 +0000 (17:10 +0000)]
:-) No bison does not have any comment to my code. :-)
Martin Mares [Sun, 4 Jun 2000 17:06:18 +0000 (17:06 +0000)]
BGP documented.
Ondrej Filip [Sun, 4 Jun 2000 16:36:57 +0000 (16:36 +0000)]
Clean up.
Ondrej Filip [Sun, 4 Jun 2000 16:17:39 +0000 (16:17 +0000)]
Another clean up.
Martin Mares [Sun, 4 Jun 2000 16:16:08 +0000 (16:16 +0000)]
Document.
Martin Mares [Sun, 4 Jun 2000 16:15:37 +0000 (16:15 +0000)]
Documented all the trivial protocols.
Ondrej Filip [Sun, 4 Jun 2000 16:12:01 +0000 (16:12 +0000)]
Small change to make bison happy.
Martin Mares [Sun, 4 Jun 2000 15:22:20 +0000 (15:22 +0000)]
Moved parser docs to cf-lex.l, so that the parser compiles.
Martin Mares [Sat, 3 Jun 2000 18:23:27 +0000 (18:23 +0000)]
Minor changes to the progdocs.
Martin Mares [Sat, 3 Jun 2000 18:23:00 +0000 (18:23 +0000)]
Documentation.
Martin Mares [Sat, 3 Jun 2000 18:22:43 +0000 (18:22 +0000)]
`|' now works as it should.
Martin Mares [Sat, 3 Jun 2000 17:02:30 +0000 (17:02 +0000)]
Recognize `|xxxx|' as verbatim text and typeset it using <tt>.
Martin Mares [Sat, 3 Jun 2000 16:56:00 +0000 (16:56 +0000)]
cf_symbol_class_name now recognizes SYM_IPA.
Martin Mares [Sat, 3 Jun 2000 14:40:39 +0000 (14:40 +0000)]
More documentation.
Ondrej Filip [Sat, 3 Jun 2000 09:50:31 +0000 (09:50 +0000)]
More conf. items defined.
Ondrej Filip [Sat, 3 Jun 2000 08:42:04 +0000 (08:42 +0000)]
Multiple items in area {} :-)
Ondrej Filip [Sat, 3 Jun 2000 01:29:00 +0000 (01:29 +0000)]
interface {} added.
Ondrej Filip [Fri, 2 Jun 2000 19:55:55 +0000 (19:55 +0000)]
area {} added to config.
Martin Mares [Fri, 2 Jun 2000 17:42:21 +0000 (17:42 +0000)]
Killed several bugs in kernel-doc. The most painful one was that it
was unable to recognize structure markers `&'.
Martin Mares [Fri, 2 Jun 2000 17:41:43 +0000 (17:41 +0000)]
New TODO list.
Martin Mares [Fri, 2 Jun 2000 17:24:11 +0000 (17:24 +0000)]
Documented protocol hooks.
Martin Mares [Fri, 2 Jun 2000 17:23:53 +0000 (17:23 +0000)]
Use <chapt> for chapters, <sect> for sections and <sect1> for subsections.
Martin Mares [Fri, 2 Jun 2000 17:22:43 +0000 (17:22 +0000)]
Typographical enhancements. Now, the documentation is typeset using a modified
book style.
Please look at this version and tell me your opinion. Especially I don't feel
happy about the spacing and (not) indenting of paragraphs.
Also, I've removed things like "fax" and "letter" from the LaTeX mapping file.
Ondrej Filip [Fri, 2 Jun 2000 15:05:41 +0000 (15:05 +0000)]
First option into config added. :-)
Ondrej Filip [Fri, 2 Jun 2000 13:52:50 +0000 (13:52 +0000)]
Flush LSA when receive aged one.
Martin Mares [Fri, 2 Jun 2000 13:42:36 +0000 (13:42 +0000)]
Added documentation on protocols.
Protocol hooks deserve an extra chapter (to come soon).
Ondrej Filip [Fri, 2 Jun 2000 13:27:34 +0000 (13:27 +0000)]
Bugfix in receiving of aged LSA.
Martin Mares [Fri, 2 Jun 2000 12:41:25 +0000 (12:41 +0000)]
Better description of the route distribution process.
Ondrej Filip [Fri, 2 Jun 2000 12:34:28 +0000 (12:34 +0000)]
Better LSA Aging.
Martin Mares [Fri, 2 Jun 2000 12:29:55 +0000 (12:29 +0000)]
Documentation on routing tables and route attributes.
Martin Mares [Fri, 2 Jun 2000 12:29:24 +0000 (12:29 +0000)]
Removed rta_find() since nobody uses it and it's more convenient
to use ea_find() directly.
Ondrej Filip [Fri, 2 Jun 2000 11:24:38 +0000 (11:24 +0000)]
sh interface "iface" dumpped all.
Ondrej Filip [Fri, 2 Jun 2000 11:00:14 +0000 (11:00 +0000)]
Better dumping, if I get strange lsack.
Ondrej Filip [Fri, 2 Jun 2000 10:21:02 +0000 (10:21 +0000)]
Handle "show ospf *" even if protocol is down.
Ondrej Filip [Fri, 2 Jun 2000 09:57:22 +0000 (09:57 +0000)]
Silly bug in sh interface. Now I test ALL interfaces. :-)
Ondrej Filip [Fri, 2 Jun 2000 09:53:26 +0000 (09:53 +0000)]
Speedup loading process.
Martin Mares [Fri, 2 Jun 2000 09:51:26 +0000 (09:51 +0000)]
Spelling fixes.
Martin Mares [Fri, 2 Jun 2000 09:46:35 +0000 (09:46 +0000)]
Minor fixes.
Ondrej Filip [Fri, 2 Jun 2000 09:42:24 +0000 (09:42 +0000)]
Bugfix in lsreq receiving.
Martin Mares [Fri, 2 Jun 2000 09:35:17 +0000 (09:35 +0000)]
Made it *compile* !!!
Pavel Machek [Fri, 2 Jun 2000 08:01:12 +0000 (08:01 +0000)]
Do not try to divide by zero.
Pavel Machek [Fri, 2 Jun 2000 07:59:26 +0000 (07:59 +0000)]
Results of complete reading of documentation.
Ondrej Filip [Thu, 1 Jun 2000 17:52:21 +0000 (17:52 +0000)]
Added show ospf interface.
show ospf neighbors now knows "<interface>".
Martin Mares [Thu, 1 Jun 2000 17:12:19 +0000 (17:12 +0000)]
Documentation.
Martin Mares [Thu, 1 Jun 2000 17:11:10 +0000 (17:11 +0000)]
Better handling of parameterless functions.
Ondrej Filip [Thu, 1 Jun 2000 16:45:10 +0000 (16:45 +0000)]
Some other reply codes allocated.
Ondrej Filip [Thu, 1 Jun 2000 16:26:59 +0000 (16:26 +0000)]
show ospf implemented.
Martin Mares [Thu, 1 Jun 2000 16:17:29 +0000 (16:17 +0000)]
Removed comments about workings of the old neighbor cache which are
(1) obsolete and (2) replaced by the progdoc.
Martin Mares [Thu, 1 Jun 2000 16:16:49 +0000 (16:16 +0000)]
Documented.
Martin Mares [Thu, 1 Jun 2000 16:16:18 +0000 (16:16 +0000)]
FIB documentation.
I've changed the init callback type to a typedef to work around a bug
in kernel-doc I'm too lazy to hunt now.
Ondrej Filip [Thu, 1 Jun 2000 15:53:06 +0000 (15:53 +0000)]
Cisco-like "show ospf neighbors" implemented.
Martin Mares [Thu, 1 Jun 2000 15:13:23 +0000 (15:13 +0000)]
tm_format_reltime() works with both past and future timestamps.
Martin Mares [Thu, 1 Jun 2000 15:04:25 +0000 (15:04 +0000)]
Use <funcsect> instead of <sect3>.
Martin Mares [Thu, 1 Jun 2000 13:13:49 +0000 (13:13 +0000)]
Inactive sticky neighbors have no scope.
Martin Mares [Thu, 1 Jun 2000 13:00:39 +0000 (13:00 +0000)]
Print route tag in hexadecimal and omit it if it's zero.
Martin Mares [Thu, 1 Jun 2000 13:00:19 +0000 (13:00 +0000)]
Updated to new neighbor cache.
Martin Mares [Thu, 1 Jun 2000 12:59:50 +0000 (12:59 +0000)]
Updated RIP to new neighbor cache semantics. When presented with next hop
equal to a local address, just ignore the route (as it is usually just an
external route exported by us echoed by some RIP peer), when given an
invalid next hop, moan to the log.
Martin Mares [Thu, 1 Jun 2000 12:58:41 +0000 (12:58 +0000)]
Updated for new scope handling.
Also, provide proper address scopes in struct ifa.
Martin Mares [Thu, 1 Jun 2000 12:58:04 +0000 (12:58 +0000)]
Modified the neighbor cache to remember local addresses as well.
neighbor->scope now contains proper address scope which is zero (SCOPE_HOST)
for local addresses, higher (SCOPE_LINK, ..., SCOPE_UNIVERSE) for remote ones.
Martin Mares [Thu, 1 Jun 2000 12:55:26 +0000 (12:55 +0000)]
BGP: RFC 2842 has replaced the cap-draft.
Ondrej Filip [Thu, 1 Jun 2000 12:17:08 +0000 (12:17 +0000)]
Print tag unsigned rather then signed.
Ondrej Filip [Thu, 1 Jun 2000 12:08:14 +0000 (12:08 +0000)]
Calculate checksum when reflooding (after min ls_refresh).
Pavel Machek [Thu, 1 Jun 2000 08:43:29 +0000 (08:43 +0000)]
Added && and ||.
Pavel Machek [Thu, 1 Jun 2000 08:34:30 +0000 (08:34 +0000)]
Allow
case net {
62.0.0.0/8+:
10.0.0.0/8+:
else: reject;
}
Pavel Machek [Thu, 1 Jun 2000 08:32:49 +0000 (08:32 +0000)]
Allow matching on enums:
if !(scope ~ [ SCOPE_HOST, SCOPE_SITE ]) then {
print "Failed in test";
quitbird;
}
Ondrej Filip [Thu, 1 Jun 2000 00:32:08 +0000 (00:32 +0000)]
Cleanup.
Ondrej Filip [Thu, 1 Jun 2000 00:22:48 +0000 (00:22 +0000)]
Very stuping bug. (I took me 4 hours to find it!)
I just wrote "=!" instead of "!=". :-(((((((
Martin Mares [Wed, 31 May 2000 22:39:06 +0000 (22:39 +0000)]
Both `help' command and the `unknown command' error message now tell
the user to press `?' if he wants help.
Martin Mares [Wed, 31 May 2000 22:28:36 +0000 (22:28 +0000)]
Before configuration file is read, log to _both_ syslog and stderr.
Pavel Machek [Wed, 31 May 2000 21:51:04 +0000 (21:51 +0000)]
Documentation update
Pavel Machek [Wed, 31 May 2000 21:50:13 +0000 (21:50 +0000)]
Complain when filter does not end in accept nor reject.
Ondrej Filip [Wed, 31 May 2000 18:55:57 +0000 (18:55 +0000)]
Ehm, some other "down" steps.
Ondrej Filip [Wed, 31 May 2000 18:45:16 +0000 (18:45 +0000)]
Some bugs in cleanup after iface down.
Ondrej Filip [Wed, 31 May 2000 18:36:51 +0000 (18:36 +0000)]
Why does not work "sk_close(sk);rfree(sk);"?
Ondrej Filip [Wed, 31 May 2000 18:31:53 +0000 (18:31 +0000)]
Better debugging.
Safe neigh_list deleting.
Ondrej Filip [Wed, 31 May 2000 18:21:42 +0000 (18:21 +0000)]
And finally, Premature aging works. :-)
Ondrej Filip [Wed, 31 May 2000 15:51:39 +0000 (15:51 +0000)]
Another step to make premature aging better.
Ondrej Filip [Wed, 31 May 2000 15:28:13 +0000 (15:28 +0000)]
Warning destroyed. :-)
Ondrej Filip [Wed, 31 May 2000 15:24:29 +0000 (15:24 +0000)]
Flood my LSA (if exists) after old one is flushed.
Ondrej Filip [Wed, 31 May 2000 15:04:45 +0000 (15:04 +0000)]
Set E2 metric for internal routes to LSINFINITY.
Ondrej Filip [Wed, 31 May 2000 14:52:22 +0000 (14:52 +0000)]
Delete _all_ ext routes from unreachable neighbor.
Ondrej Filip [Wed, 31 May 2000 14:43:42 +0000 (14:43 +0000)]
Stuping bug in net LSA origination. Now, I should survive
loss of my only neighbor.
Martin Mares [Wed, 31 May 2000 14:27:49 +0000 (14:27 +0000)]
This should be enough from the SGMLtools distribution to make the
SGMLtools happy.
The only symlink you need now is dist/birddoc -> dist/sgmltool. I'm
convinced it could be avoided by renaming the directory instead, but I'd
rather avoid it due to CVS pecularities.
Martin Mares [Wed, 31 May 2000 14:25:27 +0000 (14:25 +0000)]
Clean LaTeX .aux and .toc files as well.
Martin Mares [Wed, 31 May 2000 14:24:21 +0000 (14:24 +0000)]
Formatting of progdoc works in both HTML and LaTeX. The LaTeX output
still has somewhat weird spacing, but it will be hopefully easy
to fix.
Ondrej Filip [Wed, 31 May 2000 14:21:56 +0000 (14:21 +0000)]
Sort cleanup in aging.
Ondrej Filip [Wed, 31 May 2000 14:06:33 +0000 (14:06 +0000)]
LSArt origination and routing table calculation is now not doing so
often. Instead of calculation I just schedule it latter.
Martin Mares [Wed, 31 May 2000 13:54:00 +0000 (13:54 +0000)]
Updated headings and copyrights.
Martin Mares [Wed, 31 May 2000 13:30:58 +0000 (13:30 +0000)]
Added the introduction chapter of progdoc.
Martin Mares [Wed, 31 May 2000 13:30:29 +0000 (13:30 +0000)]
Spelling check and update of LocalWords.
Ondrej Filip [Wed, 31 May 2000 13:20:25 +0000 (13:20 +0000)]
Handle better next hop in external LSA.