openbsd
24 years agoHandle EOF more cleanly
pjanzen [Sat, 8 Apr 2000 12:22:39 +0000 (12:22 +0000)]
Handle EOF more cleanly

24 years agoFix the card shuffle/draw algorithm. Patch only slightly
pjanzen [Sat, 8 Apr 2000 12:18:25 +0000 (12:18 +0000)]
Fix the card shuffle/draw algorithm.  Patch only slightly
modified from that given by John Darrow in NetBSD PR 9651.

24 years agoInitial check-in for support of 32-bit CardBus PC Cards; from NetBSD. On many
aaron [Sat, 8 Apr 2000 05:50:49 +0000 (05:50 +0000)]
Initial check-in for support of 32-bit CardBus PC Cards; from NetBSD. On many
machines, this code needs the new PCIBIOS* options enabled in the kernel config
file to work, but your mileage may vary. Included is a working 3c575 driver for
3Com 10/100 CardBus PC Card NICs (tested only with the 'C' revision). The 3c575
is the pccard version of the PCI EtherLink XL cards, and thus the xl driver has
been split into /sys/dev/ic.

24 years ago2.7-beta
deraadt [Sat, 8 Apr 2000 05:06:24 +0000 (05:06 +0000)]
2.7-beta

24 years agosync
deraadt [Sat, 8 Apr 2000 04:32:13 +0000 (04:32 +0000)]
sync

24 years agoWhen running ppp -background, show comfort messages showing
brian [Fri, 7 Apr 2000 23:46:39 +0000 (23:46 +0000)]
When running ppp -background, show comfort messages showing
when we're redialing/reconnecting.

While we're here, log redial, reconnect and phone number
announcements to LogCHAT, and reduce some other logging to
LogDEBUG.

24 years agoMerge with EOM 1.23
niklas [Fri, 7 Apr 2000 22:50:02 +0000 (22:50 +0000)]
Merge with EOM 1.23

author: angelos
Typo...

author: angelos
*_ike_address -> *_negotiation_address (so it's not IKE specific)

author: angelos
No need to use log_fatal...

24 years agoMerge with EOM 1.14
niklas [Fri, 7 Apr 2000 22:49:54 +0000 (22:49 +0000)]
Merge with EOM 1.14

author: angelos
*_ike_address -> *_negotiation_address (so it's not IKE specific)

24 years agoMerge with EOM 1.45
niklas [Fri, 7 Apr 2000 22:49:46 +0000 (22:49 +0000)]
Merge with EOM 1.45

author: niklas
Remove the log_fatal point

24 years agoAnother option, PCIBIOS_BUS_FIXUP, is needed for CardBus on some machines.
aaron [Fri, 7 Apr 2000 22:25:43 +0000 (22:25 +0000)]
Another option, PCIBIOS_BUS_FIXUP, is needed for CardBus on some machines.

24 years agoNeed <sys/device.h>.
aaron [Fri, 7 Apr 2000 22:22:57 +0000 (22:22 +0000)]
Need <sys/device.h>.

24 years agoapps/certpatch/certpatch.8: Merge with EOM 1.5
niklas [Fri, 7 Apr 2000 22:22:27 +0000 (22:22 +0000)]
apps/certpatch/certpatch.8: Merge with EOM 1.5
isakmpd.8: Merge with EOM 1.20
isakmpd.conf.5: Merge with EOM 1.40
isakmpd.policy.5: Merge with EOM 1.13

author: niklas
Changes from OpenBSD

24 years agoBring up to date with EOM version
niklas [Fri, 7 Apr 2000 22:21:55 +0000 (22:21 +0000)]
Bring up to date with EOM version

24 years agoMerge with EOM 1.13
niklas [Fri, 7 Apr 2000 22:10:40 +0000 (22:10 +0000)]
Merge with EOM 1.13

author: niklas
(c) 2000

author: niklas
FEATURES does not belong here, and let GMP go

author: ho
Add FEATURES definition, fix comment.

24 years agoconf.c: Merge with EOM 1.22
niklas [Fri, 7 Apr 2000 22:10:30 +0000 (22:10 +0000)]
conf.c: Merge with EOM 1.22
gmp_util.c: Merge with EOM 1.5
gmp_util.h: Merge with EOM 1.3
math_mp.h: Merge with EOM 1.2
sa.c: Merge with EOM 1.101
ui.c: Merge with EOM 1.40

author: niklas
(c) 2000

24 years agoMerge with EOM 1.48
niklas [Fri, 7 Apr 2000 22:07:44 +0000 (22:07 +0000)]
Merge with EOM 1.48

author: niklas
Style and correct error reporting

author: provos
remove double free(buf), caused skeyid to point to skeyid_d when using USER_FQDN

author: niklas
More braindamage with USE_ macros

24 years agoMerge with EOM 1.119
niklas [Fri, 7 Apr 2000 22:07:30 +0000 (22:07 +0000)]
Merge with EOM 1.119

author: niklas
log_fatal is only OK during initialization

author: ho
Missing #ifdef USE_X509 added

author: ho
Add #ifdef USE_X509

24 years agoMerge with EOM 1.10
niklas [Fri, 7 Apr 2000 22:07:18 +0000 (22:07 +0000)]
Merge with EOM 1.10

author: ho
Revert to manual OS selection, and make sure USE_X509 is set as needed.

author: ho
Another way to do multiple OSes

24 years agoMerge with EOM 1.16
niklas [Fri, 7 Apr 2000 22:07:07 +0000 (22:07 +0000)]
Merge with EOM 1.16

author: ho
Missing #ifdef USE_X509 added

24 years agoMerge with EOM 1.39
niklas [Fri, 7 Apr 2000 22:06:57 +0000 (22:06 +0000)]
Merge with EOM 1.39

author: angelos
Add text on CAs and policies.

24 years agoconf.c: Merge with EOM 1.21
niklas [Fri, 7 Apr 2000 22:06:44 +0000 (22:06 +0000)]
conf.c: Merge with EOM 1.21
isakmpd.c: Merge with EOM 1.46
sa.c: Merge with EOM 1.100
ui.c: Merge with EOM 1.39

author: niklas
error message style

24 years agoMerge with EOM 1.6
niklas [Fri, 7 Apr 2000 22:06:36 +0000 (22:06 +0000)]
Merge with EOM 1.6

author: ho
Revert to manual OS selection.

author: ho
multiple OSes, sync with other Makefiles

author: ho
sysdep fixes, new def for OS variable

24 years agoMerge with EOM 1.68
niklas [Fri, 7 Apr 2000 22:06:28 +0000 (22:06 +0000)]
Merge with EOM 1.68

author: niklas
Make gmp a feature, which we do not use normally

author: niklas
I am probably breaking the other OSes now, but FEATURES really
belong here.  Also add MP_FLAVOUR setting.

author: ho
Revert to manual OS selection. Remove FEATURES definition.

author: ho
Removed unused stuff.

author: ho
Another way to do multiple OSes

author: ho
Work around missing :U for features, get OS from uname.

24 years agolibcrypto.c: Merge with EOM 1.13
niklas [Fri, 7 Apr 2000 22:06:20 +0000 (22:06 +0000)]
libcrypto.c: Merge with EOM 1.13
libcrypto.h: Merge with EOM 1.14

author: ho
Name change for 0.9.5; {SSLeay,OpenSSL}_add_all_algorithms.

author: ho
Missing #ifdef USE_X509 added

24 years agoregress/crypto/Makefile: Merge with EOM 1.7
niklas [Fri, 7 Apr 2000 22:06:10 +0000 (22:06 +0000)]
regress/crypto/Makefile: Merge with EOM 1.7
regress/ec2n/Makefile: Merge with EOM 1.8
regress/exchange/Makefile: Merge with EOM 1.8
regress/prf/Makefile: Merge with EOM 1.6
regress/x509/Makefile: Merge with EOM 1.12

author: ho
Revert to manual OS selection.

author: ho
Another way to do multiple OSes

24 years agoMerge with EOM 1.12
niklas [Fri, 7 Apr 2000 22:06:00 +0000 (22:06 +0000)]
Merge with EOM 1.12

author: angelos
Add phase_1 attribute.

24 years agoMerge with EOM 1.25
niklas [Fri, 7 Apr 2000 22:05:48 +0000 (22:05 +0000)]
Merge with EOM 1.25

author: niklas
wording

24 years agoMerge with EOM 1.27
niklas [Fri, 7 Apr 2000 22:05:38 +0000 (22:05 +0000)]
Merge with EOM 1.27

author: ho
Add log_init() to properly initialize log_output variable.

24 years agoMerge with EOM 1.20
niklas [Fri, 7 Apr 2000 22:05:29 +0000 (22:05 +0000)]
Merge with EOM 1.20

author: provos
Do not require Remote-ID in connection_record_passiv, make lookup_by_ids
deal with it.  This helps road warrior support. okay ho@ angelos@

24 years agoMerge with EOM 1.121
niklas [Fri, 7 Apr 2000 22:05:19 +0000 (22:05 +0000)]
Merge with EOM 1.121

author: niklas
log_fatal is only OK during initialization

author: ho
Missing #ifdef USE_X509 added

author: ho
typo

author: ho
Add #ifdef USE_X509

24 years agoinit.c: Merge with EOM 1.25
niklas [Fri, 7 Apr 2000 22:05:08 +0000 (22:05 +0000)]
init.c: Merge with EOM 1.25
log.h: Merge with EOM 1.19

author: ho
Add log_init().

24 years agoMerge with EOM 1.49
niklas [Fri, 7 Apr 2000 22:04:58 +0000 (22:04 +0000)]
Merge with EOM 1.49

author: ho
Missing #ifndef linux

24 years agoMerge with EOM 1.25
niklas [Fri, 7 Apr 2000 22:04:44 +0000 (22:04 +0000)]
Merge with EOM 1.25

author: niklas
typo

author: niklas
Multi-implementation for MP

24 years agoregress/dh/Makefile: Merge with EOM 1.10
niklas [Fri, 7 Apr 2000 22:04:24 +0000 (22:04 +0000)]
regress/dh/Makefile: Merge with EOM 1.10
regress/group/Makefile: Merge with EOM 1.12

author: niklas
Use OpenSSL math

author: ho
Revert to manual OS selection.

author: ho
Another way to do multiple OSes

24 years agoMerge with EOM 1.38
niklas [Fri, 7 Apr 2000 22:04:16 +0000 (22:04 +0000)]
Merge with EOM 1.38

author: niklas
log_fatal is only OK during initialization, also style fixes

24 years agoMerge with EOM 1.20
niklas [Fri, 7 Apr 2000 22:04:02 +0000 (22:04 +0000)]
Merge with EOM 1.20

author: niklas
Hmm keynote does not exist in a dynamically linked version

author: angelos
Add phase_1 attribute.

24 years agogmp_util.c: Merge with EOM 1.4
niklas [Fri, 7 Apr 2000 22:03:51 +0000 (22:03 +0000)]
gmp_util.c: Merge with EOM 1.4
gmp_util.h: Merge with EOM 1.2

author: niklas
Ugly multi-implementation MP support, will get better later

24 years agoMerge with EOM 1.6
niklas [Fri, 7 Apr 2000 22:03:35 +0000 (22:03 +0000)]
Merge with EOM 1.6

author: niklas
Hmm keynote does not exist in a dynamically linked version

24 years agoIgnore generated keys
niklas [Fri, 7 Apr 2000 21:59:42 +0000 (21:59 +0000)]
Ignore generated keys

24 years agoAbstract MP layer
niklas [Fri, 7 Apr 2000 21:44:16 +0000 (21:44 +0000)]
Abstract MP layer

24 years agoObsolete
niklas [Fri, 7 Apr 2000 21:33:18 +0000 (21:33 +0000)]
Obsolete

24 years agoProtect MAXPHYS against redefinition- this allows you to make a config
mjacob [Fri, 7 Apr 2000 21:05:05 +0000 (21:05 +0000)]
Protect MAXPHYS against redefinition- this allows you to make a config
option for increasing it to something reasonable for large I/O subsystems
(you get 22MB/s on some of the DataDirect RAID arrays at 64K, about 37MB/s
when you get go to 256KB transfers).

24 years agoUpdate to sendmail-8.10.1
millert [Fri, 7 Apr 2000 19:20:25 +0000 (19:20 +0000)]
Update to sendmail-8.10.1

24 years agoWin32.pod should go in man3p, not man1. The only reason we even
millert [Fri, 7 Apr 2000 14:07:30 +0000 (14:07 +0000)]
Win32.pod should go in man3p, not man1.  The only reason we even
install this is to have a complete set of perl docs (so all xrefs
are existent).

24 years agoadd DISKMINOR(), and repair redefinitions
deraadt [Fri, 7 Apr 2000 13:53:40 +0000 (13:53 +0000)]
add DISKMINOR(), and repair redefinitions

24 years agoadd DISKMINOR(), and repair redefinitions
deraadt [Fri, 7 Apr 2000 13:39:01 +0000 (13:39 +0000)]
add DISKMINOR(), and repair redefinitions

24 years agosync
deraadt [Fri, 7 Apr 2000 13:17:37 +0000 (13:17 +0000)]
sync

24 years agocorrect debug printouts
niklas [Fri, 7 Apr 2000 11:22:46 +0000 (11:22 +0000)]
correct debug printouts

24 years agointerop w/ latest ssh.com windows client.
markus [Fri, 7 Apr 2000 09:17:39 +0000 (09:17 +0000)]
interop w/ latest ssh.com windows client.

24 years agoremove statics
niklas [Fri, 7 Apr 2000 09:12:44 +0000 (09:12 +0000)]
remove statics

24 years agoMissed a couple corrections from NetBSD last time
pjanzen [Fri, 7 Apr 2000 07:57:23 +0000 (07:57 +0000)]
Missed a couple corrections from NetBSD last time

24 years agoRemove unused ifdef missed previously
pjanzen [Fri, 7 Apr 2000 05:03:15 +0000 (05:03 +0000)]
Remove unused ifdef missed previously

24 years agoTypos and punctuation; most from FreeBSD, one from NetBSD, and a couple
pjanzen [Fri, 7 Apr 2000 04:45:03 +0000 (04:45 +0000)]
Typos and punctuation; most from FreeBSD, one from NetBSD, and a couple
bonus ones discovered while editing the file.

24 years agoAlternate (valid) element names from Dan Koranyi
pjanzen [Fri, 7 Apr 2000 04:42:36 +0000 (04:42 +0000)]
Alternate (valid) element names from Dan Koranyi

24 years agotypo
pjanzen [Fri, 7 Apr 2000 04:34:16 +0000 (04:34 +0000)]
typo

24 years agoFix operator precedence errors: NetBSD PR 9698.
pjanzen [Fri, 7 Apr 2000 04:31:45 +0000 (04:31 +0000)]
Fix operator precedence errors:  NetBSD PR 9698.

24 years agoneed -fPIC on sparc for libperl.so
millert [Fri, 7 Apr 2000 02:52:54 +0000 (02:52 +0000)]
need -fPIC on sparc for libperl.so

24 years agoinstall correct cf distribution
deraadt [Fri, 7 Apr 2000 02:33:38 +0000 (02:33 +0000)]
install correct cf distribution

24 years agoumask 077
markus [Thu, 6 Apr 2000 21:28:22 +0000 (21:28 +0000)]
umask 077

24 years agoin the heat of the night...
todd [Thu, 6 Apr 2000 20:05:39 +0000 (20:05 +0000)]
in the heat of the night...

24 years agoadd vm/vm.h for prototypes; from mickey@
todd [Thu, 6 Apr 2000 19:43:46 +0000 (19:43 +0000)]
add vm/vm.h for prototypes; from mickey@

24 years agoBack out last change, I changed my mind...
millert [Thu, 6 Apr 2000 18:59:28 +0000 (18:59 +0000)]
Back out last change, I changed my mind...

24 years agoUse /etc/mail/statistics not /var/log/sendmail.st by default.
millert [Thu, 6 Apr 2000 18:35:58 +0000 (18:35 +0000)]
Use /etc/mail/statistics not /var/log/sendmail.st by default.

24 years agoEnable sendmail 8.10.0. Things like sendmail.* and aliases now live
millert [Thu, 6 Apr 2000 18:26:02 +0000 (18:26 +0000)]
Enable sendmail 8.10.0.  Things like sendmail.* and aliases now live
in /etc/mail.

24 years agoRemove smtpd link (should have been part of yesterday's commit) since
millert [Thu, 6 Apr 2000 18:24:19 +0000 (18:24 +0000)]
Remove smtpd link (should have been part of yesterday's commit) since
our smtpd is something other than sendmail.

24 years agoDon't match AIC6915 -- that's a network card, supported by sf(4).
aaron [Thu, 6 Apr 2000 18:21:42 +0000 (18:21 +0000)]
Don't match AIC6915 -- that's a network card, supported by sf(4).

24 years agoperl-5.6.0 + local changes
millert [Thu, 6 Apr 2000 17:03:22 +0000 (17:03 +0000)]
perl-5.6.0 + local changes

24 years agoonly call get_random_bytes() once in m_pad()
deraadt [Thu, 6 Apr 2000 16:08:22 +0000 (16:08 +0000)]
only call get_random_bytes() once in m_pad()

24 years agovirgin perl 5.6.0
millert [Thu, 6 Apr 2000 16:08:14 +0000 (16:08 +0000)]
virgin perl 5.6.0

24 years agoFix typo introduce when removing smtpd MLINK
millert [Thu, 6 Apr 2000 15:45:44 +0000 (15:45 +0000)]
Fix typo introduce when removing smtpd MLINK

24 years agoinclude vm/vm.h because some stuff in the kernel depends on that.
art [Thu, 6 Apr 2000 13:30:47 +0000 (13:30 +0000)]
include vm/vm.h because some stuff in the kernel depends on that.
(all other archs include it)

24 years agoRandom cleanup.
art [Thu, 6 Apr 2000 13:25:26 +0000 (13:25 +0000)]
Random cleanup.

24 years agoI didn't get this right the last time....
brian [Thu, 6 Apr 2000 10:09:57 +0000 (10:09 +0000)]
I didn't get this right the last time....

When an NCP reaches TLF, *ONLY* datalink_Close() links that are
in DATALINK_OPEN.

When the last link reaches TLD, DOWN all NCPs (as we used to in the
links TLF (which was the wrong place anyway)), as the NCPs aren't
now going to datalink_Close() us unexpectedly, we get to continue
doing what we were told to do in the first place.

The result:  When we lose a link, the IPCP layer goes down and
we actually call the stuff in ppp.linkdown !

24 years agono adjust after close
markus [Thu, 6 Apr 2000 09:43:15 +0000 (09:43 +0000)]
no adjust after close

24 years agossh2 server side, see README.openssh2; enable with 'sshd -2'
markus [Thu, 6 Apr 2000 08:55:22 +0000 (08:55 +0000)]
ssh2 server side, see README.openssh2; enable with 'sshd -2'

24 years agosync
deraadt [Thu, 6 Apr 2000 06:08:52 +0000 (06:08 +0000)]
sync

24 years agoGet FC connection topology out of f/w during startup. Reset restriction
mjacob [Thu, 6 Apr 2000 05:50:43 +0000 (05:50 +0000)]
Get FC connection topology out of f/w during startup. Reset restriction
against targets < 129 if we're on a Public Loop- we can have those, yes.
Fix all the settings isp_sendmarker all throughout this file to OR in
the bus that we are trying to synchronize (e.g., after a bus reset)- this
way we don't wipe out pending sendmarker settings that haven't been done
yet.

24 years agoRemove restriction against bus resets for Ultra3 cards (and what
mjacob [Thu, 6 Apr 2000 05:47:54 +0000 (05:47 +0000)]
Remove restriction against bus resets for Ultra3 cards (and what
would have been for Ultra2)- we've fixed the problem in isp_control.

24 years agoRoll internal revision level. Put in Fibre Channel topology storage
mjacob [Thu, 6 Apr 2000 05:47:00 +0000 (05:47 +0000)]
Roll internal revision level. Put in Fibre Channel topology storage
and definitions.

24 years agohide debugging printfs
mickey [Thu, 6 Apr 2000 04:01:49 +0000 (04:01 +0000)]
hide debugging printfs

24 years agoDon't make a sendmail smtpd link, it will be confused with beck's smtpd.
millert [Thu, 6 Apr 2000 01:05:37 +0000 (01:05 +0000)]
Don't make a sendmail smtpd link, it will be confused with beck's smtpd.

24 years agoseed srandom from /dev/arandom not /dev/urandom
millert [Wed, 5 Apr 2000 22:03:33 +0000 (22:03 +0000)]
seed srandom from /dev/arandom not /dev/urandom

24 years agodo not exhaust the random pool while debugging
mickey [Wed, 5 Apr 2000 21:54:48 +0000 (21:54 +0000)]
do not exhaust the random pool while debugging

24 years agomv config to base, because of config -e; ericj
deraadt [Wed, 5 Apr 2000 21:06:02 +0000 (21:06 +0000)]
mv config to base, because of config -e; ericj

24 years agoClarify _SC_ARG_MAX
millert [Wed, 5 Apr 2000 17:40:28 +0000 (17:40 +0000)]
Clarify _SC_ARG_MAX

24 years agoFix bogus error message. Not a dir can mean *nothing* at all.
espie [Wed, 5 Apr 2000 17:26:47 +0000 (17:26 +0000)]
Fix bogus error message. Not a dir can mean *nothing* at all.
Reviewed by aaron@... ;-)

24 years agorun at splnet() instead of splimp()
jason [Wed, 5 Apr 2000 16:52:22 +0000 (16:52 +0000)]
run at splnet() instead of splimp()

24 years agomaintain state about keys, upload them to context ram once (and avoid the
jason [Wed, 5 Apr 2000 16:34:07 +0000 (16:34 +0000)]
maintain state about keys, upload them to context ram once (and avoid the
300 clock penalty on key upload)
XXX hifn_freesession should probably zot the keys from context ram but
XXX does not yet.

24 years agoAdd /etc/mail for sendmail 8.10
millert [Wed, 5 Apr 2000 15:18:55 +0000 (15:18 +0000)]
Add /etc/mail for sendmail 8.10

24 years agoKeep configure from complaining about missing *.man.in
millert [Wed, 5 Apr 2000 14:14:34 +0000 (14:14 +0000)]
Keep configure from complaining about missing *.man.in

24 years agomore detail about interaction with ipsec
jason [Wed, 5 Apr 2000 12:37:33 +0000 (12:37 +0000)]
more detail about interaction with ipsec

24 years agoregen
niklas [Wed, 5 Apr 2000 08:13:33 +0000 (08:13 +0000)]
regen

24 years agoCorrect RCSId
niklas [Wed, 5 Apr 2000 08:10:41 +0000 (08:10 +0000)]
Correct RCSId

24 years agoUpdate to ipf 3.3.12. Most fixes relate to hardening of
kjell [Wed, 5 Apr 2000 05:35:27 +0000 (05:35 +0000)]
Update to ipf 3.3.12. Most fixes relate to hardening of
in-kernel ftp proxy. See sbin/ipf/HISTORY for details.

24 years agoChanged boot messages and fixed Ultra160 boot messages.
smurph [Wed, 5 Apr 2000 04:29:58 +0000 (04:29 +0000)]
Changed boot messages and fixed Ultra160 boot messages.
AHA-29160 Ultra160 verified working.

24 years agoAdd USB modem driver stubs; from NetBSD. Not yet tested.
aaron [Wed, 5 Apr 2000 00:29:13 +0000 (00:29 +0000)]
Add USB modem driver stubs; from NetBSD. Not yet tested.

24 years agoSync with NetBSD.
aaron [Tue, 4 Apr 2000 22:52:29 +0000 (22:52 +0000)]
Sync with NetBSD.

24 years agoNew USB mass storage driver. Improvements: Uses asynchronous USB requests,
aaron [Tue, 4 Apr 2000 22:51:23 +0000 (22:51 +0000)]
New USB mass storage driver. Improvements: Uses asynchronous USB requests,
supports more transport protocols (bulk-only and CBI), supports more command
sets (SCSI and ATAPI); from NetBSD. Not yet tested.

24 years agoremove unused argument, split cipher_mask()
markus [Tue, 4 Apr 2000 21:37:27 +0000 (21:37 +0000)]
remove unused argument, split cipher_mask()

24 years agoadd mac result pointer to the callback routine
jason [Tue, 4 Apr 2000 20:16:33 +0000 (20:16 +0000)]
add mac result pointer to the callback routine
register as supporting MD5_HMAC96 and SHA1_HMAC96
use the correct bit (HIFN_MAC_CMD_NEW_KEY) when checking the mac_cmd mask
don't append the mac result to the dest buffer, add it to the result buffer
remove incorrect source count calculation involving mac length
add order checking to hifn_process so that we can verify the request is
possible given the ordering of processing units within the hifn.
correct hifn_callback()'s handling of mac checking and copy the computed
mac into the right place in the mbuf.