summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2004-10-28manpage to go with sys/netinet6/nd6_rtr.c 1.31 -> 1.32Jun-ichiro itojun Hagino
markus ok
2004-10-27Calculate Hz and round up; ok henning@Darren Tucker
2004-10-27use clock_getres(3) and calculate precision from that, and fill theHenning Brauer
precision field when we reply in server mode accordingly. from phessler
2004-10-27typo, adresses -> addressesJared Yanovich
2004-10-26kill old duplicate code.Marc Espie
2004-10-26more accurate name: DirRmOnly -> SharedItemsOnlyMarc Espie
use a visitor instead of hardcoding items/users/groups.
2004-10-26move the code that handles shared items into a separate Module.Marc Espie
- It will be used after deletion/adding during updates. - We might avoid loading it if a package contains no new directories. Actually a lot of packages don't use it.
2004-10-26ease the parser a bit.Henning Brauer
parse() now wants the first argv member to be the first argument it parses, i. e. it does not skip over argv[0] any more, caller has to account for that. the caller does the usual getopt followed by argv += optind; argc -= optind; dance so this is accounted for. in parse() don't use a seperate curarg counter, just in/decrease argv/argc claudio ok
2004-10-26document -nHenning Brauer
2004-10-26in the "show summary" view print the peer descr instead of the IP (if a descrHenning Brauer
is given in the config, fall back to IP otherwise) new -n switch to force display of IPs claudio ok
2004-10-26do /%u instead of /%6u for max_prefix, looks better, claudio okHenning Brauer
2004-10-26make the ntp version check even better, use NTP_VERSION_MIN and _MAXHenning Brauer
2004-10-24accept replies with a NTP version number of 4 or lower, instead of only 4Henning Brauer
as before, we can handle all versions
2004-10-23beginning of update module: basic check that stuff we are replacingMarc Espie
is still okay.
2004-10-23system() method that stores command normal output so that we can showMarc Espie
it at end of pkg install/deinstall... use for @exec/INSTALL stuff.
2004-10-23store pkgname in shared items, so that delayed printing can be usedMarc Espie
(and use it). Optimisation: don't clone() directories
2004-10-22oupsHenning Brauer
2004-10-22in server mode reply with stratum from the peer that we currently preferHenning Brauer
plus one
2004-10-21Backout poll changes; the first mount gets an error for some reason.Todd C. Miller
2004-10-20merge changes from mod_ssl 2.8.20, in particular a fix for CAN-2004-0885Henning Brauer
2004-10-20basic framework for delayed messages.Marc Espie
2004-10-19fix printing of groups - instead of surrounding each neighbor statementHenning Brauer
which is part of a group by "group blah { .. }", so that each group decl occurs multiple times (that is valid, but confusing and ugly), stuff pointers to each peer into an a array and sort it based on group id. then print all neighbors whoch are not part of a group followed by each group with all its members. annoyed me for quite some time, now finally enough to sit down and fix it claudio ok
2004-10-19allow neighbor definitions to depend on interface state.Henning Brauer
with this, if a neighbor is configured as dependent on carp0 for example, the neighbor will remain in state IDLE as long as carp0 is not master. once carp0 becomes master the session(s) depending on it immediately go to CONNECT (or ACTIVE, if they're configured passive), reducing failover time. claudio ok, with some input from ryan as well
2004-10-19need to prepend destdir to pkgbase for libspecs checking.Marc Espie
2004-10-19Extra progress meter for the handling of shared items: first showMarc Espie
the reading of remaining stuff from installed packages, then the cleaning-up as it progresses.
2004-10-18Documents @endfake and -Q semantics.Marc Espie
2004-10-18take window size into account.Marc Espie
window sizes changes are delayed, nothing to do about it, since perl keeps the signal around until it is safe to activate it...
2004-10-18experimental progress meter.Marc Espie
not active unless you specify -x for pkg_add/pkg_delete. (option is bound to change)
2004-10-18Don't show libspec checking unless very verbose.Marc Espie
Split addition into `parsing' and actual addition. Don't show parsing info unless verbose, so that pkg_add only displays the actual pkg addition...
2004-10-18use OpenBSD::Getopt so that we can do -v -v.Marc Espie
Be much terser by default, start showing dependency information and various things only with at least one -v. Build a `flattened tree' of dependencies information in pkg_add, and show why we install a given package (idea from deraadt@).
2004-10-18fix report of final problemsMarc Espie
2004-10-17behave according to documentation, e.g., delete groups/users only if -c.Marc Espie
fix typo.
2004-10-17implement -q for icmp, deregister, print usigned values using an unsignedOtto Moerbeek
format. ok markus@
2004-10-16oups, unrelated changes crept inHenning Brauer
2004-10-16Add support for @endfake and pkg_add -Q, to be documented later...Marc Espie
2004-10-16prefixlen 0 is a special case for prefixlen2mask() as well, claudio okHenning Brauer
2004-10-15print ip_len for -v; ok otto, hshoexer, henningMarkus Friedl
2004-10-15Only set IPTOS_LOWDELAY on IPv4 interfaces; pointed out by phessler, ok henningDarren Tucker
2004-10-14Add missing {} on if statement; ISC#1744Ryan Thomas McBride
ok jakob@
2004-10-14Have ntpd use IPTOS_LOWDELAY; ok henning@Darren Tucker
2004-10-13document @sysctlMarc Espie
2004-10-13@sysctlMarc Espie
2004-10-13set rootdelay in replies.Henning Brauer
inherit rootdelay from the delay from the last client update from the peer that we picked last time to adjust the local clock. in some cases we use the average offset between two peers' client updates, then use the average delay between the two as well.
2004-10-13in struct ntp_msg, rename "distance" to "rootdelay" to closer match RFCsHenning Brauer
and such
2004-10-13thinko, htonl() -> ntohl(). as we don't use the value in question effect zeroHenning Brauer
2004-10-13fall cleaningHenning Brauer
2004-10-13correctly set refid in replies with NTP protocol versions < 4.Henning Brauer
code path for NTP4 remains unchanged, we already set refid correctly there. NTP3 and older uses an IPv4 address as refid. use the IP of the server we last synced to if it was a IPv4 one. sometimes we use the average offset between two, in that case just pick one for the IP. this scheme naturally fails when we query IPv6 servers and have to reply to IPv4 NTP3 (or even older NTP versions) clients - refid stays at 0 then. this is a protocol limitation, nothing we can do about it.
2004-10-13when we get back a IMSG_HOST_DNS message from the parent the peer ID withinHenning Brauer
might have become invalid (because the peer showed up, dns request sent to parent, peer vanishes, and then the reply comes back), so do not fatal() in that case but just log_warnx(). provoked by brad
2004-10-12nicer displayMarc Espie
2004-10-12Use a udp socket to communicate with the dhcp servers. The bpf interfaceClaudio Jeker
can't be used to forward the packets. Bpf would relay the packets to wrong interface. Reports and tests by Hans Kremers and Colin Harford OK henning@