.iptables iptables-Konfigurationsdatei
Text & Quellcode
| MIME-Typ | text/x-iptables |
|---|---|
| Beschreibung | iptables-Konfigurationsdatei |
| Kategorie | Text & Quellcode |
| Signatur (Magic Bytes) | 2A 66 69 6C 74 65 72 (*filter)2D 41 20 49 4E 50 55 54 (-A INPUT)2D 50 20 49 4E 50 55 54 (-P INPUT) |
| Basiert auf | text/plain |
Häufige Fragen
Was ist eine .iptables-Datei?
Eine .iptables-Datei ist ein Format vom Typ „iptables-Konfigurationsdatei“ (MIME-Typ text/x-iptables).
Womit öffne ich eine .iptables-Datei?
Mit jedem Texteditor – etwa Notepad++, Visual Studio Code oder unter Linux gedit und vim. Die Datei enthält lesbaren Text, ggf. Quellcode oder Konfiguration.
Woran erkennt man eine echte .iptables-Datei?
Am Dateianfang, der sogenannten Signatur (Magic Bytes): 2A 66 69 6C 74 65 72 (*filter), 2D 41 20 49 4E 50 55 54 (-A INPUT) und 2D 50 20 49 4E 50 55 54 (-P INPUT). Unter Linux und macOS prüft file --mime-type example.iptables den tatsächlichen Typ unabhängig von der Endung.
Auf welchem Format basiert .iptables?
Technisch ist eine .iptables-Datei ein Untertyp von „Einfaches Textdokument“ (text/plain). Programme für dieses Grundformat können die Datei daher oft ebenfalls lesen.
Welcher MIME-Typ gehört zu .iptables?
Der MIME-Typ ist text/x-iptables. Im Apache-Webserver: AddType text/x-iptables .iptables; in nginx: types { text/x-iptables iptables; }.