mickey
f2f9840c04
ensure the most excellent alignment in the structs; henning@ ok
20 years ago
itojun
77867ecd27
remove "route $hostname 127.0.0.1" line. deraadt ok
*** please update /etc/netstart and test if it works ok for you ***
20 years ago
miod
b3aa3d915e
Kill mac68k *SBC kernels. Instead, build kernels with both sbc scsi flavours
compiled in, but one disabled, and use config -e to swap them and build
the other kernels; saves valuable compile time.
Add ramdisks into the build (at release time). Since we are moving to a
bsd.rd installation, it is not necessary to put kernels in .tgz files
anymore, so don't bother, and adjust installation script sets information
accordingly.
20 years ago
millert
11a52be207
Check strlc{py,at} return value and return NULL upon truncation instead
of silently truncating. OK deraadt@ otto@
20 years ago
miod
cd5b298d72
Save an useless use of grep while cooking bsd.scsi3
ok deraadt@
20 years ago
mickey
3ce549ead6
repair libkern support (again) and add rcsids
20 years ago
deraadt
e4c9ef999d
crank ramdisk filesystem slightly to cope with firmwares inside the filesystem
20 years ago
jmc
87f49b32c3
update FILES;
fixes pr #3998 ; diff from frank denis, though slightly different fix
committed;
help and ok millert@
20 years ago
henning
6da6b1a6a2
fix "listen on hostname"
fallout from the deferred dns lookups
noticed by dhartmei@
20 years ago
henning
bad5a761dd
say hi to _ftp
20 years ago
jsg
0b2c77b5b6
Add support for setting mixerctl values in a sysctl.conf like manner
via mixerctl.conf.
ok deraadt@, earlier version ok henning@
20 years ago
jmc
e4864d738c
.{N,O}x fixes;
20 years ago
itojun
dd055c936c
remove NI_WITHSCOPEID
20 years ago
deraadt
1d228b22f5
/etc/firmware directory
20 years ago
nick
86d5e7d5f0
add kern.version to daily report. ok deraadt@
20 years ago
henning
b89628e731
some missing includes, from Joerg Sonnenberger <joerg@britannica.bec.de>
20 years ago
henning
b84ae4cbbe
ntp_adjtime() -> priv_adjtime()
ntp_settime() -> priv_settime()
ntp_host_dns() -> priv_host_dns()
20 years ago
henning
389962a6b2
const'ify conffile
From: Joerg Sonnenberger <joerg@britannica.bec.de>
20 years ago
otto
3b81ab1b24
Advice user to use multiple servers. Prodded by Daniel Polak, help and ok jmc@
ok henning@
20 years ago
jmc
5bfffdca2a
document that keywords can be specified multiple times;
from otto and myself; prodded by henning;
20 years ago
david
c7b2e75f04
remove extra http://
ok otto@
20 years ago
dtucker
ceecbd1877
Use SA_LEN() instead of ss.ss_len. Evaluates to the same result but it's
easier on portable. ok henning@
20 years ago
henning
c31555e853
memleaks in error pathes, patrick latifi, Thanks!
20 years ago
henning
e409afcfa7
use SIG_DFL instead of SIG_IGN when we are not interested in SIG_CHILD
anymore, same thing for us and it makes darren's life easier for the
portable
20 years ago
millert
73909ccd96
Treat EOF at prompt the same as 'n' instead of looping forever.
Noticed by mepch@. OK pedro@ and deraadt@
20 years ago
otto
59a2340994
fix url (submitter by maintainer of site)
20 years ago
henning
9adb28cbb2
introduce spamlogd_flags to make it easier to e. g. bind spamlogd
to an interface; no change in default config
from Toni Mueller <support@oeko.net>, ja ja ja ja bob
20 years ago
hshoexer
b4bc6e4e69
knf, no binary change
ok krw@ millert@
20 years ago
henning
df2265ded1
superfluous comma, From: James Herbert <lists@artyzan.net>
20 years ago
hshoexer
a614ba518a
ansi, indentation, etc.
ok markus@ krw@ cloder@ millert@
20 years ago
hshoexer
51c7463ada
kill spaces
ok djm@
20 years ago
dtucker
348fc30c4d
Calculate Hz and round up; ok henning@
20 years ago
henning
cda611d670
use clock_getres(3) and calculate precision from that, and fill the
precision field when we reply in server mode accordingly. from phessler
20 years ago
millert
0e9fb296b0
Change return value of reentrant getproto* and getserv* to match the
IBM/Digital API.
20 years ago
henning
5b5fccf2aa
oups
20 years ago
henning
d94b864a67
in server mode reply with stratum from the peer that we currently prefer
plus one
20 years ago
itojun
493321fdbb
default pf rule too restrictive for IPv6 (need to allow NS/NA). deraadt ok
20 years ago
fgsch
75f0fbfc04
install net80211 headers; millert and deraadt ok.
20 years ago
deraadt
04be0693ac
make all route commands use -qn; ok mcbride henning
20 years ago
grange
54aa8f7176
Use inet6 pf rules only for inet6-capable setups, first spotted
by form@pdp-11.org.ru .
ok todd@ henning@
20 years ago
otto
86189206cf
implement strnunvis(3), a bounded version of strunvis(3). ok millert@
20 years ago
millert
402f3b0bb4
Reentrant versions of getprotoent(3) and getservent(3). Adapted from
changes in NetBSD by Christos. OK otto@
20 years ago
dtucker
3b0155d86c
Only set IPTOS_LOWDELAY on IPv4 interfaces; pointed out by phessler, ok henning
20 years ago
kettenis
7094ff0c68
Add dl_iterate_phdr() support.
ok drahn@, millert@
20 years ago
dtucker
dcc316e5a2
Have ntpd use IPTOS_LOWDELAY; ok henning@
20 years ago
henning
a4e395e47f
set rootdelay in replies.
inherit rootdelay from the delay from the last client update from the peer
that we picked last time to adjust the local clock.
in some cases we use the average offset between two peers' client updates,
then use the average delay between the two as well.
20 years ago
henning
0fe5ca5a17
in struct ntp_msg, rename "distance" to "rootdelay" to closer match RFCs
and such
20 years ago
henning
0d2f286428
thinko, htonl() -> ntohl(). as we don't use the value in question effect zero
20 years ago
henning
d71785f980
fall cleaning
20 years ago
henning
7096d1be44
correctly set refid in replies with NTP protocol versions < 4.
code path for NTP4 remains unchanged, we already set refid correctly there.
NTP3 and older uses an IPv4 address as refid.
use the IP of the server we last synced to if it was a IPv4 one.
sometimes we use the average offset between two, in that case just pick
one for the IP.
this scheme naturally fails when we query IPv6 servers and have to reply
to IPv4 NTP3 (or even older NTP versions) clients - refid stays at 0 then.
this is a protocol limitation, nothing we can do about it.
20 years ago