summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
Commit message (Collapse)AuthorAgeFilesLines
* - Remove use of programs in /usr like sed as possible. In thisume2000-07-091-28/+57
| | | | | | | | | time, I have no idea if there is equivalence of printf. So, stf setup still depends on /usr. In addition, prefix(8) and gifconfig(8) are in /usr/sbin. Should we move these into /sbin? - Sync with latest stf behavior. Latest stf doesn't have link-local address. And, latest stf is not gif but stf.
* Add ip_portrange_first and ip_portrange_last rc.conf/rc.networkdillon2000-06-225-0/+95
| | | | | | | 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
* Add ipsec_enable and ipsec_file options to run IPSEC's setkey programdillon2000-05-165-0/+55
| | | | with the specified configuration file at the appropriate time.
* Remove extraneous ";;" in previous commitkris2000-05-155-5/+0
| | | | Submitted by: jedgar
* Create a DSA host key if one does not already exist, and teach sshd_configkris2000-05-155-5/+30
| | | | about it.
* Add firewall_logging knob to enable/disablle events logging, disabledache2000-05-065-0/+50
| | | | | by default. Needed mainly for ipfw kernel module to enable logging disabled there.
* Add to defaults/rc.conf a new function source_rc_confs which rcsheldonh2000-04-274-0/+4
| | | | | | | | | | | | | | | | | scripts may use to source safely overrides in ${rc_conf_files} files. This protects users who insist on the bad practice of copying /etc/defaults/rc.conf to /etc/rc.conf from a recursive loop that exhausts available file descriptors. Several people have expressed interest in breaking this function out into its own shell script. Anyone who wants to embark on such an undertaking would do well to study the attributed PR. PR: 17595 Reported by: adrian Submitted by: Doug Barton <Doug@gorean.org>
* Removed unnecessary comma in stf addr printf in hex format,shin2000-04-061-1/+1
| | | | | | which I mysteriously added. Submitted by: ume
* Avoid using sed and awk in configure script.shin2000-03-281-4/+6
| | | | | | TODO: also replace other sed and awk usages. Submitted by: wollman
* Add a configuration options which enable/disable IPv4 mapped IPv6 addrshin2000-03-281-0/+11
| | | | | | support. Suggested and Reviewed by: ume
* Add a sysctl to specify the amount of UDP receive space NFS shoulddillon2000-03-275-0/+25
| | | | | | | | | | | 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
* IPv6 related configuration updates.shin2000-03-121-3/+66
| | | | | | | | | | | | | | | - 6to4(stf) interface configuration. - Static route configuration. - Comment additions. - Replaced a still existed '@' to '%' in IPv6 scoped addr format. (This became necessary as previous IPv6 scoped addr format change.) Much thanks to ume, who helped me reviewing, testing, and finding problems with these changes. Approved by: jkh Reviewed by: ume
* Prevent multicast packets from being sent over stf0 interface,shin2000-03-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | to avoid error messages printed on /var/log/messages. Recently added "stf" interface has IFF_MULTICAST bit set, because IPv6 don't work on non IFF_MULTICAST set interfaces in current implementation. But "stf" interface is multi-dest IPv6 over IPv4 tunnel, so can't treat multicast packet with no special configuration. On the other hand, tools like "rtadvd", "pim6dd", "pim6sd" send messages on IFF_MULTICAST set interfaces by default. So there will be many bogus error message on /var/log/messages, that multicast packets sent to "stf0" failed. So, -strip "stf0" from rtadvd sending interfaces in rc.network6 ("rtadvd" is a daemon used only for local subnet, so it will never need to send its packets over "stf0" interfaces.) -Add default configuration files for "pim6dd" and "pim6sd", and disable "stf0" in those files. Approved by: jkh
* cosmetic fix - add a space.jkh2000-02-295-5/+5
|
* Get the order of things right; the keys need to be generatedmarkm2000-02-285-20/+0
| | | | | early to allow entropy to replenish. sshd must start late to catch the full effects of ldconfig.
* Generate new sshd host key when necessary. I'm tired ofjkh2000-02-285-5/+35
| | | | waiting for someone to commit this. :)
* Run sshd at boot time if the sysadmin wants it. Also installmarkm2000-02-245-0/+35
| | | | ssh[d] config files in the right place.
* -Remove IPv6 initialization failed interfaces from the list ofshin2000-02-241-3/+21
| | | | | | | | | interfaces passed to rtadvd -Comment out example sentences more completely -Redirect error message of ifconfig output into /dev/null, to correctly find out working IPv6 interfaces Approved by: jkh
* -Removed unnecessary use of awk.shin2000-02-241-5/+5
| | | | | | | | -small comment fix. Approved by: jkh Submitted by: Chris Costello <chris@calldei.com>
* Add IPv6 configuration scripts.shin2000-02-231-0/+246
| | | | | | | | | | | Initial version created by, and kindly much tested by: bmah@CA.Sandia.GOV (Bruce A. Mah) Approved by: jkh Reviewed by: bmah@CA.Sandia.GOV (Bruce A. Mah), Ollivier Robert <roberto@keltia.freenix.fr> Obtained from: KAME project
* No arguments needed for fore_dnld any longer.phk2000-02-155-5/+5
| | | | Approved by: jkh
* Approved by: jkhhm2000-02-065-50/+50
| | | | | | | | | | | 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.
* Add and document support for handling comments and blank lineschris2000-01-161-3/+6
| | | | | | in /etc/sysctl.conf. Reviewed by: imp, jkh
* This is another in Martin Blapp's N-series of mount-related cleanups :)green2000-01-155-0/+35
| | | | | | | | | | | | | 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>
* Cleanup diskless support in current, mostly aligning it to the oneluigi2000-01-065-99/+104
| | | | | | in the 3.x branch. Also remove the dependency on /usr to find the boot address/interface. Mostly-submitted-abd-tested-by: MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>
* xntpd -> ntpd.roberto1999-12-175-5/+5
| | | | Submitted by: ru
* Suport multiple ``ifconfig_*?="DHCP"'' configurations.obrien1999-12-125-55/+95
| | | | | | | | | 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
* Now that pccardc beep actually works, add knob for it in rc.conf/rc.pccardimp1999-12-021-0/+4
| | | | Submitted by: sanpei@sanpei.org (MIHIRA-san Yoshiro)
* Oops, typobrian1999-11-235-5/+5
|
* Add pppoed startup optionsbrian1999-11-235-0/+50
|
* Add network pass4 - after all local (/usr/local/etc/rc.d f.e.)ache1999-11-175-50/+80
| | | | | | 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
* Add single_mountd_enable hook to run mountd but not NFS serverache1999-11-145-0/+85
| | | | Needed for machine with CFS but without real NFS
* Make the firewall file variable space-safe.green1999-09-195-10/+10
|
* Add/adjust some $FreeBSD$ tags.peter1999-09-135-9/+4
| | | | Noted by: Doug <Doug@gorean.org>
* Apply a consistent style to most of the etc scripts. Particularly, usesheldonh1999-09-1317-2606/+3616
| | | | | | | | | 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>
* Add the net.inet.tcp.restrict_rst and net.inet.tcp.drop_synfin sysctldes1999-09-125-0/+50
| | | | | variables, conditional on the TCP_RESTRICT_RST and TCP_DROP_SYNFIN kernel options, respectively. See the comments in LINT for details.
* -background is also a legitimate ppp mode. Don't change it to -auto.peter1999-09-015-5/+10
|
* $Id$ -> $FreeBSD$peter1999-08-2714-14/+14
|
* Catch an extra X on DHCP.jkh1999-08-275-10/+10
| | | | Spotted by the eagle eyes of: Pierre DAVID <Pierre.David@prism.uvsq.fr>
* Small whitespace change to fix run-over lines introduced in the previoussheldonh1999-08-271-3/+3
| | | | | | commit. Reported by: bde
* Style clean-up:sheldonh1999-08-2515-366/+365
| | | | | | | | | | | | | | | | * 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
* ppp_alias -> ppp_natbrian1999-08-225-15/+15
| | | | Submitted by: Josef L. Karthauser <joe@FreeBSD.org.uk>
* Quieten ppp at startup.brian1999-08-195-10/+10
|
* Add net.inet.icmp.log_redirect and net.inet.icmp.drop_redirect, fordes1999-08-105-5/+55
| | | | | | | 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).
* Start ppp before natd, not afterwards.brian1999-07-265-90/+90
| | | | Submitted by: Josef L. Karthauser <joe@uk.FreeBSD.org>
* Add a default ppp.conf (mode 600).brian1999-07-265-5/+90
| | | | | | | | | | | | 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>
* Don't background pccardd, it nullfies the "-z" flag. pccardd itselfobrien1999-07-261-2/+2
| | | | daemonizes, lets just let things progress normally.
* Allow DHCP to be used in an ifconfig variable instead of the usualjkh1999-07-165-10/+35
| | | | | | address information, producing the obvious effect (dhcp configuration). Submitted by: "Sean O'Connell" <sean@stat.Duke.EDU>
* Tweak previous commit. Only sense the configuration if network_interfacespeter1999-07-085-15/+25
| | | | | is set to "auto". Any network_interfaces settings will be treated as before.
* Do away with ${network_interfaces} in rc.conf. Just use `ifconfig -l` topeter1999-07-075-15/+60
| | | | | | | | | 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.
OpenPOWER on IntegriCloud