summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2005-05-18recognize more ike payload typesHans-Joerg Hoexer
ok cloder ho
2005-05-16- improve option descriptionsJason McIntyre
- note expected format of "key" - note that date -r may help understand spamdb output - spacing ok beck@
2005-05-16remove testsJakob Schlyter
2005-05-16remove testsJakob Schlyter
2005-05-16knfTheo de Raadt
2005-05-14knfTheo de Raadt
2005-05-14bug introduced by me in 1.4Theo de Raadt
2005-05-13Cost type 2 will be needed soon.Esben Norby
ok claudio@
2005-05-13some Xr's from jason ackley;Jason McIntyre
2005-05-13The NET_RT_IFLIST sysctl returns RTM_IFINFO and RTM_NEWADDR messages inClaudio Jeker
the buffer. While RTM_IFINFO starts with a struct if_msghdr RTM_NEWADDR does not. In other words (struct sockaddr *)(next + sizeof(ifm)) is only correct for RTM_IFINFO and not for RTM_NEWADDR. So move the ifm_type check up else get_rtaddrs() would access memory outside of buf. OK henning@
2005-05-13The NET_RT_IFLIST sysctl returns RTM_IFINFO and RTM_NEWADDR messages inClaudio Jeker
the buffer. While RTM_IFINFO starts with a struct if_msghdr RTM_NEWADDR does not. In other words (struct sockaddr *)(next + sizeof(ifm)) is only correct for RTM_IFINFO and not for RTM_NEWADDR. So move the ifm_type check up else get_rtaddrs() would access memory outside of buf. OK henning@
2005-05-12tweaks;Jason McIntyre
2005-05-12Calculate routes for summary and as-external LSA. Still some minor partsClaudio Jeker
missing but good enough to be used. Tested and some input by Stephen Marley. OK norby@
2005-05-12lsa_age() the vertex befor comparing the age with MAX_AGE.Claudio Jeker
Move a common check (cost == LS_INFINITY) out of the switch cases. OK norby@
2005-05-12Every time a LSA is returned from a lookup lsa_age() it.Claudio Jeker
Also move the lsa_age() prototype to rde.h so that we can access it from the SPF code. OK norby@
2005-05-12Don't fatal in case no root node was found for spf calculation.Claudio Jeker
The area may be empty because there is no active interface. OK norby@
2005-05-12Reflect reality.Esben Norby
2005-05-12Add "show database asbr/external/network/router/self-originate/summary"Esben Norby
to ospfctl. Show detailed information about the LSAs in the Link State Database. ok claudio@
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@