Commit Graph

46125 Commits

Author SHA1 Message Date
Yoshinobu Inoue 0b97e97cd2 Add length check to sbcreatecontrol().
Now this check is necessary because IPv6 source routing might use
  control data bigger than MLEN. (e.g. 16bytes IPv6 addr x 23 hops)
  Actually mbuf cluster should be used in uipc_socket.c:sbcreatecontrol()
  and uipc_syscalls.c:sockargs() when data size is bigger then MLEN,
  and such patches were already in KAME environment and have been
  confirmed to work well. I just forgot to merge them into 4.0, sorry.

  For safety, I'll postpone such patches until after 4.0 release.
  The effect of postponement is followings.
    -Ping6 source routing hops are limitted to around 6 or so.
    -If some apps do setsockopt IPV6_RTHDR and try to receive
     incoming IPv6 source routing info, it can't receive more
     than 6 hops source routing info.
     (But currently, no apps seems to be doing it.)

Approved by: jkh
2000-02-24 19:21:26 +00:00
Mark Murray b87f0bc988 libdes is OBE 2000-02-24 19:08:24 +00:00
Yoshinobu Inoue 53c9088f68 Security fixes. (Just same as sbin/ping and usr.sbin/traceroute)
-Open socket() at first and then setuid() to actual user.
  -Allow ping6 preload option only for root.

Approved by: jkh

Submitted by: Neil Blakey-Milner <nbm@mithrandr.moria.org>
2000-02-24 19:06:05 +00:00
Yoshinobu Inoue 88a845c11d Correctly print out "Connected to" hostname.
Temporal buffer was used for the hostname and freed before actually used.

Specified by: ru
Approved by: jkh
2000-02-24 19:01:38 +00:00
Mark Murray c9f2d5f483 Build everything properly. This means:
o Don't b uild libdes.

o Crypto is now housed in libcrypto (with a compatability symlink to
  libdes)

o RSA may depend on RSAREF at your locale.

o OpenSSH is now a part of the base system.
2000-02-24 18:59:34 +00:00
Yoshinobu Inoue 93f80500f6 -Remove IPv6 initialization failed interfaces from the list of
interfaces passed to rtadvd
-Comment out example sentences more completely
-Redirect error message of ifconfig output into /dev/null, to correctly
 find out working IPv6 interfaces

Approved by: jkh
2000-02-24 18:52:58 +00:00
Yoshinobu Inoue 93eff08412 Print ifname when sendmsg failed.
Approved by: jkh
2000-02-24 18:46:51 +00:00
Mark Murray c23e256eef Add the OpenSSH userland-building Makefiles. 2000-02-24 17:00:55 +00:00
Luigi Rizzo 843c5d4993 Record and pack together all ipfw changes.
Approved-by: jordan
2000-02-24 16:20:37 +00:00
Mark Murray 42f71286cd Add the patches fom ports (QV: ports/security/openssh/patches/patch-*) 2000-02-24 15:29:42 +00:00
Mark Murray 8e3e42fe07 This commit was generated by cvs2svn to compensate for changes in r57429,
which included commits to RCS files with non-trunk default branches.
2000-02-24 14:29:47 +00:00
Mark Murray 511b41d2a1 Vendor import of OpenSSH. 2000-02-24 14:29:47 +00:00
Mark Murray 8ceb13ade4 Merge conflicts. 2000-02-24 13:37:41 +00:00
Mark Murray c97e282188 Oops; forgot to add this. 2000-02-24 13:20:48 +00:00
Mark Murray b98bf15079 Get this to the same level of functionality as old libdes. 2000-02-24 13:20:15 +00:00
Mark Murray 957428c77a This commit was generated by cvs2svn to compensate for changes in r57422,
which included commits to RCS files with non-trunk default branches.
2000-02-24 11:28:20 +00:00
Mark Murray d61f1c7965 Vendor import of Heimdal 0.2p 2000-02-24 11:28:20 +00:00
Mark Murray b50c40f67b This commit was generated by cvs2svn to compensate for changes in r57419,
which included commits to RCS files with non-trunk default branches.
2000-02-24 11:19:29 +00:00
Mark Murray 283d988c23 Vendor import of Heimdal 0.2o 2000-02-24 11:19:29 +00:00
Mark Murray 270628b77a This commit was generated by cvs2svn to compensate for changes in r57416,
which included commits to RCS files with non-trunk default branches.
2000-02-24 11:07:16 +00:00
Mark Murray 13e3f4d6d9 Vendor import of Heimdal 0.2n 2000-02-24 11:07:16 +00:00
Mark Murray 9a843541e2 freefall/internat diff reducer 2000-02-24 10:38:40 +00:00
Mark Murray 228c5a5af7 Freefall/Internat diff reducer. 2000-02-24 10:37:29 +00:00
Mark Murray 22dcf83566 Freefall/Internat diff reducer. 2000-02-24 10:21:56 +00:00
Mark Murray 1b87af6b57 Freefall/Internat diff reducer. 2000-02-24 10:06:57 +00:00
Mark Murray 97dacfda2b Diff reducer. Comes from Internat. 2000-02-24 09:52:37 +00:00
Mark Murray 4486a1f099 Remove useless whitespace.
Part of big commit OK'ed by: JKH
2000-02-24 09:48:58 +00:00
Jordan K. Hubbard b9452ccfa1 Do USA_RESIDENT properly. 2000-02-24 08:28:06 +00:00
Yoshinobu Inoue 60823f50c0 -Removed unnecessary use of awk.
-small comment fix.

Approved by: jkh

Submitted by:  Chris Costello <chris@calldei.com>
2000-02-24 06:51:03 +00:00
Yoshinobu Inoue fb6149f9ef Added rc.network6.
Approved by: jkh

Submitted by: bmah@CA.Sandia.GOV (Bruce A. Mah),
	Ruslan Ermilov <ru@ucb.crimea.ua>
2000-02-24 06:42:49 +00:00
John Polstra d8b6bfecaf Make the default dynamic linker pathname correct for FreeBSD.
I had resisted this for a while because I didn't want to take these
file off the vendor branch.  But it turns out they were already off
the vendor branch anyway.

PR:		gnu/9987
Submitted by:	Vladimir Kushnir <kushn@mail.kar.net>
Approved by:	jkh
2000-02-24 05:46:27 +00:00
Archie Cobbs 661d673484 Fix incorrect man page information about the name of the netgraph node
when compiled with options NETGRAPH.
2000-02-24 04:33:33 +00:00
Wilko Bulte b6c549193d Document WDMA2 limit on CMD646 per Soerens ata driver update 2000-02-23 21:36:24 +00:00
Doug Rabson ac19291f35 Add a workaround to allow us to detect the second pci bus on an HP
Netserver LS/2.

Approved by: jkh
2000-02-23 20:25:06 +00:00
Guido van Rooij 6d37c73e26 Remove option IPFILTER_KLD. In case you wanted to kldload ipfilter,
the module would only work in kernels built with this option.

Approved by:	jkh
2000-02-23 20:11:57 +00:00
Guido van Rooij 7830d3c3a1 Remove option IPFILTER_KLD. In case you wanted to kldload ipfilter,
the module would only work in kernels built with this option.
2000-02-23 20:10:53 +00:00
Wilko Bulte 5de5e458c6 correct typos
Submitted by:	naddy@mips.rhein-neckar.de
2000-02-23 19:54:13 +00:00
Yoshinobu Inoue 0908c83946 Add IPv6 configuration scripts.
Initial version created by, and kindly much tested by:
	bmah@CA.Sandia.GOV (Bruce A. Mah)

Approved by: jkh

Reviewed by: bmah@CA.Sandia.GOV (Bruce A. Mah),
	Ollivier Robert <roberto@keltia.freenix.fr>
Obtained from: KAME project
2000-02-23 18:05:58 +00:00
Jason Evans fed5aa24a2 (Null commit)
Note that previous commit adds an implementation of aio_cancel() and fixes a
couple of bugs in aio_waitcomplete().

Submitted by:	Chris Sedore <cmsedore@maxwell.syr.edu>
2000-02-23 18:02:23 +00:00
Yoshinobu Inoue 5dc2a47de7 Add an scope index embedded IPv6 link local addr creation support, by route
command.
This is a workaround for some kernel interface which can't treat sin6_scope_id,
yet.
2000-02-23 18:00:33 +00:00
Jason Evans dd85920a4f Add the VFS_AIO config option and leave it off by default. Unless the
VFS_AIO option is specified, all aio-related syscalls return ENOSYS.

The aio code is very fragile right now, and is unsuitable for default
inclusion in a production shell box.

Approved by:	jkh
2000-02-23 07:44:25 +00:00
Warner Losh 9e5fefae0f Slightly improved 3.x -> current instructions. 2000-02-23 05:51:02 +00:00
Bill Fumerola bebfe1cadb o No need to print the vendor/device ID for things that matched succesfully.
o ``<device name>'' versus ``device name'' for things that fall under nomatch.

Reviewed by:	dfr (in principle)
Approved by:	Baron von Hubbard
2000-02-22 21:44:39 +00:00
Søren Schmidt 9bd1c89ad3 Add UDMA66 support to the Intel ICH chip.
Submitted by: sakichan@lares.dti.ne.jp
2000-02-22 20:37:01 +00:00
Josef Karthauser 21d31a14fb Fixed a typo. The D-Link is a DFE-650, not a DEF-650.
Approved by:	jkh
2000-02-22 12:16:08 +00:00
Ruslan Ermilov 53c698dc2f Restore `[no]{s|u}unlnk' and `[no]opaque' support.
Broken in src/bin/ls/stat_flags.c,v 1.12.

PR:		16885
Approved by:	jkh
2000-02-22 08:13:07 +00:00
Jordan K. Hubbard 6895862c18 Add call stubs for dynamic rsaref loading. This isn't enabled for now
but simply lets us sync up on the solution as it's evolved.
2000-02-22 06:22:54 +00:00
Robert Watson 0f71afb31e After much consulting with bde, concluded that this fix was the best fix
to the current jail/chflags interactions.  This fix conditionalizes ``root
behavior'' in the chflags() case on not being in jail, so attempts to
perform a chflags in a jail are limited to what a normal user could do.
For example, this does allow setting of user flags as appropriate, but
prohibits changing of system flags.

Reviewed by:	bde
2000-02-22 03:56:58 +00:00
Brian S. Dean b75ebc058c Fix a 'tip' core dump caused by a null pointer dereference when
sending a file to the remote system.

PR:		bin/15660
Reviewed by:	jkh
Approved by:	jkh
2000-02-22 02:01:17 +00:00
Warner Losh 3645fc1c45 Add 3.x -> 4.0 upgrade instructions
Make it plainer the kernel rebuild required point.

I had thought these changes were already in.
2000-02-22 01:50:25 +00:00