summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd
AgeCommit message (Collapse)Author
2006-11-01Fix copy pasto, use SIGCHLD for the sigchild handler not SIGINT twice.Claudio Jeker
Spotted by janus <at> errornet.de
2006-10-29Allow braces to fit on a single line if only one or no argument is used.Claudio Jeker
This allows construct like these: area 0.0.0.1 { interface lo0 interface em1 { passive } } From Pierre-Yves Ritschard
2006-10-25Remove a parser debug functionality that was never used in ospfd.Claudio Jeker
From Pierre-Yves Ritschard
2006-10-25Use strtonum(3) instead of the hand made atoul. This solves an issue withClaudio Jeker
possible integer truncation because of the use of u_longs and u_int32_t in the code. Initial diff by Pierre-Yves Ritschard but slightly modified version commited.
2006-09-27Use IP_RECVIF to get the incomming interface of OSPF packets. Now we useClaudio Jeker
the source address and the interface index to find the corresponding struct interface which is less error prone. OK norby@
2006-09-26Sync in_cksum.c to the same version dvmrpd has. This fixes problems with oddClaudio Jeker
packet lenght even though ospfd does not produce such packets. OK norby@
2006-08-31knock out the cpp/m4 stuff from MACROS; after discussion with many...Jason McIntyre
2006-08-30Remove useless logging, the logged event happens all the time, no need toEsben Norby
spam the logs. ok claudio@ deraadt@
2006-08-28use Forwarding Information Base vs. Forward Information Base;Kevin Steves
ok jmc@ claudio@
2006-08-28.Xr sysctl 8; wording from jmc@Kevin Steves
2006-08-28tiny grammar fix; ok jmc@Kevin Steves
2006-08-18Correctly leave the all AllDRouters group (224.0.0.6) if the interface wasClaudio Jeker
in state DR or BACKUP. Found while analizing PR5192 with norby@ -- seems to help but there is still a issue left. OK norby@
2006-08-06Remove a XXX in a comment.Claudio Jeker
2006-08-06There is no need to initialize the log framework twice. Especially becauseClaudio Jeker
between the two calls no logging can happen.
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@