summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2009-06-09missing header file; bring things into scopeTheo de Raadt
2009-06-08revert this change by eric@:David Gwynne
Make the imsg protocol network-safe. it might be network safe, but half the imsg based daemons on my firewalls dont run anymore.
2009-06-07improve spacing in usage()Igor Sobrado
2009-06-07xfs -> nnpfs; ok jjJason McIntyre
2009-06-07sync usage();Jason McIntyre
2009-06-07Change the way fds passed over a socket are retreived on the receiving side.Eric Faurot
Currently the receiver fetches an imsg via imsg_get() and if he expects an fd, he then calls imsg_get_fd() to fetch the next fd queued on the imsgbuf from which the imsg came. This changes hides the fd queueing mechanism to the API user. When closing an imsg with an fd, the message is flagged so that the receiving end knows it must dequeue the fd in imsg_get() and return it with the imsg structure. This way there is no (less) possible screw up from imsg_get_fd() not being called directly after imsg_get() by the user. The retreived imsg is self-contained. ok pyr@, "I like that" henning@
2009-06-07Make the imsg protocol network-safe.Eric Faurot
ok pyr@
2009-06-07Initial documentation for the new stuffClaudio Jeker
2009-06-07First attempt at reload support for RIBs. There is some magic that I doClaudio Jeker
not fully understand but at least no flames are comming out of my test box anymore.
2009-06-06change the imsg header fields a bit to prepare for upcoming changes.Eric Faurot
add a flag field, use u_int32_t for pid_t and extend type to 32 bits for padding. ok pyr@
2009-06-06Reorder IMSG types to put the "exported" ones further down so they do notClaudio Jeker
change that often anymore.
2009-06-06Fix bgpctl show rib prefix/len command. Problem reported by Insan Praja.Claudio Jeker
2009-06-06If ntpd decides the clock has become unsynced, reset the number of savedChris Kuethe
time corrections. Once the clock is synced again, start computing a fresh frequency correction. ok henning
2009-06-06Turns up the polling rate of sensors and makes ntpd calculate frequencyChris Kuethe
corrections more often. Due to physical effects crystal oscillators aren't really stable beyond 1000s or so - at least not the kind found in pc's. ok henning
2009-06-06this one missed the last batch.Pierre-Yves Ritschard
2009-06-06Get ready for including imsg.h from a lib, when it comes along.Pierre-Yves Ritschard
2009-06-06make ntpd imsg-in-a-lib ready as well. extensive testing done, noPierre-Yves Ritschard
behavior change. ok eric@
2009-06-06fix direct pkgpath caseMarc Espie
2009-06-06quick path for pkg cfl: check whether the new package conflicts withMarc Espie
installed stuff first. If that's the case, and we're not in replacement mode, we don't really need to scan all the installed packages.
2009-06-06my $_, except for the server code, which could still run on older perlMarc Espie
2009-06-06make ospf6ctl/ospf6d imsg-in-a-lib ready too.Eric Faurot
ospf6ctl is already broken in tree (not connected to build). ok pyr@
2009-06-06shuffle code around to achieve 0 length diff nirvana between all thePierre-Yves Ritschard
currently synced daemons' imsg.c, imsg.h and buffer.c
2009-06-06forgot to cvs add the filePierre-Yves Ritschard
2009-06-06make ripctl/ripd imsg-in-a-lib ready too.Eric Faurot
ok pyr@
2009-06-06make ldpd imsg-in-a-lib ready too.Pierre-Yves Ritschard
2009-06-06make dvmrpd imsg-in-a-lib ready as well.Pierre-Yves Ritschard
``put it in'' claudio@, ok eric@
2009-06-06sync ospfctl/ospfd with the common imsg code, making it lib ready as well.Eric Faurot
"looks ok" claudio@
2009-06-06sync bgpd/bgpctl with the common imsg code, making it lib ready as well.Eric Faurot
ok claudio@ pyr@
2009-06-06Document show rib table fooClaudio Jeker
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@