summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2007-03-19Doh! If we support "redistribute rtlabel" we should actually track theClaudio Jeker
routing labels in ripd's kroute code. Just steal the code from ospfd which does it right. OK michele@
2007-03-19do not signal "connection closed" upstream on EINTR/EAGAIN, from bgpd et alHenning Brauer
2007-03-19do not signal "connection closed" upstream on EINTR/EAGAIN, from bgpd et alHenning Brauer
2007-03-19do not signal "connection closed" upstream on EINTR/EAGAIN, from bgpd et alHenning Brauer
2007-03-19when our red/recv/recvmsg in imsg_read gives EINTR or EAGAIN, do notHenning Brauer
signal "connection closed" upstream. spotted by Valentin Kozamernik <tin@komna.com>
2007-03-19make `no @owner', `weird mode' and `@dirrm' into errors.Marc Espie
2007-03-18handle more errors during package creation.Marc Espie
- if archiving discovers issues, then go into high speed mode where stuff doesn't get written. - in case of errors or fatal signals, make sure to remove a partially written archive.
2007-03-18do not use section names for locating a string tab; miod@ okMichael Shalayeff
2007-03-18use strtonum() to avoid out of range values, way simpler than theTheo de Raadt
12-line song and dance that standard functions need; bret.lambert@gmail
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@.