summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2005-06-15remove SNMP code from mrouted(8) because it is broken and it isRobert Nagy
higly unlike that anyone will use this. ok otto@ millert@ henning@
2005-06-15zap usage of __LINE__ so we can do KNF without binary changes.Niall O'Higgins
ok henning@
2005-06-14add missing error check for decode_prefix4. ok deraadt@Moritz Jodeit
2005-06-14remove speaker handling code. if you really want this, use the /etc/apm/*Theo de Raadt
scripts to do it. as it is, for most people this is terribly annoying and unneccessary; toby ok
2005-06-14Don't unref something that is used later. send_rtmsg() will callClaudio Jeker
rtlabel_id2name() so call rtlable_unref() after that. OK henning@
2005-06-13route label support, kroute part and ID allocator as well as the internalHenning Brauer
interface changes. support in the filter language and rde to come. claudio ok
2005-06-13add copy method, and document it.Marc Espie
Note that it doesn't do any magic with hard links so far.
2005-06-13if this is not a `real' file, override the size entry with a zero.Marc Espie
2005-06-13realloc(3) correctly. Do not adjust the variable describing how much memoryClaudio Jeker
has been allocated until one knows the allocation has been successful.
2005-06-13fix archive header writing.Marc Espie
add pad() method to finish archives. With this, writing Ustar archives work.
2005-06-13almost working...Marc Espie
2005-06-13document how hardlink writes occur, plus cosmetic clean-ups.Marc Espie
2005-06-13$entry->{cwd} support while writing, for symetry.Marc Espie
2005-06-13we can determine if an entry will be stored as a HardLink at prepare() time,Marc Espie
so do it...
2005-06-13document the write API as well.Marc Espie
2005-06-13interface more symetric to reading.Marc Espie
2005-06-13UStar writer, all the flesh, thoroughly untested yet, reading unaffected...Marc Espie
2005-06-13provide reverse lookup services, as a simple extension (to be usedMarc Espie
to write UStar archives momentarily).
2005-06-13One additional if_act_elect bug. Neighbors in preliminary state (down, attemptClaudio Jeker
and init) are not electable not only neighbors that are in state down. OK norby@
2005-06-13Doh. Fix another stupid copy paste typo. Once again BDR != DR.Claudio Jeker
OK norby@
2005-06-13add a new fsm transition for IF_EVT_WTIMER in state IF_STA_ANY that simplyClaudio Jeker
ignores the event. This removes the warning "fsm_if: interface em0, event WAITTIMER not expected in state DROTHER" in case of a quick startup. OK norby@
2005-06-13start hello timer even if in state IF_STA_WAITING (this makes the startup muchClaudio Jeker
faster and follows the RFC more closely). OK norby@
2005-06-13simplify the fsm by moving all the checks that are done if the state changedClaudio Jeker
into one if (old_state != nbr->state) { block. OK norby@
2005-06-13Passive interfaces belong to the area and should be announced as stubClaudio Jeker
networks. Bug report and testing by Stephen Marley. While there kill an unneeded log_debug(). OK norby@
2005-06-13Compare neighbor address with DR/BDR from the hello packet and not withClaudio Jeker
the data from the last hello packet. OK norby@
2005-06-13Properly align the show rib output. flags is 5 chars long not 4.Claudio Jeker
2005-06-12strcat -> strlcatNikolay Sturm
ok tdeval
2005-06-12better synopsis.Marc Espie
2005-06-12test that archive->next() worked, and explicitly throw a `truncated archive'Marc Espie
message if it didn't work. Replaces messages like: Use of uninitialized value in string ne at /usr/libdata/perl5/OpenBSD/Add.pm lin e 344. Use of uninitialized value in join or string at /usr/libdata/perl5/OpenBSD/Error .pm line 67. Error: archive does not match != share/autoconf-2.13/acheaders with: Error: truncated archive
2005-06-10No point in keeping a list of file systems here, instead just refer toPedro Martelletto
whatever the kernel supports, okay deraadt@
2005-06-10Make sure that the ATTR_EXTLEN flag is unset if the attribute length isClaudio Jeker
smaller than 255 bytes.
2005-06-10Introduce attr_optlen() to get the total lenght of an optional attributeClaudio Jeker
plus header. Soon needed.
2005-06-10As we no longer send IMSG_CTL_SHOW_RIB_PREFIX from bgpd to bgpctl simplifyClaudio Jeker
show_rib_summary_msg().
2005-06-10Simplify show rib upcalls. Kill one mostly unused function.Claudio Jeker
2005-06-10If any of fds 0-2 are not open, dup them to our /dev/null fd.Todd C. Miller
Prevents the socket from being closed in this case. OK deraadt@
2005-06-09Change the "network connected|static" statements to "network inet|inet6Claudio Jeker
connected|static" so that it is possible to distinguish between IPv4 and IPv6 addresses. "network connected|static" is considered deprecated but will be supported as an alias for "network inet connected|static" for some time (one release) to simplify upgrades. This also solve a nasty crash when using "network connected". OK henning@
2005-06-09.Xr sysctl(8); ok jmc, deraadtXavier Santolaria
2005-06-09If there is a problem to connect to a remote peer, do the same log dampingClaudio Jeker
as for other errors. Save the errno and only print a message if the errno changed. So the log is not filled with "socket error: Connection refused" when the peer is not yet listening on that address. OK henning@
2005-06-09spellingTheo de Raadt
2005-06-08Force pid file fd to be > 2 so we don't clobber it when dup'ingTodd C. Miller
fds 0-2 to /dev/null. Tested and OK aaron@
2005-06-08squeeze +COMMENT in front of +DESC.Marc Espie
Transparently handle both package types, until everyone has transitionned to new style. Reasons for the change: - comment and desc are never written independently - access to comment necessitates a file read anyways. - shaves one inode and (mostly) one block from each installed package. Since this is /var, and there is often a lot of stuff going on in a small partition, this helps. Done after griping from tedu@, okay'd pval@
2005-06-07Set the reject and blackhole flags for kernel routes too. This makes theClaudio Jeker
bgpctl show fib output more logical, especially for INET6 because many prfixes have the reject flag set. OK henning@
2005-06-07Fix the mask2prefixlen6() function once and for all. Netmasks are stored inClaudio Jeker
an own AF independent radix tree. So the passed sockaddrs are often smaller than the actual AF specific struct, especially sockaddr_in6. So the crap Henning saw in the mask was acctually the next struct sockaddr that was passed in the routing message. So pass the struct sockaddr_in6 and compare only the specified number of bytes (minus the offset of sin6_addr in the struct sockaddr_in6). Amazing!.. OK henning@
2005-06-07For show rib -- show_rib_summary_msg() and print_prefix() -- use log_addr()Claudio Jeker
to print prefixes and nexthops and suddenly we can print IPv6 addresses that are stored in the RIB. Makes the code even simpler. OK henning@
2005-06-07In case strlcpy() indicates that a string was truncated fail with errx().Claudio Jeker
No need for other strange constructs. OK henning@
2005-06-07strlcpy cleanup; cloder okTheo de Raadt
2005-06-07add OpenBSD cvs tags, prompted by xsa@Camiel Dobbelaar
2005-06-07Don't restrict what login name may be removed, the account mayTodd C. Miller
have been made with a tool other than adduser and thus may use characters adduser considers illegal. OK henning@ and krw@
2005-06-07Introduce verbose option to control the logging of the pf rules.Camiel Dobbelaar
ok beck mpf
2005-06-06memory leak on SIGHUP for memory buffer logs, based on fix by Stephen Marley;Damien Miller
ok avsm@