5031 Commits

Author SHA1 Message Date
jkim
83453e6457 MFC: 1.3
Teach dhclient(8) about net80211 link (association) status.

Reviewed by:	brooks
Approved by:	re (kensmith)
2007-12-10 17:58:47 +00:00
gnn
d5b4af487e MFC support for the Camellia block cipher
HEAD
Revision  Path
  1.16    src/lib/libipsec/pfkey_dump.c
  1.38    src/sbin/setkey/setkey.8
  1.12    src/sbin/setkey/token.l
  1.81    src/secure/lib/libcrypto/Makefile
  1.47    src/secure/lib/libcrypto/Makefile.inc
  1.8     src/secure/lib/libcrypto/opensslconf-amd64.h
  1.8     src/secure/lib/libcrypto/opensslconf-i386.h
  1.1205  src/sys/conf/files
  1.1     src/sys/crypto/camellia/camellia-api.c (new)
  1.1     src/sys/crypto/camellia/camellia.c (new)
  1.1     src/sys/crypto/camellia/camellia.h (new)
  1.6     src/sys/modules/crypto/Makefile
  1.15    src/sys/net/pfkeyv2.h
  1.1     src/sys/netinet6/esp_camellia.c (new)
  1.1     src/sys/netinet6/esp_camellia.h (new)
  1.25    src/sys/netinet6/esp_core.c
  1.19    src/sys/netipsec/xform_esp.c
  1.34    src/sys/opencrypto/cryptodev.c
  1.25    src/sys/opencrypto/cryptodev.h
  1.19    src/sys/opencrypto/cryptosoft.c
  1.9     src/sys/opencrypto/xform.c
  1.4     src/sys/opencrypto/xform.h

Approved by: re (kensmith)
Submitted by: Tomoyuki Okazaki <okazaki at kick dot gr dot jp>
2007-12-07 08:45:29 +00:00
jhb
73d00f9385 MFC: Properly sort 'sync' in the list of options passed to -o. 2007-12-06 08:08:47 +00:00
remko
1713053d3d MFC rev 1.29 atacontrol.8
Expand the EXAMPLES section for atacontrol.8

  PR:             docs/117310
  Submitted by:   Ted Mittelstaedt <tedm at ipinc dot net>
                  with minor modifications by me.

Approved by:    re (hrs)
2007-12-02 09:01:18 +00:00
remko
cb417f692d MFC rev 1.64 sysctl.8
Remove mentionings of kern.dumpdev which is no longer available.

  PR:             docs/113570
  Submitted by:   lawrance
  MFC After:      3 days (where applicable)

Approved by:    re (hrs)
2007-12-02 09:00:36 +00:00
remko
95275f9dce MFC rev 1.41, 1.42 mdconfig.8
Sync with md(4)'s information regarding the swap backend.

  PR:             docs/115721
  Submitted by:   Stefan Lambrev <stefan.lambrev@moneybookers.com>
  MFC After:      3 days

  Every newline should start on it's own line. I didn't do that in the
  previous commit, so make it happen now.

  Prodded by:     brueffer

Approved by:    re (hrs)
2007-12-02 08:58:46 +00:00
maxim
9b28b43090 MFC rev. 1.204: fix a typo in ipfw table usage example.
Approved by:	re (kensmith)
2007-11-29 18:37:01 +00:00
darrenr
66af1f729a Updates to build infrastructure for the MFC of IPFilter into RELENG_6 2007-11-19 00:48:39 +00:00
cvs2svn
95fd2db0f8 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2007-11-10 10:21:30 +00:00
jhb
4c72c10462 MFC: Don't look for GPT primary and secondary tables on a disk unless we
have a valid PMBR.
2007-11-09 02:48:03 +00:00
keramida
3ee3569b60 MFC: mdconfig.8 -r 1.37
% Add an example which shows how mdconfig(8) can be used
% to mount an ISO 9660 CD image file.
%
% PR:             112691
% Submitted by:   Warren Block, wblock at wonkity.com
2007-11-04 15:07:28 +00:00
emaste
99d3a7a44e MFC to RELENG_6 dhclient RFC3442 support (the classless static route
option)

dhclient.conf 1.2

  Add a $FreeBSD$ tag missing after the original import.  Note that this
  file isn't actually installed; the one in src/etc is.

clparse.c 1.3
dhclient-script 1.15
dhclient.c 1.21
dhclient.conf 1.3
dhcp.h 1.3
tables.c 1.4

  Implement RFC3442, the Classless Static Route option.

  The original DHCP specification includes a route option but it
  supports only class-based routes.  RFC3442 adds support for
  specifying the netmask width for each static route.  A variable
  length encoding is used to minimize the size of this option.

  PR:             bin/99534
  Submitted by:   Andrey V. Elsukov <bu7cher@yandex.ru>
  Reviewed by:    brooks

dhclient-script 1.16

  The minimum size of an RFC3442 destination descriptor is five bytes,
  so correct test to -ge 5.  Without this change an RFC3442 encoded
  default route would be ignored.
2007-10-31 14:30:20 +00:00
daichi
8c9762ee1d MFC:
Added whiteout behavior option. ``-o whiteout=always'' is default mode
(it is established practice) and ``-o whiteout=whenneeded'' is less
disk-space using mode especially for resource restricted environments
like embedded environments. (Contributed by Ed Schouten. Thanks)

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)
2007-10-23 03:37:10 +00:00
maxim
08383c0d27 MFC rev.1.108: fix the issue when "ipfw(8) show" produces "not" twice. 2007-10-14 08:58:01 +00:00
thompsa
0f871a6acb MFC r1.17
Use the -n flag on ifconfig so that dhclient does not cause the kernel module
  to be reloaded when the interface is torn down.
2007-10-11 20:23:33 +00:00
thompsa
b0693660ac MFC ifconfig.8 r1.138, ifconfig.c r1.131
Add the -n flag for disabling automatic module loading
2007-10-11 20:20:39 +00:00
ru
e8138dad13 MFC: 1.32: If not compiled for debugging, redirect std{in,out,err}
to /dev/null before becoming a daemon.
2007-10-02 05:44:53 +00:00
maxim
65313cbfc7 MFC revs. 1.38, 1.39: need to reboot the system after tuning
softupdates on the root file system.
2007-09-29 16:31:44 +00:00
gabor
86db7f68ec MFC rev1.9:
- Remove references to unexisting man pages
2007-09-28 11:09:11 +00:00
obrien
a0569a49ba MFC: consume kld_isloaded(3). 2007-09-21 17:25:03 +00:00
ken
b19aa20b61 MFC:
camcontrol/Makefile:	rev 1.17
camcontrol.8:		rev 1.44
camcontrol.c:		rev 1.58

Add SCSI READ CAPACITY support to camcontrol.  The new 'readcap' subcommand
will automatically issue the 16 byte verison of read capacity if the device
in question is larger than 2TB.

There are also a number of output options here (last block, number of
blocks, human readable) that should meet most needs, and also aid in
scripting.
2007-09-18 01:26:28 +00:00
julian
42892c3888 MFC in revs 192-194 of the man page.
The actual code has been in for a while. (Allow tablearg to be used with 'fwd'
and allow it to take an IP address as a value).
2007-09-17 23:59:54 +00:00
danger
ad7686616e MFC Revision 1.61:
- Sweep the boot(8) man page after addition of boot.config(5).
2007-09-16 10:53:04 +00:00
jhb
a432a3d68c MFC: Expand the data structure returned by the ATA RAID status ioctl to
include detailed status on each of the backing subdisks.  A binary compat
shim is provided for the original status ioctl.

Approved by:	sos
2007-08-24 18:43:00 +00:00
thompsa
603e3c8e54 MFC
Add a bridge interface flag called PRIVATE where any private port can not
   communicate with another private port.

  1.11  src/sbin/ifconfig/ifbridge.c
  1.142 src/sbin/ifconfig/ifconfig.8
  1.102 src/sys/net/if_bridge.c
  1.23  src/sys/net/if_bridgevar.h
2007-08-06 09:11:05 +00:00
thompsa
5df0ac3d5e Sync lagg to HEAD
- Implement the Marker Protocol for lacp
 - Export the actor and partner peer info and show in ifconfig verbose
 - Compare the partner system priority when choosing the aggregator.
 - Cleanup whitespace, variable names and gc unused defines
2007-07-12 20:40:25 +00:00
remko
66a32e6850 MFC rev 1.33 mdmfs.c
-n is used by newfs to tell "do not generate a .snap directory" instead of
 specifying rotational-positions, reflect that in the command arguments.

 PR: bin/110178
 Submitted by: Alex Kozlov <spam at rm-rf dot kiev dot ua>
 Approved by: imp (mentor)

Approved by:	imp (mentor, implicit)
2007-07-07 11:22:46 +00:00
maxim
2903a43579 MFC rev. 1.103: make ipfw(8) show rules with mac/mac-type options
correctly.
MFC rev. 1.105: teach get_mac_addr_mask() to not silently accept
incorrect MAC addresses.
2007-06-10 13:59:36 +00:00
bz
4ad973ddfb MFC:
1.200 sbin/ipfw/ipfw.8, 1.104 sbin/ipfw/ipfw2.c
  1.110 sys/netinet/ip_fw.h, 1.164 sys/netinet/ip_fw2.c

  Add support for filtering on Routing Header Type 0 and
  Mobile IPv6 Routing Header Type 2 in addition to filter
  on the non-differentiated presence of any Routing Header.
2007-06-07 09:50:53 +00:00
maxim
d0887e8868 MFC rev. 1.39 fdisk.8 and rev. 1.83 fdisk.c: add -p flag -- print
a slice table in fdisk configuration file format.
2007-05-31 13:52:24 +00:00
mtm
b2c7a3ca2a MFC ver. 1.30:
date: 2007/04/19 15:41:00;  author: mtm;  state: Exp;  lines: +68 -19
o Increase the buffer to hold extra headers to 10240 bytes (the minimum
  according to RFC3542 sec. 20.1) and allocate it dynamically.
o In verbose mode, specify a warning if any control data from recvmsg(2)
  was truncated because the buffer was too small.
o When printing the extra headers make sure not to overrun the buffer
  boundaries.

PR: kern/99425
2007-05-22 22:01:44 +00:00
pav
f7bc27a8e4 MFC 1.16:
Replace incomprehensive description of -m by much clearer text from OpenBSD,
  with the exception of one word.
2007-05-19 11:32:34 +00:00
thompsa
810e7f64f6 Hook lagg(4) up to the build. 2007-05-17 01:50:46 +00:00
cvs2svn
cd5e537b6a This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2007-05-13 09:33:36 +00:00
pav
403b2f3a00 MFC 1.10, 1.11
Revise the markup, sort sections, fix some grammar bugs.
  Fix the description of "media-type".
2007-05-12 23:10:08 +00:00
julian
049302cd6a MFC 1.93 1.94.
allow table entries to store/return an IP address as a value.
2007-05-08 20:03:01 +00:00
yar
3036ea3146 MFC rev. 1.32:
Fix a typo: argv -> argvp.

  Rationale:
  We are interested in the current (last) element of the argv array
  there, not in its first element. [...]

  Also add a comment that the argv array ends up null-terminated in
  any case (it's due to the design of the for loop) as an answer to
  a possible question why the whole argv isn't zero-filled.
2007-05-03 09:56:51 +00:00
maxim
b55cf0b91d MFC rev. 1.102: add missed w/space in the error message. 2007-04-28 20:09:26 +00:00
maxim
970fc35f80 MFC rev. 1.8: IFNAMSIZ includes a terminating null byte. 2007-04-22 08:37:21 +00:00
thomas
ad992339c2 MFC rev. 1.40:
(bread): For a read that is contained entirely within a block, never copy
 out more than size bytes to the caller's buffer.

PR:	bin/111191
2007-04-12 07:53:13 +00:00
thompsa
edf58557bc MFC r1.134
Correct the name of the 'proto' command.
2007-04-01 02:09:47 +00:00
brian
72a4b5e81b MFC: Don't free the buffer with the sysctl value before printing it. 2007-03-20 23:15:45 +00:00
brian
17ce8d3714 MFC: Default output to stdout as the man page suggests.
Only go through our cylinder group and inode info when we need to.
2007-03-19 19:16:49 +00:00
brian
ea6212f0ed MFC: Reindent main() 2007-03-19 19:15:42 +00:00
thomas
78c21575e4 MFC mount_nfs.c rev. 1.72, mount_nfs.8 rev. 1.47:
Add "fg" option as antonym to "bg"; add "hard" option as antonym to "soft".
This is for better compatibility with other environments (Linux, Solaris,
HP-UX, AIX and Tru64 support these options).

PR: bin/109924
2007-03-13 20:28:24 +00:00
matteo
aee437b487 mdmfs.c: MFC revs 1.29-1.31
mdmfs.8: MFC revs 1.27-1.29

PR:		bin/66763 103501 kern/109863
2007-03-11 18:24:22 +00:00
sam
340fd516ec MFC 1.44: remove local def for IEEE80211_IS_CHAN_PASSIVE now that it's defined 2007-03-10 00:48:28 +00:00
n_hibma
e138d8b7c1 MFC
rev. 1.34-1.36 mdconfig.8
	rev. 1.52-1.54 mdconfig.c

Make attach the default for -f and assume '-a' and '-t malloc' flags for '-s
<size>' (malloc ramdisk) if not specified.

To mount an image:

	MD=`mdconfig -f image`
	mount $MD /mnt

To create and mount a RAM disk (gosh, last I used those was on an Atari 1040ST:
256kb just to piss off the 640kb PC loosers)

	MD=`mdconfig -s 5mb`
	newfs /dev/$MD
	mount /dev/$MD /mnt

Et voila! Much easier to remember.
2007-02-27 09:04:56 +00:00
brueffer
6e963132e2 MFC: rev. 1.21 + 1.22
Don't reference the non-existant lkm(4), use .Nm instead
since lkm is the name of an api.
2007-02-15 17:19:38 +00:00
rodrigc
254bf662f7 MFC: New unionfs implementation from Daichi GOTO and Masanori OZAWA,
which fixes many locking and crashing problems in the previous
     implementation.  kib@ helped a lot by eliminating a source
     of deadlocks encountered with unionfs with these commits:
       rev. 1.50 of src/sys/fs/deadfs/dead_vnops.c
       rev. 1.97 of src/sys/kern/vfs_lookup.c
Submitted by:	daichi, Masanori OZAWA <ozawa ongs co jp>
2007-02-13 05:56:43 +00:00