summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2009-06-05don't mess with buffer internals,Pierre-Yves Ritschard
ok claudio@
2009-06-05some KNF cleanup following the last sed.Pierre-Yves Ritschard
2009-06-05One more tool that knows about other domains via -VClaudio Jeker
2009-06-05Use -V to specify an alternate routing domain.Claudio Jeker
2009-06-05Make imsg completely async model agnostic by not requiring anPierre-Yves Ritschard
imsg_event_add function to be provided (which ended up being a named callback). Instead provide a wrapper in the daemon and call that everywhere. Previsously discussed with the usual suspects, ok eric@ though not too happy about the function name (imsg_compose_event).
2009-06-04After calling adjfreq to correct the clock's rate, measure and fix the clockChris Kuethe
offset. This avoids future frequency adjustments based on measurements of a clock that was being adjusted. End result: more stable clock and better frequency convergence. Also, fix a mis-ordered structure member while I'm here. ok henning
2009-06-04move logging functions out of imsg.h, make imsg.c more library readyPierre-Yves Ritschard
by not calling log_* or fatal and handle set errno when appropriate. discussed with a bunch of imsg conscious guys, ok eric@
2009-06-04When in auto-mode, automatically install binary files (from the X set).Antoine Jacoutot
``please put it in'', pyr@
2009-06-04turn ipvcrap on on the interface in question. sake bottle pushed by theo,Henning Brauer
tested by naddy
2009-06-04change imsg_close() return type to void. It never fails nor does itEric Faurot
return any useful value. "ok now" pyr@
2009-06-04No longer consider kernel pointers invalid if pointing under the kernelMiod Vallat
load address (hello, PMAP_DIRECT architectures). Makes procmap walk the kernel name cache correctly. ok art@
2009-06-04Make mrt understand alternate RIB plus remove some other static rib references.Claudio Jeker
There is still a problem with the mrt dumps because we only allow one in the RDE. This needs some additional work.
2009-06-04Implement rib_find and add a rib id to struct rde_peer.Claudio Jeker
2009-06-04add RCFLAGS to config test casesSimon Bertrang
ok henning@
2009-06-04- move message types enum back to relayd.hEric Faurot
- use u_int16_t instead of enum imsg_type in imsg function prototypes requested by reyk@, ok pyr@
2009-06-04Canonicalise package names when comparing them against the package database.wcmaier
This unconfuses pkg_* when passed paths that, while valid, don't exactly match /var/db/pkg. For example, the following now works (note the double slash): $ pkg_info /var//db/pkg/somepackage Hasty tab-completers the world over shall rejoice. Tweaks and ok espie@.
2009-06-04revert previous commit for now since it won't play well with snmpd.Eric Faurot
ok pyr@
2009-06-04Make the types of ber_read() decl match the prototype.Jonathan Gray
'looks good' pyr@
2009-06-04make the imsg framework endian-safe so that it can also be usedEric Faurot
for network message passing. ok pyr@
2009-06-04remove unused variableReyk Floeter
2009-06-04tweakReyk Floeter
2009-06-04Keep around the SSL session for each checked host. This way SSLReyk Floeter
caching can kick in on subsequent checks, making them faster and lighter on the server. From camield, closes PR 6137 (modified diff)
2009-06-04Make imsg.c and buffer.c more generic by introducingEric Faurot
imsg.h and a daemon-specific imsg_types.h discussed with and "yes, please" pyr@
2009-06-04Export networks to be redistributed into all ribs for now.Claudio Jeker
2009-06-04Add "rde rib <name>" to the config and allow the rde to use these other RIBs.Claudio Jeker
Still a bit hackish, reload is missing and printconf as well. Looks good h@
2009-06-04Document that we accept ASPLAIN format 32-bit ASN.Stuart Henderson
2009-06-04hotplugd is on so many, give up on MANSUBDIRTheo de Raadt
2009-06-03simplify struct batch; ok gilles@Jacek Masiulaniec
2009-06-03change "cachepct" to "bufcachepercent" so it is the sameBob Beck
as the variable and the similar sysctl ok deraadt@
2009-06-03Allocate all rib contextes for tree walks and don't use static stack memory.Claudio Jeker
This will make interruptable walks a lot easier.
2009-06-03Initial stab at rib_free() until now unused.Claudio Jeker
2009-06-03cleanup contorted and slightly broken call to imsg_get_fdEric Faurot
ok pyr@
2009-06-03Better way to allocate new RIBs.Claudio Jeker
2009-06-03initialize queueEric Faurot
ok pyr@
2009-06-03Make prefix_destroy more generic and use it in prefix_remove this is possibleClaudio Jeker
because path_remove was changed to remove the prefixes in a slightly different way.
2009-06-03- enable on sgiJasper Lievisse Adriaanse
ok miod@
2009-06-03allow localhost to query server-status by default. this makes apachectlRobert Nagy
fully functional. ok johan@, henning@
2009-06-03rename sc_config to sc_conffile since that's what this field is about, itGilles Chehade
will prevent a confusion with sc_config which will be a pointer to the actual configuration.
2009-06-03Improve error checking for the secrets encoding function; ok gilles@Jacek Masiulaniec
Pointed out by giovanni <qgiovanni@gmail.com>
2009-06-03Arla client rename from xfs to nnpfs for later upgrades. Tested on various ↵Janne Johansson
arches. ok todd@ beck@
2009-06-03rewind DATA, so that the next scp: url will have code to connect to...Marc Espie
2009-06-03change buf_close return type to void.Eric Faurot
that function is not supposed to report anything remotely useful, or fail in any meaningful way. ok pyr@
2009-06-02Fix the way apache reports Content-Length by promoting the clength fieldPierre-Yves Ritschard
of request_rec from long to off_t, which makes it 64bit on i386. This allows files bigger than 2gig to be correctly served on arches where long is only 32bits. Warning: this introduces an ABI break, and hence some third party apache modules will need to be rebuilt to correctly link to this new apache. ok miod@, deraadt@
2009-06-02make env->sc_listeners and env->sc_ssl pointers, one step further towardGilles Chehade
configuration reloading without killing active sessions; ok jacekm@
2009-06-02bring in buf_seek, buf_size and buf_left from bgpdEric Faurot
ok pyr@
2009-06-02constify argument to buf_addEric Faurot
ok pyr@
2009-06-02Same reject and blackhole route handling as in ospfd. Allow those routesClaudio Jeker
to be redistributed even though they point to 127.0.0.1. OK michele@
2009-06-02- minor tweaksJason McIntyre
- remove unneccessary -compact from a list - remove unneccessary Xo/Xc before it gets copied all over the place
2009-06-02Track reject and blackhole routes and allow them to be redistributed evenClaudio Jeker
though they point to the loopback. Mainly used for redistribute default since on default free routers we need to have a fake route now. After discussion with Tonnerre Lombard, idea OK henning@
2009-06-02make it clear that setting the global timeout late will mess things up.Pierre-Yves Ritschard