bcook
3f937ba631
bump failure to set the initial time from debug to warning
from Paul B. Henson, ok phessler@
9 years ago
bcook
70297880a3
fix some memory leaks in dns handling.
- Nothing seems to free the result of host_dns(), so add host_dns_free() and
call after each query.
- If imsg_add() fails, it frees buf. Avoid subsequently dereferencing the
freed buf in imsg_close().
ok millert@ deraadt@
9 years ago
bcook
53a61ebe90
prefer sizeof(thing) to sizeof(type)
ok tedu@ deraadt@
9 years ago
millert
1644b19fff
Add fgetwln(3) from FreeBSD and bump libc minor revision.
9 years ago
deraadt
78f9439cae
Due to recent savings with instbin, we can take i386 to one install
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.
9 years ago
tedu
94520ae40e
rename blocks to words. bcrypt "blocks" are unrelated to blowfish blocks,
nor are they the same size.
9 years ago
tedu
ff1d6653e1
don't check for a return value that host() doesn't return, so future
generations don't try to change any of the values and break the code.
ok deraadt
9 years ago
bcook
d66f723105
revert host() back to correct behavior.
unbreak config file address parsing
9 years ago
bcook
e32816bab7
return -1 on host() address parsing failure, not 1.
Match what parse.y expects it to return.
ok millert@
9 years ago
deraadt
eb02123984
remove excessive/wrong use of sys/param.h
peanuts -- but all work has to start somewhere.
9 years ago
bcook
2c934bd111
log as LOG_DAEMON in log_init again.
I mirrored from smtpd a little too literally.
9 years ago
deraadt
8ab45b8557
missing , found by Dongsheng Song
9 years ago
deraadt
1eaa32d2da
declare a local version of MIN(), call it MINIMUM()
(sorry, my other changes were accidentally premature)
9 years ago
bcook
e69bd15d31
sync log.c from smtpd.
Reduces the number of log.c snowflakes by a little, and gives ntpd a
variadic fatal() function to be used later.
ok deraadt@
9 years ago
deraadt
474792cd61
declare a local version of MIN(), call it MINIMUM()
9 years ago
bcook
950986b2ca
use the correct format string for refid
ok deraadt@
9 years ago
deraadt
c7195d4619
Do not need sys/param.h
9 years ago
tedu
3e66a761e0
stupid me. need errno.h
9 years ago
tedu
f2faceb1ea
set errno = EINVAL for invalid salts and hashes in most functions.
remember to set EACCES in bcrypt_checkpass for hash differences.
the higher level crypt_checkpass function will reset errno to EACCES in
all cases, which is probably the right behavior, but this change gives code
working with the lower level functions the correct errno if they care.
9 years ago
naddy
fb8b85f8dc
5.8 packages key
9 years ago
bcook
bfaebb4169
mix in more virtual memory and process information
9 years ago
deraadt
d06eea4bf5
add 5.8 base key
9 years ago
sthen
dddb521475
firmware key for 5.8
9 years ago
bcook
015bfd5abc
add initial HP-UX getentropy/arc4random support.
patch from Kinichiro Inoguchi, tested on HP-UX 11.31
ok deraadt@
9 years ago
tedu
06084f37f2
rename kern enter/exit macros to malloc enter/leave to better reflect
what's going on.
9 years ago
tedu
6758bf4952
convert clock() to clock_gettime() for improved precision (and accuracy?)
guenther suggested using thread time, which actually may improve accuracy
if somebody puts this in a threaded program.
9 years ago
bcook
f04311c2a3
use MAXIMUM as the canonical local MAX macro.
suggested by deraadt@ re: more general MIN/MAX cleanups
9 years ago
bcook
2b0bc47767
rename sockaddr_un variables from 'sun' to the more common 'sa'.
This avoids a namespace conflict with Solaris build environments.
discussed with deraadt@ and kettenis@
9 years ago
bcook
63d93971e4
don't rely on sys/param.h having a MAX macro.
Switch to local definitions where MAX is needed.
discussed with deraadt@
9 years ago
bcook
1f5712d8d6
Remove the unused dns_pid variable.
Nothing is done with the return value from ntp_dns, and it already calls
fatal() on failure.
ok deraadt@
9 years ago
bcook
d25ace0611
removed unused libevent header and structures in ntpd.h
ok deraadt@ phessler@
9 years ago
bcook
d33f0cc042
Add a missing include for time.h to get the definitions of clock_gettime and strftime.
ok jsing@ phessler@ naddy@
9 years ago
miod
fa37c0f6f5
Fix dow and apply the usual easter egg.
9 years ago
ajacoutot
e5c0d4b303
Fix return code of _rc_quirks().
ok robert@
9 years ago
deraadt
f006c12698
adjust date
9 years ago
ajacoutot
33a3eef999
Add a comment about the default values being duplicated in rcctl(8).
discussed with schwarze@
9 years ago
deraadt
0a2d9a6853
move to 5.7-beta
9 years ago
jasper
56237a5383
add entries for xmpp, mdns and puppet
ok aja@
9 years ago
bluhm
956d45dc9b
Add syslog-tls 6514/tcp to etc/services.
OK jasper
9 years ago
tedu
7387fe8b05
copy bcrypt autotune from encrypt(1) and expose via crypt_newhash
ok deraadt miod
9 years ago
djm
0f0ceb5483
typo in comment: ouput => output
9 years ago
aoyama
82871861a6
regen
9 years ago
aoyama
43f0b497ca
Add audio(4) related entries.
ok miod@
9 years ago
ajacoutot
f75903b301
Add line continuation to be consistent with rc_pre(); ok sthen@
9 years ago
ajacoutot
dec6c8a165
pexp is not needed; ok sthen@
9 years ago
reyk
fb658089b6
Change the default ext_addr from "egress" to "*". Listening on the
egress group only works if you have a default route; this confused
some people.
10 years ago
tedu
3d5ec16db0
the kvm.db is now kmem owned. noticed by Steven Roberts
10 years ago
benno
f0ed57e872
return ERANGE instead of ENOMEM, so callers can differentiate real oom
from this case where we have a static buffer and cant realloc.
ok phessler, claudio, reyk
10 years ago
tedu
6ae58cad45
simplify crypt_checkpass. The API promise is that this function doesn't
use global data. The simplest fix is to only check blowfish passwords,
and implicitly lock out DES passwords.
crypt_checkpass is currently only used in one place, passwd, to verify
the local user's password, so this is probably acceptable.
Gives people a little more time to migrate away from DES before introduing
checkpass into more places.
10 years ago
tedu
07f7620f99
dickman noticed /var/rwho keeps coming back. remove it.
10 years ago