5046 Commits

Author SHA1 Message Date
julian
91515fa1c7 MFC: ipfw2.c 1.114
ipfw.8    1.209

Use an explicit argument to format table args as IP addresses.
2008-04-04 18:10:50 +00:00
remko
55a2645084 MFC rev 1.84 route.c
In route.c in newroute() there's a call to exit(0) if the command was
  'get'. Since rtmsg() always gets called and returns 0 on success and -1
  on failure, it's possible to exit with a suitable exit code by calling
  exit(ret != 0) instead, as is done at the end of newroute().

  PR:		bin/112303
  Submitted by:	bruce@cran.org.uk
  MFC after:	1 week

Approved by:	imp (mentor, implicit)
2008-03-29 13:44:36 +00:00
remko
dfa2a1a6da MFC rev 1.73 newfs.8
Replace reference from vinum.8 to gvinum.8, it was advised in the PR to
  replace this with vinum.4, but that's the kernel interface manual, which
  is not appropriate in my understanding.  I think that gvinum is a suitable
  replacement for this.

  PR:             docs/121938
  Submitted by:   "Federico" <federicogalvezdurand at yahoo dot com>
  MFC after:      3 days
2008-03-24 10:46:00 +00:00
brooks
3355824a91 MFC rev 1.18:
During PREINIT, when giving the interface the address 0.0.0.0, do it as an
alias to avoid distrubing other addresses.

PR:		bin/119255
Submitted by:	Jaakko Heinonen <jh at saunalahti dot fi>
2008-03-12 17:29:42 +00:00
delphij
1bb37e6e92 MFC revision 1.14
date: 2008/01/29 00:20:00;  author: delphij;  state: Exp;  lines: +1 -1
Don't coredump when executed with -o.
2008-03-08 00:54:27 +00:00
mav
6128f03298 MFC rev. 1.63-1.68
Document -instance and -globalport options.
Note that the punch_fw option does not work in securelevel 3.
2008-03-04 12:52:34 +00:00
maxim
05f8f2f2f2 MFC rev. 1.11: allow setkey(8) to recognize esp as a protocol
name for spdadd.
2008-02-26 09:44:36 +00:00
jhb
67b50856e5 MFC: Map 'boot' to GPT_ENT_TYPE_FREEBSD_BOOT when parsing UUIDs. 2008-02-12 19:23:37 +00:00
remko
68b8802d7c MFC rev 1.70 bsdlabel.8
Remove redundant whitespace.

  Noticed by:	brueffer
2008-02-11 07:48:12 +00:00
remko
e12eb4d242 MFC rev 1.69 bsdlabel.8
Attempt to describe the ''auto'' type a bit better in the default
  section (if nothing had been specified, or if the auto type had
  been specified, a default layout is used).

  PR: docs/116047
  Submitted by: Ian Smith <smithi at nimnet dot asn dot au>
  Minor modifications by me.
2008-02-10 12:31:06 +00:00
lulf
6a3aa2f96a MFC revision 1.21
- Update geom(8) to explain that GEOM_LIBRARY_PATH can take a colon-separated
  list of paths.

Approved by:	pjd (mentor)
2008-02-07 12:18:26 +00:00
lulf
1cc7e9a7a8 MFC revision 1.34
- Make geom commands handle multiple library paths in the GEOM_LIBRARY_PATH
  environment variable using ':' as a separator.

Approved by:	pjd (mentor)
2008-02-07 12:10:47 +00:00
mtm
00cd394a8a MFC: ver. 1.82-1.83
Fix an error in bit shifting logic for network addresses. The route
	command would add incorrect routing entries if network numbers weren't
	fully "spelled" out according to their class. For example:
	  # route add 128.0/16   (works)
	  # route add 128/16     (doesn't work)
	  # route add 193.0.0/24 (works)
	  # route add 193/24     (doesn't work)

	Also, rework the way a netmask is deduced from network number if
	it [netmask] is not specified.

	Submitted by:	Nuno Antunes <nuno.antunes@gmail.com> (mostly)
2008-01-28 07:37:08 +00:00
jhb
2f930c2edb MFC: Add support for booting from GPT-labeled disks from the BIOS. This
includes /boot/pmbr, /boot/gptboot, and 'gpt boot'.
2008-01-24 22:23:22 +00:00
maxim
12252a5277 MFC rev. 1.90 ntfs_vfsops.c and revs. 1.22, 1.23 mount_ntfs.8: mask
maximum file permissions with ACCESSPERMS.
2008-01-19 17:54:11 +00:00
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