summaryrefslogtreecommitdiff
path: root/etc
AgeCommit message (Collapse)Author
2015-05-18Change spamd to use divert-to instead of rdr-to.Reyk Floeter
divert-to has many advantages over rdr-to for proxies. For example, it is much easier to use, requires less code, does not depend on /dev/pf, works in-band without the asynchronous lookup (DIOCNATLOOK ioctl), saves us from additional port allocations by the rdr/NAT code, and even avoids potential collisions and race conditions that could theoretically happen with the lookup. Heads up: users will have to update their spamd PF rules from rdr-to to divert-to. spamd now also listens to 127.0.0.1 instead of "any" (0.0.0.0) by default which should be fine with most setups but has to be considered for some special configurations. Based on a diff is almost two years old but got delayed several times ... beck@: "now is the time to get it in" :) Tested by many With help from okan@ OK okan@ beck@ millert@
2015-05-18Put ntpd.conf in MUTABLE so it's installed with 0644 mode.Antoine Jacoutot
discussed by deraadt@
2015-05-18enable ntpd by default at install time. We use pools and a reliableTheo de Raadt
constraint to keep them in check. in the worst case of being on a dark net, nothing changes. this is being enabled by default to allow gathering of more operational information from users. and if the operational heuristics in ntpd can be suitable refined, this may stay the default into the future. if not, ntpd will become even more awesome along the way. with reyk rpe
2015-05-18Simplify example constraints URL to reduce load on the server side.Darren Tucker
ok henning@, reyk@
2015-05-04fix numbers for pppx, vscsi and diskmapJonathan Matthew
ok dlg@
2015-05-04Remove comments about default daemon_flags; most are empty, thoseIngo Schwarze
that aren't are redundant because they can be found in the rc.d(8) scripts themselves, and they risk getting out of sync. While here, sort the daemons alphabetically. No functional change. Triggered by a much smaller nameserver-only patch from stephan@. OK ajacoutot@ rpe@ stephan@ and looks good to sthen@.
2015-05-02No more pf_rules ipsec_rules.Antoine Jacoutot
2015-05-02Drop pf_rules and ipsec_rules from rc.conf(5); it shouldn't have been madeAntoine Jacoutot
tweakable: there's no real point and these files support the 'include' option so one can always get its config from whatever path... especially useful when testing a new ruleset. man page inputs from schwarze@ ok halex@ schwarze@ rpe@ deraadt@
2015-04-30Add smtpd(8) spool directories so that they are registered as part of base.Antoine Jacoutot
ok henning@ gilles@ deraadt@
2015-04-29Check arguments before eval so we don't end up with a cryptic error message.Antoine Jacoutot
reported by jasper@ While here: _rc_is_supported() -> _rc_not_supported() - saves a fork - reduces triple negation to double negation in _rc_not_supported() - simplifie condition for rc_restart=NO from schwarze@ ok jasper@ schwarze@
2015-04-29VERBOSESTATUS or no VERBOSESTATUS, failed or missing dumps are stillAlexander Hall
worth noting "go ahead" schwarze@
2015-04-27Simplify remote(5) example file and remove stuff not supported by cu(1).Nicholas Marriott
some tweaks from sobrado@, ok deraadt@
2015-04-27Add a _file user and use for privsep, ok deraadtNicholas Marriott
2015-04-15add the include dir for libepoxyJonathan Gray
2015-04-12Switch example NSD config to splitting master and slave zones into differentStuart Henderson
subdirectories (/var/nsd/zones/{master,slave}) and create these in mtree. Nearly everybody that uses NSD for slave zones that I talked to already has this layout. Bikesh^Wdiscussed with ajacoutot florian millert and others. ok ajacoutot@ florian@ phessler@ claudio@ jung@
2015-04-03Add ddb.log example; OK halex@Todd C. Miller
2015-03-31For consistency with the diff subcommand, add rdiff -uChristian Weisgerber
(-N is always implied and -p isn't available.) ok guenther@, sthen@
2015-03-28_rc_err(): only display error message if there's an actual one.Antoine Jacoutot
Remove an exit() statement that could never be reached.
2015-03-27Actually use the new man.conf(5) "output" directive.Ingo Schwarze
Additional functionality, yet minus 45 lines of code.
2015-03-27Move man.conf from /etc to /etc/examples, deleting what's no longer supported.Ingo Schwarze
Discussed with many and OK ajacoutot@.
2015-03-11syncTheo de Raadt
2015-03-11openprom, just like eeprom; ok miodTheo de Raadt
2015-03-11syncTheo de Raadt
2015-03-11eeprom(8) is only run by root now, so no need for kmem groupTheo de Raadt
ok miod
2015-03-11'rc.firstime' -> 'rc.firsttime' in comment.Kenneth R Westerback
Diff from Navan Carson via tech@
2015-03-10Set verbosity to 1 (the default is 0) so we log incoming notifiesTodd C. Miller
and zone xfers. OK florian@ deraadt@
2015-03-10Disable db file. It is believed to be a saner default for the commonFlorian Obser
use case. sthen@ noticed a problem with missing records on shutdown. OK sthen@
2015-03-06fix pkgnames versionGiovanni Bechis
ok deraadt@
2015-03-05syncKenji Aoyama
ok deraadt@
2015-03-05Add com(4) and wd(4) to use them on PCMCIA.Kenji Aoyama
ok deraadt@
2015-02-18Remove old cruft, that make no sense at all on OpenBSD.Robert Peichaer
- comments relevant to other brands of UNIX - the no-op KSH_VERSION case-block, we only have pdksh - the case-block for setting aliases based on UNIX brand together with a comment that falsely encourages to modify this file instead of putting stuff in $HOME/.kshrc OK krw@ halex@
2015-02-17Add class section for unbound, using openfiles-cur=512 ratherStuart Henderson
than the daemon class' default of 128. Reminded by/ok ajacoutot@
2015-02-17Put the _unbound user in "unbound" login class; unbound uses setusercontextStuart Henderson
to initialize the unprivileged user, so the usual rc.d mechanism to set the class isn't used. Problem reported by otto, ok otto@ ajacoutout@
2015-02-10Add support for "constraints": when configured, ntpd(8) will query theReyk Floeter
time from HTTPS servers, by parsing the Date: header, and use the median constraint time as a boundary to verify NTP responses. This adds some level of authentication and protection against MITM attacks while preserving the accuracy of the NTP protocol; without relying on authentication options for NTP that are basically unavailable at present. This is an initial implementation and the semantics will be improved once it is in the tree. Discussed with deraadt@ and henning@ OK henning@
2015-02-04TypoFlorian Obser
From Michael (lesniewskister AT gmail), thanks!
2015-01-26Rename miniroot-sunxi to miniroot-cubie as the u-boot includedJonathan Gray
in the image is for Cubieboard1. Discussed with bmercer@ While here switch from using the separate spl and u-boot images to the combined spl and u-boot 'u-boot-sunxi-with-spl.bin'.
2015-01-22Use /etc/services names in all the default pf rules (most alreadyKenneth R Westerback
did). This allows any local changes to /etc/services to be effective if all you have is the default. Issue pointed out by Brian S. Vangsgaard on bugs@. Thanks! ok phessler@ deraadt@
2015-01-20Do not use /usr/ports/infrastructure/man/ by default because thisIngo Schwarze
directory is not contained in OpenBSD base, and because even people having the directory often don't understand that they need to run makewhatis(8) - and instead complain about the resulting warnings. This commit reverts revisions 1.17 and 1.21. Requested by deraadt@ millert@ kettenis@ who argue that people using /usr/ports/infrastructure/bin/ already need to set PATH, so editing man.conf (or, though more fragile, setting MANPATH) should not be a big deal for them.
2015-01-20increase limits for staff (user created at install time is in staff)Theo de Raadt
2015-01-20Change the machdep.lidsupsend example now that the default setting has beenTheo de Raadt
inverted.
2015-01-20Change the machdep.lidsupsend example now that the default setting has beenMiod Vallat
inverted.
2015-01-12Due to recent savings with instbin, we can take i386 to one installTheo de Raadt
floppy. A few drivers are missing, but the world has moved on (the drivers included are always a work in progress) Speeds up make release substantially, of course.
2015-01-075.8 packages keyChristian Weisgerber
2015-01-06add 5.8 base keyTheo de Raadt
2015-01-06firmware key for 5.8Stuart Henderson
2015-01-02Fix dow and apply the usual easter egg.Miod Vallat
2015-01-02Fix return code of _rc_quirks().Antoine Jacoutot
ok robert@
2015-01-02adjust dateTheo de Raadt
2015-01-02Add a comment about the default values being duplicated in rcctl(8).Antoine Jacoutot
discussed with schwarze@
2015-01-01move to 5.7-betaTheo de Raadt