summaryrefslogtreecommitdiff
path: root/packages/google-compute-engine/src/etc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/google-compute-engine/src/etc')
-rw-r--r--packages/google-compute-engine/src/etc/apt/apt.conf.d/01autoremove-gce10
-rw-r--r--packages/google-compute-engine/src/etc/apt/apt.conf.d/99ipv4-only2
-rwxr-xr-xpackages/google-compute-engine/src/etc/dhcp/dhclient.d/google_hostname.sh21
-rw-r--r--packages/google-compute-engine/src/etc/modprobe.d/gce-blacklist.conf5
-rw-r--r--packages/google-compute-engine/src/etc/rsyslog.d/90-google.conf6
-rw-r--r--packages/google-compute-engine/src/etc/sysctl.d/11-gce-network-security.conf61
6 files changed, 0 insertions, 105 deletions
diff --git a/packages/google-compute-engine/src/etc/apt/apt.conf.d/01autoremove-gce b/packages/google-compute-engine/src/etc/apt/apt.conf.d/01autoremove-gce
deleted file mode 100644
index be2d7f5..0000000
--- a/packages/google-compute-engine/src/etc/apt/apt.conf.d/01autoremove-gce
+++ /dev/null
@@ -1,10 +0,0 @@
-APT
-{
- NeverAutoRemove
- {
- "gce-compute-image-packages.*";
- "google-compute-engine.*";
- "python-google-compute-engine.*";
- "python3-google-compute-engine.*";
- };
-};
diff --git a/packages/google-compute-engine/src/etc/apt/apt.conf.d/99ipv4-only b/packages/google-compute-engine/src/etc/apt/apt.conf.d/99ipv4-only
deleted file mode 100644
index efca3b6..0000000
--- a/packages/google-compute-engine/src/etc/apt/apt.conf.d/99ipv4-only
+++ /dev/null
@@ -1,2 +0,0 @@
-# Force IPv4 for Apt.
-Acquire::ForceIPv4 "true";
diff --git a/packages/google-compute-engine/src/etc/dhcp/dhclient.d/google_hostname.sh b/packages/google-compute-engine/src/etc/dhcp/dhclient.d/google_hostname.sh
deleted file mode 100755
index abe8ce2..0000000
--- a/packages/google-compute-engine/src/etc/dhcp/dhclient.d/google_hostname.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-# Copyright 2016 Google Inc. All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-google_hostname_config() {
- google_set_hostname
-}
-google_hostname_restore() {
- :
-}
diff --git a/packages/google-compute-engine/src/etc/modprobe.d/gce-blacklist.conf b/packages/google-compute-engine/src/etc/modprobe.d/gce-blacklist.conf
deleted file mode 100644
index 9b7700e..0000000
--- a/packages/google-compute-engine/src/etc/modprobe.d/gce-blacklist.conf
+++ /dev/null
@@ -1,5 +0,0 @@
-# nouveau does not work with GCE GPU's.
-blacklist nouveau
-
-# GCE does not have a floppy device.
-blacklist floppy
diff --git a/packages/google-compute-engine/src/etc/rsyslog.d/90-google.conf b/packages/google-compute-engine/src/etc/rsyslog.d/90-google.conf
deleted file mode 100644
index 81b2ed7..0000000
--- a/packages/google-compute-engine/src/etc/rsyslog.d/90-google.conf
+++ /dev/null
@@ -1,6 +0,0 @@
-# Google Compute Engine default console logging.
-#
-# daemon: logging from Google provided daemons.
-# kern: logging information in case of an unexpected crash during boot.
-#
-daemon,kern.* /dev/console
diff --git a/packages/google-compute-engine/src/etc/sysctl.d/11-gce-network-security.conf b/packages/google-compute-engine/src/etc/sysctl.d/11-gce-network-security.conf
deleted file mode 100644
index 0e4db8c..0000000
--- a/packages/google-compute-engine/src/etc/sysctl.d/11-gce-network-security.conf
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 2016 Google Inc. All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# Google-recommended kernel parameters
-
-# Turn on SYN-flood protections. Starting with 2.6.26, there is no loss
-# of TCP functionality/features under normal conditions. When flood
-# protections kick in under high unanswered-SYN load, the system
-# should remain more stable, with a trade off of some loss of TCP
-# functionality/features (e.g. TCP Window scaling).
-net.ipv4.tcp_syncookies=1
-
-# Ignore source-routed packets
-net.ipv4.conf.all.accept_source_route=0
-net.ipv4.conf.default.accept_source_route=0
-
-# Ignore ICMP redirects from non-GW hosts
-net.ipv4.conf.all.accept_redirects=0
-net.ipv4.conf.default.accept_redirects=0
-net.ipv4.conf.all.secure_redirects=1
-net.ipv4.conf.default.secure_redirects=1
-
-# Don't pass traffic between networks or act as a router
-net.ipv4.ip_forward=0
-net.ipv4.conf.all.send_redirects=0
-net.ipv4.conf.default.send_redirects=0
-
-# Turn on Source Address Verification in all interfaces to
-# prevent some spoofing attacks.
-net.ipv4.conf.all.rp_filter=1
-net.ipv4.conf.default.rp_filter=1
-
-# Ignore ICMP broadcasts to avoid participating in Smurf attacks
-net.ipv4.icmp_echo_ignore_broadcasts=1
-
-# Ignore bad ICMP errors
-net.ipv4.icmp_ignore_bogus_error_responses=1
-
-# Log spoofed, source-routed, and redirect packets
-net.ipv4.conf.all.log_martians=1
-net.ipv4.conf.default.log_martians=1
-
-# RFC 1337 fix
-net.ipv4.tcp_rfc1337=1
-
-# Addresses of mmap base, heap, stack and VDSO page are randomized
-kernel.randomize_va_space=2
-
-# Reboot the machine soon after a kernel panic.
-kernel.panic=10