Go to file
martin 81e9e9961f Pull up following revision(s) (requested by kim in ticket #1643):
etc/rc.d/sshd: revision 1.30
	etc/rc.d/sshd: revision 1.33
	etc/rc.d/sshd: revision 1.34
	etc/rc.d/sshd: revision 1.35

simplify more (from rudolf)

/etc/rc.d/sshd: New check cmd and reload precmd.
- check cmd: run `sshd -t' to check sshd_config file
- reload precmd: run check cmd before reloading so we don't nuke sshd
  if there's an error in the sshd_config file

(It is still possible to effectively nuke sshd by changing the
configuration tosomething that won't work on your network, but at
least we avoid making sshd just exit on reload when you make a typo
in a config option.)

/etc/rc.d/sshd: Stop generating DSA host keys by default.
If you want them you can generate them yourself, but in this day and
age (Monday and 2023, specifically) there's no reason to be using DSA
except for compatibility with ancient legacy software.
/etc/rc.d/sshd: Use default curve for ECDSA keygen, not NIST P-521.

The default is NIST P-256, which:
(a) has plenty of cryptanalytic security,
(b) performs better on essentially all platforms (smaller enough that
    even the advantage of the Mersenne prime structure of P-521 can't
    compete), and
(c) likely gets more scrutiny on implementations than P-521 since it's
    more widespread.
2023-06-21 16:06:14 +00:00
bin Pull up the following revisions, requested by kim in ticket #1640: 2023-06-03 15:27:13 +00:00
common Pull up following revision(s) (requested by skrll in ticket #1567): 2023-01-19 10:37:03 +00:00
compat Apply patch, requested by mrg in ticket #1309 (no corresponding 2021-06-21 17:40:43 +00:00
crypto Pull up the following revisions, requested by kim in ticket #1608: 2023-02-24 14:07:45 +00:00
dist/pf - enlarge buffer to avoid snprintf() truncation 2019-02-03 10:48:46 +00:00
distrib Pull up following revision(s) (requested by abs in ticket #1638): 2023-06-03 15:07:53 +00:00
doc Ticket #1642 2023-06-08 11:18:12 +00:00
etc Pull up following revision(s) (requested by kim in ticket #1643): 2023-06-21 16:06:14 +00:00
external Pull up following revision(s) (requested by andvar in ticket #1641): 2023-06-03 15:34:30 +00:00
extsrc
games Pull up following revision(s) (requested by sevan in ticket #969): 2020-06-21 10:39:58 +00:00
include Pull up following revision(s) (requested by wiz in ticket #1484): 2022-08-03 10:42:02 +00:00
lib Pull up following revision(s) (requested by mlelstv in ticket #1630): 2023-05-02 17:24:55 +00:00
libexec Pull up following revision(s) (requested by riastradh in ticket #1624): 2023-04-01 16:08:05 +00:00
regress Eliminate regress/libexec/ld.elf_so/expand 2019-04-06 16:25:52 +00:00
rescue Pull up following revision(s) (requested by maya in ticket #435): 2019-11-17 07:04:33 +00:00
sbin Pull up following revision(s) (requested by hannken in ticket #1560): 2023-01-03 18:22:09 +00:00
share Pull up following revision(s) (requested by manu in ticket #1632): 2023-05-13 11:45:53 +00:00
sys Pull up following revision(s) (requested by ozaki-r in ticket #1642): 2023-06-08 11:17:18 +00:00
tests Pull up following revision(s) (requested by riastradh in ticket #1601): 2023-02-22 18:49:17 +00:00
tools Pull up following revision(s) (requested by mrg in ticket #1049): 2020-08-14 11:02:42 +00:00
usr.bin Pull up following revision(s) (requested by riastradh in ticket #1604): 2023-02-22 19:30:50 +00:00
usr.sbin Pull up following revision(s) (requested by tsutsui in ticket #1629): 2023-04-20 14:13:27 +00:00
BUILDING Fix a typo 2019-05-08 14:03:57 +00:00
Makefile Pull up following revision(s) (requested by kamil in ticket #126): 2019-09-01 10:44:22 +00:00
Makefile.inc
README.md Tidy up a bit. 2018-10-23 15:44:42 +00:00
UPDATING Note update hickup build issue for uefi boot. 2019-07-27 07:55:18 +00:00
build.sh Pull up the following revision (requested by martin in ticket #1611): 2023-03-13 21:38:13 +00:00

README.md

NetBSD

NetBSD is a free, fast, secure, and highly portable Unix-like Open Source operating system. It is available for a wide range of platforms, from large-scale servers and powerful desktop systems to handheld and embedded devices.

Building

You can cross-build NetBSD from most UNIX-like operating systems. To build for amd64 (x86_64), in the src directory:

./build.sh -U -u -j4 -m amd64 -O ~/obj release

Additional build information available in the BUILDING file.

Binaries

Testing

On a running NetBSD system:

cd /usr/tests; atf-run | atf-report

Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P src

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/src.git