kleink
1e9ca23a0d
Typo.
2000-03-07 19:40:54 +00:00
itojun
db0eae77a6
Fix replay window size as default to 0 when manual setting.
...
It means responder doesn't check sequence number.
(sync with latest kame)
2000-03-06 22:19:27 +00:00
itojun
8fb9de8e46
fix IPsec policy parser. #@ should affect multiple lines as documented.
2000-03-06 19:52:13 +00:00
mycroft
5ba0d0cdec
Add a `-v' option, and make various log messages depend on `-d' or `-v'.
2000-03-04 21:27:17 +00:00
tsubai
80c282dde0
We don't need #ifdef __powerpc__ part now. Remove it.
2000-03-03 15:05:47 +00:00
itojun
9c971f7c4d
typo fix (s/Ridirect/Redirect/)
2000-03-02 07:43:32 +00:00
itojun
548cc318ca
do not try to use BIND4 code in libc.
...
dig/host/whatever assumes that it is using BIND8 code. mixing BIND4 in
libc with BIND8 code will result in very strange behavior, or program panics.
it is not necessary for dig/host/whatever to obey /etc/nsswitch.conf, actually
dig(1) is explicit about it.
now dist/bind is almost clean BIND822p5, with the following exception:
- /etc/irs.conf will never be visited when running BIND8 toolchain,
to make it less complex. the search order for BIND8 toolchain is
defined in dist/bind/lib/irs/gen.c:default_map_rules().
and usr.sbin/bind compiles them in BSD make framework, with no tricks at all.
2000-03-01 10:49:58 +00:00
itojun
8dc6ef70e7
don't assume CMSG_xx are constant. (sync with latest kame)
2000-02-28 09:55:45 +00:00
itojun
e8cabc3e27
don't assume CMSG_xx are constant. (sync with latest kame)
2000-02-28 07:17:34 +00:00
itojun
bdb384fe26
don't assume CMSG_xx are constant (sync with latest kame)
2000-02-28 07:14:05 +00:00
itojun
970a04ff88
do not assume CMSG_xx are constant. (sync with latest kame)
2000-02-28 07:03:58 +00:00
enami
b0a2a63928
- Use .Ar for argument.
...
- Move SEE ALSO section before the HISTORY section as described in
mdoc(7) with:
+ removing traing dot.
+ spliting files into FILES section.
- Refer pathnames using .Pa (rather .Ar or .Xr).
2000-02-28 05:10:56 +00:00
hubertf
495734ff62
- Bump timeout in select() to 10 minutes
...
- Make sure ftp_cmd() properly passes down an error value (-1) when
appropriate.
2000-02-27 02:35:28 +00:00
mycroft
d5af7e5915
Use SCRIPTS, not an afterinstall target.
2000-02-26 18:32:00 +00:00
itojun
9e34ec6ee3
use getifaddrs, not SIOCGIFCONF.
2000-02-26 11:44:28 +00:00
itojun
6a433be509
remove net.inet6.ip6.nd6_proxyall sysctl.
...
support "ndp -s <ip6> <mac> proxy" for proxy NDP.
2000-02-26 08:48:21 +00:00
itojun
2925a0d65b
print addresses in extended scoped address notation.
...
print reference count for multicast group information.
(sync with recent kame)
2000-02-26 08:13:25 +00:00
itojun
0395cd74d3
use getifaddrs, not SIOCGIFCONF.
2000-02-25 10:05:46 +00:00
itojun
440fe60685
add reference to i-d.
2000-02-25 10:05:26 +00:00
itojun
7579d175ac
fix pathname for netbsd-current (/usr/local/v6/libexec -> /usr/libexec).
2000-02-25 10:05:01 +00:00
itojun
e3d3868ea8
use getifaddrs. do not leave AF_INET6 listening socket left opened for
...
ioctls. (sync with latest kame)
2000-02-25 09:19:06 +00:00
mycroft
fdf456b5f0
Nuke gratuitous setting of BINOWN and BINGRP.
2000-02-25 08:52:03 +00:00
itojun
f460e8caec
use getifaddrs, not SIOCGIFCONF. (from latest kame tree)
2000-02-25 06:30:54 +00:00
itojun
1c597398c3
bring in from latest kame tree. use getifaddrs, not SIOCGIFCONF.
2000-02-25 06:27:32 +00:00
itojun
a5ad88b8e0
use getifaddrs. avoid "extern int errno".
...
(sync with latest kame code)
2000-02-25 06:22:05 +00:00
itojun
7b48263c7b
(rcmd.c) to make Zoularis happier, pass sa_len separately from sockaddrs.
...
this changes function prototype for __ivalid*.
This commit breaks binary compatibility for __ivalid*. I believe this can be
forgiven due to the following:
- this is not really exported function. no function prototype is in headers.
function name starts with underbars. No third-party applications are
expected to use it.
- the function was introduced very recently, when rcmd.c was made IPv6-ready.
- the only customer in NetBSD tree is lpd.
(lpd.c) sync with rcmd.c change.
2000-02-24 06:33:47 +00:00
tls
83c8d84041
sigh... um, revert to 1.133, not 1.33. oops!
2000-02-23 17:46:11 +00:00
jdc
781106ffe6
Make sure that the control device can be opened.
2000-02-23 11:33:58 +00:00
tls
08ef0cfe07
revert previous change
2000-02-22 21:09:50 +00:00
mjacob
b2d85b262c
remove sesd
2000-02-22 17:30:49 +00:00
itojun
6cbe824ac3
previous fix against alignment issue was totally broken.
...
hope this one is okay.
2000-02-22 17:30:17 +00:00
mjacob
66df2a49c4
Make it so this will build with -DWARN. It's a pity that
...
erh can't be bothered to contact the author first. Typical
NetBSD bullshit.
2000-02-22 06:06:06 +00:00
erh
56e9ab4413
Kill the -I... instead of adding destdir. Change SESINC so the build system can work its magic wrt any DESTDIR mods.
2000-02-22 05:26:55 +00:00
erh
6b80f43e3c
Use ../../Makefile.inc to get BINDIR instead of setting it here. (and w/o ${DESTDIR})
2000-02-22 05:10:53 +00:00
hubertf
93b37b7f07
adjust copyright
2000-02-22 01:24:26 +00:00
erh
278625fefd
Add ${DESTDIR} to beggining of include path components.
2000-02-22 01:16:48 +00:00
mjacob
810f2875c4
fix oopslet on .PATH
2000-02-21 08:40:54 +00:00
mjacob
d08a4d8bf8
add sesd subdir
2000-02-21 08:10:52 +00:00
mjacob
f249807b7e
add a range of SES utilities
2000-02-21 08:10:20 +00:00
itojun
cc0b4656ef
prevent align fault on alpha (SIOCGIFCONF).
2000-02-21 02:04:12 +00:00
itojun
778af5ef23
avoid 64bit alignment issue with SIOCGIFCONF (packed struct access).
...
From: =?iso-8859-1?Q?G=F6ran_Bengtson?= <goeran@cdg.chalmers.se>
2000-02-20 14:31:28 +00:00
lukem
315a29d6de
* in secure mode (-s), still open the inet sockets but do a shutdown(,SHUT_RD)
...
on each of them, and don't bother listening on them. this allows messages
to be forwarded even with -s enabled.
XXX: not 100% sure if this is susceptable to a DoS, e.g someone filling
up kernel buffers with a backlog of packets not being read, but shutdown(2)
should prevent that even if it possibly doesn't at this time.
* minor KNF
2000-02-18 09:44:46 +00:00
itojun
0c281f2bda
do not sleep on ECONNREFUSED, rather, try the next address first.
...
the behavior itself has a room for debate. (why we retry on ECONNREFUSED?)
From: SHIMIZU Ryo <ryo@misakimix.org>
2000-02-18 03:53:16 +00:00
fvdl
376d66b867
Note that -kerb option is not implemented.
2000-02-17 09:05:07 +00:00
enami
24d448f70e
Define __POOL_EXPOSE almost at the beginning, instead of just before
...
dev/vndvar.h or dev/ccdvar.h so that struct pool is always available
regardless of multiple inclusion. Actually, ccdconfig.c compiles without
this change but ...
2000-02-16 06:52:31 +00:00
itojun
7414be8dd0
add missing command line arguments (target and datalen)
2000-02-16 06:10:15 +00:00
enami
700450f288
Backout revision 1.58-1.61; Since we currently only have a way to unexport
...
per mount point, the way ``try to export and unexport an unnecessary
mount point later'' may leave unwanted information in the kernel, and
doesn't work if a mount point is default exported or publically exported.
To fix the race condtion, we need another way.
2000-02-16 04:08:40 +00:00
dante
963f51342e
Fix a bug which caused mountd to don't work at all
2000-02-16 01:27:14 +00:00
itojun
e00a204ac4
use getnameinfo(), not inet_ntop(), as much as possible.
...
(sync with recent kame)
2000-02-16 00:38:14 +00:00
enami
2d2a3fa400
Fix path component parsing bug that I've introduced in previous commit.
2000-02-15 04:51:56 +00:00
tron
699023d93b
Remove obsolete version 8.8.8 of "sendmail". 8.9.3 is in the main tree
...
now, 8.8.8 is still avaible in "pkgsrc".
2000-02-13 00:34:15 +00:00
abs
7d14d66b4d
We need to close and open the socket to prevent routing updates building
...
up such that when we send our message we never see our reply (and hang)
Fix taken (modified) from PR 7508
2000-02-11 11:27:20 +00:00
abs
6068331e78
Indicate on which interface a packet has been received when debugging
2000-02-11 11:25:23 +00:00
mjacob
dcdf7ba2cd
Fix rmt for use with Solaris 2.7 and others. The deal here is that for
...
version 0 RMT protocol, the query of status makes no sense (send back, in
binary, the mtget structure), but systems sometimes use it anyway. And when
they use it, they get upset if they get back something that is a different
size from what they expect. The original mtget structure in BSD 4.3 is
24 bytes in size, and that seems to be what they can cope with.
The correct fix would be to go to Version 1 RMT, but that's a horse of
another color...
2000-02-08 18:00:05 +00:00
tron
54896865b3
Build "sendmail" 8.9.3 instead of 8.8.8.
2000-02-08 13:53:01 +00:00
abs
ce9e985266
Special case 'nb<X>' suffix in deweycmp() - this allows NetBSD specific
...
changes to packages to have a unique version, and still work with deweycmp().
2000-02-07 11:26:26 +00:00
nathanw
713f906d1c
Copy struct ifreq returned by SIOGIFCONF to ensure correct alignment.
2000-02-07 01:15:52 +00:00
veego
c4b5806fb2
First cut to make it work again.
...
TODO: make it work with obj dirs.
2000-02-06 13:05:25 +00:00
itojun
387cae5e16
fix include file path (IPv6 related).
2000-02-06 11:21:45 +00:00
kleink
63e6cae627
Add IPv6 support.
2000-02-05 22:14:20 +00:00
enami
f0b2202df0
Kill the period in the SEE ALSO list.
2000-02-05 11:52:37 +00:00
explorer
f6ba8482dd
document OS versions
2000-02-04 08:01:43 +00:00
explorer
82cee51cf3
bring over WEP mode from FreeBSD/OpenBSD
2000-02-04 07:59:45 +00:00
hubertf
422fde1de4
init buffer differently
2000-02-04 03:45:48 +00:00
itojun
b4d29cbd68
don't try to parse packets with short iphlen.
...
From: tcpdump.org (bugtraq june 99)
2000-02-03 17:42:01 +00:00
enami
39fdef6641
If failed to export some mount point, unexport and try again. This is a
...
workaround to fix the bug that mountd fails to export the currently exported
mount point if it is exported everyone or only export option is changed.
2000-02-03 09:59:22 +00:00
itojun
25db46c9cf
fix advanced api bug. (sync with snap)
...
this is for 2292bis case, and netbsd-current is not affected - the commit
is to avoiding buggy code from spreading around.
2000-02-03 06:59:35 +00:00
bouyer
a3bc666f44
Supports nlm version 4 (for use with nfsv3).
2000-02-02 18:17:42 +00:00
agc
199e667b0f
Add RCS Id and Copyright.
2000-02-02 15:12:10 +00:00
hubertf
b932078a68
remove clutter left after switching to mkstemp
2000-02-02 14:54:50 +00:00
hubertf
4b164aae49
Use mkstemp instead of mkstemp.
2000-02-02 14:42:53 +00:00
hubertf
45d0c80c1d
add copyright and (more important!) _RCS_ID()
2000-02-02 14:09:40 +00:00
itojun
94a0a3b5f3
align message a bit better.
2000-02-02 05:18:32 +00:00
itojun
4d9ae69b8a
bring in latest KAME tree. show kludge entry.
2000-02-02 05:04:17 +00:00
itojun
faa17682df
add -R (accept router renumbering packet). now router renumbering is disabled
...
by default for ipsec config twists.
dies gracefully on SIGTERM.
2000-02-02 04:07:50 +00:00
enami
04553a3a98
Kill the period in SEE ALSO.
2000-02-02 01:55:55 +00:00
thorpej
732a15a21d
Printf formats on LP64.
2000-02-02 01:08:26 +00:00
agc
cf6ad33088
Set the environment variables to have zero-length strings on Solaris.
2000-02-01 10:46:55 +00:00
enami
1b1b19c5c5
Emit `.MAIN: all' to force the target `all' as default target.
2000-02-01 05:13:17 +00:00
itojun
4b061adfdb
sync with latest libipsec.
...
since outgoing and incoming policy is separated, inetd can take multiple
policy specification, separated by ";".
2000-01-31 14:28:17 +00:00
itojun
a58fc4d3b8
sync with latest libipsec/kernel.
2000-01-31 14:25:42 +00:00
itojun
6b2922d06b
catch up with latest libipsec/kernel.
2000-01-31 14:22:41 +00:00
agc
2a29f83468
Fix a typo.
...
Make a start at linting this.
2000-01-31 13:39:08 +00:00
agc
69acf6de93
Fix for Solaris: don't try to call unsetenv().
2000-01-31 13:33:19 +00:00
itojun
e38f0bc373
add pim6sd: PIMv6 sparse mode daemon. (from KAME)
2000-01-28 19:32:43 +00:00
itojun
55ffb1ce63
make error check against getnameinfo().
2000-01-27 19:52:43 +00:00
thorpej
d65c17674f
In callit() and logit(), set a slightly informative proctitle to make
...
it easier to determine where large numbers of wedged portmap processes
are coming from.
2000-01-27 16:28:32 +00:00
itojun
33ba3a0f18
IPv6 support, using rcmd-family funciton added.
...
NetBSD PR: 9050
From: Feico Dillema
2000-01-27 05:39:50 +00:00
hubertf
938c6a8b17
be a bit more liberal WRT slow servers
2000-01-26 02:12:14 +00:00
hubertf
549295852e
-current's gcc seems to be a bit picky about using pointer-differences as
...
args to the "*" of a printf "%*.*s" pattern. Add some casts to int.
(At least on NetBSD, ptrdiff_t is typedef'ed to int anyways)
2000-01-25 17:21:07 +00:00
sommerfeld
0cd03c86b4
Fix use of -I and -P at the same time by refactoring so there's only
...
one set of code which knows how to resize the packet.
Report when we shrink MTU because of an EMSGSIZE return; fix
formatting to let this not look ugly.
Add a few likely MTU's to the table (1480 and 1280).
2000-01-25 16:24:32 +00:00
hubertf
4a961a7fc3
some code cleanup
2000-01-25 12:09:19 +00:00
enami
0d45936ccf
Please pay an attention to the existing code and not to introduce
...
different coding style.
2000-01-25 01:16:00 +00:00
ad
04ddf7ae0d
Default bit/byte order with #define's and fix usage().
2000-01-25 01:04:07 +00:00
itojun
3f638e0b65
fix pathname for rtadvd.conf. (/etc/rtadvd.conf for netbsd-current)
2000-01-24 12:59:30 +00:00
mycroft
cbe35e1b13
One last bit of .mk lossage.
2000-01-24 06:49:29 +00:00
hubertf
764307a5a1
Keeping my kernel config files under RCS control, I always wished to
...
have a way to embed the revision number into the kernel's "uname -v"
output. The patch below does this, by generating a new keyword "ident"
that can be followed by any string, e.g.
ident "NOON-$Revision$"
will lead to
vvvvvvvvvvvvvvvvvvvvvv
char version[] = "NetBSD 1.4P (NOON-$Revision: 1.21 $) #37 : Thu Jan
20 02:01:23 MET 2000\n feyrer@noon:/usr/cvs.local/src-current/sys/arch/i386/c
ompile/NOON\n";
This will lead to a version of "MYMACHINE-$Revision$" instead of the
kernel config file name. If "ident" is not present, the current behaviour
of using the kernel config file's name as identifier is used.
Implement by writing the ident to a file ("ident") in the compile dir,
which newvers.sh will pick up for generating the ident.
2000-01-23 23:37:42 +00:00
mycroft
a73ccc591a
More .mk file fallout. *sigh*
2000-01-23 21:55:44 +00:00
mycroft
c077907823
Add explicit endianness overrides.
2000-01-23 19:59:32 +00:00
drochner
b2fa2f59f4
improve logging: tell whether a request was declined by the loopback
...
security check
2000-01-23 15:54:31 +00:00