thorpej
56a0200695
Fix some debugging printf formats.
1999-01-23 01:08:55 +00:00
thorpej
dd2ecab580
Use syslog(3) to log debugging info, and only if we're compiled with
...
-DDEBUG.
1999-01-22 02:38:05 +00:00
thorpej
002a1e7cb7
Remove old access control list definitions, and remove the home-grown
...
logging code.
1999-01-22 02:37:00 +00:00
thorpej
c87c1f135c
Throw out the old ypserv access control list code. Instead, use libwrap
...
for access control. Add a -l option, to enable logging of all requests.
Also, just use syslog(3) for all logging, not home-grown logging code.
1999-01-22 02:36:12 +00:00
pk
74098ab84e
Lennart Augustsson's multi-valued locator code.
1999-01-21 13:10:08 +00:00
drochner
d884fbb6b7
fix logging without libwrap: introduce a syslog facility/severity
...
variable independantly of the LIBWRAP definition
1999-01-20 14:12:18 +00:00
mycroft
e37d13ec69
Revert previous.
1999-01-20 09:24:06 +00:00
mycroft
24285e691d
Make all listening sockets non-blocking.
1999-01-20 04:42:17 +00:00
tron
17aa73b995
Include "disktab.h" to get prototype for getdiskbyname().
1999-01-19 22:33:04 +00:00
tron
257673aaae
Include "disktab.h" to get prototype for getdiskbyname().
1999-01-19 22:23:36 +00:00
hubertf
f9e71e406c
Add code for pkgdb.
1999-01-19 17:01:56 +00:00
cgd
c014ce1d6e
Don't use the RCS 'Name' keyword, it makes doing release builds more
...
annoying for no good reason. Since a version seems to be desired,
define an OS_VERSION string in the Makefile and use it in the code.
1999-01-19 07:05:59 +00:00
lukem
c6e56aa78a
don't bother with nsdispatch(); just link in the relevant bits of
...
libc's gethostby*() and getnetby*() directly (with -UYP).
1999-01-19 03:53:27 +00:00
lukem
67ae78f9e1
fix error message
1999-01-18 23:42:38 +00:00
drochner
e755eb28ce
fix the use of the libwrap methods:
...
-fromhost() doesn't work because the file descriptor isn't available
at this point, see PR bin/6813
-it needs some initialization for libwrap to grok the IP address and/or
host names in its rule files (see PR bin/6831 by Andreas Wrede
<andreas@planix.com>, the fix is different)
Needless to say that libwrap's interface sucks.
1999-01-18 19:47:36 +00:00
christos
ee880a75bf
PR/6835: Greg A. Woods: Various problems with tcpdchk
...
- fakelog.c contains extra va_arg
- fix netgroup const problem and remove WARNS flag from Makefile
- use CFLAGS from libwrap
1999-01-18 18:01:26 +00:00
eeh
3efdc5b597
This is also useful for sparc64.
1999-01-17 20:02:29 +00:00
lukem
ab8486e250
* don't print out entries that couldn't be parsed
...
* don't look for comments; fparseln strips them
1999-01-17 07:01:26 +00:00
lukem
bb490684f2
don't bother looking for comments; fparseln() removes them
1999-01-17 06:56:51 +00:00
lukem
5921d0348f
convert from tweaking _res.lookups[] to calling nsdispatch(3) directly
...
for gethostby{name,addr}() (without methods for the yp lookups).
ypserv will now match names for the `hosts:' entry (ignoring `nis' if
specified).
1999-01-17 06:54:14 +00:00
eeh
861fc18871
We need to support both elf32 and elf64 for sparc64.
1999-01-17 01:42:07 +00:00
hannken
c2ed19ee97
Fix is_loopback() to return 1 for a loopback addr as intended.
1999-01-16 20:59:05 +00:00
lukem
8a91b811dc
s/resolver(5)/resolv.conf(5)/
1999-01-16 11:06:49 +00:00
bouyer
3e3f9c7795
#include machine/bswap.h and remove -lutil.
1999-01-15 13:32:05 +00:00
augustss
d7a044aeec
Add -m option to display minutes left. From dbj@netbsd.org
1999-01-15 00:29:02 +00:00
he
8344625106
Apply patches for mtrace in bin/5598 by yours truly.
...
This adds decoding of more error and result codes when tracing through
cisco routers running PIM and/or MBGP.
1999-01-14 21:54:10 +00:00
drochner
4ce0dc1c12
enable wsconscfg + wsfontload
1999-01-13 19:43:41 +00:00
garbled
04739cc2af
Back out previous removal of BUGS section.
1999-01-13 19:17:14 +00:00
drochner
536eedcc4b
utility to download fonts to s wscons display device, currently only
...
useful for VGA
1999-01-13 19:02:34 +00:00
drochner
b43055f3fc
add a tool to add/delete virtual screens at runtime
1999-01-13 17:15:44 +00:00
mjacob
b81c39082c
recover from errno.h changes- how tiresome
1999-01-13 01:01:26 +00:00
garbled
1c8910db02
Inform users of the kernel options necc. to run these programs, and
...
point them to options(4) for more details. Also point out that ipf
is necc. for ipnat to function. Oh, and convert ipnat.8 to mandoc
while I was in here... was easier to convert it then rewrite my stuff
after I noticed..
Closes PR# 4813 by Jeff Thieleke
1999-01-12 18:41:07 +00:00
christos
f3fc048278
iPr/6121: Mycroft, diagnostics messages were not helpful.
1999-01-12 15:11:53 +00:00
garbled
1afdca9280
Remove bugs section and blackhole email address per PR# 5247.
1999-01-12 06:53:09 +00:00
kleink
3ed4fcf61e
In userland, pull in <errno.h> instead of <sys/errno.h> for the declaration
...
of errno.
1999-01-11 22:39:59 +00:00
jwise
2badef4d79
Add four big changes:
...
* portmap is now tcp-wrapped (i.e. obeys hosts.{allow,deny})
both for lookups (as `portmap') and for forwarded calls to
specific services.
* the new -l flag, analagous to inetd -l, logs all connections
to portmap.
* the new -s flag causes portmap to suid to the user daemon
after binding it's port, so that outgoing connections do
not come from privileged ports. This prevents users from
using portmap to get a free privileged port.
* portmap now _only_ accepts SETs and UNSETs on the loopback
interface. In the past, anyone in the world could do all
sorts of nasty things to your portmap tables. Note that
our libc already_only_ uses the loopback interface to
register rpc ports.
This work is modeled after/partially taken from Wietse Venema's tcp-
wrapped version of the BSD 4.3 portmap. It has benefitted greatly from my
discussions with Luke, Matt and many others.
1999-01-11 20:51:09 +00:00
bouyer
c8c04d5b9e
Properly define ufs_args_t and HAVE_FIELD_UFS_ARGS_T_FSPEC, so that automount
...
of FFS filesystems works.
1999-01-11 15:57:49 +00:00
tron
4c07384685
Avoid problems when trying to link BIND 8 statically, fixes PR bin/6717
...
by gnatios Souvatzis.
1999-01-04 00:04:04 +00:00
tron
81714a52c8
Patches supplied by Greg A. Woods in PR bin/6626 to make "pkg_info"
...
recognize the width of the current terminal.
1998-12-31 00:04:07 +00:00
mcr
63d650cccb
HTML documentation files for XNTP, installed in /usr/share/doc/xntp
1998-12-30 20:19:29 +00:00
augustss
0a52ae7e58
Update for the ioctl(USB_DEVICEINFO) API change.
1998-12-29 15:29:41 +00:00
perry
180c29c35d
Add the "mailwrapper" program, which is designed to act as a switch
...
permitting users to choose between sendmail and other mail systems with a
simple configuration file change. Not yet turned on -- this is being
committed so people can beat on it.
1998-12-25 22:06:58 +00:00
christos
62871103f9
Appease gcc-2.8.1, make printf formats more portable.
1998-12-19 15:38:45 +00:00
christos
ac20cbee1c
PR/6606: Johnny C. Lam: Add -l flag to apmd so that it suspends automagically
...
when the is a battery low event.
1998-12-19 15:27:58 +00:00
sommerfe
4b41ddc197
Double-check tcp/udp checksum if we get enough data to do it.
1998-12-18 20:28:54 +00:00
thorpej
cdee73fd5b
Add support for WSCONS, and default to it. If the platform also has
...
Sun-style fbio, add support for determining this at run-time and switching
to that mode.
1998-12-18 01:15:43 +00:00
perry
3c8d14096b
Change hard links for newaliases and mailq into symlinks, to make it
...
easier to integrate alternative mailers.
1998-12-16 00:48:22 +00:00
tron
5b7db9e865
Remove "named-bootconf" while doing "make clean".
1998-12-15 01:06:04 +00:00
tron
572fc80939
* use better method to write comments to the correct location
...
* always create an "option" section because "named" will complain
otherwise
* don't check if directory exists while converting a "directory"
statement because we might do it on another machine
1998-12-15 01:00:53 +00:00
lukem
2cc5fd4000
* add support for /CHAOS and /HS suffixes to primary & secondary
...
directives, and add appropriate directives to the zone {} blocks
* change comment delimiter from '//' to '#' (which is more intuitive
for unix config files)
* KNF formatting (single space indenting is hard to read)
1998-12-14 15:39:12 +00:00