summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2005-05-12Fix multiple bugs in if_act_elect(). In some cases DR were set wronglyClaudio Jeker
because of a stupid typo that I fixed in rev. 1.6 but forgot to fix the bug I introduced before because of that typo. Also reset the DR/BDR fields of iface->self when going to round two. Without the reset it is e.g. not possible to drop from DR to BDR. Issue found and patch tested by Stephen Marley OK norby@
2005-05-12If activly connected to more than one area set B flag in the self-originatedClaudio Jeker
router LSA. To do that correctly we need to track the number of active neighbors for each area. If the routers ABR status changes all router LSA need to be updated via orig_rtr_lsa_all(). OK norby@
2005-05-12Xr securelevel 7Jason McIntyre
from tamas tevesz;
2005-05-11document conf file reload w/ SIGHUP;Jason McIntyre
from michael knudsen; ok henning@
2005-05-11Add some newlines to make the code easier to follow. No functional change.Claudio Jeker
2005-05-11don't touch *hn in failure case. no real change due to the way we use itHenning Brauer
but more correct. from Michael Knudsen <e@molioner.dk>
2005-05-10Do no longer force the default router priority to 0.Claudio Jeker
Ospfd can be used as DR or BDR since quite some time so there is no need to make ospfd ineligible as DR or BDR.
2005-05-09Force all as-external routes to point to the router announcing them byClaudio Jeker
setting the forward address to 0.0.0.0. This is needed as we currently fail to check if the real nexthop is covered by an ospf route -- uncovered routes are ignored by the other routers. OK norby@ tested and requested by Philip Olsson
2005-05-09Do not log useless messages if the apm implementation returns -1 in theMiod Vallat
minutes_left field of the apm_power_info struct.
2005-05-08Keep track of the req list in the RDE. The RFC requires us to check forClaudio Jeker
silly updates while fetching the table from the other server. OK norby@
2005-05-07pasto in error message; ok ottoJared Yanovich
2005-05-06Fix a display bug in 'show database', when ospfd is member of moreEsben Norby
than one area. Input from claudio. ok claudio@
2005-05-05Fix a stupid typo in the #if 0 block in spf_calc() and start using that codeClaudio Jeker
block. The idea is to ignore nodes that are already part of the SPF tree as soon as possible. OK norby@
2005-05-04sort options + sync usage;Jason McIntyre
add a bit of indent whilst here;
2005-05-04setres[ug]id; ok jakob@Damien Miller
2005-05-03setres[ug]id; ok claudio@Damien Miller
2005-05-03setres[ug]id; ok deraadt@Damien Miller
2005-05-03setresuid; ok deraadt@Damien Miller
2005-05-03setres[ug]id; ok millert@Damien Miller
2005-05-03setresgid; ok deraadt@Damien Miller
2005-05-03more setres[ug]id; ok deraadt@Damien Miller
2005-05-02fix snprintf misuse. ok bob@ hin@Moritz Jodeit
2005-05-02more setres[ug]id; ok deraadt@Damien Miller
2005-05-02use setres[ug]id for privilege dropping; ok norby@Damien Miller
2005-05-01typarella; from alexandre anriot;Jason McIntyre
2005-05-01spellingDavid Krause
2005-04-29fixes/updates from openssl-0.9.7g;Jason McIntyre
2005-04-29adjust for 0.9.7gDamien Miller
2005-04-28if running in -e mode, and stdin is not a tty, then re-print the commandsTheo de Raadt
that are read. This makes this more easily to script. Note: sparc needs a new config(8) installed before attempting to build a new release because of stuff in src/etc/etc.sparc/Makefile.inc
2005-04-28- restore machdep.ztsrawmode when exiting on a signalUwe Stuehler
- add comments and RCS tag to bitmap file
2005-04-28display a title above the message; suggested by deraadt@Uwe Stuehler
2005-04-28Support for "network connected" and "network static" -- announce allClaudio Jeker
directly connected respectively all static routes. The list is auto- matically adjusted as soon as a route changes. OK henning@
2005-04-28Be more careful when copying ifname from the struct sockaddr_dl.Claudio Jeker
OK henning@
2005-04-28add vsnprintf error checking. ok cloder@ millert@Moritz Jodeit
2005-04-28more vsnprintf checking. ok cloder@Moritz Jodeit
2005-04-28place this file in the public domainUwe Stuehler
2005-04-28more boring tweaksTheo de Raadt
2005-04-28boring tweaksTheo de Raadt
2005-04-27Fix a potential infinite loop that could be triggered by an invalid BGPChad Loder
packet. Partially from tcpdump.org, with additional paranoia added so that the problem is actually fixed. OK deraadt, otto
2005-04-27correct copyrightTheo de Raadt
2005-04-27Sort struct msgbuf by size. From Alexander von Gernler via henning@Claudio Jeker
2005-04-26unify shared code a bit again to make future syncs easierHenning Brauer
From: Alexander von Gernler <grunk@pestilenz.org>
2005-04-26add `zaurus' to .Dt line;Jason McIntyre
ok deraadt@
2005-04-25Call if_init() later and for each interface separately.Claudio Jeker
Move code from if_act_start() to if_init() that needs to be called only once per interface. Especially event_set should be called only once as it initializes struct event and so may cause corruption of the event queue if called twice.
2005-04-25Move the creation of the ospf_socket from if_init() directly into ospfe().Claudio Jeker
This makes it possible to call if_init() at a much later time.
2005-04-25Call if_init() in ospfe only, neither the rde nor the parent need it.Claudio Jeker
2005-04-25Change order of execution in if_act_reset(). First notify all neighborClaudio Jeker
that the interface gets reset (NBR_EVT_KILL_NBR) and than clear all timers of the interface. The nbr_fsm() may start some of the timers which has strange results. Tested by Philip Olsson.
2005-04-25tweaks;Jason McIntyre
2005-04-25spelling;Jason McIntyre
2005-04-25put EXAMPLES into a more standard format (first description, thenJason McIntyre
example), and use literal to mark up the commands themselves;