summaryrefslogtreecommitdiff
path: root/etc
AgeCommit message (Collapse)Author
2018-04-04adapt armv7 manual pages for arm64Jonathan Gray
2018-04-03Import regenerated moduli file.Darren Tucker
2018-03-29Add aggressive-nsec example block.Florian Obser
While here, qname minimisation is an RFC since some time. tweak & OK sthen
2018-03-23probably the correct dateTheo de Raadt
2018-03-23Provide an example httpd.conf that's actually useful.Florian Obser
With & OK deraadt input sthen looks better to beck OK benno
2018-03-23Since a while relayd switched from the TLS session cache to using only TLSClaudio Jeker
session tickets instead. Adjust example relayd.conf file. From Matt Schwartz, reminded by jmc@ OK deraadt@
2018-03-15add syspatch public keys for 6.3 and 6.4Robert Nagy
2018-03-14remove 6.0 keysT.J. Townsend
2018-03-04when -n is used, no need to spit out "Missing parameters." beforeJason McIntyre
displaying usage(); ok tb
2018-03-03Lowercase 'usage' and group -n with interface in it.Landry Breuil
From jmc@, ok tb@
2018-03-01OpenBSD 6.4 packages keyChristian Weisgerber
2018-03-01openbsd 6.4 base keyTheo de Raadt
2018-03-01add 6.4 firmware keyStuart Henderson
2018-02-28move to 6.3-betaTheo de Raadt
2018-02-21Tweak comments.Robert Peichaer
OK tb
2018-02-21add bsd.mpJonathan Gray
2018-02-20Call "vmctl stop" on each VM at shutdown, for OpenBSD guests this means theyStuart Henderson
are signalled to shutdown cleanly. Wait for each to finish to avoid too much busy work at once; this may need revising if it turns out to be too slow with a larger number of VMs (e.g. signal/delay/signal/delay/... then wait for shutdowns), but let's avoid making it more complex unless we know it's needed. Based on a diff from abieber@, discussed with mlarkin@ aja@ rpe@, ok rpe
2018-02-19Write warning/error messages to stderr and end them with a fullstop.Robert Peichaer
OK tb
2018-02-19- use specific patterns when looping over /etc/hostname.if filesRobert Peichaer
to skip backup or temp files. - test if the patterns matched actual files - warn if ifcreate() fails on an interface and continue with the subsequent interfaces in the list instead of return'ing OK dlg sthen tb
2018-02-18zap *_path() functionskn
These PATH helpers failed to quote their input properly leading to shell code execution. Noone noticed since import (over 21 years ago), so wipe it. OK tb rpe
2018-02-18Remove unecessary line continuation markers after || and &&Robert Peichaer
2018-02-17- Add descriptions for the new functions ifcreate() and vifscreate()Robert Peichaer
- In ifcreate() use the exit code of the {} block directly - In vifscreate(), use the ifconfig -C output directly in the for _vif loop - Remove superfluous and somewhat confusing comment OK dlg kn sthen
2018-02-14create virtual interfaces before starting all interface config.David Gwynne
this resolves an ordering problem when adding pseudo interfaces to bridges tweaks from kn@ ok mpi@ sthen@
2018-02-10Remove some special IPv4 in IPv6 mapped prefixes that are already rejectedClaudio Jeker
by the ::0.0.0.0/96 reject route added to deny all IPv4 mapped addresses. Makes the inet6 routing table almost fit in one screen. OK benno@
2018-02-10Load RFC 7217 key material and generate if it does not already exist.Florian Obser
Add soii.key to changelist (pointed out by semarie) and mtree/special (suggest by Craig Skinner). OK naddy, sthen, rpe, tb
2018-02-06Print an explicit error if the backup volume is not present inTheo Buehler
hw.disknames. This can only happen due to a failure or user error. In either case, silent failure makes it hard to discover and debug. Now it will be easy to spot in the daily mail. ok rob, schwarze
2018-02-06If -n is given, the netstart script should not (try to) set the defaultTheo Buehler
route(s). Simply print the command(s) to be issued instead. tweak & ok rpe
2018-02-02Remove . from $PATH since it seems there is no strong reason to keepYASUOKA Masahiko
it and many people prefer to remove it. Pointed out by m-asou at soum.co.jp. ok millert espie bluhm
2018-01-20Provide a simpler example ifstated.conf.Marco Pfatschbacher
The existing example was written over a decade ago, when carp(4) was not supporting carpdemote and did not track it's interfaces link state itself. OK jmc@, rob@
2018-01-19/etc/snmpd.conf may contain passwords or other sensitiveGleydson Soares
data. diff provided by alf <a.schlichting at lemarit.com> ok millert
2018-01-11CommentsRobert Peichaer
2018-01-11- change [] tests to [[]]Robert Peichaer
- change -a, -o to &&, || inside [[]] - remove unecessary quoting inside [[]] - remove X"" constructs inside [[]] - remove \ (line continuation) in case of &&, || and pipes - replace backticks with $() discussed with and OK aja@ OK tb
2018-01-11Change the shebang line from /bin/sh to /bin/ksh in all base rc.dRobert Peichaer
daemon scripts. discussed with and OK aja@ OK tb
2017-12-03Disallow the _pbuild user from making TCP/UDP connections in the defaultStuart Henderson
PF ruleset. This is not a complete block on _pbuild being able to communicate (e.g. non-TCP/UDP protocols don't have a PCB with userid, so PF can't restrict in those cases) but avoids some cases, and in particular makes it more obvious when a port does things like download extra distfiles or dependencies as part of the build process. Slight tweak from a diff by espie@.
2017-11-29Import updated moduli.Darren Tucker
2017-11-29Document NAT and DNS forwarding rules for vmd(8)Mike Larkin
discussed at length with benno, beck, deraadt, and florian
2017-11-27Remove deprecated agreement url.Florian Obser
"nice" deraadt@ OK benno
2017-11-15Update agreement URL; pointed out by sthen.Florian Obser
OK benno, sthen
2017-11-14syncChristian Weisgerber
2017-11-14Remove /dev/arandom symlink. Nothing in base, xenocara, or ports usesChristian Weisgerber
/dev/arandom any longer. ok deraadt@
2017-11-12Remove HN_DIR variable and expand it in the only place it was used. ItTheo Buehler
currently serves no purpose. ok rpe, agreement from deraadt and halex
2017-11-11update switch handling in vmd(8). vmd now gets switch information (rdomain,Mike Larkin
etc) from underlying switch interface instead of handling this on its own. Diff from carlos cardenas, Thanks! ok reyk@
2017-11-09kill trailing whitespace introduced in previous commitTheo Buehler
2017-11-06Use a variable for /usr/share/relinkRobert Peichaer
OK tb@
2017-11-05Remove the ':' at the beginning of ksh.kshrc.Robert Peichaer
prodded by Raf Czlonka OK tb@
2017-11-05Consolidate lib.so.*.a, ld.so.a and the kernel relink kit intoRobert Peichaer
one location under /usr/share/relink. Be more specific in src/etc/rc reorder_libs() what filesystems need r/w remount and ensure that their mount state is restored. Idea and positive feedback from deraadt@ OK aja@ tb@
2017-11-02syncMartin Pieuchot
2017-11-02Switch DEC 3000 (TURBOchannel) alpha serial code to MI z8530 code.Martin Pieuchot
ttyB* minor numbers change; be sure to rerun MAKEDEV if you do not upgrade with bsd.rd Adapted from NetBSD by miod@
2017-11-02Replace ps | grep with pgrep and use && instead of if-then-fi.Theo Buehler
From Raf Czlonka. ok halex
2017-10-25Partially revert rev 1.457 of /etc/rc. The pipe introduced inAlexander Bluhm
sysctl_conf() spawns a subshell. This prevents that the new process limits affect the daemons started during boot. OK rpe@ halex@