system.page 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. ---
  2. format: markdown
  3. categories: Netz-Infrastruktur, Backbone, Supernodes
  4. title: System
  5. ...
  6. # System
  7. ## sysctl
  8. Bereinigt um Redundanzen (insbesondere die, deren Default-Verhalten durch `net.ipv4.ip_forward=1` und `net.ipv6.conf.all.forwarding=1` geändert wird).
  9. ```
  10. # Reboot 1 second after kernel panic, oops or BUG (usually in batman-adv.ko)
  11. kernel.panic = 1
  12. kernel.panic_on_oops = 1
  13. # throw kernel panic on softlockup
  14. kernel.softlockup_panic=1
  15. ## Networking
  16. # See https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt
  17. # Don't pass bridged traffic to iptables/arptables
  18. net.bridge.bridge-nf-call-arptables = 0
  19. net.bridge.bridge-nf-call-iptables = 0
  20. net.bridge.bridge-nf-call-ip6tables = 0
  21. ## IPv4 tuning
  22. # Reset all configuration parameters to RFC1812
  23. net.ipv4.ip_forward=1
  24. # Accept ICMP redirect messages; default = 0
  25. net.ipv4.conf.default.accept_redirects = 1
  26. net.ipv4.conf.all.accept_redirects = 1
  27. # Use larger ARP cache
  28. net.ipv4.neigh.default.gc_thresh1 = 2048
  29. net.ipv4.neigh.default.gc_thresh2 = 4096
  30. net.ipv4.neigh.default.gc_thresh3 = 8192
  31. # Maximum number of routes allowed in the kernel
  32. net.ipv4.route.max_size=8388608
  33. ## IPv6 tuning
  34. # Configure router behaviour
  35. net.ipv6.conf.all.forwarding=1
  36. # Accept Redirects; default = 0
  37. net.ipv6.conf.default.accept_redirects = 1
  38. net.ipv6.conf.all.accept_redirects = 1
  39. # Accept Duplicate Address Detection; default = 1
  40. net.ipv6.conf.default.accept_dad = 0
  41. net.ipv6.conf.all.accept_dad = 0
  42. # Use larger neighbor table
  43. net.ipv6.neigh.default.gc_thresh1 = 2048
  44. net.ipv6.neigh.default.gc_thresh2 = 4096
  45. net.ipv6.neigh.default.gc_thresh3 = 8192
  46. # Maximum number of routes allowed in the kernel
  47. net.ipv6.route.max_size=8388608
  48. ```
  49. * Hauptsächlich einige wichtige `systctl`-Einstellungen
  50. # Paketquellen
  51. ```
  52. deb http://ftp.informatik.rwth-aachen.de/ftp/pub/Linux/debian/ wheezy main non-free contrib
  53. deb-src http://ftp.informatik.rwth-aachen.de/ftp/pub/Linux/debian/ wheezy main non-free contrib
  54. deb http://security.debian.org/ wheezy/updates main contrib non-free
  55. deb-src http://security.debian.org/ wheezy/updates main contrib non-free
  56. # wheezy-updates, previously known as 'volatile'
  57. deb http://ftp.informatik.rwth-aachen.de/ftp/pub/Linux/debian/ wheezy-updates main contrib non-free
  58. deb-src http://ftp.informatik.rwth-aachen.de/ftp/pub/Linux/debian/ wheezy-updates main contrib non-free
  59. deb http://repo.universe-factory.net/debian/ sid main
  60. deb http://http.debian.net/debian wheezy-backports main
  61. #deb http://bird.network.cz/debian/ wheezy main
  62. ```
  63. * Das `bird`-Repository ist überflüssig, die Pakete werden nicht genutzt.
  64. # Installierte Paket-Versionen
  65. Paket Version Verfügbar Quelle
  66. ---------------- ---------------- ------------------- ---------------------
  67. fastd 17-2 17-4 universe-factory.net
  68. batman-adv 2014.3.0 - -
  69. batctl 2014.3.0-2 2014.3.0-2 universe-factory.net
  70. bird 1.4.5-1~bpo70+1 (1.5 im Bird-Repo) backports.debian.org
  71. bird6 1.4.5-1~bpo70+1 (transitional) -
  72. # Lokale Pakete (aus Backports)
  73. ```
  74. jq
  75. libjson-c2
  76. ```
  77. # Zusätzliche laufende Dienste
  78. ```
  79. rng-tools / rngd
  80. ```
  81. # Manuell installierte Software
  82. ```
  83. /usr/local/bin/alfred-json
  84. /usr/local/sbin/alfred
  85. /usr/local/share/man/man8/alfred.8
  86. /usr/local/sbin/batadv-vis
  87. /usr/local/share/man/man8/batadv-vis.8
  88. /usr/sbin/vmtoolsd (und was da noch dran hängt)
  89. ```
  90. # VMware-Tools
  91. Anstatt die VMware-Tools lokal zu kompilieren [empfiehlt VMware](http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2073803) die in der Distribution paketierten [`open-vm-tools`](https://packages.debian.org/wheezy-backports/open-vm-tools) + `open-vm-tools-dkms` zu nutzen.
  92. # System-Login
  93. Login ist nur mittels SSH-Keys möglich. Momentan mússen sich die berechtigten Personen als `root` einloggen.