Skip site navigation (1)Skip section navigation (2)

CVS log for src/etc/network.subr

[BACK] Up to [FreeBSD] / src / etc

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.230: download - view: text, markup, annotated - select for diffs
Sun Jan 22 10:57:32 2012 UTC (2 weeks, 4 days ago) by hrs
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.229: preferred, colored
Changes since revision 1.229: +18 -6 lines
SVN rev 230453 on 2012-01-22 10:57:32Z by hrs

Fix several glitches in IPv6-related knobs:

- ipv6_enable + ipv6_gateway_enable should unset ACCEPT_RTADV by default for
  backward compatibility.

- Configurations in ipv6_prefix_IF should be recognized even if there is no
  ifconfig_IF_ipv6.

- DAD wait should be performed at once, not on a per-interface basis, if
  possible.  This fixes an issue that a system with a lot of IPv6-capable
  interfaces takes too long for booting.

MFC after:	1 week

Revision 1.229: download - view: text, markup, annotated - select for diffs
Sat Jan 7 16:10:32 2012 UTC (4 weeks, 5 days ago) by uqs
Branches: MAIN
Diff to: previous 1.228: preferred, colored
Changes since revision 1.228: +1 -1 lines
SVN rev 229783 on 2012-01-07 16:10:32Z by uqs

Spelling fixes for etc/

Revision 1.224.2.1.2.4: download - view: text, markup, annotated - select for diffs
Mon Dec 19 13:14:57 2011 UTC (7 weeks, 3 days ago) by glebius
Branches: RELENG_9_0
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.224.2.1.2.3: preferred, colored; branchpoint 1.224.2.1: preferred, colored; next MAIN 1.224.2.2: preferred, colored
Changes since revision 1.224.2.1.2.3: +7 -0 lines
SVN rev 228706 on 2011-12-19 13:14:57Z by glebius

Merge r228472. For the sake of POLA for the whole 9.x timeline add
compatibility support for specifing IPv4 aliases in rc.conf without
the "inet" keyword.

Approved by:	re (bz)

Revision 1.224.2.4: download - view: text, markup, annotated - select for diffs
Mon Dec 19 13:12:37 2011 UTC (7 weeks, 3 days ago) by glebius
Branches: RELENG_9
Diff to: previous 1.224.2.3: preferred, colored; branchpoint 1.224: preferred, colored; next MAIN 1.225: preferred, colored
Changes since revision 1.224.2.3: +7 -0 lines
SVN rev 228705 on 2011-12-19 13:12:37Z by glebius

Merge r228472. For the sake of POLA for the whole 9.x timeline add
compatibility support for specifing IPv4 aliases in rc.conf without
the "inet" keyword.

Approved by:	re (bz)

Revision 1.228: download - view: text, markup, annotated - select for diffs
Tue Dec 13 14:36:04 2011 UTC (8 weeks, 2 days ago) by glebius
Branches: MAIN
Diff to: previous 1.227: preferred, colored
Changes since revision 1.227: +7 -0 lines
SVN rev 228472 on 2011-12-13 14:36:04Z by glebius

Add compatibility support for specifing IPv4 aliases in
rc.conf without the "inet" keyword.

Obtained from:	hrs

Revision 1.224.2.1.2.3: download - view: text, markup, annotated - select for diffs
Sat Dec 3 22:16:36 2011 UTC (2 months ago) by hrs
Branches: RELENG_9_0
Diff to: previous 1.224.2.1.2.2: preferred, colored; branchpoint 1.224.2.1: preferred, colored
Changes since revision 1.224.2.1.2.2: +11 -8 lines
SVN rev 228247 on 2011-12-03 22:16:36Z by hrs

MFC r226649, 226651, 226652, 226653:
- Fix an issue that 127/8 is not configured when $ifconfig_DEFAULT is not empty.
- Add description that IPv6 configuration will be ignored if $ifconfig_IF_ipv6
  is empty.
- Move a configuration example "inet6 accept_rtadv" to just after the manual
  GUA configuration.
- Add an example of $ipv6_prefix_IF.
- Add support for removing addresses added by ipv6_prefix_hostid_addr_up()
  upon rc.d/netif stop.

Approved by:	re (bz)

Revision 1.224.2.3: download - view: text, markup, annotated - select for diffs
Sat Dec 3 22:14:15 2011 UTC (2 months ago) by hrs
Branches: RELENG_9
Diff to: previous 1.224.2.2: preferred, colored; branchpoint 1.224: preferred, colored
Changes since revision 1.224.2.2: +11 -8 lines
SVN rev 228245 on 2011-12-03 22:14:15Z by hrs

MFC r226649, 226651, 226652, 226653:
- Fix an issue that 127/8 is not configured when $ifconfig_DEFAULT is not empty.
- Add description that IPv6 configuration will be ignored if $ifconfig_IF_ipv6
  is empty.
- Move a configuration example "inet6 accept_rtadv" to just after the manual
  GUA configuration.
- Add an example of $ipv6_prefix_IF.
- Add support for removing addresses added by ipv6_prefix_hostid_addr_up()
  upon rc.d/netif stop.

Approved by:	re (bz)

Revision 1.224.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 23 21:41:31 2011 UTC (2 months, 2 weeks ago) by delphij
Branches: RELENG_9
Diff to: previous 1.224.2.1: preferred, colored; branchpoint 1.224: preferred, colored
Changes since revision 1.224.2.1: +8 -0 lines
SVN rev 227910 on 2011-11-23 21:41:31Z by delphij

MFC r225849:

Test if the interface is afif in dhcpif() and syncdhcpif(), as
done in ipv6_autoconfif.

This fixes a regression that causes e.g. ifconfig_DEFAULT="DHCP"
to run on non-afif interfaces like pfsync0, which in turn would
cause excessive delay on system startup.

Sponsored by:	iXsystems, Inc.
Reviewed by:	hrs (freebsd-rc@)
Approved by:	re (bz)

Revision 1.224.2.1.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 23 21:41:31 2011 UTC (2 months, 2 weeks ago) by delphij
Branches: RELENG_9_0
Diff to: previous 1.224.2.1.2.1: preferred, colored; branchpoint 1.224.2.1: preferred, colored
Changes since revision 1.224.2.1.2.1: +8 -0 lines
SVN rev 227910 on 2011-11-23 21:41:31Z by delphij

MFC r225849:

Test if the interface is afif in dhcpif() and syncdhcpif(), as
done in ipv6_autoconfif.

This fixes a regression that causes e.g. ifconfig_DEFAULT="DHCP"
to run on non-afif interfaces like pfsync0, which in turn would
cause excessive delay on system startup.

Sponsored by:	iXsystems, Inc.
Reviewed by:	hrs (freebsd-rc@)
Approved by:	re (bz)

Revision 1.224.2.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 11 04:20:22 2011 UTC (2 months, 4 weeks ago) by kensmith
Branches: RELENG_9_0
Diff to: previous 1.224.2.1: preferred, colored
Changes since revision 1.224.2.1: +0 -0 lines
SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)

Revision 1.227: download - view: text, markup, annotated - select for diffs
Sun Oct 23 07:37:36 2011 UTC (3 months, 2 weeks ago) by hrs
Branches: MAIN
Diff to: previous 1.226: preferred, colored
Changes since revision 1.226: +10 -7 lines
SVN rev 226652 on 2011-10-23 07:37:36Z by hrs

Add support for removing addresses added by ipv6_prefix_hostid_addr_up()
upon rc.d/netif stop.

Revision 1.226: download - view: text, markup, annotated - select for diffs
Sun Oct 23 05:56:59 2011 UTC (3 months, 2 weeks ago) by hrs
Branches: MAIN
Diff to: previous 1.225: preferred, colored
Changes since revision 1.225: +1 -1 lines
SVN rev 226649 on 2011-10-23 05:56:59Z by hrs

Fix an issue that 127/8 is not configured when $ifconfig_DEFAULT is not empty.

Spotted by:	ume

Revision 1.195.2.14: download - view: text, markup, annotated - select for diffs
Mon Oct 10 12:16:45 2011 UTC (4 months ago) by brueffer
Branches: RELENG_8
Diff to: previous 1.195.2.13: preferred, colored; branchpoint 1.195: preferred, colored; next MAIN 1.196: preferred, colored
Changes since revision 1.195.2.13: +2 -2 lines
SVN rev 226201 on 2011-10-10 12:16:45Z by brueffer

MFC:

One hunk missed during the merge of r225560 (spelling fixes in comments).

Revision 1.180.2.9: download - view: text, markup, annotated - select for diffs
Mon Oct 10 12:15:10 2011 UTC (4 months ago) by brueffer
Branches: RELENG_7
Diff to: previous 1.180.2.8: preferred, colored; branchpoint 1.180: preferred, colored; next MAIN 1.181: preferred, colored
Changes since revision 1.180.2.8: +5 -5 lines
SVN rev 226200 on 2011-10-10 12:15:10Z by brueffer

MFC: r225560

Minor spelling, wording and punctuation fixes in comments.

Revision 1.195.2.13: download - view: text, markup, annotated - select for diffs
Mon Oct 10 12:06:36 2011 UTC (4 months ago) by brueffer
Branches: RELENG_8
Diff to: previous 1.195.2.12: preferred, colored; branchpoint 1.195: preferred, colored
Changes since revision 1.195.2.12: +3 -3 lines
SVN rev 226198 on 2011-10-10 12:06:36Z by brueffer

MFC: r225560

Minor spelling, wording and punctuation fixes in comments.

Revision 1.225: download - view: text, markup, annotated - select for diffs
Wed Sep 28 19:01:15 2011 UTC (4 months, 1 week ago) by delphij
Branches: MAIN
Diff to: previous 1.224: preferred, colored
Changes since revision 1.224: +8 -0 lines
SVN rev 225849 on 2011-09-28 19:01:15Z by delphij

Test if the interface is afif in dhcpif() and syncdhcpif(), as
done in ipv6_autoconfif.

Reviewed by:	hrs (freebsd-rc@)
MFC after:	1 week

Revision 1.224.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 23 00:51:37 2011 UTC (4 months, 2 weeks ago) by kensmith
Branches: RELENG_9
CVS tags: RELENG_9_0_BP
Branch point for: RELENG_9_0
Diff to: previous 1.224: preferred, colored
Changes since revision 1.224: +0 -0 lines
SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)

Revision 1.224: download - view: text, markup, annotated - select for diffs
Wed Sep 14 20:13:10 2011 UTC (4 months, 3 weeks ago) by brueffer
Branches: MAIN
CVS tags: RELENG_9_BP
Branch point for: RELENG_9
Diff to: previous 1.223: preferred, colored
Changes since revision 1.223: +6 -6 lines
SVN rev 225560 on 2011-09-14 20:13:10Z by brueffer

Minor spelling, wording and punctuation fixes in comments.

PR:		155984
Submitted by:	gcooper
Approved by:	re (kib)
MFC after:	1 week

Revision 1.223: download - view: text, markup, annotated - select for diffs
Tue Sep 13 00:09:47 2011 UTC (4 months, 4 weeks ago) by hrs
Branches: MAIN
Diff to: previous 1.222: preferred, colored
Changes since revision 1.222: +10 -2 lines
SVN rev 225522 on 2011-09-13 00:09:47Z by hrs

- Add an warning when ifconfig_IF_ipv6 has no inet6 keyword in front
  of an IPv6 address. (r225489)

- Use eval for ${ifconfig_args} to fix an issue fixed in r223506. (r225489)

Approved by:	re (bz)

Revision 1.222: download - view: text, markup, annotated - select for diffs
Tue Sep 13 00:06:11 2011 UTC (4 months, 4 weeks ago) by hrs
Branches: MAIN
Diff to: previous 1.221: preferred, colored
Changes since revision 1.221: +6 -0 lines
SVN rev 225521 on 2011-09-13 00:06:11Z by hrs

Add $ipv6_cpe_wanif to enable functionality required for IPv6 CPE
(r225485).  When setting an interface name to it, the following
configurations will be enabled:

 1. "no_radr" is set to all IPv6 interfaces automatically.

 2. "-no_radr accept_rtadv" will be set only for $ipv6_cpe_wanif.  This is
    done just before evaluating $ifconfig_IF_ipv6 in the rc.d scripts (this
    means you can manually supersede this configuration if necessary).

 3. The node will add RA-sending routers to the default router list
    even if net.inet6.ip6.forwarding=1.

This mode is added to conform to RFC 6204 (a router which connects
the end-user network to a service provider network).  To enable
packet forwarding, you still need to set ipv6_gateway_enable=YES.

Note that accepting router entries into the default router list when
packet forwarding capability and a routing daemon are enabled can
result in messing up the routing table.  To minimize such unexpected
behaviors, "no_radr" is set on all interfaces but $ipv6_cpe_wanif.

Approved by:	re (bz)

Revision 1.195.2.12: download - view: text, markup, annotated - select for diffs
Fri Jul 8 07:38:45 2011 UTC (7 months ago) by pluknet
Branches: RELENG_8
Diff to: previous 1.195.2.11: preferred, colored; branchpoint 1.195: preferred, colored
Changes since revision 1.195.2.11: +1 -1 lines
SVN rev 223858 on 2011-07-08 07:38:45Z by pluknet

MFC r223506:

 Add support for string values with white spaces for ifconfig(8)
 parameters accepting them (such as description, group).

PR:		conf/156675

Revision 1.221: download - view: text, markup, annotated - select for diffs
Fri Jun 24 14:56:38 2011 UTC (7 months, 2 weeks ago) by pluknet
Branches: MAIN
Diff to: previous 1.220: preferred, colored
Changes since revision 1.220: +1 -1 lines
SVN rev 223506 on 2011-06-24 14:56:38Z by pluknet

Add support for string values with white spaces for ifconfig(8)
parameters accepting them (such as description, group).

Changes discussed on freebsd-rc.

PR:		conf/156675
Reported by:	"Alexander V. Chernikov" <melifaro att ipfw ru>
Suggested by:	hrs
Analyzed with:	Alexander V. Chernikov via IRC
MFC after:	2 weeks

Revision 1.220: download - view: text, markup, annotated - select for diffs
Sat Jun 11 21:40:37 2011 UTC (7 months, 4 weeks ago) by hrs
Branches: MAIN
Diff to: previous 1.219: preferred, colored
Changes since revision 1.219: +2 -5 lines
SVN rev 222996 on 2011-06-11 21:40:37Z by hrs

Add a helper function to check kern.features.* sysctls.

Discussed with:	dougb

Revision 1.219: download - view: text, markup, annotated - select for diffs
Mon Jun 6 11:36:10 2011 UTC (8 months ago) by hrs
Branches: MAIN
Diff to: previous 1.218: preferred, colored
Changes since revision 1.218: +1 -1 lines
SVN rev 222746 on 2011-06-06 11:36:10Z by hrs

Do not mark lo0 as IFDISABLED even if there is no $ifconfig_lo0_ipv6 line.

Revision 1.218: download - view: text, markup, annotated - select for diffs
Mon Jun 6 03:37:33 2011 UTC (8 months ago) by hrs
Branches: MAIN
Diff to: previous 1.217: preferred, colored
Changes since revision 1.217: +10 -16 lines
SVN rev 222733 on 2011-06-06 03:37:33Z by hrs

Remove "ifconfig IF inet6 -accept_rtadv" when ipv6_gateway_enable=YES because
this is no longer needed.

Revision 1.217: download - view: text, markup, annotated - select for diffs
Tue May 31 00:25:52 2011 UTC (8 months, 1 week ago) by bz
Branches: MAIN
Diff to: previous 1.216: preferred, colored
Changes since revision 1.216: +20 -8 lines
SVN rev 222515 on 2011-05-31 00:25:52Z by bz

No logner set an IPv4 loopback address by default in defaults/rc.conf.
If not specified, network.subr will add it automatically if we have
INET support (1).

In network.subr only call the address family up/down functions
if the respective AF is available.

Switch to new kern.features variables for inet and inet6 as the
inet sysctl tree is also available for IPv6-only kernels leading
to unexpected results.

Suggested by:	hrs (1)
Reviewed by:	hrs
Sponsored by:	The FreeBSD Foundation
Sponsored by:	iXsystems
MFC after:	20 days

Revision 1.216: download - view: text, markup, annotated - select for diffs
Sat May 14 12:22:58 2011 UTC (8 months, 3 weeks ago) by jilles
Branches: MAIN
Diff to: previous 1.215: preferred, colored
Changes since revision 1.215: +2 -26 lines
SVN rev 221884 on 2011-05-14 12:22:58Z by jilles

network.subr: Use printf(1) builtin for hexprint function.

Now that printf(1) is a shell builtin, there is no need to emulate it
anymore. The external printf(1) is /usr/bin/printf and therefore may not be
available in early boot.

It may be faster to use printf directly but the function is useful for
compatibility.

Revision 1.195.2.10.4.2: download - view: text, markup, annotated - select for diffs
Mon Dec 27 16:02:14 2010 UTC (13 months, 1 week ago) by hrs
Branches: RELENG_8_2
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.195.2.10.4.1: preferred, colored; branchpoint 1.195.2.10: preferred, colored; next MAIN 1.195.2.11: preferred, colored
Changes since revision 1.195.2.10.4.1: +1 -2 lines
SVN rev 216740 on 2010-12-27 16:02:14Z by hrs

- route(8) manual page update: no longer supports RTF_CLONING and
  RTF_LLINFO (MFC from r196833)

- Remove -cloning flag from network.subr[*]

PR:		conf/144842 [*]
Approved by:	re (bz)

Revision 1.195.2.11: download - view: text, markup, annotated - select for diffs
Mon Dec 27 16:01:39 2010 UTC (13 months, 1 week ago) by hrs
Branches: RELENG_8
Diff to: previous 1.195.2.10: preferred, colored; branchpoint 1.195: preferred, colored
Changes since revision 1.195.2.10: +1 -2 lines
SVN rev 216739 on 2010-12-27 16:01:39Z by hrs

- route(8) manual page update: no longer supports RTF_CLONING and
  RTF_LLINFO (MFC from r196833)

- Remove -cloning flag from network.subr[*]

PR:		conf/144842 [*]
Approved by:	re (bz)

Revision 1.180.2.8.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.180.2.8: preferred, colored; next MAIN 1.180.2.9: preferred, colored
Changes since revision 1.180.2.8: +0 -0 lines
SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)

Revision 1.195.2.10.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:09:25 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_8_2
Diff to: previous 1.195.2.10: preferred, colored
Changes since revision 1.195.2.10: +0 -0 lines
SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)

Revision 1.215: download - view: text, markup, annotated - select for diffs
Mon Sep 13 19:55:40 2010 UTC (16 months, 3 weeks ago) by hrs
Branches: MAIN
Diff to: previous 1.214: preferred, colored
Changes since revision 1.214: +1 -1 lines
SVN rev 212579 on 2010-09-13 19:55:40Z by hrs

Split $ipv6_prefer into $ip6addrctl_policy and $ipv6_activate_all_interfaces.

The $ip6addrctl_policy is a variable to choose a pre-defined address
selection policy set by ip6addrctl(8).
The keyword "ipv4_prefer" sets IPv4-preferred one described in Section 10.3,
the keyword "ipv6_prefer" sets IPv6-preferred one in Section 2.1 in RFC 3484,
respectively.  When "AUTO" is specified, it attempts to read
/etc/ip6addrctl.conf first.  If it is found, it reads and installs it as
a policy table.  If not, either of the two pre-defined policy tables is
chosen automatically according to $ipv6_activate_all_interfaces.

When $ipv6_activate_all_interfaces=NO, interfaces which have no corresponding
$ifconfig_IF_ipv6 is marked as IFDISABLED for security reason.

The default values are ip6addrctl_policy=AUTO and
ipv6_activate_all_interfaces=NO.

Discussed with:	ume and bz

Revision 1.214: download - view: text, markup, annotated - select for diffs
Mon Sep 13 19:53:54 2010 UTC (16 months, 3 weeks ago) by hrs
Branches: MAIN
Diff to: previous 1.213: preferred, colored
Changes since revision 1.213: +6 -6 lines
SVN rev 212578 on 2010-09-13 19:53:54Z by hrs

Localize $_punct_c in get_if_var() and whitespace clean-ups.

Based on:	changes in r206408 by dougb

Revision 1.213: download - view: text, markup, annotated - select for diffs
Mon Sep 13 19:53:22 2010 UTC (16 months, 3 weeks ago) by hrs
Branches: MAIN
Diff to: previous 1.212: preferred, colored
Changes since revision 1.212: +15 -18 lines
SVN rev 212577 on 2010-09-13 19:53:22Z by hrs

- Check some specific IFs first in ipv6_autoconfif().
- $ipv6_enable supports YES|TRUE|ON|1 as in checkyesno().

Based on:	changes in r206408 by dougb

Revision 1.212: download - view: text, markup, annotated - select for diffs
Mon Sep 13 19:52:04 2010 UTC (16 months, 3 weeks ago) by hrs
Branches: MAIN
Diff to: previous 1.211: preferred, colored
Changes since revision 1.211: +11 -22 lines
SVN rev 212575 on 2010-09-13 19:52:04Z by hrs

Fix $ipv6_network_interfaces and set it as AUTO by default.

Based on:	changes in r206408 by dougb

Revision 1.211: download - view: text, markup, annotated - select for diffs
Mon Sep 13 19:51:15 2010 UTC (16 months, 3 weeks ago) by hrs
Branches: MAIN
Diff to: previous 1.210: preferred, colored
Changes since revision 1.210: +126 -85 lines
SVN rev 212574 on 2010-09-13 19:51:15Z by hrs

Revert changes in r206408.

Discussed with:	dougb, core.5, and core.6

Revision 1.195.2.10.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 02:09:06 2010 UTC (19 months, 3 weeks ago) by kensmith
Branches: RELENG_8_1
CVS tags: RELENG_8_1_0_RELEASE
Diff to: previous 1.195.2.10: preferred, colored; next MAIN 1.195.2.11: preferred, colored
Changes since revision 1.195.2.10: +0 -0 lines
SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)

Revision 1.180.2.8: download - view: text, markup, annotated - select for diffs
Fri May 21 16:17:46 2010 UTC (20 months, 2 weeks ago) by jhb
Branches: RELENG_7
CVS tags: RELENG_7_4_BP
Branch point for: RELENG_7_4
Diff to: previous 1.180.2.7: preferred, colored; branchpoint 1.180: preferred, colored
Changes since revision 1.180.2.7: +2 -5 lines
SVN rev 208385 on 2010-05-21 16:17:46Z by jhb

MFC 208213:
Prevent unloading a kld for a driver that has subinterfaces (vlan interfaces)
from being automatically reloaded via devd shutdown event handlers.
- Revert part of my previous changes to call ifn_stop on subinterfaces
  when an interface is detached.  It is better to destroy the interfaces
  first so that an 'ifconfig foo0.blah down' doesn't result in ifconfig
  auto-loading if_foo.ko.  The ifconfig command will not be invoked if
  foo0.blah is gone when ifn_stop() is called.  Furthermore, it is not
  necessary to explicitly invoke ifn_stop() after the subinterface is
  destroyed as devd will already do that.
- Pass -n to ifconfig when destroying interfaces so that destroying a
  cloned interface does not kldload any drivers.

Revision 1.195.2.10: download - view: text, markup, annotated - select for diffs
Fri May 21 16:17:08 2010 UTC (20 months, 2 weeks ago) by jhb
Branches: RELENG_8
CVS tags: RELENG_8_2_BP, RELENG_8_1_BP
Branch point for: RELENG_8_2, RELENG_8_1
Diff to: previous 1.195.2.9: preferred, colored; branchpoint 1.195: preferred, colored
Changes since revision 1.195.2.9: +3 -9 lines
SVN rev 208384 on 2010-05-21 16:17:08Z by jhb

MFC 208213:
Prevent unloading a kld for a driver that has subinterfaces (vlan and/or
wlan interfaces) from being automatically reloaded via devd shutdown
event handlers.
- Revert part of my previous changes to call ifn_stop on subinterfaces
  when an interface is detached.  It is better to destroy the interfaces
  first so that an 'ifconfig foo0.blah down' doesn't result in ifconfig
  auto-loading if_foo.ko.  The ifconfig command will not be invoked if
  foo0.blah is gone when ifn_stop() is called.  Furthermore, it is not
  necessary to explicitly invoke ifn_stop() after the subinterface is
  destroyed as devd will already do that.
- Pass -n to ifconfig when destroying interfaces so that destroying a
  cloned interface does not kldload any drivers.

Revision 1.210: download - view: text, markup, annotated - select for diffs
Mon May 17 19:51:34 2010 UTC (20 months, 3 weeks ago) by jhb
Branches: MAIN
Diff to: previous 1.209: preferred, colored
Changes since revision 1.209: +3 -9 lines
SVN rev 208213 on 2010-05-17 19:51:34Z by jhb

Prevent unloading a kld for a driver that has subinterfaces (vlan and/or
wlan interfaces) from being automatically reloaded via devd shutdown
event handlers.
- Revert part of my previous changes to call ifn_stop on subinterfaces
  when an interface is detached.  It is better to destroy the interfaces
  first so that an 'ifconfig foo0.blah down' doesn't result in ifconfig
  auto-loading if_foo.ko.  The ifconfig command will not be invoked if
  foo0.blah is gone when ifn_stop() is called.  Furthermore, it is not
  necessary to explicitly invoke ifn_stop() after the subinterface is
  destroyed as devd will already do that.
- Pass -n to ifconfig when destroying interfaces so that destroying a
  cloned interface does not kldload any drivers.

Reviewed by:	dougb
MFC after:	4 days

Revision 1.164.2.12: download - view: text, markup, annotated - select for diffs
Fri May 14 19:57:18 2010 UTC (20 months, 3 weeks ago) by dougb
Branches: RELENG_6
Diff to: previous 1.164.2.11: preferred, colored; branchpoint 1.164: preferred, colored; next MAIN 1.165: preferred, colored
Changes since revision 1.164.2.11: +5 -5 lines
SVN rev 208096 on 2010-05-14 19:57:18Z by dougb

MFC 208060:

Remove trailing white space. No functional changes.

Hand-delete trailing ws from rc.subr, rc.d/nsswitch, and rc.d/nfslocking
while I'm here.

Revision 1.180.2.7: download - view: text, markup, annotated - select for diffs
Fri May 14 19:36:11 2010 UTC (20 months, 3 weeks ago) by dougb
Branches: RELENG_7
Diff to: previous 1.180.2.6: preferred, colored; branchpoint 1.180: preferred, colored
Changes since revision 1.180.2.6: +5 -5 lines
SVN rev 208095 on 2010-05-14 19:36:11Z by dougb

MFC 208060:

Remove trailing white space. No functional changes.

Hand-delete trailing ws from rc.firewall while I'm here.

Revision 1.195.2.9: download - view: text, markup, annotated - select for diffs
Fri May 14 19:28:16 2010 UTC (20 months, 3 weeks ago) by dougb
Branches: RELENG_8
Diff to: previous 1.195.2.8: preferred, colored; branchpoint 1.195: preferred, colored
Changes since revision 1.195.2.8: +5 -5 lines
SVN rev 208094 on 2010-05-14 19:28:16Z by dougb

MFC 208060:

Remove trailing white space. No functional changes.

Revision 1.209: download - view: text, markup, annotated - select for diffs
Fri May 14 04:53:57 2010 UTC (20 months, 4 weeks ago) by dougb
Branches: MAIN
Diff to: previous 1.208: preferred, colored
Changes since revision 1.208: +5 -5 lines
SVN rev 208060 on 2010-05-14 04:53:57Z by dougb

Remove trailing white space. No functional changes.

Revision 1.208: download - view: text, markup, annotated - select for diffs
Tue May 4 01:46:58 2010 UTC (21 months, 1 week ago) by dougb
Branches: MAIN
Diff to: previous 1.207: preferred, colored
Changes since revision 1.207: +2 -0 lines
SVN rev 207592 on 2010-05-04 01:46:58Z by dougb

Make address assignment via ipv6_prefix_IF work again

Revision 1.207: download - view: text, markup, annotated - select for diffs
Fri Apr 9 01:35:09 2010 UTC (22 months ago) by dougb
Branches: MAIN
Diff to: previous 1.206: preferred, colored
Changes since revision 1.206: +78 -121 lines
SVN rev 206408 on 2010-04-09 01:35:09Z by dougb

Improve the handling of IPv6 configuration in rc.d. The ipv6_enable
and ipv6_ifconfig_<interface> options have already been deprecated,
these changes do not alter that.

With these changes any value set for ipv6_enable will emit a
warning. In order to avoid a POLA violation for the deprecation
of the option ipv6_enable=NO will still disable configuration
for all interfaces other than lo0. ipv6_enable=YES will not have
any effect, but will emit an additional warning. Support and
warnings for this option will be removed in FreeBSD 10.x.

Consistent with the current code, in order for IPv6 to be configured
on an interface (other than lo0) an ifconfig_<interface>_ipv6
option will have to be added to /etc/rc.conf[.local].

1. Clean up and minor optimizations for the following functions:
ifconfig_up (the ipv6 elements)
ipv6if
ipv6_autoconfif
get_if_var
_ifconfig_getargs
The cleanups generally were to move the "easy" tests earlier in the
functions, and consolidate duplicate code.

2. Stop overloading ipv6_prefer with the ability to disable IPv6
configuration.

3. Remove noafif() which was only ever called from ipv6_autoconfif.
Instead, simplify and integrate the tests into that function, and
convert the test to use is_wired_interface() instead of listing
wireless interfaces explicitly.

4. Integrate backwards compatibility for ipv6_ifconfig_<interface>
into _ifconfig_getargs. This dramatically simplifies the code in
all of the callers, and avoids a lot of other code duplication.

5. In rc.d/netoptions, add code for an ipv6_privacy option to use
RFC 4193 style pseudo-random addresses (this is what windows does
by default, FYI).

6. Add support for the [NO]RTADV options in ifconfig_getargs() and
ipv6_autoconfif(). In the latter, include support for the explicit
addition of [-]accept_rtadv in ifconfig_<interface>_ipv6 as is done
in the current code.

7. In rc.d/netif add a warning if $ipv6_enable is set, and remove
the set_rcvar_obsolete for it. Also remove the latter from
rc.d/ip6addrctl.

8. In /etc/defaults/rc.conf:

Add an example for RTADV configuration.

Set ipv6_network_interfaces to AUTO.

Switch ipv6_prefer to YES. If ipv6_enable is not set this will have
no effect.

Add a default for ipv6_privacy (NO).

9. Document all of this in rc.conf.5.

Revision 1.195.2.8: download - view: text, markup, annotated - select for diffs
Sat Feb 27 18:19:13 2010 UTC (23 months, 1 week ago) by ume
Branches: RELENG_8
Diff to: previous 1.195.2.7: preferred, colored; branchpoint 1.195: preferred, colored
Changes since revision 1.195.2.7: +3 -1 lines
SVN rev 204421 on 2010-02-27 18:19:13Z by ume

MFC r203433:

Add rc.d script for the rtsold(8) daemon.

The rtsol(8) handles just one RA then exit.  So, the OtherConfig flag
may not be handled well by rtsol(8) in the environment where there are
multiple RA servers on the segment.  In such case, rtsold(8) will be
your friend.

Revision 1.180.2.6.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (23 months, 4 weeks ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.180.2.6: preferred, colored; next MAIN 1.180.2.7: preferred, colored
Changes since revision 1.180.2.6: +0 -0 lines
SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)

Revision 1.206: download - view: text, markup, annotated - select for diffs
Wed Feb 3 16:18:42 2010 UTC (2 years ago) by ume
Branches: MAIN
Diff to: previous 1.205: preferred, colored
Changes since revision 1.205: +3 -1 lines
SVN rev 203433 on 2010-02-03 16:18:42Z by ume

Add rc.d script for the rtsold(8) daemon.

The rtsol(8) handles just one RA then exit.  So, the OtherConfig flag
may not be handled well by rtsol(8) in the environment where there are
multiple RA servers on the segment.  In such case, rtsold(8) will be
your friend.

Reviewed by:	hrs
MFC after:	2 weeks

Revision 1.180.2.6: download - view: text, markup, annotated - select for diffs
Tue Jan 12 20:06:04 2010 UTC (2 years ago) by jhb
Branches: RELENG_7
CVS tags: RELENG_7_3_BP
Branch point for: RELENG_7_3
Diff to: previous 1.180.2.5: preferred, colored; branchpoint 1.180: preferred, colored
Changes since revision 1.180.2.5: +106 -0 lines
SVN rev 202169 on 2010-01-12 20:06:04Z by jhb

MFC 201215:
Add support for configuring vlan(4) interfaces as child devices similar to
wlan(4) interfaces.  vlan(4) interfaces are listed via a new 'vlans_<IF>'
variable.  If a vlan interface is a number, then that number is treated as
the vlan tag for the interface and the interface will be named '<IF>.<tag>'.
Otherwise, the vlan tag must be provided via a vlan parameter in a
'create_args_<vlan>' variable.

While I'm here, fix a few nits in rc.conf(5) and mention create_args_<IF> in
the description of cloned_interfaces.

The changes for 7.x are a bit larger as they introduce childif_create() and
childif_destroy() and move ifn_start() and ifn_stop() from rc.d/netif to
network.subr.

Revision 1.195.2.7: download - view: text, markup, annotated - select for diffs
Tue Jan 12 19:55:07 2010 UTC (2 years ago) by jhb
Branches: RELENG_8
Diff to: previous 1.195.2.6: preferred, colored; branchpoint 1.195: preferred, colored
Changes since revision 1.195.2.6: +52 -4 lines
SVN rev 202167 on 2010-01-12 19:55:07Z by jhb

MFC 201215:
Add support for configuring vlan(4) interfaces as child devices similar to
wlan(4) interfaces.  vlan(4) interfaces are listed via a new 'vlans_<IF>'
variable.  If a vlan interface is a number, then that number is treated as
the vlan tag for the interface and the interface will be named '<IF>.<tag>'.
Otherwise, the vlan tag must be provided via a vlan parameter in a
'create_args_<vlan>' variable.

While I'm here, fix a few nits in rc.conf(5) and mention create_args_<IF> in
the description of cloned_interfaces.

Revision 1.195.2.6: download - view: text, markup, annotated - select for diffs
Mon Jan 4 19:27:17 2010 UTC (2 years, 1 month ago) by jhb
Branches: RELENG_8
Diff to: previous 1.195.2.5: preferred, colored; branchpoint 1.195: preferred, colored
Changes since revision 1.195.2.5: +1 -1 lines
SVN rev 201528 on 2010-01-04 19:27:17Z by jhb

MFC 201216:
Remove a trailing reference to the obsolete vaps_<IF> variable.

Revision 1.180.2.5: download - view: text, markup, annotated - select for diffs
Tue Dec 29 21:19:52 2009 UTC (2 years, 1 month ago) by jhb
Branches: RELENG_7
Diff to: previous 1.180.2.4: preferred, colored; branchpoint 1.180: preferred, colored
Changes since revision 1.180.2.4: +1 -1 lines
SVN rev 201218 on 2009-12-29 21:19:52Z by jhb

Partial MFC of 178527:
Add support for create_args_<IF> to interfaces created via
cloned_interfaces.

Revision 1.205: download - view: text, markup, annotated - select for diffs
Tue Dec 29 21:06:49 2009 UTC (2 years, 1 month ago) by jhb
Branches: MAIN
Diff to: previous 1.204: preferred, colored
Changes since revision 1.204: +1 -1 lines
SVN rev 201216 on 2009-12-29 21:06:49Z by jhb

Remove a trailing reference to the obsolete vaps_<IF> variable.

Reviewed by:	brooks
MFC after:	3 days

Revision 1.204: download - view: text, markup, annotated - select for diffs
Tue Dec 29 21:03:36 2009 UTC (2 years, 1 month ago) by jhb
Branches: MAIN
Diff to: previous 1.203: preferred, colored
Changes since revision 1.203: +48 -2 lines
SVN rev 201215 on 2009-12-29 21:03:36Z by jhb

Add support for configuring vlan(4) interfaces as child devices similar to
wlan(4) interfaces.  vlan(4) interfaces are listed via a new 'vlans_<IF>'
variable.  If a vlan interface is a number, then that number is treated as
the vlan tag for the interface and the interface will be named '<IF>.<tag>'.
Otherwise, the vlan tag must be provided via a vlan parameter in a
'create_args_<vlan>' variable.

While I'm here, fix a few nits in rc.conf(5) and mention create_args_<IF> in
the description of cloned_interfaces.

Reviewed by:	brooks
MFC after:	2 weeks

Revision 1.195.2.5: download - view: text, markup, annotated - select for diffs
Mon Dec 7 07:41:29 2009 UTC (2 years, 2 months ago) by hrs
Branches: RELENG_8
Diff to: previous 1.195.2.4: preferred, colored; branchpoint 1.195: preferred, colored
Changes since revision 1.195.2.4: +31 -0 lines
SVN rev 200209 on 2009-12-07 07:41:29Z by hrs

MFC:

r197139
- Add afexists() to check if the specified address family exists
  on the system or not.

r197697
- Add AF_IPX and AF_NATM to afexists().

Revision 1.195.2.4.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:10:29 2009 UTC (2 years, 3 months ago) by kensmith
Branches: RELENG_8_0
CVS tags: RELENG_8_0_0_RELEASE
Diff to: previous 1.195.2.4: preferred, colored; next MAIN 1.195.2.5: preferred, colored
Changes since revision 1.195.2.4: +0 -0 lines
SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)

Revision 1.203: download - view: text, markup, annotated - select for diffs
Fri Oct 2 02:24:25 2009 UTC (2 years, 4 months ago) by hrs
Branches: MAIN
Diff to: previous 1.202: preferred, colored
Changes since revision 1.202: +10 -0 lines
SVN rev 197697 on 2009-10-02 02:24:25Z by hrs

- Add AF_IPX and AF_NATM to afexists().

- Add afexists() check to address family specific rc.d scripts.  A
  script for an AF will be silently ignored if the kernel has no
  support for the AF.

Revision 1.202: download - view: text, markup, annotated - select for diffs
Sat Sep 26 18:59:00 2009 UTC (2 years, 4 months ago) by hrs
Branches: MAIN
Diff to: previous 1.201: preferred, colored
Changes since revision 1.201: +58 -12 lines
SVN rev 197526 on 2009-09-26 18:59:00Z by hrs

Fix several logic bugs in the previous IPv6 variable change and
re-add $ipv6_enable support for backward compatibility.  From
UPDATING:

 1. To use IPv6, simply define $ifconfig_IF_ipv6 like $ifconfig_IF
    for IPv4.  For aliases, $ifconfig_IF_aliasN should be used.
    Note that both variables need the "inet6" keyword at the head.

    Do not set $ipv6_network_interfaces manually if you do not
    understand what you are doing.  It is not needed in most cases.

    $ipv6_ifconfig_IF and $ipv6_ifconfig_IF_aliasN still work, but
    they are obsolete.

 2. $ipv6_enable is obsolete.  Use $ipv6_prefer and/or
    "inet6 accept_rtadv" keyword in ifconfig(8) instead.

    If you define $ipv6_enable=YES, it means $ipv6_prefer=YES and
    all configured interfaces have "inet6 accept_rtadv" in the
    $ifconfig_IF_ipv6.  These are for backward compatibility.

 3. A new variable $ipv6_prefer has been added.  If NO, IPv6
    functionality of interfaces with no corresponding
    $ifconfig_IF_ipv6 is disabled by using "inet6 ifdisabled" flag,
    and the default address selection policy of ip6addrctl(8)
    is the IPv4-preferred one (see rc.d/ip6addrctl for more details).
    Note that if you want to configure IPv6 functionality on the
    disabled interfaces after boot, first you need to clear the flag by
    using ifconfig(8) like:

         ifconfig em0 inet6 -ifdisabled

    If YES, the default address selection policy is set as
    IPv6-preferred.

    The default value of $ipv6_prefer is NO.

 4. If your system need to receive Router Advertisement messages,
    define "inet6 accept_rtadv" in $ifconfig_IF_ipv6.  The rc(8)
    scripts automatically invoke rtsol(8) when the interface becomes
    UP.  The Router Advertisement messages are used for SLAAC
    (State-Less Address AutoConfiguration).

Revision 1.201: download - view: text, markup, annotated - select for diffs
Sat Sep 12 23:01:36 2009 UTC (2 years, 4 months ago) by hrs
Branches: MAIN
Diff to: previous 1.200: preferred, colored
Changes since revision 1.200: +64 -42 lines
SVN rev 197147 on 2009-09-12 23:01:36Z by hrs

Add missing comments and whitespace clean-ups.

Revision 1.200: download - view: text, markup, annotated - select for diffs
Sat Sep 12 22:13:41 2009 UTC (2 years, 4 months ago) by hrs
Branches: MAIN
Diff to: previous 1.199: preferred, colored
Changes since revision 1.199: +520 -325 lines
SVN rev 197139 on 2009-09-12 22:13:41Z by hrs

Integrate rc.d/network_ipv6 into rc.d/netif:

- Add rc.d/stf and rc.d/faith for stf(4) and faith(4).
- Remove rc.d/auto_linklocal and rc.d/network_ipv6.
- Move rc.d/sysctl to just before FILESYSTEMS because rc.d/netif
  depends on some sysctl variables.

Reviewed by:	brooks
MFC after:	3 days

Revision 1.164.2.11: download - view: text, markup, annotated - select for diffs
Sat Aug 29 19:49:17 2009 UTC (2 years, 5 months ago) by dougb
Branches: RELENG_6
Diff to: previous 1.164.2.10: preferred, colored; branchpoint 1.164: preferred, colored
Changes since revision 1.164.2.10: +7 -0 lines
SVN rev 196647 on 2009-08-29 19:49:17Z by dougb

MFC 196478:
Prior to the dire warning about values of network_interfaces other than
AUTO the biggest mistake users made was leaving lo0 off the list. Since
lo0 is effectively mandatory, check for it and add it to the list if
it's not there.

MFC 196523:
Improve the case test to detect the presence of lo0 in the list of
network_interfaces.
Submitted by:	Christoph Mallon <christoph.mallon@gmx.de>

Revision 1.180.2.4: download - view: text, markup, annotated - select for diffs
Sat Aug 29 19:47:39 2009 UTC (2 years, 5 months ago) by dougb
Branches: RELENG_7
Diff to: previous 1.180.2.3: preferred, colored; branchpoint 1.180: preferred, colored
Changes since revision 1.180.2.3: +7 -0 lines
SVN rev 196646 on 2009-08-29 19:47:39Z by dougb

MFC 196478:
Prior to the dire warning about values of network_interfaces other than
AUTO the biggest mistake users made was leaving lo0 off the list. Since
lo0 is effectively mandatory, check for it and add it to the list if
it's not there.

MFC 196523:
Improve the case test to detect the presence of lo0 in the list of
network_interfaces.
Submitted by:	Christoph Mallon <christoph.mallon@gmx.de>

Revision 1.195.2.4: download - view: text, markup, annotated - select for diffs
Sat Aug 29 19:45:03 2009 UTC (2 years, 5 months ago) by dougb
Branches: RELENG_8
CVS tags: RELENG_8_0_BP
Branch point for: RELENG_8_0
Diff to: previous 1.195.2.3: preferred, colored; branchpoint 1.195: preferred, colored
Changes since revision 1.195.2.3: +7 -0 lines
SVN rev 196645 on 2009-08-29 19:45:03Z by dougb

MFC 196478:

Prior to the dire warning about values of network_interfaces other than
AUTO the biggest mistake users made was leaving lo0 off the list. Since
lo0 is effectively mandatory, check for it and add it to the list if
it's not there.

MFC 196523:
Improve the case test to detect the presence of lo0 in the list of
network_interfaces.
Submitted by:	Christoph Mallon <christoph.mallon@gmx.de>

Approved by:	re (kib)

Revision 1.195.2.3: download - view: text, markup, annotated - select for diffs
Thu Aug 27 17:53:25 2009 UTC (2 years, 5 months ago) by dougb
Branches: RELENG_8
Diff to: previous 1.195.2.2: preferred, colored; branchpoint 1.195: preferred, colored
Changes since revision 1.195.2.2: +2 -2 lines
SVN rev 196604 on 2009-08-27 17:53:25Z by dougb

MFC 196589:

In the loop through the list of interfaces in network6_interface_setup()
rtsol_interface gets reset to "yes" each time through the loop, but
rtsol_available does not. If a user has lo0 first in their list of
interfaces rtsol_available will get set to "no" the first time through
the loop and subsequent interfaces will not get rtsol'ed when they should.

Therefore change the conditional for the is_wired() test to _interface.

Approved by:	re (kib)

Revision 1.199: download - view: text, markup, annotated - select for diffs
Thu Aug 27 15:24:26 2009 UTC (2 years, 5 months ago) by dougb
Branches: MAIN
Diff to: previous 1.198: preferred, colored
Changes since revision 1.198: +2 -2 lines
SVN rev 196589 on 2009-08-27 15:24:26Z by dougb

In the loop through the list of interfaces in network6_interface_setup()
rtsol_interface gets reset to "yes" each time through the loop, but
rtsol_available does not. If a user has lo0 first in their list of
interfaces rtsol_available will get set to "no" the first time through
the loop and subsequent interfaces will not get rtsol'ed when they should.

Therefore change the conditional for the is_wired() test to _interface.

Noticed by:	Dimitry Andric <dimitry@andric.com>

Revision 1.195.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 26 21:08:41 2009 UTC (2 years, 5 months ago) by dougb
Branches: RELENG_8
Diff to: previous 1.195.2.1: preferred, colored; branchpoint 1.195: preferred, colored
Changes since revision 1.195.2.1: +19 -3 lines
SVN rev 196566 on 2009-08-26 21:08:41Z by dougb

MFC 196436;

Move is_wired_interface() from rc.d/wpa_supplicant into network.subr,
simplify it a bit, and make use of that method to determine if an
interface is a candidate for IPv6 rtsol rather than listing all of the
possible wireless interfaces that should _not_ get rtsol'ed.

This change is only relevant for 8.0+ unless the "wlan mandatory" code
gets ported back to RELENG_7.

Approved by:	re (kib)

Revision 1.198: download - view: text, markup, annotated - select for diffs
Mon Aug 24 22:05:08 2009 UTC (2 years, 5 months ago) by dougb
Branches: MAIN
Diff to: previous 1.197: preferred, colored
Changes since revision 1.197: +1 -1 lines
SVN rev 196523 on 2009-08-24 22:05:08Z by dougb

Improve the case test to detect the presence of lo0 in the list of
network_interfaces.

Submitted by:	Christoph Mallon <christoph.mallon@gmx.de>

Revision 1.197: download - view: text, markup, annotated - select for diffs
Sun Aug 23 19:52:47 2009 UTC (2 years, 5 months ago) by dougb
Branches: MAIN
Diff to: previous 1.196: preferred, colored
Changes since revision 1.196: +7 -0 lines
SVN rev 196478 on 2009-08-23 19:52:47Z by dougb

Prior to the dire warning about values of network_interfaces other than
AUTO the biggest mistake users made was leaving lo0 off the list. Since
lo0 is effectively mandatory, check for it and add it to the list if
it's not there.

Revision 1.196: download - view: text, markup, annotated - select for diffs
Sun Aug 23 05:47:19 2009 UTC (2 years, 5 months ago) by dougb
Branches: MAIN
Diff to: previous 1.195: preferred, colored
Changes since revision 1.195: +19 -3 lines
SVN rev 196436 on 2009-08-23 05:47:19Z by dougb

Move is_wired_interface() from rc.d/wpa_supplicant into network.subr,
simplify it a bit, and make use of that method to determine if an
interface is a candidate for IPv6 rtsol rather than listing all of the
possible wireless interfaces that should _not_ get rtsol'ed.

This change is only relevant for 8.0+ unless the "wlan mandatory" code
gets ported back to RELENG_7.

Revision 1.195.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 08:13:06 2009 UTC (2 years, 6 months ago) by kensmith
Branches: RELENG_8
Diff to: previous 1.195: preferred, colored
Changes since revision 1.195: +0 -0 lines
SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)

Revision 1.195: download - view: text, markup, annotated - select for diffs
Fri Jun 26 01:27:16 2009 UTC (2 years, 7 months ago) by dougb
Branches: MAIN
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.194: preferred, colored
Changes since revision 1.194: +3 -0 lines
SVN rev 195029 on 2009-06-26 01:27:16Z by dougb

rtsol should not be run on the wireless NIC interfaces directly,
it will run on wlan0 instead.

Revision 1.194: download - view: text, markup, annotated - select for diffs
Mon Jun 1 05:37:13 2009 UTC (2 years, 8 months ago) by dougb
Branches: MAIN
Diff to: previous 1.193: preferred, colored
Changes since revision 1.193: +0 -4 lines
SVN rev 193199 on 2009-06-01 05:37:13Z by dougb

Eliminate the warning that "Values of network_interfaces other than
AUTO are deprecated.' There is no good reason to deprecate them, and
setting this to different values can be useful for custom solutions
and/or one-off configuration problems.

Revision 1.180.2.3.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:14:26 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.180.2.3: preferred, colored; next MAIN 1.180.2.4: preferred, colored
Changes since revision 1.180.2.3: +0 -0 lines
SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)

Revision 1.193: download - view: text, markup, annotated - select for diffs
Fri Mar 13 07:12:25 2009 UTC (2 years, 10 months ago) by brooks
Branches: MAIN
Diff to: previous 1.192: preferred, colored
Changes since revision 1.192: +9 -1 lines
SVN rev 189759 on 2009-03-13 07:12:25Z by brooks

Add support for setting the debug flags on wlan interfaces after the are
created using wlandebug_<ifn> variables.

Revision 1.192: download - view: text, markup, annotated - select for diffs
Wed Feb 4 18:20:27 2009 UTC (3 years ago) by thompsa
Branches: MAIN
Diff to: previous 1.191: preferred, colored
Changes since revision 1.191: +3 -1 lines
SVN rev 188118 on 2009-02-04 18:20:27Z by thompsa

Check for NOAUTO on child interfaces (eg wlanX) so they can be created via
rc.conf but not necessarily started.

Revision 1.180.2.3.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.180.2.3: preferred, colored; next MAIN 1.180.2.4: preferred, colored
Changes since revision 1.180.2.3: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)

Revision 1.164.2.10.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 2 02:57:24 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6_4
CVS tags: RELENG_6_4_0_RELEASE
Diff to: previous 1.164.2.10: preferred, colored; next MAIN 1.164.2.11: preferred, colored
Changes since revision 1.164.2.10: +0 -0 lines
SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)

Revision 1.191: download - view: text, markup, annotated - select for diffs
Wed Oct 1 18:46:46 2008 UTC (3 years, 4 months ago) by brooks
Branches: MAIN
Diff to: previous 1.190: preferred, colored
Changes since revision 1.190: +1 -7 lines
SVN rev 183517 on 2008-10-01 18:46:46Z by brooks

Remove compat support for vaps_<ifn> and vap_create_<ifn> variables as
promised in r178527.  These variables were never in a release version.

Reminded by:	sam

Revision 1.190: download - view: text, markup, annotated - select for diffs
Mon Jun 23 20:50:11 2008 UTC (3 years, 7 months ago) by mtm
Branches: MAIN
Diff to: previous 1.189: preferred, colored
Changes since revision 1.189: +0 -8 lines
SVN rev 179961 on 2008-06-23 20:50:11Z by mtm

Implement a "quiet" mode for rc.d/netif, which only outputs
the interface name of interfaces that were configured.

This change has the added benefit that ifn_start() and
ifn_stop() in network.subr no longer write to standard output.
Whether to output and what to output is now handled entirely
in rc.d/netif.

Revision 1.164.2.10: download - view: text, markup, annotated - select for diffs
Tue Jun 3 06:02:27 2008 UTC (3 years, 8 months ago) by dougb
Branches: RELENG_6
CVS tags: RELENG_6_4_BP
Branch point for: RELENG_6_4
Diff to: previous 1.164.2.9: preferred, colored; branchpoint 1.164: preferred, colored
Changes since revision 1.164.2.9: +1 -1 lines
SVN rev 179509 on 2008-06-03 06:02:27Z by dougb

MFC the change from version 1.189, add a space between a
close quote and the closing bracket of a test.

Revision 1.180.2.3: download - view: text, markup, annotated - select for diffs
Tue Jun 3 06:01:30 2008 UTC (3 years, 8 months ago) by dougb
Branches: RELENG_7
CVS tags: RELENG_7_2_BP, RELENG_7_1_BP
Branch point for: RELENG_7_2, RELENG_7_1
Diff to: previous 1.180.2.2: preferred, colored; branchpoint 1.180: preferred, colored
Changes since revision 1.180.2.2: +1 -1 lines
SVN rev 179508 on 2008-06-03 06:01:30Z by dougb

MFC the change from version 1.189, add a space between a
close quote and the closing bracket of a test.

Revision 1.189: download - view: text, markup, annotated - select for diffs
Mon May 26 10:10:11 2008 UTC (3 years, 8 months ago) by dougb
Branches: MAIN
Diff to: previous 1.188: preferred, colored
Changes since revision 1.188: +1 -1 lines
Add a missing space between a variable and the ] for a test

Revision 1.188: download - view: text, markup, annotated - select for diffs
Thu May 15 01:06:09 2008 UTC (3 years, 8 months ago) by brooks
Branches: MAIN
Diff to: previous 1.187: preferred, colored
Changes since revision 1.187: +23 -0 lines
Change the default value of synchronous_dhclient to NO.

To preserve the existing behavior of etc/rc.d/netif, add code to wait
up to if_up_delay seconds (30 seconds by default) for a default route to
be configured if there are any dhcp interfaces.  This should be extended
to test that the interface is actually up.

X-MFC after:

Revision 1.187: download - view: text, markup, annotated - select for diffs
Thu May 15 00:08:02 2008 UTC (3 years, 8 months ago) by brooks
Branches: MAIN
Diff to: previous 1.186: preferred, colored
Changes since revision 1.186: +1 -1 lines
Fix last commit and call childif_destroy() correctly.

Revision 1.186: download - view: text, markup, annotated - select for diffs
Wed May 14 23:53:39 2008 UTC (3 years, 8 months ago) by brooks
Branches: MAIN
Diff to: previous 1.185: preferred, colored
Changes since revision 1.185: +3 -3 lines
Don't print the interface status if we only create child or destroy
interfaces.

Correctly return status from childif_create().

Revision 1.164.2.9: download - view: text, markup, annotated - select for diffs
Sun May 4 16:15:04 2008 UTC (3 years, 9 months ago) by brooks
Branches: RELENG_6
Diff to: previous 1.164.2.8: preferred, colored; branchpoint 1.164: preferred, colored
Changes since revision 1.164.2.8: +4 -0 lines
MFC: Emit a warning when the network_interfaces variable is not set to AUTO.

Revision 1.180.2.2: download - view: text, markup, annotated - select for diffs
Sun May 4 16:14:24 2008 UTC (3 years, 9 months ago) by brooks
Branches: RELENG_7
Diff to: previous 1.180.2.1: preferred, colored; branchpoint 1.180: preferred, colored
Changes since revision 1.180.2.1: +4 -0 lines
MFC: Emit a warning when the network_interfaces variable is not set to AUTO.

Revision 1.185: download - view: text, markup, annotated - select for diffs
Wed Apr 30 16:29:15 2008 UTC (3 years, 9 months ago) by brooks
Branches: MAIN
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +4 -0 lines
Emit a warning when the network_interfaces variable is not set to AUTO.

MFC after:	3 days

Revision 1.184: download - view: text, markup, annotated - select for diffs
Fri Apr 25 23:50:49 2008 UTC (3 years, 9 months ago) by brooks
Branches: MAIN
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +16 -9 lines
Replace the prototype vaps_<ifn> and vap_create_<ifn> variables with
more wlans_<ifn> and create_args_<ifn>

Add documentation for these variants and generally update the wireless
device example.

There is are very short lived shim from vaps_<ifn> which produces
a warning and vap_create_<ifn> which does not.  Misuse the MFC
notification service to remind me to remove them.

MFC after:	3 weeks

Revision 1.183: download - view: text, markup, annotated - select for diffs
Sun Apr 20 20:37:20 2008 UTC (3 years, 9 months ago) by sam
Branches: MAIN
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +89 -1 lines
rc support for vaps

Revision 1.182: download - view: text, markup, annotated - select for diffs
Fri Mar 28 06:50:06 2008 UTC (3 years, 10 months ago) by brooks
Branches: MAIN
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +6 -9 lines
Support gif_interface values that don't follow the pattern gif###.
Remove ancient compatablity support for gif_interface="NO".

Revision 1.180.2.1: download - view: text, markup, annotated - select for diffs
Thu Nov 8 05:52:23 2007 UTC (4 years, 3 months ago) by thompsa
Branches: RELENG_7
CVS tags: RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +0 -3 lines
MFC network.subr r1.181, driver_freebsd.c r1.15

  Change wpa_supplicant to down the interface at the start of the init routine.
  wpa_supplicant expects that it has exclusive access to the net80211 state so
  when its starts poking in the WEP/WPA settings and the card is already
  scanning it can cause net80211 to try and associate incorrectly with a
  protected AP.

  This is an inconvenience for firmware based cards such as iwi where it can be
  sent an auth instruction with incomplete security info and cause a firmware
  error.

  Remove the 'ifconfig up' from network.subr since wpa_supplicant will
  immediately down the interface again.

Approved by:	re (gnn)

Revision 1.181: download - view: text, markup, annotated - select for diffs
Mon Nov 5 06:13:06 2007 UTC (4 years, 3 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +0 -3 lines
Change wpa_supplicant to down the interface at the start of the init routine.
wpa_supplicant expects that it has exclusive access to the net80211 state so
when its starts poking in the WEP/WPA settings and the card is already
scanning it can cause net80211 to try and associate incorrectly with a
protected AP.

This is an inconvenience for firmware based cards such as iwi where it can be
sent an auth instruction with incomplete security info and cause a firmware
error.

Remove the 'ifconfig up' from network.subr since wpa_supplicant will
immediately down the interface again.

Reported by:	Guy Helmer (and others)
Reviewed by:	sam, brooks, avatar
MFC after:	3 days

Revision 1.164.2.8: download - view: text, markup, annotated - select for diffs
Wed Oct 31 01:36:06 2007 UTC (4 years, 3 months ago) by thompsa
Branches: RELENG_6
CVS tags: RELENG_6_3_BP, RELENG_6_3_0_RELEASE, RELENG_6_3
Diff to: previous 1.164.2.7: preferred, colored; branchpoint 1.164: preferred, colored
Changes since revision 1.164.2.7: +1 -1 lines
MFC r1.180
 Do not attempt to load the kernel module when checking if an interface exists.

Revision 1.180: download - view: text, markup, annotated - select for diffs
Wed May 23 00:18:44 2007 UTC (4 years, 8 months ago) by thompsa
Branches: MAIN
CVS tags: RELENG_7_BP
Branch point for: RELENG_7
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +1 -1 lines
Do not attempt to load the kernel module when checking if an interface exists.

This would cause pseudo network modules to be reloaded again when trying to
unload the first time if any cloned interfaces exist.

MFC after:	2 weeks

Revision 1.179: download - view: text, markup, annotated - select for diffs
Thu Mar 29 21:42:19 2007 UTC (4 years, 10 months ago) by ache
Branches: MAIN
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +1 -1 lines
Back out network.subr :- fix and comment out dhc*_fxp0 examples instead

Submitted by:   jhb

Revision 1.178: download - view: text, markup, annotated - select for diffs
Thu Mar 29 10:55:33 2007 UTC (4 years, 10 months ago) by ache
Branches: MAIN
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +1 -1 lines
Fix get_if_var() with 3 args (i.e. with default)

All xxx_<ifname> flags are set to empty strings automatically earlier so
eval echo \${${prefix}${_if}${suffix}-${_default}}
not substitute the default but return just the empty string.
Fix it using
eval echo \${${prefix}${_if}${suffix}:-${_default}}
(i.e. treat empty strings as unset)

The bug manifistates itself with the following warning from checkyesno():
/etc/rc.d/dhclient: WARNING: $background_dhclient is not set properly -
see rc.conf(5)

Revision 1.177: download - view: text, markup, annotated - select for diffs
Fri Feb 9 12:11:26 2007 UTC (5 years ago) by flz
Branches: MAIN
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +73 -10 lines
Add support for EtherChannel configuration to rc startup scripts.

Note: This also deprecates "NO" as a way to specify an empty list of
interfaces for gif_interfaces.

PR:		conf/104884
Submitted by:	nork
Harassed by:	brd
Discussed with:	brooks, dougb

Revision 1.164.2.7: download - view: text, markup, annotated - select for diffs
Mon Nov 6 16:46:06 2006 UTC (5 years, 3 months ago) by mlaier
Branches: RELENG_6
CVS tags: RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2
Diff to: previous 1.164.2.6: preferred, colored; branchpoint 1.164: preferred, colored
Changes since revision 1.164.2.6: +1 -1 lines
MFC network.subr, 1.176:
  Do not try to rtsol on pflog or pfsync devices.

Approved by:	re (bmah)

Revision 1.176: download - view: text, markup, annotated - select for diffs
Sun Oct 29 13:29:49 2006 UTC (5 years, 3 months ago) by mlaier
Branches: MAIN
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +1 -1 lines
Do not try to rtsol on pflog or pfsync devices.

Revision 1.164.2.6: download - view: text, markup, annotated - select for diffs
Tue Oct 10 12:41:05 2006 UTC (5 years, 4 months ago) by ume
Branches: RELENG_6
Diff to: previous 1.164.2.5: preferred, colored; branchpoint 1.164: preferred, colored
Changes since revision 1.164.2.5: +0 -4 lines
MFC: Restore the behavior that net.inet6.ip6.auto_linklocal=0 could
be coexist with ipv6_enable="YES".

	etc/network.subr:		1.175
	etc/rc.d/Makefile:		1.77
	etc/rc.d/auto_linklocal:	1.1

Approved by:	re (hrs)

Revision 1.175: download - view: text, markup, annotated - select for diffs
Sat Oct 7 15:45:56 2006 UTC (5 years, 4 months ago) by ume
Branches: MAIN
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +0 -4 lines
Restore the behavior that net.inet6.ip6.auto_linklocal=0 could
be coexist with ipv6_enable="YES".

MFC after:	3 days

Revision 1.164.2.5: download - view: text, markup, annotated - select for diffs
Thu Oct 5 14:59:52 2006 UTC (5 years, 4 months ago) by gnn
Branches: RELENG_6
Diff to: previous 1.164.2.4: preferred, colored; branchpoint 1.164: preferred, colored
Changes since revision 1.164.2.4: +4 -0 lines
MFC
Only automatically assign link local addresses if ipv6_enable is set to YES
in rc.conf

Reviewed by:	KAME core team, cperciva
Approved by:	re

Revision 1.174: download - view: text, markup, annotated - select for diffs
Mon Oct 2 10:13:29 2006 UTC (5 years, 4 months ago) by gnn
Branches: MAIN
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +4 -0 lines
Turn off automatic link local address if ipv6_enable is not set to YES
in rc.conf

Reviewed by:    KAME core team, cperciva
MFC after:      3 days

Revision 1.164.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 26 02:17:43 2006 UTC (5 years, 4 months ago) by brooks
Branches: RELENG_6
Diff to: previous 1.164.2.3: preferred, colored; branchpoint 1.164: preferred, colored
Changes since revision 1.164.2.3: +24 -0 lines
MFC

pccard_ether rev 1.51:
    Search the list of up interfaces provided by "ifconfig -ul" instead of
    greping for UP in "ifconfig $ifn".  This eliminates a dependancy on /usr.

pccard_ether rev 1.53 and network.subr rev 1.173:
  Introduce a new method ipv6if which attemptes to figure out if an
  interface is an IPv6 interface.

  Use this method to decide if we should attempt to configure an interface
  with an IPv6 address in pccard_ether.  The mechanism pccard_ether uses
  to do this is unsuited to the task because it assumes the list of
  interfaces it is passed is the full list of IPv6 interfaces and makes
  decissions based on that.  This is at least a step in the right
  direction and is probably about as much as we can MFC safely.

PR:		conf/103428
Approved by:	re (hrs)

Revision 1.173: download - view: text, markup, annotated - select for diffs
Thu Sep 21 01:44:52 2006 UTC (5 years, 4 months ago) by brooks
Branches: MAIN
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +24 -0 lines
Introduce a new method ipv6if which attemptes to figure out if an
interface is an IPv6 interface.

Use this method to decide if we should attempt to configure an interface
with an IPv6 address in pccard_ether.  The mechanism pccard_ether uses
to do this is unsuited to the task because it assumes the list of
interfaces it is passed is the full list of IPv6 interfaces and makes
decissions based on that.  This is at least a step in the right
direction and is probably about as much as we can MFC safely.

PR:		conf/103428
MFC after:	3 days

Revision 1.164.2.3: download - view: text, markup, annotated - select for diffs
Tue Aug 22 19:41:49 2006 UTC (5 years, 5 months ago) by brooks
Branches: RELENG_6
Diff to: previous 1.164.2.2: preferred, colored; branchpoint 1.164: preferred, colored
Changes since revision 1.164.2.2: +117 -45 lines
MFC: sync /etc/network.subr and /etc/pccard_ether and their defaults
with HEAD.  Key changes include:
 - Support a limited set of punctuation in interface names ".-/+" by
   converting them to '_' before looking up interface variables.
 - Don't flush routes by default when an interface is removed.
 - Don't generate unnecessicary noise on startup when interfaces are
   renamed.

PR:		  conf/92433

Revision 1.172: download - view: text, markup, annotated - select for diffs
Thu Aug 17 03:03:38 2006 UTC (5 years, 5 months ago) by brooks
Branches: MAIN
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +41 -26 lines
Introduce a new function, ifexists and use it to avoid attempting to
touch interfaces that don't actually exist in the stop case.  In the
process move some IPv4 specific code from ifconfig_down to ipv4_down.

This should solve problems with ifconfig: error messages on boot when
interfaces are renamed.

Revision 1.171: download - view: text, markup, annotated - select for diffs
Thu Apr 13 18:34:13 2006 UTC (5 years, 9 months ago) by brooks
Branches: MAIN
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +1 -1 lines
Spell synchronous with required silent 'h'.

Reported by:	ru, ceri
Pointy hat:	brooks

Revision 1.170: download - view: text, markup, annotated - select for diffs
Thu Apr 13 18:27:49 2006 UTC (5 years, 9 months ago) by brooks
Branches: MAIN
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +1 -1 lines
Add missing _ to $_punct.

Submitted by:	Dmitry Pryanishnikov <dmitry at atlantis.dp.ua>

Revision 1.169: download - view: text, markup, annotated - select for diffs
Thu Apr 13 06:50:45 2006 UTC (5 years, 9 months ago) by brooks
Branches: MAIN
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +79 -22 lines
Commit the various network interface configutation updates I've been
working on.
  1) Make it possible to configure interfaces with certain characters in
     their names that aren't valid in shell variables.  Currently supported
     characters are ".-/+".  They are converted into '_' characters.
  2) Replace nearly all eval statements in network.subr with a new
     function get_if_var which substitues an interface name (after the
     translations above) for "IF" in a variable name.
  3) Fix list_net_interfaces() in the nodhcp case.
  4) Allow the administrator to specify if dhclient should be started
     when /etc/rc.d/netif configures the interface or only by devd.
     This can be set on both a per interface and system wide basis.

PR:	conf/88974 [1,2], conf/92433 [1,2]

Revision 1.164.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 10 02:20:13 2005 UTC (6 years, 2 months ago) by brooks
Branches: RELENG_6
CVS tags: RELENG_6_1_BP, RELENG_6_1_0_RELEASE, RELENG_6_1
Diff to: previous 1.164.2.1: preferred, colored; branchpoint 1.164: preferred, colored
Changes since revision 1.164.2.1: +58 -0 lines
MFC the addition of the ipv4_addrs_<ifn> which allows the addition of
multiple aliases using ranges and CIDR notation.

Submitted by:	Philipp Wuensche <cryx dash freebsd at h3q dot com>

Revision 1.168: download - view: text, markup, annotated - select for diffs
Mon Nov 14 23:34:50 2005 UTC (6 years, 2 months ago) by brooks
Branches: MAIN
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +58 -0 lines
Add a new configuration variable, ipv4_addrs_<ifn>, which adds one or
more IPv4 address from a ranged list in CIRD notation:

ipv4_addrs_ed0="192.168.0.1/24 192.168.1.1-5/28"

In the process move alias processing into new ipv4_up/down functions to
more toward a less IPv4 centric world.

Submitted by:	Philipp Wuensche <cryx dash freebsd at h3q dot com>

Revision 1.164.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 10 17:05:03 2005 UTC (6 years, 5 months ago) by brooks
Branches: RELENG_6
CVS tags: RELENG_6_0_BP, RELENG_6_0_0_RELEASE, RELENG_6_0
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +43 -8 lines
Sync network interface startup code with HEAD.

etc/network.subr: 1.165-1.167
 - kill removable_interfaces
 - add NOAUTO keyword
 - fix quoted entries in ifconfig_<ifn> variables
 - always up the interface
 - if ifconfig_<ifn> is defined, but empty, don't set it to
   ifconfig_DEFAULT
 - always configure lo0 first if it exists
etc/pccard_ether: 1.46
 - kill removable_interfaces
 - add NOAUTO keyword
etc/rc.d/netif: 1.15-1.17
 - block Ctrl-C in dhclient
 - minor cleanup of the interface list generation code

Approved by:	re (scottl)
Requested by:	many (death to removable_interfaces!)

Revision 1.167: download - view: text, markup, annotated - select for diffs
Fri Sep 2 17:11:13 2005 UTC (6 years, 5 months ago) by brooks
Branches: MAIN
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +17 -7 lines
 - Alwasy explicitly bring the interface up before configuring it.
 - If an interface's ifconfig_<ifn> is set, but empty, don't set it to
   ifconfig_DEFAULT.  This way interfaces can be disabled even in the
   presence of ifconfig_DEFAULT.
 - When listing interfaces and network_interfaces=auto, place lo0 first
   if it's around.

Revision 1.166: download - view: text, markup, annotated - select for diffs
Fri Aug 26 04:06:17 2005 UTC (6 years, 5 months ago) by brooks
Branches: MAIN
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +1 -1 lines
Support ifconfig_<ifn> variables containing quoted variables with spaces
in them by wrapping the ifconfig command with eval "...".

For example, this allows:

ifconfig_iwi0="DHCP ssid 'foo bar baz'"

Revision 1.165: download - view: text, markup, annotated - select for diffs
Wed Aug 24 01:23:49 2005 UTC (6 years, 5 months ago) by brooks
Branches: MAIN
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +27 -2 lines
- Remove the removable_interfaces variable.  /etc/pccard_ether will
  now run on any interface.
- Add a new ifconfig_<ifn> keyword, NOAUTO which prevents configuration
  of an interface at boot or via /etc/pccard_ether.  This allows
  /etc/rc.d/netif to be used to start and stop an interface on a purely
  manual basis.  The decision to affect pccard_ether may be revisited at
  a later date.

Requested by:	imp, gallatin (removable_interfaces)
Discussed with:	sam, Randy Bush (NOAUTO)

Revision 1.164: download - view: text, markup, annotated - select for diffs
Thu Jun 30 05:02:34 2005 UTC (6 years, 7 months ago) by brooks
Branches: MAIN
CVS tags: RELENG_6_BP
Branch point for: RELENG_6
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +7 -34 lines
 - Remove the pccard_ifconfig variable in favor of a new
   ifconfig_DEFAULT variable.  Unlike pccard_ifconfig, ifconfig_DEFAULT
   applies to all interfaces that do not specify an ifconfig_<ifn>
   variable rather than just those listed in removable_interfaces.
 - Correct the list of interfaces when network_interfaces and
   removable_interfaces are both set by including removable_interfaces
   in the list of canidates.
 - When listing dhcp interfaces, include those with other ifconfig
   options so nat works.

Approved by:	re (network interface startup blanket)

Revision 1.163: download - view: text, markup, annotated - select for diffs
Thu Jun 30 04:52:47 2005 UTC (6 years, 7 months ago) by brooks
Branches: MAIN
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +2 -2 lines
Add support for starting wpa_supplicant by adding the WPA keyword to an
interface's ifconfig_<ifn> entry in /etc/rc.conf.

Approved by:	re (network interface startup blanket)

Revision 1.162: download - view: text, markup, annotated - select for diffs
Tue Jun 7 23:59:45 2005 UTC (6 years, 8 months ago) by brooks
Branches: MAIN
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +5 -4 lines
Fix return values of ifconfig_up/down.

Reported by:	Andrea Campi

Revision 1.161: download - view: text, markup, annotated - select for diffs
Tue Jun 7 04:49:11 2005 UTC (6 years, 8 months ago) by brooks
Branches: MAIN
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +107 -4 lines
Support code for the OpenBSD dhclient.  This significantly changes the
way interfaces are configured.  Some key points:

  - At startup, all interfaces are configured through /etc/rc.d/netif.
  - ifconfig_<if> variables my now mix real ifconfig commands the with
    DHCP and WPA directives.  For example, this allows media
    configuration prior to running dhclient.
  - /etc/rc.d/dhclient is not run at startup except by netif to start
    dhclient on specific interfaces.
  - /etc/pccard_ether calls "/etc/rc.d/netif start <if>" to do most of
    it's work.
  - /etc/pccard_ether no longer takes additional arguments to pass to
    ifconfig.  Instead, ifconfig_<if> variables are now honored in favor
    of pccard_ifconfig when available.
  - /etc/pccard_ether will only run on interfaces specified in
    removable_interfaces, even if pccard_ifconfig is set.

Revision 1.154.2.2: download - view: text, markup, annotated - select for diffs
Mon Dec 6 19:09:03 2004 UTC (7 years, 2 months ago) by rse
Branches: RELENG_5
CVS tags: RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5, RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4
Diff to: previous 1.154.2.1: preferred, colored; branchpoint 1.154: preferred, colored; next MAIN 1.155: preferred, colored
Changes since revision 1.154.2.1: +18 -1 lines
MFC: Allow to change network interface names during
boot time with "ifconfig_<old>_name=<new>" in rc.conf

Merged revisions:
  network.subr:     1.157-1.160
  defaults/rc.conf: 1.227
  rc.d/netif:       1.12

Revision 1.160: download - view: text, markup, annotated - select for diffs
Sun Dec 5 21:45:36 2004 UTC (7 years, 2 months ago) by pjd
Branches: MAIN
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +0 -4 lines
'all' argument for list_net_interfaces() is now unused, remove it.

Revision 1.159: download - view: text, markup, annotated - select for diffs
Sun Dec 5 09:51:48 2004 UTC (7 years, 2 months ago) by rse
Branches: MAIN
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +1 -1 lines
Use "ifconfig -l" instead of "list_network_interfaces all" in
ifnet_rename() to support situations where rc.conf's $network_interfaces
variable is set to an explicit list of network interfaces (instead of
the default "auto").

Using "list_network_interfaces all" resulted in using
$network_interfaces for both interface _renaming_ and interface
_configuration_ which obviously cannot work either before (if the
new name is in $network_interfaces) or after (if the old name is in
$network_interfaces) renaming the interface.

Revision 1.158: download - view: text, markup, annotated - select for diffs
Sun Dec 5 09:01:20 2004 UTC (7 years, 2 months ago) by rse
Branches: MAIN
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +1 -1 lines
fix typo: s/intefraces/interfaces/

Revision 1.157: download - view: text, markup, annotated - select for diffs
Sat Oct 30 13:44:05 2004 UTC (7 years, 3 months ago) by pjd
Branches: MAIN
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +21 -0 lines
Allow to change interfaces name on boot time.
Now, one should be able to put something like this into /etc/rc.conf:

	ifconfig_fxp0_name="net0"
	ifconfig_net0="inet 10.0.0.1/16"

Reviewed by:	green

Revision 1.154.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 9 11:46:07 2004 UTC (7 years, 5 months ago) by yar
Branches: RELENG_5
CVS tags: RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +5 -4 lines
MFC fixes of list_net_interfaces().

1.155:
	Fix a typo in a variable name.

1.156:
	Avoid double appearing of cloned interfaces in the output
	from list_net_interfaces() when network_interfaces=auto.

Approved by:	re (kensmith)

Revision 1.156: download - view: text, markup, annotated - select for diffs
Sat Aug 28 07:58:02 2004 UTC (7 years, 5 months ago) by yar
Branches: MAIN
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +4 -3 lines
Avoid double appearing of cloned interfaces in the output
from list_net_interfaces() when network_interfaces=auto.

Rationale: Since the auto case is special, the lesser evil
had to be chosen among not adding cloned interfaces to
_tmplist or removing duplicates from _tmplist after adding
cloned interfaces.  Since list_net_interfaces() must not use
/usr/bin tools, the former "evil" appeared clearer and much
more efficient.  (See the PR audit trail for discussion.)

PR:		conf/63700
Reviewed by:	brooks
MFC after:	5 days

Revision 1.155: download - view: text, markup, annotated - select for diffs
Fri Aug 27 12:11:47 2004 UTC (7 years, 5 months ago) by yar
Branches: MAIN
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +1 -1 lines
Fix a typo in a variable name.

Revision 1.154: download - view: text, markup, annotated - select for diffs
Sun Jun 6 11:46:27 2004 UTC (7 years, 8 months ago) by schweikh
Branches: MAIN
CVS tags: RELENG_5_BP
Branch point for: RELENG_5
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +1 -1 lines
Removed whitespace at BOF, EOL & EOF.

Revision 1.153: download - view: text, markup, annotated - select for diffs
Mon Aug 11 20:32:00 2003 UTC (8 years, 6 months ago) by mbr
Branches: MAIN
CVS tags: RELENG_5_2_BP, RELENG_5_2_1_RELEASE, RELENG_5_2_0_RELEASE, RELENG_5_2
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +18 -0 lines
Improve the handling dhcp handling of pccard_ether.

There are now many configurations which have a NIC on board, and
pccard slots. If a dhclient is running on the internal nic, the
Improve the handling dhcp handling of pccard_ether.

Improve the dhcp handling of pccard_ether.

There are now many configurations which have a NIC on board and
Improve the dhcp handling of pccard_ether.

There are now many configurations which have a NIC on board and
cardbus slots too. If a dhclient was already running on the internal
NIC, the user was forced to kill a running dhclient manually.

If now a pccard is included at startup time, /etc/rc.d/dhclient
start does include it into the startup list for dhcp devices.
That means you can now do dhcp on the internal and the pccard devices
at the same time. If the card is plugged in later, a running dhclient
(working for the internal interface only) is killed, and restarted,
but the interface name of the new pccard is added to the internal
name. After removal, /etc/rc.d/dhclient is started again. This
script does nothing if there are no devices in /etc/rc.conf

This is only a workaround for a well known problem. After we have
a dhcp client which handles device adding and removal, it will go
away.

Revision 1.152: download - view: text, markup, annotated - select for diffs
Fri Aug 8 17:43:58 2003 UTC (8 years, 6 months ago) by ume
Branches: MAIN
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +1 -1 lines
add rtsol_flags.

MFC after:	1 week

Revision 1.151: download - view: text, markup, annotated - select for diffs
Tue Jun 24 03:55:21 2003 UTC (8 years, 7 months ago) by kuriyama
Branches: MAIN
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +2 -2 lines
Check by [ $? -eq 0 ] rather than $?.

Reviewed by:	mtm

Revision 1.150: download - view: text, markup, annotated - select for diffs
Mon Jun 9 17:34:31 2003 UTC (8 years, 8 months ago) by mtm
Branches: MAIN
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +23 -3 lines
o Fix a typo
o Fill in the ipx_down() routine.

Submitted by: ceri

Revision 1.149: download - view: text, markup, annotated - select for diffs
Sun Jun 8 11:49:30 2003 UTC (8 years, 8 months ago) by mtm
Branches: MAIN
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +3 -1 lines
- Remove a debugging echo.
- When we change the IFS make sure to return it to its previous
  value before executing a command.

Revision 1.148: download - view: text, markup, annotated - select for diffs
Sun Jun 8 10:34:40 2003 UTC (8 years, 8 months ago) by mtm
Branches: MAIN
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +75 -0 lines
Implement *_down network routines for ifconfig'ed interfaces, cloned
interfaces, interface aliases, user supplied ifconfig scripts, and
ipx interfaces. The ipx routine fails unconditionaly at the moment.
Someone who has a need for it can fill it in with the appropriate incantations.

Revision 1.147: download - view: text, markup, annotated - select for diffs
Mon May 12 11:36:49 2003 UTC (8 years, 9 months ago) by ume
Branches: MAIN
CVS tags: RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +296 -0 lines
pccard_ether didn't setup IPv6 after rcTOS sweep.

Reviewed by:	mtm and dougb
Approved by:	re (scott)

Revision 1.146: download - view: text, markup, annotated - select for diffs
Fri Apr 18 17:51:53 2003 UTC (8 years, 9 months ago) by mtm
Branches: MAIN
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +167 -179 lines
Break out and rewrite the network setup scripts.
	o /etc/network.subr contains common subroutines used for seting
	  up network interfaces
	o rc.d/hostname sets the hostname if not already set
	o rc.d/nisdomain sets the nis domain *after* rpcbind but
	  before the yp* daemons. This fixes issues with temporary
	  hangs when looking up informaion in nis before it's ready.
	o rc.d/netif brings network interfaces (minus dhcp)  up.
	o rc.d/network1 has been disabled and will be retired before
	  RELENG_5. It will be replaced by rc.d/netif

Approved by:	markm (mentor)

Revision 1.145: download - view: text, markup, annotated - select for diffs
Wed Feb 12 04:26:10 2003 UTC (8 years, 11 months ago) by imp
Branches: MAIN
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +0 -6 lines
Back out 1.143 and 1.144.  They are no longer needed now that we start
devd later in the boot process.  This should fix all the problems
people have had with those commits.  Diskless should be working again,
and those that mount /usr with nfs should be able to do that again too.

Revision 1.143.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 14 05:29:45 2002 UTC (9 years, 1 month ago) by imp
Branches: old_RELENG_5_0
CVS tags: old_RELENG_5_0_0_RELEASE
Diff to: previous 1.143: preferred, colored; next MAIN 1.144: preferred, colored
Changes since revision 1.143: +2 -1 lines
MFC: don't assume that an up loopback device is configured when it is up.

Approved by: re (rwatson)

Revision 1.144: download - view: text, markup, annotated - select for diffs
Fri Dec 13 23:36:31 2002 UTC (9 years, 1 month ago) by imp
Branches: MAIN
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +2 -1 lines
o Don't consider LOOPBACK devices as configured...

Revision 1.143: download - view: text, markup, annotated - select for diffs
Thu Dec 12 09:31:10 2002 UTC (9 years, 2 months ago) by imp
Branches: MAIN
CVS tags: old_RELENG_5_0_BP
Branch point for: old_RELENG_5_0
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +5 -0 lines
o redirect the grep to /dev/null
o use ifn rather than interface in rc.network
o merge into rc.d/network1

Approved by: (re blanket)

Revision 1.142: download - view: text, markup, annotated - select for diffs
Sat Oct 12 10:31:31 2002 UTC (9 years, 4 months ago) by schweikh
Branches: MAIN
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +39 -39 lines
Fix style bugs:
* Space -> tabs conversion.
* Removed blanks before semicolon in "if ... ; then".
* Proper indentation of misindented lines.
* Put a full stop after some comments.
* Removed whitespace at end of line.

Approved by:	silence from gordon

Revision 1.141: download - view: text, markup, annotated - select for diffs
Fri Sep 20 18:31:54 2002 UTC (9 years, 4 months ago) by ume
Branches: MAIN
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +1 -0 lines
up gif during setup.

Revision 1.140: download - view: text, markup, annotated - select for diffs
Fri Aug 9 17:33:07 2002 UTC (9 years, 6 months ago) by gordon
Branches: MAIN
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +1 -1 lines
Correct comment

Submitted by:	Mike Makonnen <makonnen@pacbell.net>

Revision 1.139: download - view: text, markup, annotated - select for diffs
Wed Jul 17 03:29:37 2002 UTC (9 years, 6 months ago) by dd
Branches: MAIN
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +0 -2 lines
Remove spurious "echo '.'".

Revision 1.74.2.39.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 16 12:33:21 2002 UTC (9 years, 6 months ago) by des
Branches: old_old_RELENG_4_6
CVS tags: old_old_RELENG_4_6_1_RELEASE
Diff to: previous 1.74.2.39: preferred, colored; next MAIN 1.74.2.40: preferred, colored
Changes since revision 1.74.2.39: +17 -8 lines
Merge OpenSSH, OPIE, PAM and a number of dependencies from -STABLE.

Revision 1.74.2.40: download - view: text, markup, annotated - select for diffs
Fri Jul 5 07:48:02 2002 UTC (9 years, 7 months ago) by ru
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.39: preferred, colored; branchpoint 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74.2.39: +17 -8 lines
MFC: 1.131, 1.133, 1.134 (ssh-keygen(8) now requires -t).

Revision 1.138: download - view: text, markup, annotated - select for diffs
Tue Jun 18 23:12:50 2002 UTC (9 years, 7 months ago) by dougb
Branches: MAIN
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +6 -2 lines
Make nisdomainname=NO DTRT

Submitted by:   des, via Mike Makonnen <makonnen@pacbell.net>

Revision 1.137: download - view: text, markup, annotated - select for diffs
Sun Jun 16 06:50:38 2002 UTC (9 years, 7 months ago) by dougb
Branches: MAIN
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +29 -144 lines
Cleanup some pollution from the NetBSD sync, and add gif setup.

Submitted by:   Mike Makonnen <makonnen@pacbell.net>

Revision 1.136: download - view: text, markup, annotated - select for diffs
Sat Jun 15 18:35:28 2002 UTC (9 years, 7 months ago) by gordon
Branches: MAIN
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +2 -2 lines
Fix a typo that caused dhclient not to work.

Submitted by:   Dennis Kristensen <snicki@snicki.dk>
Reviewed by:    Mike Makonnen <makonnen@pacbell.net>

Revision 1.135: download - view: text, markup, annotated - select for diffs
Thu Jun 13 22:14:36 2002 UTC (9 years, 7 months ago) by gordon
Branches: MAIN
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +203 -834 lines
Merge in all the changes that Mike Makonnen has been maintaining for a
while. This is only the script pieces, the glue for the build comes next.

Submitted by:   Mike Makonnen <makonnen@pacbell.net>
Reviewed by:    silence on -current and -hackers
Prodded by:     rwatson

Revision 1.74.2.39: download - view: text, markup, annotated - select for diffs
Wed Apr 24 18:51:42 2002 UTC (9 years, 9 months ago) by joerg
Branches: old_old_RELENG_4
CVS tags: old_old_RELENG_4_6_BP, old_old_RELENG_4_6_0_RELEASE
Branch point for: old_old_RELENG_4_6
Diff to: previous 1.74.2.38: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.38: +2 -9 lines
Back out rev. 1.74.2.23 that used to be necessary to support i4b's
offspring version of sppp(4).  Now that all their functionality has
been merged back into the main version, there's no need for this hack
anymore.

(This is not an MFC, since the hack never emerged into -current at all.
It has only been there to support -stable users.)

Revision 1.74.2.38: download - view: text, markup, annotated - select for diffs
Mon Apr 15 02:12:55 2002 UTC (9 years, 9 months ago) by dougb
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.37: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.37: +17 -7 lines
MFC my changes from 1.129 and 1.132, which gives amd a better chance
of starting successfully when amd_flags="".

Revision 1.134: download - view: text, markup, annotated - select for diffs
Thu Apr 11 22:06:27 2002 UTC (9 years, 10 months ago) by des
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +8 -8 lines
Cosmetic changes to the previous commit, bringing it closer to what I
already had in my tree but didn't want to commit.

Revision 1.133: download - view: text, markup, annotated - select for diffs
Wed Apr 10 22:30:54 2002 UTC (9 years, 10 months ago) by peter
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +10 -5 lines
Since sshd expects /etc/ssh/ssh_host_rsa_key to exist, we had better
create it.  Also specify protocol v1/v2 in case people wonder why we
generate two RSA keys.

Revision 1.132: download - view: text, markup, annotated - select for diffs
Mon Apr 1 18:33:45 2002 UTC (9 years, 10 months ago) by dougb
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +6 -2 lines
The good news is that my initial PR was correct... the bad news is that I
was apparently smoking something when I committed the last fix, because as
ume was kindly enough to set me straight on, amd *will* start with no
arguments at all, as long as there is an /etc/amd.conf file for it to
read. What it won't do is start with *just* -p.

In any case, now it's fixed.

Revision 1.74.2.37: download - view: text, markup, annotated - select for diffs
Thu Mar 21 10:27:34 2002 UTC (9 years, 10 months ago) by cjc
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.36: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.36: +4 -2 lines
MFC 1.130: IPFilter may need to be re-sync'ed even if we are not
filtering, but only doing ipnat(8). Go back to using $ipfilter_active,
but turn off $ipfilter_active when loading ipl.ko has failed.

Submitted by:	devet@devet.org (Arjan de Vet)

Revision 1.131: download - view: text, markup, annotated - select for diffs
Tue Mar 19 03:45:02 2002 UTC (9 years, 10 months ago) by des
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +12 -8 lines
Don't try to generate ssh keys if ssh isn't installed.

Revision 1.130: download - view: text, markup, annotated - select for diffs
Tue Mar 19 01:56:04 2002 UTC (9 years, 10 months ago) by cjc
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +4 -2 lines
IPFilter may need to be re-sync'ed even if we are not filtering, but
only doing ipnat(8). Go back to using $ipfilter_active, but turn off
$ipfilter_active when loading ipl.ko has failed.

Submitted by:	devet@devet.org (Arjan de Vet)
MFC after:	3 days

Revision 1.129: download - view: text, markup, annotated - select for diffs
Sun Mar 17 07:35:51 2002 UTC (9 years, 10 months ago) by dougb
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +12 -3 lines
Answer the question posed in 1.126. amd won't start without either a
conf file, or command line options. I brought this up in PR 12432,
which (ironically) obrien assigned to me after I became a committer. :)

PR:		conf/12432
Submitted by:	Me

Revision 1.74.2.36: download - view: text, markup, annotated - select for diffs
Fri Mar 15 10:20:54 2002 UTC (9 years, 10 months ago) by cjc
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.35: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.35: +2 -3 lines
MFC 1.128: The reload of ipf(8) rules should depend on
$ipfilter_enable, not $ipfilter_active. $ipfilter_enable is set to
"NO" if modules fail to load, and $ipfilter_active can be "YES" when
we are not using ipf(8).

Revision 1.128: download - view: text, markup, annotated - select for diffs
Tue Mar 12 20:25:25 2002 UTC (9 years, 11 months ago) by cjc
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +2 -3 lines
The reload of ipf(8) rules should depend on $ipfilter_enable, not
$ipfilter_active. $ipfilter_enable is set to "NO" if modules fail to
load, and $ipfilter_active can be "YES" when we are not using ipf(8).

MFC after:	3 days

Revision 1.127: download - view: text, markup, annotated - select for diffs
Tue Mar 12 01:04:35 2002 UTC (9 years, 11 months ago) by obrien
Branches: MAIN
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +3 -3 lines
Background the startup of `Amd', it often blocks on startup.

Revision 1.126: download - view: text, markup, annotated - select for diffs
Tue Mar 12 01:01:53 2002 UTC (9 years, 11 months ago) by obrien
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +3 -7 lines
Why shouldn't amd always write its PID to a file?
Since I cannot answer that question, make it.

Revision 1.74.2.35: download - view: text, markup, annotated - select for diffs
Sat Mar 9 03:54:10 2002 UTC (9 years, 11 months ago) by dd
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.34: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.34: +2 -2 lines
MFC 1.125: redirect stdout of `ipf -y' to /dev/null.

Revision 1.74.2.34: download - view: text, markup, annotated - select for diffs
Thu Mar 7 18:10:02 2002 UTC (9 years, 11 months ago) by sheldonh
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.33: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.33: +34 -25 lines
Re-introduce registration of amd's dependency on nfs.  This time,
load nfs.ko, not nfsclient.ko.  The change has been tested for
kernels with and without NFS support wired in.

This change was originally MFC'd as

	rev 1.212.2.41 of src/etc/rc
	rev 1.74.2.32 of src/etc/rc.network

Revision 1.125: download - view: text, markup, annotated - select for diffs
Mon Mar 4 10:30:24 2002 UTC (9 years, 11 months ago) by dd
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +2 -2 lines
Redirect stdout of `ipf -y' to /dev/null.  This removes a stray
"filter sync'd" in the middle of the boot output if IPFilter is
enabled, but does not hide any potential errors, which go to stderr.

Revision 1.74.2.33: download - view: text, markup, annotated - select for diffs
Mon Mar 4 08:37:33 2002 UTC (9 years, 11 months ago) by sheldonh
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.32: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.32: +25 -34 lines
Revert previous delta.  The patch wasn't properly tailored to -STABLE,
where nfcslient.ko does not exist.

Revision 1.74.2.32: download - view: text, markup, annotated - select for diffs
Wed Feb 27 10:36:03 2002 UTC (9 years, 11 months ago) by sheldonh
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.31: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.31: +34 -25 lines
MFC: register amd's dependency on NFS

	rc		rev 1.292
	rc.network	rev 1.121

Revision 1.74.2.31: download - view: text, markup, annotated - select for diffs
Sat Feb 23 15:48:21 2002 UTC (9 years, 11 months ago) by cjc
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.30: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.30: +5 -6 lines
MFC: There is no reason to demand the administrator set
'natd_interface' when running natd(8) out of the rc-files.

  src/etc/defaults/rc.conf	1.139
  src/etc/rc.network		1.124
  src/share/man/man5/rc.conf.5	1.152

Revision 1.124: download - view: text, markup, annotated - select for diffs
Wed Feb 20 10:30:47 2002 UTC (9 years, 11 months ago) by cjc
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +5 -6 lines
There is no reason to demand the administrator set 'natd_interface'
when running natd(8) out of the rc-files. It is perfectly valid for
the interface or alias address to be set in a natd(8) configuration
file, not on the command line. Also, loosen up the restrictions on
identifying an IP address argument in 'natd_interface.'

Fix the documentation, rc.conf(5), to reflect this change.

Take the bogus default for 'natd_interface' out of /etc/defaults/rc.conf.

MFC after:	3 days

Revision 1.74.2.30: download - view: text, markup, annotated - select for diffs
Sat Feb 9 10:38:42 2002 UTC (10 years ago) by cjc
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.29: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.29: +6 -4 lines
MFC 1.123: peter points out that we probably should not mess with the
sysctl(8) values at all if they are not purposefully set. What if the
administrator messed with them in /etc/sysctl.conf? We don't want to
overwrite them.

If 'log_in_vain' is zero, do not force the issue. If it is non-zero,
set it.

Revision 1.123: download - view: text, markup, annotated - select for diffs
Fri Feb 8 13:25:33 2002 UTC (10 years ago) by cjc
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +6 -5 lines
peter points out that we probably should not mess with the sysctl(8)
values at all if they are not purposefully set. What if the
administrator messed with them in /etc/sysctl.conf? We don't want to
overwrite them.

If 'log_in_vain' is zero, do not force the issue. If it is non-zero,
set it.

Revision 1.74.2.29: download - view: text, markup, annotated - select for diffs
Mon Feb 4 22:29:02 2002 UTC (10 years ago) by cjc
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.28: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.28: +13 -4 lines
MFC: Make the rc.conf(5) 'log_in_vain' knob an integer.

PR:		bin/32953

Revision 1.122: download - view: text, markup, annotated - select for diffs
Mon Jan 28 11:06:02 2002 UTC (10 years ago) by sheldonh
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +1 -1 lines
(forced commit)

The previous change is subject to:

MFC after:	1 month

Revision 1.121: download - view: text, markup, annotated - select for diffs
Mon Jan 28 11:05:01 2002 UTC (10 years ago) by sheldonh
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +52 -37 lines
Register amd's dependency on NFS.

This change was submitted to the freebsd-audit mailing list for review
but received no feedback.  Hindsight-enabled reviews are welcome.

PR:		conf/31358
Submitted:	Thomas Quinot <thomas@cuivre.fr.eu.org>

Revision 1.120: download - view: text, markup, annotated - select for diffs
Sat Jan 26 09:04:58 2002 UTC (10 years ago) by cjc
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +13 -4 lines
Make the rc.conf(5) 'log_in_vain' knob an integer.

Try this out in -CURRENT, MFC, and then consider dropping the
'log_in_vain' knob all together. It really is something for
sysctl.conf(5).

PR:		bin/32953
Reviewed by:	-bugs discussion
MFC after:	1 week

Revision 1.74.2.28: download - view: text, markup, annotated - select for diffs
Wed Dec 19 17:52:17 2001 UTC (10 years, 1 month ago) by ru
Branches: old_old_RELENG_4
CVS tags: old_old_RELENG_4_5_BP, old_old_RELENG_4_5_0_RELEASE, old_old_RELENG_4_5
Diff to: previous 1.74.2.27: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.27: +20 -20 lines
MFC: s/sysctl -w/sysctl/

Revision 1.119: download - view: text, markup, annotated - select for diffs
Thu Dec 13 04:21:18 2001 UTC (10 years, 1 month ago) by alfred
Branches: MAIN
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +16 -5 lines
rpc.lockd needs rpc.statd to be running for it to start up properly.
so swap the order.

Also allow rpc.lockd and rpc.statd to be turned on if nfsclient is
enabled.  They are needed to provide client side locking support.

PR: conf/27811

Revision 1.118: download - view: text, markup, annotated - select for diffs
Tue Dec 11 08:21:45 2001 UTC (10 years, 2 months ago) by ru
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +20 -20 lines
s/sysctl -w/sysctl/

Revision 1.74.2.27: download - view: text, markup, annotated - select for diffs
Sun Dec 9 06:02:40 2001 UTC (10 years, 2 months ago) by brooks
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.26: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.26: +11 -2 lines
MFC: New rc.conf variable, cloned_interfaces, for creating cloned
network devices at startup.

Revision 1.117: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:03:14 2001 UTC (10 years, 2 months ago) by rwatson
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +4 -4 lines
o Update rc.network to reflect the recent change of default in the
  kernel TCP timer code: rather than checking for tcp_keepalive being
  set to "YES", check for "NO" and turn off keepalives if the variable
  is set in that manner.

o Note: eventually, it would make sense to remove this variable from
  rc.conf management, and instead rely on sysctl.conf.  In fact, this
  is probably true of a number of rc.conf variables whose sole aim
  is to drive the setting of sysctls at boot time.

Revision 1.74.2.26: download - view: text, markup, annotated - select for diffs
Fri Dec 7 08:32:37 2001 UTC (10 years, 2 months ago) by cjc
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.25: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.25: +3 -1 lines
MFC: 1.116. Protect the '*' in pppoed_provider (the default) from
metacharacter expansion in the rc-scripts.

PR:		32552
Submitted by:	ru

Revision 1.116: download - view: text, markup, annotated - select for diffs
Thu Dec 6 09:34:44 2001 UTC (10 years, 2 months ago) by cjc
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +3 -1 lines
Protect the '*' in pppoed_provider (the default) from metacharacter
expansion in the rc-scripts.

PR:		32552
Submitted by:	Gleb Smirnoff <glebius@rinet.ru>
Approved by:	ru
Obtained from:	ru
MFC after:	1 day

Revision 1.74.2.25: download - view: text, markup, annotated - select for diffs
Wed Dec 5 10:50:07 2001 UTC (10 years, 2 months ago) by guido
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.24: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.24: +79 -39 lines
MFC: IP Filter rc.* reorganisation plus documentation of it.
While this adds functionaility to save state and nat tables across
reboots, saving nat tables will still cause a panic. The fix will
be MFC-ed in 3 days

Revision 1.115: download - view: text, markup, annotated - select for diffs
Sat Nov 24 23:41:32 2001 UTC (10 years, 2 months ago) by dd
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +2 -2 lines
Spelling police: sucessful -> successful.

Revision 1.114: download - view: text, markup, annotated - select for diffs
Sat Nov 24 16:12:03 2001 UTC (10 years, 2 months ago) by ru
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +1 -1 lines
(Forced commit to list actual problems fixed / PRs affected).

Overview of problems fixed:

- fix support for saving and restoring filter/NAT state information
  (across reboots for example);

- ipmon(8) is started before loading any filter/NAT rules;

- ipmon(8) and ipfs(8) do not solely depend on ipfilter_enable anymore,
  they now also work when only ipnat_enable is true;

- the multiple occurrences of code loading the ipfilter kernel module
  have been removed;

- the options have been removed from the _program variables in
  defaults/rc.conf and the comments in that file have been updated to
  reflect (possibly new) reality;

- the rc.conf.5 manual page has been updated to reflect the changes.

Submitted by:	Arjan de Vet <devet@devet.org>
PR:		conf/25223, kern/25344, conf/25809,
		conf/26275, bin/27016, conf/31482

Revision 1.113: download - view: text, markup, annotated - select for diffs
Sat Nov 24 13:48:30 2001 UTC (10 years, 2 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +72 -60 lines
Resolve all the ipfilter startup issues in rc.network with one big patch
to get it all right, allowing ipnat to be enabled independantly of ipfilter
in rc.conf (among other things).

PR:		multiple
Submitted by:	Arjan de Vet <devet@devet.org>
Reviewed by:	Giorgos Keramidas <keramida@FreeBSD.org>

Revision 1.74.2.24: download - view: text, markup, annotated - select for diffs
Mon Nov 19 10:42:28 2001 UTC (10 years, 2 months ago) by sheldonh
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.23: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.23: +2 -2 lines
MFC: use shell arithmetic expansion instead of expr(1) where appropriate

Revision 1.112: download - view: text, markup, annotated - select for diffs
Wed Nov 14 06:35:43 2001 UTC (10 years, 2 months ago) by sheldonh
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +2 -2 lines
Avoid unnecessary calls to expr(1) by using standard shell arithmetic
expansion instead.

Revision 1.111: download - view: text, markup, annotated - select for diffs
Wed Nov 7 00:33:56 2001 UTC (10 years, 3 months ago) by fenner
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +17 -11 lines
Update the nsswitch.conf -> host.conf generator to handle criteria,
 continuation lines, extra whitespace, and to use the last matching
 line in the file.  This syncs the host.conf generation with how
 the nsswitch.conf is parsed.
Only print " host.conf" instead of a multi-line message, since this
 happens on every boot.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Thu Nov 1 12:39:01 2001 UTC (10 years, 3 months ago) by des
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +35 -8 lines
Modify the way host.conf and nsswitch.conf are treated at boot time:

 - if nsswitch.conf exists, host.conf is auto-generated for compatibility
   with legacy applications and libraries.

 - if host.conf exists but nsswitch.conf does not, nsswitch.conf is auto-
   generated as usual.

Revision 1.109: download - view: text, markup, annotated - select for diffs
Sat Oct 20 04:46:32 2001 UTC (10 years, 3 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +15 -1 lines
Do an ipf -y after bringing up ppp to ensure rules which mention ppp get
matched.  Moification on PR to handle ipnat not being dependant on
ipfilter_enable

PR:	22859

Revision 1.108: download - view: text, markup, annotated - select for diffs
Sat Oct 20 04:41:47 2001 UTC (10 years, 3 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +17 -12 lines
Allow ipnat_enable to be set to "yes" without requiring ipfiltre_enable to
be set to "yes"

PR:		25223

Revision 1.107: download - view: text, markup, annotated - select for diffs
Sat Oct 20 04:32:57 2001 UTC (10 years, 3 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +10 -1 lines
Put in place for using ipfs use on shutdown and startup.

PR:		27070

Revision 1.106: download - view: text, markup, annotated - select for diffs
Fri Oct 19 06:50:52 2001 UTC (10 years, 3 months ago) by dougb
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +13 -2 lines
Handle the lack of nfs server or client support in the kernel by
kldload'ing the appropriate modules before enabling the service.

Revision 1.105: download - view: text, markup, annotated - select for diffs
Wed Oct 10 20:36:51 2001 UTC (10 years, 4 months ago) by jhb
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +1 -2 lines
Remove references to nfsiod and nfs_client_flags now that they are
obsolete.

Submitted by:	Gordon Tetlow <gordont@gnf.org>

Revision 1.104: download - view: text, markup, annotated - select for diffs
Wed Sep 19 21:27:18 2001 UTC (10 years, 4 months ago) by brooks
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +11 -2 lines
Add a new rc.conf variable, cloned_interfaces, to create cloned
interfaces at boot.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Wed Sep 19 00:22:26 2001 UTC (10 years, 4 months ago) by peter
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +9 -10 lines
The vfs.nfs.bufpackets sysctl is in the client, not the server.  Move it
to the client section.  Turn off nfsiod, it no longer exists (now just
kthreads).  I need revisit nfsiod so that we have an argument passthrough.

Revision 1.74.2.23: download - view: text, markup, annotated - select for diffs
Fri Aug 17 07:26:38 2001 UTC (10 years, 5 months ago) by hm
Branches: old_old_RELENG_4
CVS tags: old_old_RELENG_4_4_BP, old_old_RELENG_4_4_0_RELEASE, old_old_RELENG_4_4
Diff to: previous 1.74.2.22: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.22: +9 -2 lines
back out my previous commit to rc.conf restoring the original state with
respect to configuring sppp interfaces.

modify rc.network to make the change (ISDN users must not use spppcontrol
anymore but ispppcontrol to configure the isp<N> interfaces since the
MFC of i4b 1.001) in isp-interface configuration transparent to ISDN users
of the sppp-configuration mechanism in rc.conf.

Reviewed by:	sheldonh and joerg
Approved by:	murray

Revision 1.74.2.22: download - view: text, markup, annotated - select for diffs
Wed Aug 1 20:07:55 2001 UTC (10 years, 6 months ago) by obrien
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.21: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.21: +22 -5 lines
MFC: Kerberos5 startup support (off by default of course)

Revision 1.74.2.21: download - view: text, markup, annotated - select for diffs
Wed Aug 1 20:02:42 2001 UTC (10 years, 6 months ago) by obrien
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.20: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.20: +14 -1 lines
MFC: rev 1.102 -- merge in patch to automagically decide whether or not
a kldload of ipfilter is required into rc.network.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Mon Jul 30 23:12:02 2001 UTC (10 years, 6 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +14 -1 lines
Merge in patch to automagically decide whether or not a kldload of ipfilter
is required into rc.network.

Person failed to use a real name so both email addresses from PR included
(Sent was different to From).

PR:		22998
Submitted by:	dl@leo.org/spock@empire.trek.org

Revision 1.101: download - view: text, markup, annotated - select for diffs
Sat Jul 28 19:57:57 2001 UTC (10 years, 6 months ago) by markm
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +27 -10 lines
Upgraded launchpad for kerberos. Noe kerberos IV OR kerberos 5
may be started at boot for kerberos servers.

Revision 1.74.2.20: download - view: text, markup, annotated - select for diffs
Tue Jul 24 19:10:15 2001 UTC (10 years, 6 months ago) by brooks
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.19: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.19: +2 -2 lines
MFC: Interface cloning support.  gif modularity and cloning.
stf modularity and removal of gif dependence.

Reviewed by:	brian

Revision 1.74.2.19: download - view: text, markup, annotated - select for diffs
Tue Jul 3 11:01:11 2001 UTC (10 years, 7 months ago) by ume
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.18: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.18: +2 -2 lines
MFC: Sync with recent KAME.
This work was based on kame-20010528-freebsd43-snap.tgz and some
critical problem after the snap was out were fixed.
There are many many changes since last KAME merge.

	etc/defaults/rc.conf:			1.111
	etc/rc.network:				1.98
	etc/rc.network6:			1.20
	lib/libipsec/ipsec_set_policy.3:	1.8
	lib/libipsec/ipsec_strerror.3:		1.7
	lib/libipsec/ipsec_strerror.c:		1.3
	lib/libipsec/ipsec_strerror.h:		1.3
	lib/libipsec/libpfkey.h:		1.2
	lib/libipsec/pfkey.c:			1.3
	lib/libipsec/pfkey_dump.c:		1.3
	lib/libipsec/policy_token.l:		1.5
	lib/libipsec/test-policy.c:		1.4
	sbin/ifconfig/ifconfig.8:		1.42
	sbin/ifconfig/ifconfig.c:		1.63
	sbin/ping6/ping6.8:			1.10
	sbin/ping6/ping6.c:			1.9
	sbin/route/route.c:			1.48, 1.50
	sbin/rtsol/Makefile:			1.4
	share/doc/IPv6/IMPLEMENTATION:		1.3
	share/examples/IPv6/USAGE:		1.3
	share/man/man4/faith.4:			1.10
	share/man/man4/gif.4:			1.9
	share/man/man4/inet6.4:			1.8
	share/man/man4/ip6.4:			1.8
	share/man/man4/ipsec.4:			1.9
	share/man/man4/kame.4:			1.8
	share/man/man4/stf.4:			1.8
	sys/conf/files:				1.534
	sys/crypto/md5.c:			1.4
	sys/crypto/sha1.c:			1.7
	sys/crypto/blowfish/bf_enc.c:		1.4
	sys/crypto/blowfish/bf_locl.h:		1.4
	sys/crypto/blowfish/bf_skey.c:		1.4
	sys/crypto/blowfish/blowfish.h:		1.4
	sys/crypto/cast128/cast128.c:		1.4
	sys/crypto/cast128/cast128.h:		1.4
	sys/crypto/des/des.h:			1.4
	sys/crypto/des/des_ecb.c:		1.4
	sys/crypto/des/des_locl.h:		1.5
	sys/crypto/des/des_setkey.c:		1.4
	sys/crypto/rijndael/boxes-fst.dat:	1.2
	sys/crypto/rijndael/rijndael-alg-fst.c:	1.2, 1.3
	sys/crypto/rijndael/rijndael-alg-fst.h:	1.2
	sys/crypto/rijndael/rijndael-api-fst.c:	1.2
	sys/crypto/rijndael/rijndael-api-fst.h:	1.2
	sys/crypto/rijndael/rijndael_local.h:	1.3
	sys/kern/uipc_domain.c:			1.24
	sys/kern/uipc_mbuf.c:			1.82
	sys/kern/uipc_mbuf2.c:			1.8
	sys/net/if.c:				1.109
	sys/net/if_faith.c:			1.4, 1.5
	sys/net/if_gif.c:			1.10
	sys/net/if_gif.h:			1.4
	sys/net/if_loop.c:			1.61
	sys/net/if_sppp.h:			1.17
	sys/net/if_spppsubr.c:			1.68, 1.69
	sys/net/net_osdep.c:			1.4
	sys/net/net_osdep.h:			1.5
	sys/net/pfkeyv2.h:			1.6
	sys/net/ppp_defs.h:			1.7
	sys/net/rtsock.c:			1.52
	sys/netinet/icmp6.h:			1.4
	sys/netinet/in.c:			1.54
	sys/netinet/in_gif.c:			1.10
	sys/netinet/in_pcb.c:			1.84
	sys/netinet/in_pcb.h:			1.38
	sys/netinet/in_proto.c:			1.56
	sys/netinet/ip6.h:			1.5
	sys/netinet/ip_ecn.c:			1.4
	sys/netinet/ip_ecn.h:			1.4
	sys/netinet/ip_encap.c:			1.4
	sys/netinet/ip_icmp.c:			1.57
	sys/netinet/ip_input.c:			1.171
	sys/netinet/ip_output.c:		1.126
	sys/netinet/ip_var.h:			1.56
	sys/netinet/raw_ip.c:			1.78
	sys/netinet/tcp_input.c:		1.132
	sys/netinet/tcp_output.c:		1.50
	sys/netinet/tcp_subr.c:			1.103
	sys/netinet/tcp_usrreq.c:		1.60
	sys/netinet/udp_usrreq.c:		1.89
	sys/netinet6/ah.h:			1.5
	sys/netinet6/ah6.h:			1.4
	sys/netinet6/ah_core.c:			1.8
	sys/netinet6/ah_input.c:		1.7
	sys/netinet6/ah_output.c:		1.7
	sys/netinet6/dest6.c:			1.6
	sys/netinet6/esp.h:			1.4
	sys/netinet6/esp6.h:			1.4
	sys/netinet6/esp_core.c:		1.5
	sys/netinet6/esp_input.c:		1.7
	sys/netinet6/esp_output.c:		1.5
	sys/netinet6/frag6.c:			1.8
	sys/netinet6/icmp6.c:			1.11
	sys/netinet6/in6.c:			1.12
	sys/netinet6/in6.h:			1.13
	sys/netinet6/in6_cksum.c:		1.4
	sys/netinet6/in6_gif.c:			1.5
	sys/netinet6/in6_ifattach.c:		1.6
	sys/netinet6/in6_ifattach.h:		1.3
	sys/netinet6/in6_pcb.c:			1.15
	sys/netinet6/in6_pcb.h:			1.4
	sys/netinet6/in6_prefix.c:		1.7
	sys/netinet6/in6_prefix.h:		1.5
	sys/netinet6/in6_proto.c:		1.14
	sys/netinet6/in6_rmx.c:			1.4
	sys/netinet6/in6_src.c:			1.4
	sys/netinet6/in6_var.h:			1.8
	sys/netinet6/ip6_ecn.h:			1.4
	sys/netinet6/ip6_forward.c:		1.11
	sys/netinet6/ip6_fw.c:			1.11
	sys/netinet6/ip6_fw.h:			1.11
	sys/netinet6/ip6_input.c:		1.27
	sys/netinet6/ip6_mroute.c:		1.7
	sys/netinet6/ip6_mroute.h:		1.4
	sys/netinet6/ip6_output.c:		1.25
	sys/netinet6/ip6_var.h:			1.7
	sys/netinet6/ip6protosw.h:		1.6
	sys/netinet6/ipcomp.h:			1.2
	sys/netinet6/ipcomp6.h:			1.2
	sys/netinet6/ipcomp_core.c:		1.2
	sys/netinet6/ipcomp_input.c:		1.2
	sys/netinet6/ipcomp_output.c:		1.2
	sys/netinet6/ipsec.c:			1.12
	sys/netinet6/ipsec.h:			1.8
	sys/netinet6/ipsec6.h:			1.5
	sys/netinet6/mld6.c:			1.7
	sys/netinet6/nd6.c:			1.9
	sys/netinet6/nd6.h:			1.7
	sys/netinet6/nd6_nbr.c:			1.9
	sys/netinet6/nd6_rtr.c:			1.7, 1.8
	sys/netinet6/raw_ip6.c:			1.11
	sys/netinet6/route6.c:			1.4
	sys/netinet6/scope6.c:			1.2
	sys/netinet6/udp6_output.c:		1.3
	sys/netinet6/udp6_usrreq.c:		1.15
	sys/netkey/key.c:			1.25
	sys/netkey/key.h:			1.7
	sys/netkey/key_debug.c:			1.14
	sys/netkey/key_debug.h:			1.7
	sys/netkey/key_var.h:			1.4
	sys/netkey/keydb.h:			1.6
	sys/netkey/keysock.c:			1.6
	sys/netsmb/smb_crypt.c:			1.2
	sys/sys/mbuf.h:				1.79, 1.80
	sys/sys/protosw.h:			1.33
	sys/sys/socket.h:			1.54, 1.56
	sys/sys/sockio.h:			1.17
	usr.bin/netstat/inet.c:			1.42
	usr.bin/netstat/inet6.c:		1.10
	usr.bin/netstat/ipsec.c:		1.2
	usr.bin/netstat/main.c:			1.40
	usr.bin/netstat/mroute6.c:		1.5
	usr.bin/netstat/netstat.1:		1.29
	usr.bin/netstat/netstat.h:		1.21
	usr.bin/netstat/route.c:		1.50, 1.51, 1.55
	usr.sbin/faithd/Makefile:		1.6
	usr.sbin/faithd/README:			1.4
	usr.sbin/faithd/faithd.8:		1.9
	usr.sbin/faithd/faithd.c:		1.7
	usr.sbin/faithd/faithd.h:		1.3
	usr.sbin/faithd/ftp.c:			1.5
	usr.sbin/faithd/rsh.c:			1.5
	usr.sbin/faithd/tcp.c:			1.3
	usr.sbin/gifconfig/gifconfig.8:		1.6
	usr.sbin/gifconfig/gifconfig.c:		1.4
	usr.sbin/ifmcstat/ifmcstat.8:		1.3
	usr.sbin/ifmcstat/ifmcstat.c:		1.7
	usr.sbin/mld6query/mld6.c:		1.2
	usr.sbin/mld6query/mld6query.8:		1.2
	usr.sbin/ndp/ndp.8:			1.6
	usr.sbin/ndp/ndp.c:			1.6
	usr.sbin/prefix/Makefile:		1.4
	usr.sbin/rip6query/rip6query.8:		1.4
	usr.sbin/rip6query/rip6query.c:		1.5
	usr.sbin/route6d/route6d.8:		1.6
	usr.sbin/route6d/route6d.c:		1.9
	usr.sbin/route6d/route6d.h:		1.3
	usr.sbin/rrenumd/lexer.l:		1.3
	usr.sbin/rrenumd/parser.y:		1.3
	usr.sbin/rrenumd/rrenumd.8:		1.6
	usr.sbin/rrenumd/rrenumd.c:		1.4
	usr.sbin/rrenumd/rrenumd.conf.5:	1.10
	usr.sbin/rrenumd/rrenumd.h:		1.3
	usr.sbin/rtadvd/advcap.c:		1.4
	usr.sbin/rtadvd/advcap.h:		1.4
	usr.sbin/rtadvd/config.c:		1.7
	usr.sbin/rtadvd/config.h:		1.4
	usr.sbin/rtadvd/dump.c:			1.3
	usr.sbin/rtadvd/dump.h:			1.3
	usr.sbin/rtadvd/if.c:			1.6
	usr.sbin/rtadvd/if.h:			1.4
	usr.sbin/rtadvd/pathnames.h:		1.5
	usr.sbin/rtadvd/rrenum.c:		1.5
	usr.sbin/rtadvd/rrenum.h:		1.4
	usr.sbin/rtadvd/rtadvd.8:		1.8
	usr.sbin/rtadvd/rtadvd.c:		1.6
	usr.sbin/rtadvd/rtadvd.conf.5:		1.6
	usr.sbin/rtadvd/rtadvd.h:		1.4
	usr.sbin/rtadvd/timer.c:		1.4
	usr.sbin/rtadvd/timer.h:		1.4
	usr.sbin/rtsold/Makefile:		1.6
	usr.sbin/rtsold/dump.c:			1.4
	usr.sbin/rtsold/if.c:			1.5
	usr.sbin/rtsold/probe.c:		1.5
	usr.sbin/rtsold/rtsol.c:		1.4
	usr.sbin/rtsold/rtsold.8:		1.5
	usr.sbin/rtsold/rtsold.c:		1.4
	usr.sbin/rtsold/rtsold.h:		1.4
	usr.sbin/setkey/parse.y:		1.3
	usr.sbin/setkey/scriptdump.pl:		1.3
	usr.sbin/setkey/setkey.8:		1.14
	usr.sbin/setkey/setkey.c:		1.3
	usr.sbin/setkey/token.l:		1.5
	usr.sbin/traceroute6/traceroute6.8:	1.7
	usr.sbin/traceroute6/traceroute6.c:	1.8

Revision 1.100: download - view: text, markup, annotated - select for diffs
Mon Jul 2 21:08:48 2001 UTC (10 years, 7 months ago) by brooks
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +2 -2 lines
Create gif devices in the "gifconfig" stage while configuring them.

Reviewed by:	ru, ume
Obtained from:	NetBSD
MFC after:	1 week

Revision 1.74.2.18: download - view: text, markup, annotated - select for diffs
Sun Jun 24 18:14:59 2001 UTC (10 years, 7 months ago) by ume
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.17: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.17: +2 -2 lines
ifconfig doesn't understand tunnel under 4-STABLE, yet.

Revision 1.74.2.17: download - view: text, markup, annotated - select for diffs
Sat Jun 23 23:33:14 2001 UTC (10 years, 7 months ago) by brian
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.16: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.16: +24 -1 lines
MFC: Configure gif interfaces without requiring ipv6

Revision 1.74.2.16: download - view: text, markup, annotated - select for diffs
Sun Jun 17 11:40:59 2001 UTC (10 years, 7 months ago) by brian
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.15: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.15: +2 -2 lines
MFC: Add a missing \n

Revision 1.99: download - view: text, markup, annotated - select for diffs
Sat Jun 16 15:48:43 2001 UTC (10 years, 7 months ago) by schweikh
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +2 -2 lines
Fix misindented esac.

MFC after:	1 week

Revision 1.98: download - view: text, markup, annotated - select for diffs
Mon Jun 11 12:38:40 2001 UTC (10 years, 8 months ago) by ume
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +2 -2 lines
Sync with recent KAME.
This work was based on kame-20010528-freebsd43-snap.tgz and some
critical problem after the snap was out were fixed.
There are many many changes since last KAME merge.

TODO:
  - The definitions of SADB_* in sys/net/pfkeyv2.h are still different
    from RFC2407/IANA assignment because of binary compatibility
    issue.  It should be fixed under 5-CURRENT.
  - ip6po_m member of struct ip6_pktopts is no longer used.  But, it
    is still there because of binary compatibility issue.  It should
    be removed under 5-CURRENT.

Reviewed by:	itojun
Obtained from:	KAME
MFC after:	3 weeks

Revision 1.97: download - view: text, markup, annotated - select for diffs
Sun Jun 10 16:21:56 2001 UTC (10 years, 8 months ago) by brian
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +2 -2 lines
Add a missing \n

Submitted by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
PR:		28014
MFC after:	1 week

Revision 1.74.2.15: download - view: text, markup, annotated - select for diffs
Sat Jun 9 16:18:12 2001 UTC (10 years, 8 months ago) by des
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.14: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.14: +1 -8 lines
MFC: Nuke the TCP_RESTRICT_RST option.

Revision 1.96: download - view: text, markup, annotated - select for diffs
Sun Jun 3 12:26:56 2001 UTC (10 years, 8 months ago) by brian
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +24 -1 lines
Move gif_interfaces from an IP6 option to a regular IP option.

PR:		26543
Submitted by:	Brooks Davis <brooks@one-eyed-alien.net>
MFC after:	3 weeks

Revision 1.95: download - view: text, markup, annotated - select for diffs
Fri May 18 18:10:02 2001 UTC (10 years, 8 months ago) by obrien
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +4 -9 lines
Restore the RSA host key to /etc/ssh/ssh_host_key.
Also fix $FreeBSD$ spamage in crypto/openssh/sshd_config rev. 1.16.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Wed May 16 19:23:54 2001 UTC (10 years, 8 months ago) by jesper
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +8 -3 lines
Link /etc/ssh/ssh_host_key to /etc/ssh/ssh_host_rsa_key to deal with
gratutious changes in the latest SSH

Reviewed by:	obrien
Approved by:	obrien

Revision 1.93: download - view: text, markup, annotated - select for diffs
Wed May 9 07:46:44 2001 UTC (10 years, 9 months ago) by peter
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +3 -3 lines
s/ssh_host_key/ssh_host_rsa_key/ since that is what openssh uses now
after a mergemaster.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Mon Mar 19 22:07:30 2001 UTC (10 years, 10 months ago) by des
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +1 -8 lines
Axe TCP_RESTRICT_RST. It was never a particularly good idea except for a few
very specific scenarios, and now that we have had net.inet.tcp.blackhole for
quite some time there is really no reason to use it any more.

(second of three commits)

Revision 1.91: download - view: text, markup, annotated - select for diffs
Mon Mar 19 12:49:45 2001 UTC (10 years, 10 months ago) by alfred
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +119 -113 lines
Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and
associated changes that had to happen to make this possible as well as
bugs fixed along the way.

  Bring in required TLI library routines to support this.

  Since we don't support TLI we've essentially copied what NetBSD
  has done, adding a thin layer to emulate direct the TLI calls
  into BSD socket calls.

  This is mostly from Sun's tirpc release that was made in 1994,
  however some fixes were backported from the 1999 release (supposedly
  only made available after this porting effort was underway).

  The submitter has agreed to continue on and bring us up to the
  1999 release.

  Several key features are introduced with this update:
    Client calls are thread safe. (1999 code has server side thread
    safe)
    Updated, a more modern interface.

  Many userland updates were done to bring the code up to par with
  the recent RPC API.

  There is an update to the pthreads library, a function
  pthread_main_np() was added to emulate a function of Sun's threads
  library.

  While we're at it, bring in NetBSD's lockd, it's been far too
  long of a wait.

  New rpcbind(8) replaces portmap(8) (supporting communication over
  an authenticated Unix-domain socket, and by default only allowing
  set and unset requests over that channel). It's much more secure
  than the old portmapper.

  Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded
  to support TI-RPC and to support IPV6.

  Umount(8) is also fixed to unmount pathnames longer than 80 chars,
  which are currently truncated by the Kernel statfs structure.

Submitted by: Martin Blapp <mb@imp.ch>
Manpage review: ru
Secure RPC implemented by: wpaul

Revision 1.74.2.14: download - view: text, markup, annotated - select for diffs
Tue Mar 6 02:21:59 2001 UTC (10 years, 11 months ago) by obrien
Branches: old_old_RELENG_4
CVS tags: old_old_RELENG_4_3_BP, old_old_RELENG_4_3_0_RELEASE, old_old_RELENG_4_3
Diff to: previous 1.74.2.13: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.13: +1 -26 lines
I really did a number on adding the copyrights...

Revision 1.74.2.13: download - view: text, markup, annotated - select for diffs
Tue Mar 6 01:58:45 2001 UTC (10 years, 11 months ago) by obrien
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.12: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.12: +26 -1 lines
MFC: add copyright notices

Revision 1.74.2.12: download - view: text, markup, annotated - select for diffs
Sun Jan 14 09:47:48 2001 UTC (11 years ago) by dougb
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.11: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.11: +7 -7 lines
MFC, Apply a more consistent style to the echo statements in /etc/ scripts.

Revision 1.74.2.11: download - view: text, markup, annotated - select for diffs
Sun Jan 14 08:21:07 2001 UTC (11 years ago) by dougb
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.10: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.10: +6 -4 lines
MFC 1.90, ipf/ipnat related cleanups

PR:		conf/22937
Submitted by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>

Revision 1.90: download - view: text, markup, annotated - select for diffs
Sun Dec 17 22:14:49 2000 UTC (11 years, 1 month ago) by dougb
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +6 -4 lines
* Add an eval so that ipnat_flags=">/dev/null" works, per the PR
* Do some line length and specify full path cleanups while I'm here

PR:				conf/22937
Submitted by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>

Revision 1.89: download - view: text, markup, annotated - select for diffs
Sun Dec 17 08:15:57 2000 UTC (11 years, 1 month ago) by dougb
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +11 -11 lines
Apply a more consistent style to the echo statements in /etc/ scripts.
* Put quotes around each line
* Single quotes for lines with no variable interpolation
* Double quotes if there is
* Capitalize each word that begins a line
* Make echo -n 'Doing foo:' ... echo '.' more of a standard

No functionality changes

Revision 1.74.2.10: download - view: text, markup, annotated - select for diffs
Sat Nov 11 20:33:39 2000 UTC (11 years, 3 months ago) by jkh
Branches: old_old_RELENG_4
CVS tags: old_old_RELENG_4_2_0_RELEASE
Diff to: previous 1.74.2.9: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.9: +32 -1 lines
MFC: This brings support for IP Filter into rc.network and rc.conf with
the appropriate documentation added to rc.conf(5).  This has been tested
in -current since Oct 6th.

Requested by:	Gerhard Sittig <Gerhard.Sittig@gmx.net>

Revision 1.74.2.9: download - view: text, markup, annotated - select for diffs
Mon Oct 30 10:40:11 2000 UTC (11 years, 3 months ago) by obrien
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.8: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.8: +26 -1 lines
MFC: Add copyright.

Revision 1.74.2.8: download - view: text, markup, annotated - select for diffs
Thu Oct 12 11:28:16 2000 UTC (11 years, 4 months ago) by ru
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.7: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.7: +3 -3 lines
MFC: (rev 1.88) fixed the reporting of ip_portrange_XXX settings.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Thu Oct 12 11:25:57 2000 UTC (11 years, 4 months ago) by ru
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +3 -3 lines
Fixed the reporting of ip_portrange_{first|last}.

Revision 1.74.2.7: download - view: text, markup, annotated - select for diffs
Mon Oct 9 20:18:52 2000 UTC (11 years, 4 months ago) by brian
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.6: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.6: +2 -2 lines
MFC: Use ``su -m'' instead of just ``su'' when starting ppp.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Sun Oct 8 19:18:24 2000 UTC (11 years, 4 months ago) by obrien
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +26 -1 lines
Add copyright notices.  Other systems have been barrowing our /etc files
w/o giving any credit.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Fri Oct 6 12:24:45 2000 UTC (11 years, 4 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +32 -1 lines
This brings support for IP Filter into rc.network and rc.conf with
the appropriate documentation added to rc.conf(5).  If all goes well
with this over the next few weeks, the PR will be closed with the
pullup of patches back to 4-STABLE.

PR:		20202
Submitted by:	Gerhard Sittig <Gerhard.Sittig@gmx.net>
Reviewed by:	Darren Reed <darrenr@freebsd.org>
Approved by:	Darren Reed <darrenr@freebsd.org>
Obtained from:	Gerhard Sittig <Gerhard.Sittig@gmx.net>

Revision 1.85: download - view: text, markup, annotated - select for diffs
Thu Sep 28 05:43:44 2000 UTC (11 years, 4 months ago) by brian
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +2 -2 lines
Use su -m instead of just su to avoid reading the users login profile

Revision 1.84: download - view: text, markup, annotated - select for diffs
Wed Sep 6 18:16:32 2000 UTC (11 years, 5 months ago) by nectar
Branches: MAIN
CVS tags: old_old_PRE_SMPNG
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +30 -1 lines
Add nsswitch support.  By creating an /etc/nsswitch.conf file, you can
configure FreeBSD so that various databases such as passwd and group can be
looked up using flat files, NIS, or Hesiod.

= Hesiod has been added to libc (see hesiod(3)).

= A library routine for parsing nsswitch.conf and invoking callback
  functions as specified has been added to libc (see nsdispatch(3)).

= The following C library functions have been modified to use nsdispatch:
    . getgrent, getgrnam, getgrgid
    . getpwent, getpwnam, getpwuid
    . getusershell
    . getaddrinfo
    . gethostbyname, gethostbyname2, gethostbyaddr
    . getnetbyname, getnetbyaddr
    . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr

= host.conf has been removed from src/etc.  rc.network has been modified
  to warn that host.conf is no longer used at boot time.  In addition, if
  there is a host.conf but no nsswitch.conf, the latter is created at boot
  time from the former.

Obtained from:	NetBSD

Revision 1.74.2.6: download - view: text, markup, annotated - select for diffs
Thu Aug 17 06:55:34 2000 UTC (11 years, 5 months ago) by jhb
Branches: old_old_RELENG_4
CVS tags: old_old_RELENG_4_1_1_RELEASE
Diff to: previous 1.74.2.5: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.5: +1 -1 lines
Note that in my previous commit, I MFC'd the firewall_logging option,
not the firewall_enable option.

Noticed by:	ru

Revision 1.74.2.5: download - view: text, markup, annotated - select for diffs
Wed Aug 16 23:10:53 2000 UTC (11 years, 5 months ago) by jhb
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.4: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.4: +24 -13 lines
MFC:
- firewall_enable knob
- ppp_user knob for ppp startup at boot
- cleanup whitespace bogons to minimize diff from current

Revision 1.83: download - view: text, markup, annotated - select for diffs
Wed Aug 16 23:08:28 2000 UTC (11 years, 5 months ago) by jhb
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +2 -2 lines
Fix a whitespace bogon.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Thu Aug 10 00:12:53 2000 UTC (11 years, 6 months ago) by brian
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +10 -9 lines
Allow a ppp_user specification to run ppp at startup

PR:		20258

Revision 1.74.2.4: download - view: text, markup, annotated - select for diffs
Sun Aug 6 16:58:30 2000 UTC (11 years, 6 months ago) by nbm
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.3: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.3: +2 -2 lines
MFC (1.81): Add to, don't overwrite, user-settable mountd_flags.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Fri Jul 14 13:03:36 2000 UTC (11 years, 6 months ago) by nbm
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +2 -2 lines
Add to, don't overwrite, user-settable mountd_flags.

PR:		conf/15745
Submitted by:	Vivek Khera <khera@kciLink.com>

Revision 1.74.2.3: download - view: text, markup, annotated - select for diffs
Sat Jun 24 20:51:27 2000 UTC (11 years, 7 months ago) by dillon
Branches: old_old_RELENG_4
CVS tags: old_old_RELENG_4_1_0_RELEASE
Diff to: previous 1.74.2.2: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.2: +31 -1 lines
    MFC from -current

    Add rc.conf variables for ip_portraneg_first, ip_portrange_last, and
    ipsec_enable (specifies file).  These items must be handled before
    any daemons are started or, for example, named might use too low
    a port for your fireall.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:40:52 2000 UTC (11 years, 7 months ago) by dillon
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +20 -1 lines
    Add ip_portrange_first and ip_portrange_last rc.conf/rc.network
    options.  This allows you to set the standard dynamic port
    assignment range prior to any network daemons (like named) starting
    up, necessary if you are also using a firewall to restrict lower ports.
    will be MFC'd in a few days

Revision 1.74.2.2: download - view: text, markup, annotated - select for diffs
Fri Jun 9 07:25:15 2000 UTC (11 years, 8 months ago) by kris
Branches: old_old_RELENG_4
Diff to: previous 1.74.2.1: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.1: +6 -2 lines
MFC: Create DSA key at boot if it doesn't exist

Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue May 16 06:52:11 2000 UTC (11 years, 8 months ago) by dillon
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +12 -1 lines
    Add ipsec_enable and ipsec_file options to run IPSEC's setkey program
    with the specified configuration file at the appropriate time.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Mon May 15 19:56:59 2000 UTC (11 years, 8 months ago) by kris
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +1 -2 lines
Remove extraneous ";;" in previous commit

Submitted by:	jedgar

Revision 1.77: download - view: text, markup, annotated - select for diffs
Mon May 15 05:40:26 2000 UTC (11 years, 8 months ago) by kris
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +7 -2 lines
Create a DSA host key if one does not already exist, and teach sshd_config
about it.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat May 6 17:18:14 2000 UTC (11 years, 9 months ago) by ache
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +11 -1 lines
Add firewall_logging knob to enable/disablle events logging, disabled
by default. Needed mainly for ipfw kernel module to enable logging
disabled there.

Revision 1.74.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 27 21:39:49 2000 UTC (11 years, 10 months ago) by dillon
Branches: old_old_RELENG_4
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +6 -1 lines
    MFC rc.network 1.75, rc.conf 1.55, rc.conf.5 1.65, nfs_socket.c 1.61.
    Add sysctl and increase default receive udp buffer size from 2 to 4
    packets to improve client-side gigabit network performance.

Approved by: jkh

Revision 1.75: download - view: text, markup, annotated - select for diffs
Mon Mar 27 21:38:32 2000 UTC (11 years, 10 months ago) by dillon
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +6 -1 lines
    Add a sysctl to specify the amount of UDP receive space NFS should
    reserve, in maximal NFS packets.  Originally only 2 packets worth of
    space was reserved.  The default is now 4, which appears to greatly
    improve performance for slow to mid-speed machines on gigabit networks.

    Add documentation and correct some prior documentation.

Problem Researched by: Andrew Gallatin <gallatin@cs.duke.edu>
Approved by: jkh

Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue Feb 29 12:53:28 2000 UTC (11 years, 11 months ago) by jkh
Branches: MAIN
CVS tags: old_old_RELENG_4_BP, old_old_RELENG_4_0_0_RELEASE
Branch point for: old_old_RELENG_4
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +2 -2 lines
cosmetic fix - add a space.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Mon Feb 28 19:54:06 2000 UTC (11 years, 11 months ago) by markm
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +1 -5 lines
Get the order of things right; the keys need to be generated
early to allow entropy to replenish.
sshd must start late to catch the full effects of ldconfig.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Feb 28 19:21:05 2000 UTC (11 years, 11 months ago) by jkh
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +8 -2 lines
Generate new sshd host key when necessary.  I'm tired of
waiting for someone to commit this. :)

Revision 1.71: download - view: text, markup, annotated - select for diffs
Thu Feb 24 23:12:04 2000 UTC (11 years, 11 months ago) by markm
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +8 -1 lines
Run sshd at boot time if the sysadmin wants it. Also install
ssh[d] config files in the right place.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Sun Feb 6 16:33:54 2000 UTC (12 years ago) by hm
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +11 -11 lines
Approved by: jkh
Reviewed by: joerg

The isdnd is able to listen on a socket for isdnmonitor to connect to
it to remotely control it (similar to ppp and pppctl). When this is
enabled in the isdnd config file, it will fail currently because isdnd
is started before the network interfaces are configured.
It is necessary to move the isdnd start after the ifconfig of the network
interfaces, then this problem will not occur.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Jan 15 14:28:05 2000 UTC (12 years ago) by green
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +8 -1 lines
This is another in Martin Blapp's N-series of mount-related cleanups :)
Changes are:
 - rpc.umntall is called at the right places now in /etc/rc*
 - rpc.umntall timeout has been lowered from two days (too high) to one
 - verbose messages in rpc.umntall have been clarified
 - kill double entries in /var/db/mounttab when rpc.umntall is invoked
 - ${early_nfs_mounts} has been removed from /etc/rc
 - patched mount(8) -p to print different pass/dump values for ufs filesystems.
   (last patch recieved from dan <bugg@bugg.strangled.net>)

Submitted by:	Martin Blapp <mbr@imp.ch>, dan <bugg@bugg.strangled.net>

Revision 1.68: download - view: text, markup, annotated - select for diffs
Fri Dec 17 13:36:40 1999 UTC (12 years, 1 month ago) by roberto
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -2 lines
xntpd -> ntpd.

Submitted by:	ru

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Dec 12 01:58:30 1999 UTC (12 years, 2 months ago) by obrien
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +20 -12 lines
Suport multiple ``ifconfig_*?="DHCP"'' configurations.

Currently we have a problem in that `dhclient' bails when configuring the
second interface as port 68 is already in use (by the `dhclient' started
for the first interface).

PR:		14810
Submitted by:	n_hibma

Revision 1.39.2.14: download - view: text, markup, annotated - select for diffs
Sun Nov 28 16:09:07 1999 UTC (12 years, 2 months ago) by brian
Branches: old_old_RELENG_3
CVS tags: old_old_RELENG_3_5_0_RELEASE, old_old_RELENG_3_4_0_RELEASE
Diff to: previous 1.39.2.13: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.2.13: +11 -1 lines
MFC (with whitespace changes): start pppoed

Revision 1.66: download - view: text, markup, annotated - select for diffs
Tue Nov 23 00:26:03 1999 UTC (12 years, 2 months ago) by brian
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -2 lines
Oops, typo

Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue Nov 23 00:22:24 1999 UTC (12 years, 2 months ago) by brian
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +11 -1 lines
Add pppoed startup options

Revision 1.64: download - view: text, markup, annotated - select for diffs
Wed Nov 17 22:38:02 1999 UTC (12 years, 2 months ago) by ache
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +17 -11 lines
Add network pass4 - after all local (/usr/local/etc/rc.d f.e.)
daemons started. Move log_in_vain option there. It is needed to avoid
lot of connections to port 80 logged on production WWW server prior
Apache started from /usr/local/etc/rc.d

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Nov 14 21:28:07 1999 UTC (12 years, 2 months ago) by ache
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +18 -1 lines
Add single_mountd_enable hook to run mountd but not NFS server
Needed for machine with CFS but without real NFS

Revision 1.39.2.13: download - view: text, markup, annotated - select for diffs
Thu Oct 14 11:49:32 1999 UTC (12 years, 3 months ago) by des
Branches: old_old_RELENG_3
Diff to: previous 1.39.2.12: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.2.12: +21 -1 lines
MFC: Add the net.inet.icmp.drop_redirect, net.inet.icmp.log_redirect,
net.inet.tcp.drop_synfin and net.inet.tcp.restrict_rst sysctls.

Revision 1.39.2.12: download - view: text, markup, annotated - select for diffs
Sun Sep 19 21:35:18 1999 UTC (12 years, 4 months ago) by green
Branches: old_old_RELENG_3
Diff to: previous 1.39.2.11: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.2.11: +3 -3 lines
Put "${firewall_script}" in quotes.

Submitted by:	rox@fearme.com

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Sep 19 21:32:42 1999 UTC (12 years, 4 months ago) by green
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -3 lines
Make the firewall file variable space-safe.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Mon Sep 13 15:44:18 1999 UTC (12 years, 4 months ago) by sheldonh
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +549 -375 lines
Apply a consistent style to most of the etc scripts.  Particularly, use
case instead of test where appropriate, since case allows case is a sh
builtin and (as a side-effect) allows case-insensitivity.

Changes discussed on freebsd-hackers.

Submitted by:	Doug Barton <Doug@gorean.org>

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Sep 12 17:22:05 1999 UTC (12 years, 5 months ago) by des
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +11 -1 lines
Add the net.inet.tcp.restrict_rst and net.inet.tcp.drop_synfin sysctl
variables, conditional on the TCP_RESTRICT_RST and TCP_DROP_SYNFIN kernel
options, respectively. See the comments in LINT for details.

Revision 1.1.2.25: download - view: text, markup, annotated - select for diffs
Sun Sep 5 11:01:58 1999 UTC (12 years, 5 months ago) by peter
Branches: old_old_RELENG_2_2
Diff to: previous 1.1.2.24: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.24: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.39.2.11: download - view: text, markup, annotated - select for diffs
Fri Sep 3 08:57:26 1999 UTC (12 years, 5 months ago) by jkh
Branches: old_old_RELENG_3
CVS tags: old_old_RELENG_3_3_0_RELEASE
Diff to: previous 1.39.2.10: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.2.10: +7 -2 lines
MFC: Enable DHCP support
PR:	13548

Revision 1.59: download - view: text, markup, annotated - select for diffs
Wed Sep 1 08:57:01 1999 UTC (12 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -2 lines
-background is also a legitimate ppp mode.  Don't change it to -auto.

Revision 1.39.2.10: download - view: text, markup, annotated - select for diffs
Sun Aug 29 14:18:56 1999 UTC (12 years, 5 months ago) by peter
Branches: old_old_RELENG_3
Diff to: previous 1.39.2.9: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.2.9: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri Aug 27 23:23:44 1999 UTC (12 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.57: download - view: text, markup, annotated - select for diffs
Fri Aug 27 22:15:15 1999 UTC (12 years, 5 months ago) by jkh
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +2 -2 lines
Catch an extra X on DHCP.

Spotted by the eagle eyes of:	Pierre DAVID <Pierre.David@prism.uvsq.fr>

Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed Aug 25 16:01:37 1999 UTC (12 years, 5 months ago) by sheldonh
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +60 -60 lines
Style clean-up:

	* All variables are now embraced: ${foo}

	* All comparisons against some value now take the form:
	  [ "${foo}" ? "value" ]
	  where ? is a comparison operator

	* All empty string tests now take the form:
	  [ -z "${foo}" ]

	* All non-empty string tests now take the form:
	  [ -n "${foo}" ]

Submitted by:	jkh

Revision 1.39.2.9: download - view: text, markup, annotated - select for diffs
Mon Aug 23 23:32:26 1999 UTC (12 years, 5 months ago) by brian
Branches: old_old_RELENG_3
Diff to: previous 1.39.2.8: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.2.8: +18 -18 lines
MFC: ppp_alias -> ppp_nat
     Shuffle ppp startup location

Revision 1.55: download - view: text, markup, annotated - select for diffs
Sun Aug 22 23:26:03 1999 UTC (12 years, 5 months ago) by brian
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -3 lines
ppp_alias -> ppp_nat

Submitted by: Josef L. Karthauser <joe@FreeBSD.org.uk>

Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Aug 19 21:15:16 1999 UTC (12 years, 5 months ago) by brian
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -2 lines
Quieten ppp at startup.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Tue Aug 10 09:45:31 1999 UTC (12 years, 6 months ago) by des
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +11 -1 lines
Add net.inet.icmp.log_redirect and net.inet.icmp.drop_redirect, for
respectively logging and dropping ICMP REDIRECT packets.

Note that there is no rate limiting on the log messages, so log_redirect
should be used with caution (preferrably only for debugging purposes).

Revision 1.39.2.8: download - view: text, markup, annotated - select for diffs
Fri Jul 30 17:30:26 1999 UTC (12 years, 6 months ago) by brian
Branches: old_old_RELENG_3
Diff to: previous 1.39.2.7: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.2.7: +18 -1 lines
MFC: Add a default ppp.conf (mode 600).

     Originally submitted by: Wayne Self <wself@cdrom.com>

     Allow a ppp startup option in rc.conf.

     Adjust sysinstall so that it appends to the end of ppp.conf
     and uses the generated profile to start ppp in auto mode on
     boot.

     Submitted by: Josef L. Karthauser <joe@uk.FreeBSD.org>

Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Jul 26 15:17:23 1999 UTC (12 years, 6 months ago) by brian
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +18 -18 lines
Start ppp before natd, not afterwards.

Submitted by: Josef L. Karthauser <joe@uk.FreeBSD.org>

Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Jul 26 10:49:31 1999 UTC (12 years, 6 months ago) by brian
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +18 -1 lines
Add a default ppp.conf (mode 600).

Originally submitted by: Wayne Self <wself@cdrom.com>

Allow a ppp startup option in rc.conf.

Adjust sysinstall so that it appends to the end of ppp.conf
and uses the generated profile to start ppp in auto mode on
boot.

Submitted by: Josef L. Karthauser <joe@uk.FreeBSD.org>

Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri Jul 16 09:26:52 1999 UTC (12 years, 6 months ago) by jkh
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +7 -2 lines
Allow DHCP to be used in an ifconfig variable instead of the usual
address information, producing the obvious effect (dhcp configuration).

Submitted by:   "Sean O'Connell" <sean@stat.Duke.EDU>

Revision 1.39.2.7: download - view: text, markup, annotated - select for diffs
Thu Jul 15 18:45:07 1999 UTC (12 years, 6 months ago) by obrien
Branches: old_old_RELENG_3
Diff to: previous 1.39.2.6: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.2.6: +11 -11 lines
MFC: rev 1.46 (don't discard error output from sysctl(8))
	 + echo "NFS access cache time" setting

Revision 1.39.2.6: download - view: text, markup, annotated - select for diffs
Thu Jul 15 18:41:14 1999 UTC (12 years, 6 months ago) by obrien
Branches: old_old_RELENG_3
Diff to: previous 1.39.2.5: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.2.5: +26 -3 lines
MFC: revs 1.4{2,5,9}
     * log_in_vain
     * TCP keepalives
     * network_interfaces=auto processing

Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Jul 8 18:56:02 1999 UTC (12 years, 7 months ago) by peter
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +5 -3 lines
Tweak previous commit.  Only sense the configuration if network_interfaces
is set to "auto".  Any network_interfaces settings will be treated as
before.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Wed Jul 7 12:49:45 1999 UTC (12 years, 7 months ago) by peter
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +12 -3 lines
Do away with ${network_interfaces} in rc.conf.  Just use `ifconfig -l` to
get a list of interfaces, and then automatically configure them if
${ifconfig_${ifn}} or /etc/start_if.${ifn} exists.

This makes it a lot easier to deal with machines that constantly change
their network configuration as you can leave ifconfig settings for all
the possible cards - just the ones that are present will be configured.

Revision 1.39.2.5: download - view: text, markup, annotated - select for diffs
Wed Jun 9 08:56:11 1999 UTC (12 years, 8 months ago) by brian
Branches: old_old_RELENG_3
Diff to: previous 1.39.2.4: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.2.4: +7 -2 lines
MFC: Don't add the -p flag if amd_args is empty.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue Jun 8 13:00:30 1999 UTC (12 years, 8 months ago) by brian
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +7 -2 lines
If amd_flags is empty, don't add -p as it makes amd abend.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Jun 5 12:06:19 1999 UTC (12 years, 8 months ago) by bde
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +16 -14 lines
Don't discard error output from sysctl(8).

Do discard standard output from the sysctl for approxy_all, and echo
what this sysctl is doing in the usual way.  This fix is probably
backwards.  We should probably just use the standard sysctl output
in all cases (it needs to have a newline filtered out).

Echo what the sysctls for nfs_reserved_port_only and nfs_access_cache
are doing.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Jun 5 05:45:47 1999 UTC (12 years, 8 months ago) by phk
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +6 -1 lines
Add handle to control global TCP keepalives and turn them on as
default.

Despite their name it doesn't keep TCP sessions alive, it kills
them if the other end has gone AWOL.  This happens a lot with
clients which use NAT, dynamic IP assignment or which has a 2^32
* 10^-3 seconds upper bound on their uptime.

There is no detectable increase in network trafic because of this:
two minimal TCP packets every two hours for a live TCP connection.

Many servers already enable keepalives themselves.

The host requirements RFC is 10 years old, and doesn't know about
the loosing clients of todays InterNet.

Revision 1.39.2.4: download - view: text, markup, annotated - select for diffs
Mon Apr 12 15:29:11 1999 UTC (12 years, 10 months ago) by brian
Branches: old_old_RELENG_3
CVS tags: old_old_RELENG_3_2_PAO_BP, old_old_RELENG_3_2_PAO, old_old_RELENG_3_2_0_RELEASE
Diff to: previous 1.39.2.3: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.2.3: +2 -2 lines
MFC: remove extraneous space

Revision 1.44: download - view: text, markup, annotated - select for diffs
Mon Apr 12 15:26:41 1999 UTC (12 years, 10 months ago) by brian
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -2 lines
Remove extraneous space
PR:		11096

Revision 1.39.2.3: download - view: text, markup, annotated - select for diffs
Sat Apr 10 10:59:15 1999 UTC (12 years, 10 months ago) by des
Branches: old_old_RELENG_3
Diff to: previous 1.39.2.2: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.2.2: +6 -3 lines
MFC: Allow the user to specify a firewall script.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Apr 10 10:56:58 1999 UTC (12 years, 10 months ago) by des
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +6 -3 lines
Allow the user to specify a different firewall script than /etc/rc.firewall.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Mar 28 20:36:03 1999 UTC (12 years, 10 months ago) by imp
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +7 -1 lines
Add two features:
    log_in_vain:
	log_in_vain turns on logging for packets to ports for which
	there is no listener.
    rc.sysctl:
	A generic way to set sysctl values.  It reads /etc/syslog.conf
	and sets values based on that.  No /etc/syslog.conf has been
	checked in yet, and I've not added this to the makefile yet
	until I get more feedback.

Reviewed by: -current, -hackers and bde especially

Revision 1.39.2.2: download - view: text, markup, annotated - select for diffs
Wed Mar 24 17:25:26 1999 UTC (12 years, 10 months ago) by brian
Branches: old_old_RELENG_3
Diff to: previous 1.39.2.1: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.2.1: +15 -16 lines
MFC: Move natd to network_pass1

Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Mar 24 10:28:49 1999 UTC (12 years, 10 months ago) by brian
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +15 -16 lines
Move natd from network_pass3 to network_pass1

Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Wed Mar 17 20:04:57 1999 UTC (12 years, 10 months ago) by billf
Branches: old_old_RELENG_3
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2 lines
MFC: portmap_program, lpd_program, sendmail comments, check_quota, enable_quotas

	rc.conf 	1.1 -> 1.4
	rc.network 	1.39 -> 1.40
	rc 		1.179 -> 1.180
			1.182 -> 1.183

Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Mar 11 16:17:24 1999 UTC (12 years, 11 months ago) by jfitz
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2 lines
Add ${lpd_program} and ${portmap_program} as variables in rc.conf, with
suitable defaults pointing to the FreeBSD-shipped versions.  This will allow
for easier integration of third-party replacements for these daemons.
Reviewed by: Several members of -committers

Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Jan 13 17:32:37 1999 UTC (13 years ago) by joerg
Branches: MAIN
CVS tags: old_old_RELENG_3_BP, old_old_RELENG_3_1_0_RELEASE
Branch point for: old_old_RELENG_3
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +15 -1 lines
Add some special hooks for sppp(4) interfaces.  In addition to the
normal ifconfig stuff, one might need to pass down authentication
parameters for them.

This is closely tied to Hellmuth's impending rc patches for ISDN, but
sppp can also be used separately (thus it doesn't go directly into the
planned ISDN section of rc.conf).

Reviewed by:	hm

Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed Jan 13 08:20:55 1999 UTC (13 years ago) by hm
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -1 lines
Integrate the ISDN subsystem into the /etc/rc framework
Reviewed by: Joerg Wunsch

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Jan 3 22:19:23 1999 UTC (13 years, 1 month ago) by jkh
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2 lines
Allow rwhod to take flags.

PR:		7705
Submitted by:	Johan Karlsson <k@numeri.campus.luth.se>

Revision 1.1.2.24: download - view: text, markup, annotated - select for diffs
Sat Nov 28 22:04:20 1998 UTC (13 years, 2 months ago) by jkh
Branches: old_old_RELENG_2_2
CVS tags: old_old_RELENG_2_2_8_RELEASE
Diff to: previous 1.1.2.23: preferred, colored
Changes since revision 1.1.2.23: +4 -3 lines
MFC: redirect sysctl output properly to /dev/null

Requested by:	jkoshy

Revision 1.36: download - view: text, markup, annotated - select for diffs
Fri Nov 27 07:06:11 1998 UTC (13 years, 2 months ago) by jkoshy
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -3 lines
Direct std{err,out} to /dev/null when invoking sysctl(8) for setting
`nfs_access_cache_timeout'.

Submitted by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>

Revision 1.1.2.23: download - view: text, markup, annotated - select for diffs
Wed Nov 25 21:51:34 1998 UTC (13 years, 2 months ago) by msmith
Branches: old_old_RELENG_2_2
Diff to: previous 1.1.2.22: preferred, colored
Changes since revision 1.1.2.22: +4 -1 lines
Add hooks for configuring the NFS ACCESS cache, defaulting it to disabled.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Nov 15 20:30:04 1998 UTC (13 years, 2 months ago) by msmith
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -1 lines
Implement the nfs_access_cache variable, allowing us to set the timeout for
the NFS client's ACCESS cache.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Nov 11 05:23:44 1998 UTC (13 years, 3 months ago) by peter
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2 lines
kldload ipfw, it's installed always and works on both kernel formats

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Oct 6 19:24:14 1998 UTC (13 years, 4 months ago) by phk
Branches: MAIN
CVS tags: old_old_RELENG_3_0_0_RELEASE
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +17 -1 lines
Here are some scripts and man pages for configuring HARP ATM
interfaces.

Reviewed by:	phk
Submitted by:	Mike Spengler <mks@networkcs.com>

Revision 1.1.2.22: download - view: text, markup, annotated - select for diffs
Wed Sep 30 01:08:12 1998 UTC (13 years, 4 months ago) by jdp
Branches: old_old_RELENG_2_2
Diff to: previous 1.1.2.21: preferred, colored
Changes since revision 1.1.2.21: +3 -3 lines
MFC 1.28 -> 1.29: Fix misspelling of "stash_flag".

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Sep 16 20:38:23 1998 UTC (13 years, 4 months ago) by cracauer
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2 lines
rc.conf variable $amd_map_program needs to be eval'ed.
PR:		misc/7435
Submitted by:	David Wolfskill <dhw@whistle.com>

Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Sep 15 10:49:02 1998 UTC (13 years, 4 months ago) by jkoshy
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +6 -1 lines
Turn off replies to ICMP echo requests for broadcast and multicast
addresses by default.

Add a knob "icmp_bmcastecho" to "rc.network" to allow this
behaviour to be controlled from "rc.conf".

Document the controlling sysctl variable "net.inet.icmp.bmcastecho"
in sysctl(3).

Reviewed by: dg, jkh
Reminded on -hackers by: Steinar Haug <sthaug@nethelp.no>

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Sep 6 08:20:11 1998 UTC (13 years, 5 months ago) by phk
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +1 -2 lines
tcp_extensions now only applies to RFC1323

Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Aug 14 06:55:17 1998 UTC (13 years, 5 months ago) by phk
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3 lines
In /etc/rc.network, near line 242, setting up Kerberos,
variable "stash_flag" is set.  A few lines later, it is evaluated
as "stash_flags" with a trailing "s", and then a bit later the
singular version is unset.

PR:		7609
Reviewed by:	phk
Submitted by:	Walt Howard <howard@ee.utah.edu>

Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Jul 8 15:40:53 1998 UTC (13 years, 7 months ago) by nectar
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +11 -5 lines
Allow either an IP address or an interface to be specified in
the rc.conf variable ``natd_interface''.  rc.network will
determine whether it is an IP address or an interface name,
and invoke natd with the -a or -n flag as appropriate.

PR:				6947
Reviewed by:	jkh@FreeBSD.ORG

Revision 1.1.2.21: download - view: text, markup, annotated - select for diffs
Sat Jun 27 21:23:20 1998 UTC (13 years, 7 months ago) by steve
Branches: old_old_RELENG_2_2
CVS tags: old_old_RELENG_2_2_7_RELEASE
Diff to: previous 1.1.2.20: preferred, colored
Changes since revision 1.1.2.20: +7 -1 lines
MFC: natd support

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Jun 14 16:31:03 1998 UTC (13 years, 7 months ago) by steve
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -5 lines
Cleanup natd startup test.

PR:		6946
Submitted by:	Jacques Vidrine <n@nectar.com>

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue May 19 04:36:31 1998 UTC (13 years, 8 months ago) by jkh
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +17 -18 lines
cosmetic: clean up startup messages and rearrange some options
to go in a more proper order.

Revision 1.1.2.20: download - view: text, markup, annotated - select for diffs
Wed May 6 17:43:00 1998 UTC (13 years, 9 months ago) by andreas
Branches: old_old_RELENG_2_2
Diff to: previous 1.1.2.19: preferred, colored
Changes since revision 1.1.2.19: +3 -3 lines
MFC: xxx_prog -> xxx_program, overlooked this new style of var names.
     backout last change "named_prog"

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed May 6 17:36:16 1998 UTC (13 years, 9 months ago) by andreas
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
Overlooked, that newer naming convention is xxx_program instead of xxx_prog.
So changed it to ntpdate_program and xntpd_program.
Backout last change, now we have again named_program, sorry.

Revision 1.1.2.19: download - view: text, markup, annotated - select for diffs
Tue May 5 21:39:44 1998 UTC (13 years, 9 months ago) by andreas
Branches: old_old_RELENG_2_2
Diff to: previous 1.1.2.18: preferred, colored
Changes since revision 1.1.2.18: +3 -3 lines
Merged in changes from current
config option to specify the path for ntpdate and xntpd program

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue May 5 21:14:27 1998 UTC (13 years, 9 months ago) by andreas
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3 lines
Add variables for the ntpdate and xntpd program, you might want
to run the binaries from the new ntp v4 port.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Apr 26 06:32:13 1998 UTC (13 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -1 lines
Jean-Simon Pendry's paper on  amd refers to the use of "ypcat -k"
against the "master map" to get the list of mount point/amd map
correspondences, and using that list as command-line arguments to start
amd.

When I tried to do this with the existing /etc/rc* scripts, I found that
I couldn't do this by modifying only /etc/rc.conf:  that file gets
sourced very early by /etc/rc, well before any networking functionality
is present, let alone NIS.  Further, I wasn't able to figure out a way
to use various levels & types of quoting to defer evaluation of the
string to a point subsequent to NIS initialization.

As a result, I resorted to hacking /etc/rc.network -- but I did it in a
way that ought to be reasonably general, and avoid breakage for anyone
else.

PR:		6387
Reviewed by:	phk
Submitted by:	David Wolfskill <dhw@whistle.com>

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Apr 18 10:27:06 1998 UTC (13 years, 9 months ago) by brian
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +9 -1 lines
Add natd support.
PR:		6339
Submitted by:	cdillon@wolves.k12.mo.us

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Apr 12 09:47:43 1998 UTC (13 years, 10 months ago) by markm
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +10 -1 lines
Enable the SecureRPC bits in rc.conf, if the Administrator wants them.

Revision 1.1.2.18: download - view: text, markup, annotated - select for diffs
Mon Mar 9 08:52:01 1998 UTC (13 years, 11 months ago) by jkh
Branches: old_old_RELENG_2_2
CVS tags: old_old_RELENG_2_2_6_RELEASE
Diff to: previous 1.1.2.17: preferred, colored
Changes since revision 1.1.2.17: +5 -1 lines
MFC: rarpd flags.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Mar 9 08:50:30 1998 UTC (13 years, 11 months ago) by jkh
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +5 -1 lines
Allow rarpd to be started from rc.conf
PR:		5457
Submitted by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>

Revision 1.1.2.17: download - view: text, markup, annotated - select for diffs
Fri Feb 27 20:49:15 1998 UTC (13 years, 11 months ago) by jkh
Branches: old_old_RELENG_2_2
Diff to: previous 1.1.2.16: preferred, colored
Changes since revision 1.1.2.16: +13 -4 lines
MFC: cosmetic tweaks, merge in new kerberos vars for rc.conf.

Revision 1.1.2.16: download - view: text, markup, annotated - select for diffs
Mon Feb 23 20:21:07 1998 UTC (13 years, 11 months ago) by guido
Branches: old_old_RELENG_2_2
Diff to: previous 1.1.2.15: preferred, colored
Changes since revision 1.1.2.15: +11 -1 lines
MFC: Addition of forward_sourceroute and accept_sourceroute variables
in rc.conf and the implementation of the latter.

Revision 1.1.2.15: download - view: text, markup, annotated - select for diffs
Fri Feb 20 14:46:12 1998 UTC (13 years, 11 months ago) by brian
Branches: old_old_RELENG_2_2
Diff to: previous 1.1.2.14: preferred, colored
Changes since revision 1.1.2.14: +2 -2 lines
MFC: Remove useless argument to ``. start_if.$ifn''
     Pointed out by: Tim Tsai <tim@futuresouth.com>

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Feb 20 14:45:06 1998 UTC (13 years, 11 months ago) by brian
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
Remove useless argument to ``. start_if.$ifn''
Pointed out by: Tim Tsai <tim@futuresouth.com>

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Feb 16 19:21:32 1998 UTC (13 years, 11 months ago) by guido
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +11 -1 lines
Add 2 new rc.conf variables:
forward_sourceroute : controls setting of existing net.inet.ip.sourceroute
accept_sourceroute : control setting of new net.inet.ip.accept_sourceroute

Revision 1.1.2.14: download - view: text, markup, annotated - select for diffs
Sun Feb 15 14:24:50 1998 UTC (13 years, 11 months ago) by jkh
Branches: old_old_RELENG_2_2
Diff to: previous 1.1.2.13: preferred, colored
Changes since revision 1.1.2.13: +10 -6 lines
MFC: selected improvements for etc files *not* including periodic changes,
     security tweaks or other kerberbos related stuff.  I expect that
     stuff to occur as a side-effect of what others will be doing in etc,
     if at all.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Feb 14 04:12:23 1998 UTC (13 years, 11 months ago) by alex
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -2 lines
Avoid using grep when determining ipfw's default policy -- it may not
be available at this stage of the boot if /usr is NFS mounted.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Feb 7 04:56:56 1998 UTC (14 years ago) by alex
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +6 -3 lines
Don't assume that IP services are disabled just because firewall_enable
is not set to YES in rc.conf.

Noticed by:	Mikael Karpberg <karpen@ocean.campus.luth.se>

Revision 1.1.2.13: download - view: text, markup, annotated - select for diffs
Sun Feb 1 00:24:02 1998 UTC (14 years ago) by wollman
Branches: old_old_RELENG_2_2
Diff to: previous 1.1.2.12: preferred, colored
Changes since revision 1.1.2.12: +2 -2 lines
MFC: allow an alternate named to be specified.
Revs: rc.conf 1.37, rc.network 1.15

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Feb 1 00:20:56 1998 UTC (14 years ago) by wollman
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
Add an additional `named_program' variable so that we can easily choose
between 4.9.6 and the port of 8.x.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Jan 10 03:33:39 1998 UTC (14 years, 1 month ago) by alex
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -4 lines
Compare return code from ipfw against 0 for success instead of == 1
for error.

Pointed out by:	Matthew Thyer <thyerm@camtech.net.au>

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Dec 1 06:11:34 1997 UTC (14 years, 2 months ago) by obrien
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +6 -8 lines
MF 22s

Revision 1.1.2.12: download - view: text, markup, annotated - select for diffs
Mon Dec 1 06:06:35 1997 UTC (14 years, 2 months ago) by obrien
Branches: old_old_RELENG_2_2
Diff to: previous 1.1.2.11: preferred, colored
Changes since revision 1.1.2.11: +6 -8 lines
Remove useless double test.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Nov 7 20:45:34 1997 UTC (14 years, 3 months ago) by sef
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +13 -4 lines
Allow the system to be configured to pass "-n" to kerberos and
kadmind or not; also, only run kadmind on a non-slave server.  Man
page for rc.conf is also updated.

Reviewed by:	Mark Murray

Revision 1.1.2.11: download - view: text, markup, annotated - select for diffs
Thu Sep 18 22:47:12 1997 UTC (14 years, 4 months ago) by danny
Branches: old_old_RELENG_2_2
CVS tags: old_old_RELENG_2_2_5_RELEASE
Diff to: previous 1.1.2.10: preferred, colored
Changes since revision 1.1.2.10: +2 -2 lines
Fix problems with rules file loading and need-modload detection.
Found by: "James E. Housley" <housley@pr-comm.com>

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Sep 18 22:43:48 1997 UTC (14 years, 4 months ago) by danny
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
Fix some problems in the rules file loading and need for modload detection.

Found by: "James E. Housley" <housley@pr-comm.com>

Revision 1.1.2.10: download - view: text, markup, annotated - select for diffs
Sun Sep 14 23:35:26 1997 UTC (14 years, 4 months ago) by danny
Branches: old_old_RELENG_2_2
Diff to: previous 1.1.2.9: preferred, colored
Changes since revision 1.1.2.9: +32 -5 lines
MFC - firewall initialization cosmetics.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Sep 11 10:59:02 1997 UTC (14 years, 5 months ago) by danny
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +32 -5 lines
Reviewed by:	msmith, alex
Cosmetic changes to the loading of firewall rules and lkm.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Jul 6 00:33:34 1997 UTC (14 years, 7 months ago) by pst
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +7 -6 lines
Merge from 2.2 (tcp extensions in phase 1)

Revision 1.1.2.9: download - view: text, markup, annotated - select for diffs
Sun Jul 6 00:32:00 1997 UTC (14 years, 7 months ago) by pst
Branches: old_old_RELENG_2_2
Diff to: previous 1.1.2.8: preferred, colored
Changes since revision 1.1.2.8: +7 -6 lines
Move TCP extensions into phase 1.
Submitted by:	bde

Revision 1.1.2.8: download - view: text, markup, annotated - select for diffs
Mon May 19 08:02:37 1997 UTC (14 years, 8 months ago) by jkh
Branches: old_old_RELENG_2_2
Diff to: previous 1.1.2.7: preferred, colored
Changes since revision 1.1.2.7: +3 -3 lines
YAMFC

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon May 19 07:46:48 1997 UTC (14 years, 8 months ago) by jkh
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
Neaten up some things which were inconsistent, add a few more flags
to things which need them, general cleanup.
Submitted by:	Brian Somers <brian@awfulhak.org>

Revision 1.1.2.7: download - view: text, markup, annotated - select for diffs
Tue May 13 08:27:49 1997 UTC (14 years, 9 months ago) by jkh
Branches: old_old_RELENG_2_2
CVS tags: old_old_RELENG_2_2_2_RELEASE
Diff to: previous 1.1.2.6: preferred, colored
Changes since revision 1.1.2.6: +6 -1 lines
Merge arp_proxyall knob from -current.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue May 13 08:22:27 1997 UTC (14 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +6 -1 lines
Add arp_proxyall knob.
Submitted by:	Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat May 3 11:22:17 1997 UTC (14 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -7 lines
Update the etc world from RELENG_2_2 which is now more up-to-date
(gotta get myself -current again, this is a drag).

Also-fixes-problems-noted-by: Wolfgang Helbig & Joerg Wunsch

Revision 1.1.2.6: download - view: text, markup, annotated - select for diffs
Thu May 1 23:42:19 1997 UTC (14 years, 9 months ago) by jkh
Branches: old_old_RELENG_2_2
Diff to: previous 1.1.2.5: preferred, colored
Changes since revision 1.1.2.5: +3 -3 lines
DOH!  I "corrected" the spelling in exactly the opposite way
I meant to.  Urk.  Fix.
Reminded by:	wollman

Revision 1.1.2.5: download - view: text, markup, annotated - select for diffs
Thu May 1 20:28:48 1997 UTC (14 years, 9 months ago) by jkh
Branches: old_old_RELENG_2_2
Diff to: previous 1.1.2.4: preferred, colored
Changes since revision 1.1.2.4: +6 -6 lines
YAMFC

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu May 1 20:28:18 1997 UTC (14 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -6 lines
Ack, learn to spell "extentions" the same way in the same file.
Also make the output a little less cryptic for sysctl settings.

Suggested by:	bde

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu May 1 20:04:42 1997 UTC (14 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
YAMF22
PR:		3456

Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Thu May 1 20:02:58 1997 UTC (14 years, 9 months ago) by jkh
Branches: old_old_RELENG_2_2
Diff to: previous 1.1.2.3: preferred, colored
Changes since revision 1.1.2.3: +2 -2 lines
Source rc.firewall, don't execute it (so that variables get passed in
properly).  Closes PR#3456

Submitted-By: Christopher Masto <chris@netmonger.net>

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu May 1 04:38:16 1997 UTC (14 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
YAMF22

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Thu May 1 04:37:10 1997 UTC (14 years, 9 months ago) by jkh
Branches: old_old_RELENG_2_2
Diff to: previous 1.1.2.2: preferred, colored
Changes since revision 1.1.2.2: +2 -2 lines
Correct bogosity with tcp_extensions clause.
Submitted-By: "Philippe Charnier" <charnier@xp11.frmug.org>

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Sun Apr 27 11:13:39 1997 UTC (14 years, 9 months ago) by jkh
Branches: old_old_RELENG_2_2
Diff to: previous 1.1.2.1: preferred, colored
Changes since revision 1.1.2.1: +1 -5 lines
tickadj is useful even if ntpdate isn't selected (clock drift isn't
isolated to network time users) so make it a fully independant knob.
Suggested-By: Richard Crook <richard@sj.co.uk>

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Apr 27 03:59:14 1997 UTC (14 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +207 -0 lines
Bring in rc file changes from -current.

Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 26 22:39:34 1997 UTC (14 years, 9 months ago) by jkh
Branches: old_old_RELENG_2_2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +207 -0 lines
Bring in rc reorganizational changes.  I'm bringing them into 2.2
first rather than 3.0 because, ironically, I have every confidence that
they run in 2.2 but not in 3.0 yet.  3.0 commits will follow just as I've
finished an inventory for any new knobs in -current which need accomodation.
In any case, it's good to get them into 2.2 early because there is going
to be a doc hit for this (all the references to sysconfig) and I'd just
as soon start getting people used to the new files ASAP rather than
prolonging the pain any more than necessary.

Revision 1.1
Sat Apr 26 22:39:34 1997 UTC (14 years, 9 months ago) by jkh
Branches: MAIN
Branch point for: old_old_RELENG_2_2
FILE REMOVED
file rc.network was initially added on branch RELENG_2_2.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options