summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2001-03-19 22:07:32 +0000
committerdes <des@FreeBSD.org>2001-03-19 22:07:32 +0000
commit097a9d6bae16257ca039fa6a77f1c9a2b8adbc26 (patch)
treeb237d1b327a05d1bbf33edfc981119f3994f77ef /etc/rc.d
parentd0f798c1511603114cebeb179c36e5b22f827f1b (diff)
downloadFreeBSD-src-097a9d6bae16257ca039fa6a77f1c9a2b8adbc26.zip
FreeBSD-src-097a9d6bae16257ca039fa6a77f1c9a2b8adbc26.tar.gz
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)
Diffstat (limited to 'etc/rc.d')
-rw-r--r--etc/rc.d/netoptions7
-rw-r--r--etc/rc.d/network17
-rw-r--r--etc/rc.d/network27
-rw-r--r--etc/rc.d/network37
-rw-r--r--etc/rc.d/routing7
5 files changed, 0 insertions, 35 deletions
diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions
index c1ffb37..fbe8bf3 100644
--- a/etc/rc.d/netoptions
+++ b/etc/rc.d/netoptions
@@ -394,13 +394,6 @@ network_pass1() {
;;
esac
- case ${tcp_restrict_rst} in
- [Yy][Ee][Ss])
- echo -n ' restrict TCP reset=YES'
- sysctl -w net.inet.tcp.restrict_rst=1 >/dev/null
- ;;
- esac
-
case ${tcp_drop_synfin} in
[Yy][Ee][Ss])
echo -n ' drop SYN+FIN packets=YES'
diff --git a/etc/rc.d/network1 b/etc/rc.d/network1
index c1ffb37..fbe8bf3 100644
--- a/etc/rc.d/network1
+++ b/etc/rc.d/network1
@@ -394,13 +394,6 @@ network_pass1() {
;;
esac
- case ${tcp_restrict_rst} in
- [Yy][Ee][Ss])
- echo -n ' restrict TCP reset=YES'
- sysctl -w net.inet.tcp.restrict_rst=1 >/dev/null
- ;;
- esac
-
case ${tcp_drop_synfin} in
[Yy][Ee][Ss])
echo -n ' drop SYN+FIN packets=YES'
diff --git a/etc/rc.d/network2 b/etc/rc.d/network2
index c1ffb37..fbe8bf3 100644
--- a/etc/rc.d/network2
+++ b/etc/rc.d/network2
@@ -394,13 +394,6 @@ network_pass1() {
;;
esac
- case ${tcp_restrict_rst} in
- [Yy][Ee][Ss])
- echo -n ' restrict TCP reset=YES'
- sysctl -w net.inet.tcp.restrict_rst=1 >/dev/null
- ;;
- esac
-
case ${tcp_drop_synfin} in
[Yy][Ee][Ss])
echo -n ' drop SYN+FIN packets=YES'
diff --git a/etc/rc.d/network3 b/etc/rc.d/network3
index c1ffb37..fbe8bf3 100644
--- a/etc/rc.d/network3
+++ b/etc/rc.d/network3
@@ -394,13 +394,6 @@ network_pass1() {
;;
esac
- case ${tcp_restrict_rst} in
- [Yy][Ee][Ss])
- echo -n ' restrict TCP reset=YES'
- sysctl -w net.inet.tcp.restrict_rst=1 >/dev/null
- ;;
- esac
-
case ${tcp_drop_synfin} in
[Yy][Ee][Ss])
echo -n ' drop SYN+FIN packets=YES'
diff --git a/etc/rc.d/routing b/etc/rc.d/routing
index c1ffb37..fbe8bf3 100644
--- a/etc/rc.d/routing
+++ b/etc/rc.d/routing
@@ -394,13 +394,6 @@ network_pass1() {
;;
esac
- case ${tcp_restrict_rst} in
- [Yy][Ee][Ss])
- echo -n ' restrict TCP reset=YES'
- sysctl -w net.inet.tcp.restrict_rst=1 >/dev/null
- ;;
- esac
-
case ${tcp_drop_synfin} in
[Yy][Ee][Ss])
echo -n ' drop SYN+FIN packets=YES'
OpenPOWER on IntegriCloud