summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2009-06-06bgpctl part of allowing alternate RIBs to be shown. Had to use theClaudio Jeker
keyword table because show rib rib foo is strange.
2009-06-06Make it possible to select the RIB that a show command should show.Claudio Jeker
2009-06-06sync snmpd with the common imsg code, making it lib ready as well.Pierre-Yves Ritschard
ok eric@
2009-06-06allocate the correct amount of memoryEric Faurot
ok pyr@
2009-06-06remove unnecessary and scary pid check in imsg_init.Pierre-Yves Ritschard
ok eric@, claudio@
2009-06-06Sync with relayd:Eric Faurot
Stop pushing event handling in the imsg framework. Instead, provide a small glue layer on top of both imsg and libevent. This finally clearly separates event handling and imsg construction. ok pyr@
2009-06-06Sync with relayd:Pierre-Yves Ritschard
Stop pushing event handling in the imsg framework. Instead, provide a small glue layer on top of both imsg and libevent. This finally clearly separates event handling and imsg construction. Sidetrack bonus: remove the mega-ugly hack of having a dummy imsg_event_add stub in smtpctl. ok jaceckm@
2009-06-06if smtpctl is run in unsupported mode, exit with a warning instead ofJacek Masiulaniec
defaulting to smtpctl-mode; aja@ ok
2009-06-06Some preliminary filter magic to support multiple RIBs on the filters.Claudio Jeker
It is ugly but does the trick for now. Filters will be rewritten anyway. The rib specifier only makes sense on from rules. e.g. deny rib OMG from any
2009-06-06Only the main Loc-RIB should update the FIB for now. So introduce aClaudio Jeker
F_RIB_NOFIB flag and apply it on all RIBs that are not F_RIB_NOEVALUATE.
2009-06-06Only generate updates for peers that are member of the RIB that update isClaudio Jeker
comming from.
2009-06-06Minor cleanup.Claudio Jeker
2009-06-05didn't we just say we remove libevent from the imsg framework?Eric Faurot
ok pyr@
2009-06-054 handed diff with eric:Pierre-Yves Ritschard
Stop pushing event handling in the imsg framework. Instead, provide a small glue layer on top of both imsg and libevent. This finally clearly separates event handling and imsg construction. Sidetrack bonus: remove the mega-ugly hack of having a dummy imsg_event_add stub in relayctl. This will make bgpd (and thus henning) happy. Next up are smtpd and ospfd. ok eric@
2009-06-05if path in "deliver to maildir path" is omitted, use ~/Maildir byJacek Masiulaniec
default; from gilles@
2009-06-05correct a format string typeTheo de Raadt
2009-06-05init rtm_hdrlenChris Cappuccio
ok claudio@, henning@
2009-06-05rtm->rtm_hdrlen conversionChris Cappuccio
ok claudio@, henning@
2009-06-05Correctly send notification messages when errors occur.Michele Marchetto
ok claudio@ laurent@
2009-06-05Remove unneeded function that prepends mail with "From " marker.Jacek Masiulaniec
mail.local(8) does it for us in mbox case, maildir doesn't need this, and in ext. mda case we delegate it to the external program. committing on gilles@'s behalf
2009-06-05forgot to commit the ospfctl bits, this unbreaks the tree.Pierre-Yves Ritschard
noticed by michele@
2009-06-05bring buf_write here as well.Pierre-Yves Ritschard
2009-06-05bring buf_write which is going to be needed for bgpd.Pierre-Yves Ritschard
2009-06-05Don't call the main RIB DEFAULT but Loc-RIB. Makes more sense.Claudio Jeker
2009-06-05make smtpd's imsg lib ready, just like relayd and ospfd.Pierre-Yves Ritschard
ok gilles@, jacekm@
2009-06-05Adjust print_config to all the stuff added in the last days.Claudio Jeker
2009-06-05Make it possible to bind peers to a specified RIB. Now only filters andClaudio Jeker
bgpctl are missing to have full support of multiple RIBs.
2009-06-05Add an unused data field, to allow smtpd and ypldap to work, all libPierre-Yves Ritschard
ready daemons have NULL diffs now for the imsg files. This field should eventually die a honorable death as it was a design screwup.
2009-06-05bump MAX_IMSGSIZE here as wellPierre-Yves Ritschard
2009-06-05bump MAX_IMSGSIZE to 16384, this will make smtpd happy later on.Pierre-Yves Ritschard
2009-06-05make ospfd's imsg lib ready as well.Pierre-Yves Ritschard
ok claudio@
2009-06-05Allow pcidump -xxv to work (show all the info)Theo de Raadt
ok phessler
2009-06-05Change the way we do mrt dumps in the rde (from the retarded only one dumpClaudio Jeker
possible to as many as you like). The mrt dumps are now done with the same tree walking code as the control messages. Makes the RDE respond a bit faster and use less memory while dumping.
2009-06-05Destroy gilles' fantasy function.Pierre-Yves Ritschard
ok by a desillusionned gilles@
2009-06-05sync buffer.c with ospfd, send out buf->wpos and not buf->size.Pierre-Yves Ritschard
2009-06-05kill trailing whitespace;Jason McIntyre
2009-06-05tweak -V;Jason McIntyre
2009-06-05tweak previous;Jason McIntyre
2009-06-05Preliminary rdomain support, all hacked up by reyk@Claudio Jeker
2009-06-05more rtm->rtm_hdrlen conversionChris Cappuccio
ok claudio@
2009-06-05Add the ability to attach wsmoused to a different wsdisplay than wsdisplay0Miod Vallat
(i.e. ttyCcfg) with the new -D option. While there, a lot of cleanup, including not creating a pidfile by default (since there might be more than one wsmoused running on multiple wsdisplay systems).
2009-06-05treat buf->wpos as the size to send out on the wire, not buf->size,Pierre-Yves Ritschard
this plays better with dynamic buffers which are now the norm. ok by a slightly annoyed claudio@, ok eric@
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@