summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd
AgeCommit message (Collapse)Author
2006-07-06In rt_invalidate() skip all as_ext routes if routes matching a specific areaClaudio Jeker
are invalidated. as_ext routes have a uninitalised area id (aka 0.0.0.0) and so bad stuff happend when area 0.0.0.0 was invalidated. Because of this the FIB and RIB got out of sync in some scenarios.
2006-07-03Add missing breaks and suddenly all starts to make sense again. WonderedClaudio Jeker
why one of my boxes started to redistribute all my bgpd routes into ospf.
2006-06-28Track the uptime of the ospfd daemon itself.Esben Norby
It is possible to read the uptime of the daemon with the "ospfctl show" command. ok claudio@
2006-06-02remove unused variable, found by lint.Esben Norby
2006-06-01Document all the new and shiny redistribute options. With a lot of help fromClaudio Jeker
jmc@
2006-05-31Support for "[no] redistribute 10.6/16", all routes that match into thisClaudio Jeker
range will match this "rule". This should be it, now it is time to write some documentation.
2006-05-31More redistribute fun. Add a possibility to deny redistribution of specifiedClaudio Jeker
routes via "no redistribute rtlabel admin". Redistribute rules are parsed in order and the first match is used. Only exception is "redistribute default" Which is independent of the other rules and can't be negated.
2006-05-31Plug memory leak; ok claudio@Patrick Latifi
2006-05-30Correctly calculate point-to-point nexthop address. The logic was badly twistedClaudio Jeker
but funnily worked for routers with just one point-to-point link. Found by Marc Winiger. OK norby@
2006-05-30Uups, this file should be commited with the redistribute rtlabel stuff.Claudio Jeker
2006-05-30Now that rtlabels are accessable via sysctl we can use route lables toClaudio Jeker
define which routes should be redistributed via OSPF. So now you can define the export list on a fine graded basis. More to come... OK norby@
2006-05-29Delay lsa database deletes for MIN_LS_INTERVAL seconds so that flappingClaudio Jeker
routes do not cause a update storm. OK norby@
2006-05-29Remove useless debug message that gets triggered all the time in big networks.Esben Norby
ok claudio@
2006-05-27sync to bgpd: use ibuf->pid in imsg_create if pid == 0, claudio okHenning Brauer
2006-05-27Revert last commit. Having ifindex of 0 is an error and needs to be reported.Claudio Jeker
Having routes with incorrect ifindex makes it impossible to correctly validate routes. -current ospfd needs a -current kernel.
2006-05-26\<char> is <char> except for \<newline> -- no exceptions. much like howTheo de Raadt
other things work. ok henning
2006-04-28do not log "interface with index 0 not found". ifindex == 0 happens onHenning Brauer
routes. same as in bgpd now. norby ok
2006-04-25kill unused old debug code.Esben Norby
ok claudio@
2006-04-25Mark fatal and fatalx as __dead from a similar diff for bgpd from deraadt@Claudio Jeker
2006-04-25Use size_t for buffer lenght passed to send_ls_ack() plus an ARGSUSED.Claudio Jeker
2006-04-25Kill unused function and add a ARGSUSED.Claudio Jeker
2006-04-25Path the length of the packet as size_t to in_cksum(). Enforce that theClaudio Jeker
passed size is not bigger than 2^16 (limit of the used algorithm). This removes some more lint warnings and makes sense.
2006-04-25The return value of lsa_num_links is an u_int16_t tnd not int. Found by lint.Claudio Jeker
2006-04-25More lint cleanup. Kill unneeded stuff and sprinkle some ARGSUSED.Claudio Jeker
2006-04-25ARGSUSED for event handler.Claudio Jeker
2006-04-25Mark event handlers with ARGSUSED to please lint.Claudio Jeker
2006-04-24Fix parser to match current behaviour and make auth-type et al. part of theClaudio Jeker
global and per area defaults. With this it is now possible to define one set of auth-md keys and use them in every defined interface. OK norby@
2006-04-20Simplify the defaults handling. This is long overdue and necessary to addClaudio Jeker
auth-type et al. to the main and area blocks. OK norby@
2006-04-18struct kif_kr is not used in ospfd.Claudio Jeker
2006-04-16KNFHenning Brauer
2006-04-16only look at later rt_msghdr fields for those messages actually usingHenning Brauer
rt_msghdr, same as in bgpd, ok claudio norby
2006-03-31kill trailing whitespace;Jason McIntyre
2006-03-30For correct operation, ospfd needs net.inet.ip.forwarding=1 so add aClaudio Jeker
caveat about that. help jmc@ OK norby@
2006-03-30Add a warning about "fib-update no" similar to the fib decouple descriptionClaudio Jeker
in ospfctl(8). help jmc@ OK norby@
2006-03-27More specific warning.Claudio Jeker
2006-03-25Highlight that running an OSPF router without forwarding enabled isEsben Norby
very damaging to the network. ok claudio@
2006-03-23List interfaces they way we list neighbors etc.Esben Norby
This makes it much easier to grep in the output. The original format of "show interface" can be seen with "show interface detail". help and ok claudio@
2006-03-22Move the AS external LSA tree out of struct ospfd_config. This simplifiesClaudio Jeker
the code and makes config reloads easier. OK norby@
2006-03-21Kill debug message that floods the log if ospfctl is killed while dumpingClaudio Jeker
large tables.
2006-03-21Invalidating the full RIB and then only recalculating part of it is notClaudio Jeker
that smart. Kill the global rt_invalidate() instead clear only that part of the RIB that is actually recalculated. OK norby@
2006-03-15There is no need to check iface != NULL. These parser rules are only allowedClaudio Jeker
if iface is set and so the check is superfluous. OK norby@
2006-03-15Looks like auth-type simple was busted since a long time. We bcmp() aClaudio Jeker
c string with a lenght <= 8 with a buffer of size 8. Now in some cases there can be trailing garbage after the c-string and so the bcmp() fails. Found by Sergey Matveychuk who provided a similar patch. OK norby@
2006-03-14Kill unneeded util.h include.Claudio Jeker
2006-03-13The return value of the start/stop timer functions is almost never checked.Claudio Jeker
Switch them to void functions and check if evtimer_add/del fails -- in which case we fatal() as there is no useful way to recover in such an event. OK norby@
2006-03-09Track interface uptime.Esben Norby
ok claudio@
2006-03-09Add some NOTREACHED to please lint.Claudio Jeker
2006-03-09More spring cleaning with lint. Change a few types and add some comments toClaudio Jeker
help lint.
2006-03-09It seems that 60 secs is a reasonable amount of time to reach state FULL.Esben Norby
2006-03-09Move *_name functions to log.c and use these for both ospfd and ospfctl.Claudio Jeker
Stuff that is only used in ospfd debug messages is simplified. OK norby@
2006-03-09Correctly warn about unsupported interface types as it is done in other places.Claudio Jeker