summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2007-03-18remove some unnecessary sanity checks. /var/db/pkg is supposed to containMarc Espie
only packages, so it's not really necessary to check for file existence and rights. Besides, actual use of package stuff will try reading +CONTENTS in a guarded way, so it will error out sanely... Trims out hundreds of stat() under /var/db/pkg, which are largely responsible for the slow start time of pkg_* tools.
2007-03-17remove a debug messageReyk Floeter
2007-03-17fix a bug in the initial setup of the pfe2relay communication socketsReyk Floeter
which prevented the pfe to accept statistics updates and natlookups from any other process then the first one. in other words, this will show you the total relay statistics off _all_ preforked processes (hoststatectl show relays) and it will unbreak the natlookup mode with more than one running relay process.
2007-03-17Exchange a strlcpy() with a strncpy(). A similar change was done in parse.yClaudio Jeker
some time ago. The simple password needs to be nul extended and is allowed to fill the full buffer the perfect job for stncpy(). Found and tested by Jon Morby.
2007-03-17move some elements in the relay imsg ctl structures (just for the style)Reyk Floeter
2007-03-17close unused relay2pfe privsep sockets correctlyReyk Floeter
2007-03-17fix the natlook mode.Reyk Floeter
2007-03-16Missed to remove SAFI_BOTH here. Informed about it by Steven Mestdagh.Claudio Jeker
2007-03-16remove unused variable; ok millert@Kevin Steves
2007-03-16Recognise more vendor payloads (taken from IKE Scan)Tom Cosgrove
2007-03-16A few more s/2858/4760/ and use RFC <number> everywhere.Claudio Jeker
2007-03-16Multiprotocol Extensions for BGP-4 is now RFC 4760Claudio Jeker
2007-03-16Update multiprotocol extension code to RFC 4760. This actually removesClaudio Jeker
a few things we actually never realy cared about. OK henning@
2007-03-16Don't forget to set the metric in the REDIST_LABEL case. OK pyr@Claudio Jeker
2007-03-16Make sure that the metric on redistributed prefixes is always != 0.Claudio Jeker
If no metric was specified for it to DEFAULT_REDIST_METRIC. While this was checked for the simple case it was not done if only a metric type was specified. OK pyr@
2007-03-15simplify synopsis/usage() and sort options;Jason McIntyre
from Igor Sobrado
2007-03-15simplify synopsis/usage() and sort options;Jason McIntyre
from Igor Sobrado
2007-03-15use warnx and not logerror in monitor, logerror is for the slave;Damien Miller
ok henning@ while in lock
2007-03-14do the adjustment of arbitrary 128 -> BLF_MAXUTILIZED in userland as well,Alexander von Gernler
also discussed on tech@ a while ago. ok pedro@ tedu@ thib@
2007-03-13Don't call rtlabel_unref() twice on RTM_DELETE. kroute_remove() does itClaudio Jeker
so don't unref before calling kroute_remove() or we end up with wrong reference counts.
2007-03-13Same problem as in ospfd's kroute.c don't check rtm_tableid without verifyingClaudio Jeker
that rtm_type is one of RTM_ADD, RTM_CHANGE or RTM_DELETE.
2007-03-13rtm_tableid is only valid for RTM_ADD, RTM_CHANGE and RTM_DELETE but notClaudio Jeker
for stuff like RTM_IFINFO or RTM_IFANNOUNCE. So move check to a save location. Always check rtm_type before accessing some random value inside the route message.
2007-03-13er,, no, we don't compile everything with -gHenning Brauer
2007-03-13typos in comments; ok millert@Kevin Steves
2007-03-13allow to specify the IP_TTL and IP_MINTTL options for the relays toReyk Floeter
support the Generalized TTL Security Mechanism (GTSM) according to RFC 3682. this is especially useful with inbound connections and a fixed distance to the backend servers. ok pyr@
2007-03-12When running show commands that are restarted make sure that we eitherClaudio Jeker
have pending imsgs to send or that we reduce the poll timout to 0. This fixes hanging and extrem slow performing bgpctl show rib commands. Found by Jon Morby additional testing by Stuart Henderson. OK henning@
2007-03-12hoststated.conf is not a program.Reyk Floeter
thanks to Sebastian Reitenbach, closes pr 5409
2007-03-07- fix the hoststatectl host disable/enable commands to work with relayReyk Floeter
layer 7 loadbalancing. - allow to run relays with tables without depending on services - show hosts and tables assigned to relays in hoststatectl show commands ok pyr@ deraadt@ with some input from mcbride@
2007-03-07support "bgpctl show rib peer-as NN", From: Armin Wolfermann <aw@osn.de>Henning Brauer
ok theo
2007-03-07fix size checks for good. Since we want deletion to happen `right now'Marc Espie
but size accounting to happen later, just mark the size to delete `for later', do not take them into account for avail(), and synchronize() at the right time, e.g., after addition when updating, and right away for straight deletion. okay deraadt@
2007-03-07revert size check tweak, the fix does break other stuff. this is harderMarc Espie
than I thought...
2007-03-06get vfs size snapshotted and restored so that pkg_add -u has a harderMarc Espie
time overflowing the disk. let stem work at the end of urls. test sturm@ and bernd@, okay deraadt@
2007-03-06fix the health checks when using the retry optionReyk Floeter
2007-03-06add support for handling simple HTTP cookies (no per-path/domainReyk Floeter
cookies yet), for example: cookie hash "JSESSIONID" tested by some people ok pyr@
2007-03-06allow filtering on peer-as (leftmost AS in path), ok claudioHenning Brauer
2007-03-06prepare, but leave disabled, verbose operation so that you can see what isHenning Brauer
going on (helps when the damn thing runs for hours). will be enabled with a -v somewhen in the future
2007-03-06mention log to pipe in the blurb here. the details are all in syslog.conf.5,Henning Brauer
the syslogd.8 blurb has just a list.
2007-03-06tidy up synopsis, usage(), and options list; from Igor SobradoJason McIntyre
2007-03-06minor tweak;Jason McIntyre
2007-03-06- Pass full buffer to fgets().Ray Lai
- Use sizeof(buf) instead of BUFSIZ. - Only overwrite '\n'. From Charles Longeau. OK millert@ and moritz@.
2007-03-06Remove code that's been commented out since '96.Ray Lai
From Charles Longeau. OK millert@.
2007-03-06another completely bogus route entry, this time openface in their own RR:Henning Brauer
route: 198.73.251.0 no prefixlen... overhaul error handling in prefixset_addmember(). for prefixes without prefixlen or ones where inet_net_pton reports an invalid format, complain and ignore the prefix, but don't err out completely.
2007-03-05RPSL spec says route: is single-valued... nontheless, in the APNIC db:Henning Brauer
route: 203.94.216.0/21, origin: AS17813 so we need to cut trailing ',' away
2007-03-05better diagnostics on inet_net_pton failingHenning Brauer
2007-03-05correctly deal with hierarchical as-set names.Henning Brauer
everything we run into as members that is hierarchical (contains :) has to be an as-set. RPSL requires one component to have the AS- prefix; we check that. now the huge AS-TELIANET correctly resolves - into 15128 unique ASes, takes 12m47.11s real 0m8.62s user 0m1.07s system
2007-03-05Remove _err() calls from getnetgrent.c. This is a minor API changeTodd C. Miller
as _ng_sl_add() now returns a value. The only consumer of that interface is netgroup_mkdb(8). Adapted from NetBSD. OK deraadt@
2007-03-05convert all members of an as-set to uppercase on the fly.Henning Brauer
do the same in asset_expand() for the head as-set or aut-num reference from the policy. fixes duplicate ASes with mixed case seen after set resolution and saves some str(n)casecmp on the way (or rather allows a whole bunch of strcmp to stay)
2007-03-05KNFHenning Brauer
2007-03-05need to eat whitespace at both ends of valHenning Brauer
2007-03-05KNFHenning Brauer