Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-03-18 | remove some unnecessary sanity checks. /var/db/pkg is supposed to contain | Marc 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-17 | remove a debug message | Reyk Floeter | |
2007-03-17 | fix a bug in the initial setup of the pfe2relay communication sockets | Reyk 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-17 | Exchange a strlcpy() with a strncpy(). A similar change was done in parse.y | Claudio 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-17 | move some elements in the relay imsg ctl structures (just for the style) | Reyk Floeter | |
2007-03-17 | close unused relay2pfe privsep sockets correctly | Reyk Floeter | |
2007-03-17 | fix the natlook mode. | Reyk Floeter | |
2007-03-16 | Missed to remove SAFI_BOTH here. Informed about it by Steven Mestdagh. | Claudio Jeker | |
2007-03-16 | remove unused variable; ok millert@ | Kevin Steves | |
2007-03-16 | Recognise more vendor payloads (taken from IKE Scan) | Tom Cosgrove | |
2007-03-16 | A few more s/2858/4760/ and use RFC <number> everywhere. | Claudio Jeker | |
2007-03-16 | Multiprotocol Extensions for BGP-4 is now RFC 4760 | Claudio Jeker | |
2007-03-16 | Update multiprotocol extension code to RFC 4760. This actually removes | Claudio Jeker | |
a few things we actually never realy cared about. OK henning@ | |||
2007-03-16 | Don't forget to set the metric in the REDIST_LABEL case. OK pyr@ | Claudio Jeker | |
2007-03-16 | Make 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-15 | simplify synopsis/usage() and sort options; | Jason McIntyre | |
from Igor Sobrado | |||
2007-03-15 | simplify synopsis/usage() and sort options; | Jason McIntyre | |
from Igor Sobrado | |||
2007-03-15 | use warnx and not logerror in monitor, logerror is for the slave; | Damien Miller | |
ok henning@ while in lock | |||
2007-03-14 | do 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-13 | Don't call rtlabel_unref() twice on RTM_DELETE. kroute_remove() does it | Claudio Jeker | |
so don't unref before calling kroute_remove() or we end up with wrong reference counts. | |||
2007-03-13 | Same problem as in ospfd's kroute.c don't check rtm_tableid without verifying | Claudio Jeker | |
that rtm_type is one of RTM_ADD, RTM_CHANGE or RTM_DELETE. | |||
2007-03-13 | rtm_tableid is only valid for RTM_ADD, RTM_CHANGE and RTM_DELETE but not | Claudio 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-13 | er,, no, we don't compile everything with -g | Henning Brauer | |
2007-03-13 | typos in comments; ok millert@ | Kevin Steves | |
2007-03-13 | allow to specify the IP_TTL and IP_MINTTL options for the relays to | Reyk 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-12 | When running show commands that are restarted make sure that we either | Claudio 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-12 | hoststated.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 relay | Reyk 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-07 | support "bgpctl show rib peer-as NN", From: Armin Wolfermann <aw@osn.de> | Henning Brauer | |
ok theo | |||
2007-03-07 | fix 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-07 | revert size check tweak, the fix does break other stuff. this is harder | Marc Espie | |
than I thought... | |||
2007-03-06 | get vfs size snapshotted and restored so that pkg_add -u has a harder | Marc Espie | |
time overflowing the disk. let stem work at the end of urls. test sturm@ and bernd@, okay deraadt@ | |||
2007-03-06 | fix the health checks when using the retry option | Reyk Floeter | |
2007-03-06 | add support for handling simple HTTP cookies (no per-path/domain | Reyk Floeter | |
cookies yet), for example: cookie hash "JSESSIONID" tested by some people ok pyr@ | |||
2007-03-06 | allow filtering on peer-as (leftmost AS in path), ok claudio | Henning Brauer | |
2007-03-06 | prepare, but leave disabled, verbose operation so that you can see what is | Henning Brauer | |
going on (helps when the damn thing runs for hours). will be enabled with a -v somewhen in the future | |||
2007-03-06 | mention 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-06 | tidy up synopsis, usage(), and options list; from Igor Sobrado | Jason McIntyre | |
2007-03-06 | minor 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-06 | Remove code that's been commented out since '96. | Ray Lai | |
From Charles Longeau. OK millert@. | |||
2007-03-06 | another 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-05 | RPSL 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-05 | better diagnostics on inet_net_pton failing | Henning Brauer | |
2007-03-05 | correctly 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-05 | Remove _err() calls from getnetgrent.c. This is a minor API change | Todd 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-05 | convert 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-05 | KNF | Henning Brauer | |
2007-03-05 | need to eat whitespace at both ends of val | Henning Brauer | |
2007-03-05 | KNF | Henning Brauer | |