summaryrefslogtreecommitdiffstats
path: root/etc/rc.network
Commit message (Collapse)AuthorAgeFilesLines
* Oops, typobrian1999-11-231-1/+1
|
* Add pppoed startup optionsbrian1999-11-231-0/+10
|
* Add network pass4 - after all local (/usr/local/etc/rc.d f.e.)ache1999-11-171-10/+16
| | | | | | 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-141-0/+17
| | | | Needed for machine with CFS but without real NFS
* Make the firewall file variable space-safe.green1999-09-191-2/+2
|
* Apply a consistent style to most of the etc scripts. Particularly, usesheldonh1999-09-131-377/+551
| | | | | | | | | 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-121-0/+10
| | | | | 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-011-1/+2
|
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Catch an extra X on DHCP.jkh1999-08-271-2/+2
| | | | Spotted by the eagle eyes of: Pierre DAVID <Pierre.David@prism.uvsq.fr>
* Style clean-up:sheldonh1999-08-251-60/+60
| | | | | | | | | | | | | | | | * 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-221-3/+3
| | | | Submitted by: Josef L. Karthauser <joe@FreeBSD.org.uk>
* Quieten ppp at startup.brian1999-08-191-2/+2
|
* Add net.inet.icmp.log_redirect and net.inet.icmp.drop_redirect, fordes1999-08-101-1/+11
| | | | | | | 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-261-18/+18
| | | | Submitted by: Josef L. Karthauser <joe@uk.FreeBSD.org>
* Add a default ppp.conf (mode 600).brian1999-07-261-1/+18
| | | | | | | | | | | | 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>
* Allow DHCP to be used in an ifconfig variable instead of the usualjkh1999-07-161-2/+7
| | | | | | 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-081-3/+5
| | | | | 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-071-3/+12
| | | | | | | | | 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.
* If amd_flags is empty, don't add -p as it makes amd abend.brian1999-06-081-2/+7
|
* Don't discard error output from sysctl(8).bde1999-06-051-14/+16
| | | | | | | | | | 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.
* Add handle to control global TCP keepalives and turn them on asphk1999-06-051-1/+6
| | | | | | | | | | | | | | | | | 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.
* Remove extraneous spacebrian1999-04-121-2/+2
| | | | PR: 11096
* Allow the user to specify a different firewall script than /etc/rc.firewall.des1999-04-101-3/+6
|
* Add two features:imp1999-03-281-1/+7
| | | | | | | | | | | | | 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
* Move natd from network_pass3 to network_pass1brian1999-03-241-16/+15
|
* Add ${lpd_program} and ${portmap_program} as variables in rc.conf, withjfitz1999-03-111-2/+2
| | | | | | 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
* Add some special hooks for sppp(4) interfaces. In addition to thejoerg1999-01-131-1/+15
| | | | | | | | | | | 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
* Integrate the ISDN subsystem into the /etc/rc frameworkhm1999-01-131-1/+6
| | | | Reviewed by: Joerg Wunsch
* Allow rwhod to take flags.jkh1999-01-031-2/+2
| | | | | PR: 7705 Submitted by: Johan Karlsson <k@numeri.campus.luth.se>
* Direct std{err,out} to /dev/null when invoking sysctl(8) for settingjkoshy1998-11-271-3/+4
| | | | | | `nfs_access_cache_timeout'. Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
* Implement the nfs_access_cache variable, allowing us to set the timeout formsmith1998-11-151-1/+4
| | | | the NFS client's ACCESS cache.
* kldload ipfw, it's installed always and works on both kernel formatspeter1998-11-111-2/+2
|
* Here are some scripts and man pages for configuring HARP ATMphk1998-10-061-1/+17
| | | | | | | interfaces. Reviewed by: phk Submitted by: Mike Spengler <mks@networkcs.com>
* rc.conf variable $amd_map_program needs to be eval'ed.cracauer1998-09-161-2/+2
| | | | | PR: misc/7435 Submitted by: David Wolfskill <dhw@whistle.com>
* Turn off replies to ICMP echo requests for broadcast and multicastjkoshy1998-09-151-1/+6
| | | | | | | | | | | | | 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>
* tcp_extensions now only applies to RFC1323phk1998-09-061-2/+1
|
* In /etc/rc.network, near line 242, setting up Kerberos,phk1998-08-141-3/+3
| | | | | | | | | | 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>
* Allow either an IP address or an interface to be specified innectar1998-07-081-5/+11
| | | | | | | | | 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
* Cleanup natd startup test.steve1998-06-141-5/+4
| | | | | PR: 6946 Submitted by: Jacques Vidrine <n@nectar.com>
* cosmetic: clean up startup messages and rearrange some optionsjkh1998-05-191-18/+17
| | | | to go in a more proper order.
* Overlooked, that newer naming convention is xxx_program instead of xxx_prog.andreas1998-05-061-3/+3
| | | | | So changed it to ntpdate_program and xntpd_program. Backout last change, now we have again named_program, sorry.
* Add variables for the ntpdate and xntpd program, you might wantandreas1998-05-051-3/+3
| | | | to run the binaries from the new ntp v4 port.
* Jean-Simon Pendry's paper on amd refers to the use of "ypcat -k"phk1998-04-261-1/+4
| | | | | | | | | | | | | | | | | | | | | 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>
* Add natd support.brian1998-04-181-1/+9
| | | | | PR: 6339 Submitted by: cdillon@wolves.k12.mo.us
* Enable the SecureRPC bits in rc.conf, if the Administrator wants them.markm1998-04-121-1/+10
|
* Allow rarpd to be started from rc.confjkh1998-03-091-1/+5
| | | | | PR: 5457 Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
* Remove useless argument to ``. start_if.$ifn''brian1998-02-201-2/+2
| | | | Pointed out by: Tim Tsai <tim@futuresouth.com>
* Add 2 new rc.conf variables:guido1998-02-161-1/+11
| | | | | forward_sourceroute : controls setting of existing net.inet.ip.sourceroute accept_sourceroute : control setting of new net.inet.ip.accept_sourceroute
* Avoid using grep when determining ipfw's default policy -- it may notalex1998-02-141-2/+3
| | | | be available at this stage of the boot if /usr is NFS mounted.
OpenPOWER on IntegriCloud