summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2009-10-13Disable graceful restart for now. The EOR marker is sent in the wrong placeClaudio Jeker
and fixing this is not a two liner. Will be enabled again when I found out how to fix this.
2009-10-13sort;Jason McIntyre
2009-10-12trim ending whitespaces in aliases files otherwhise makemap will fail toGilles Chehade
parse values correctly when ran in aliases mode, and smtpd will fail to parse values correctly when reading an include file
2009-10-12document the new "for virtual map [...]" syntaxGilles Chehade
2009-10-12- fix a null deref which could happen after a couple iterations of theGilles Chehade
aliases/virtual domains resolution code. - fix a logic bug which caused virtual domains not to be correctly handled after one iteration of the aliases resolution code. - introduce a few helper functions to help clean up and simplify the lka code. - simplify the IS_EXT/IS_MAILBOX/IS_RELAY macros so they manipulate a struct path * instead of the mess of dereferences we were passing them.
2009-10-12to support virtual domains properly, smtpd needed to have the domain storedGilles Chehade
as a key in the virtual map, which means that to support virtual domain for openbsd.org I would do: openbsd.org whatevervalue gilles@openbsd.org gilles this commit teaches makemap how to deduce the special domain keys based on the entries for that domain, so that only the second line is needed now.
2009-10-12fix a bug where matching a "for all" rule with multiple condition will notGilles Chehade
let us know which condition we matched.
2009-10-12Only dump AFI/SAFI pairs that are active. For IPv6 check the announced andClaudio Jeker
received MP capability for IPv4 this does not work when announce capabilities no is set so check if announce IPv4 none was set in the config. The capabilities code needs rework since those checks are very error prone. With this we don't leak unneeded EOR markers for other AFI/SAFI pairs.
2009-10-12Send correct EOR updates. peer_send_eor() does not accept the AFI_ALL andClaudio Jeker
SAFI_ALL shortcuts. This should fix issues with Juniper boxes that started when I enabled more capabilities by default. Fix and report by rivo nurges (rix at estpak dot ee) Thanks.
2009-10-12more handle -> newer.Marc Espie
it is going to get more complicated sooner....
2009-10-12more simple uses of set->newerMarc Espie
2009-10-12looking through installed packages is cool, but remember to filter outMarc Espie
older stuff in the updateset...
2009-10-12tweak previous;Jason McIntyre
2009-10-11new mode of operation: fuzzy addition. Allows adding packages even ifMarc Espie
you don't know version numbers. Useful for quickly trying to duplicate an installation on a new machine from the package list as obtained through pkg_info. Generally won't give a perfect result, but hey, if you have 300 packages installed, will get you 95% of the way there. prompted by problems reported by theo and msf.
2009-10-11-M before -mJason McIntyre
new sentence, new line
2009-10-11document stem--flavorMarc Espie
2009-10-11document -mMarc Espie
2009-10-11option -m will show only packages tagged as manual installations.Marc Espie
(there are still some kinks in the setting of @option manual-install, so it's not as accurate as it should be).
2009-10-11repair tagging of user-specified packagenames, so that manual-install ↵Marc Espie
actually occurs some of the time...
2009-10-11opt_m ? what's that ?Marc Espie
2009-10-11maybe I'll change the code later (two XXX), but allows flavor after stem,Marc Espie
so that e.g. pkg_add star-- pkg_add star--static are now not ambiguous.
2009-10-11implement proper virtual domains instead of faking them on top of primaryGilles Chehade
domains. this means that: - virtual domains no longer deliver to a local user when not told to - they no longer attempt to resolve aliases when not told to - they no longer need an explicit rule in smtpd.conf for EACH domain - the "virtual" map is no longer hardcoded - smtpd no longer needs a restart to support a new domain instead we introduce the: accept for virtual map "mapname" [...] syntax which refers to a map that can be manipulated at runtime. idea discussed and okayd with jacekm@
2009-10-11need to save more stuff about updateset for complicated upgrade scenarios.Marc Espie
2009-10-11get really_add to deal with lists of newer packages in updatesetMarc Espie
2009-10-11prepare for full UpdateSet (loop over newer)Marc Espie
2009-10-11fix arguments orderMarc Espie
2009-10-11don't copy digital sig over when it makes no sense...Marc Espie
2009-10-11store localbase in solver, in preparation to multiple handles.Marc Espie
2009-10-11use older_namesMarc Espie
2009-10-11overlay extract/delete/install messages, for shorter reports in normal modeMarc Espie
2009-10-11store installed packages in a hash, since we have simple keys for that.Marc Espie
provide newer_names/older_names methods, and a shorter print version of an updateset (to display during update since it's no longer quite pkg_add -r)
2009-10-11move a bit of code around, update (C)Marc Espie
2009-10-10The YP protocol permits any string to be at least as long asRobert Nagy
YPMAXRECORD, so use that instead of _PW_NAME_LEN. with help from deraadt@
2009-10-10have modifiers return self so we can chain themMarc Espie
2009-10-08remove an unused variable, ok claudio@ henning@Stuart Henderson
2009-10-07now that mfa no longer does ruleset matching, parent no longer needs toGilles Chehade
send it the ruleset configuration, and mfa no longer needs to interpret it and load it in memory. kill kill kill. as an added bonus: removes 88 lines of code :-)
2009-10-07currently both mfa and lka perform ruleset matching for their own purposes.Gilles Chehade
make lka the only caller of ruleset_match(), mfa request match through imsg which will shrink its code and help me implement virtual domains properly. idea discussed with jacekm@
2009-10-07since the bounce code rewrite, we no longer need to perform ruleset matchGilles Chehade
and aliases resolution on the sender before envelope is written in queue: - mfa_test_mail() no longer calls ruleset_match() - lka_verify_mail() no longer resolves sender and set rule action - lka_resolve_mail() becomes dead code so just kill it ok jacekm@
2009-10-07under certain conditions (srcdir defined, no objdir defined) crunchgenFelix Kronlage
would emit a false .mk file, which contains "(null)" for the Makefile name due to a null pointer. Make sure, p->mf_name is set in this case. ok deraadt@
2009-10-07remove noisy log_debug, requested by gilles@Jacek Masiulaniec
2009-10-06disallow AUTH once a session is in progress, this prevents a fatal fromGilles Chehade
being triggered in smtp process when client sends AUTH after MAIL. bug reported and fix tested by James Turner <james@bsdgroup.org>
2009-10-06Add config knobs to enable/disable individual BGP capabilities per neighbor.Claudio Jeker
e.g. announce refresh no. With this be more aggressive when announcing our capabilities and enable all of them by default. If there are troubles with some neighbors adding the following config lines should bring you back to the old behaviour: announce refresh yes # was already on by default announce restart no announce as-4byte no # was only set on sessions to peers with 4byte AS nums OK henning and sthen
2009-10-05Load prefixes into new created RIBs at reload time by walking over theClaudio Jeker
Adj-RIB-In. This only works correctly when softreconfig in is enabled (which is the default). This is needed to allow dynamic creation of additional RIBs. OK henning@
2009-10-05draft-ietf-idr-restart is RFC 4724 since quite some time.Claudio Jeker
Fix function name in a warning message.
2009-10-05Until now AS-ext LSA were always announced with the router as nexthop.Claudio Jeker
Change this so that the real nexthop is announced if the following conditions are met: - the nexthop is reachable via an OSPF enabled interface - the interface is a broadcast or NBMA interface It does not make sense to announce the nexthop of a point-to-point link since the traffic has to go through this box anyway. This is closer to what other systems implement.
2009-10-04Typo: chance -> changeAntoine Jacoutot
ok millert@
2009-10-03Avoid NULL dereference when the final RCPT TO is refused.Jacek Masiulaniec
Reported by Didier Wiroth <dwiroth@gmail.com>
2009-10-03dont dereference garbage pointer, from martynas@Jacek Masiulaniec
2009-10-02Use BSD.x11.dist mtree file now that it is up-to-date and maintained.Antoine Jacoutot
ok sthen@
2009-09-30Oups, these changes should not have been commited. Revert.Claudio Jeker