Ahoj,tak jak jsem tady pročítal různá témata,tak jsem narazil na téma nastavení firewallu v mintu .Ten článek mimo jiné odkazoval na stránku
"test bezpečnosti.cz" a po provedení testu mi tento test řekl toto- otevřený port 80(obrázek).Nevíte jestli to mám řešit a hlavně jak(v nastavování pravidel firewallu jsem naprostý laik).K nastavení používám program Gufw a mám tam jen základní nastavení(zona Home) přesně jak to je v tom článku na foru nic více jsem s tím nedělal v domnění že to stačí.
Děkuji za každou radu.
Jen dodám,že mám nainstalován linuxmint 16 s prostředím Mate,připojen jsem za routerem.
port 80
Re: port 80
Port 80 je web server, zkus zadat svou IP:port (třeba 78.110.212.21:80) a uvidíš, co tam máš otevřené ... Může být administrace routeru, jsi-li za routerem, nebo přímo webserver tvého OS (mintu předpokládám) ... Ale je to v pohodě ...
Zažraný linuxový liberál
---
HTC One V - 512 MB RAM, 1GHz - Android 4.0.3, HTC Sense
Cubie Board - 1GB RAM, 1GHz ARM, Linaro 13.04
Lenovo IdeaPad - 8GB RAM, i5, Linux Mint 13 Maya, Cinnamon 2.0.?
---
HTC One V - 512 MB RAM, 1GHz - Android 4.0.3, HTC Sense
Cubie Board - 1GB RAM, 1GHz ARM, Linaro 13.04
Lenovo IdeaPad - 8GB RAM, i5, Linux Mint 13 Maya, Cinnamon 2.0.?
Re: port 80
Ahoj IP adresa na té stránce nejde změnit (je jiná než mám ve správci sítě), asi ? je to adresa routeru jak jsi mi napsal,takže to dál neřeším. Díky
Ještě mně napadlo jestli se to nadá nějak zjistit nějakým příkazem v terminálu, poslal bych to sem.
Přikaz: sudo iptables -L,vypsal toto:
code:
dino@dino-G31M-ES2L ~ $ sudo iptables -L
[sudo] password for dino:
Chain INPUT (policy DROP)
target prot opt source destination
ufw-before-logging-input all -- anywhere anywhere
ufw-before-input all -- anywhere anywhere
ufw-after-input all -- anywhere anywhere
ufw-after-logging-input all -- anywhere anywhere
ufw-reject-input all -- anywhere anywhere
ufw-track-input all -- anywhere anywhere
Chain FORWARD (policy DROP)
target prot opt source destination
ufw-before-logging-forward all -- anywhere anywhere
ufw-before-forward all -- anywhere anywhere
ufw-after-forward all -- anywhere anywhere
ufw-after-logging-forward all -- anywhere anywhere
ufw-reject-forward all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ufw-before-logging-output all -- anywhere anywhere
ufw-before-output all -- anywhere anywhere
ufw-after-output all -- anywhere anywhere
ufw-after-logging-output all -- anywhere anywhere
ufw-reject-output all -- anywhere anywhere
ufw-track-output all -- anywhere anywhere
Ještě mně napadlo jestli se to nadá nějak zjistit nějakým příkazem v terminálu, poslal bych to sem.
Přikaz: sudo iptables -L,vypsal toto:
code:
dino@dino-G31M-ES2L ~ $ sudo iptables -L
[sudo] password for dino:
Chain INPUT (policy DROP)
target prot opt source destination
ufw-before-logging-input all -- anywhere anywhere
ufw-before-input all -- anywhere anywhere
ufw-after-input all -- anywhere anywhere
ufw-after-logging-input all -- anywhere anywhere
ufw-reject-input all -- anywhere anywhere
ufw-track-input all -- anywhere anywhere
Chain FORWARD (policy DROP)
target prot opt source destination
ufw-before-logging-forward all -- anywhere anywhere
ufw-before-forward all -- anywhere anywhere
ufw-after-forward all -- anywhere anywhere
ufw-after-logging-forward all -- anywhere anywhere
ufw-reject-forward all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ufw-before-logging-output all -- anywhere anywhere
ufw-before-output all -- anywhere anywhere
ufw-after-output all -- anywhere anywhere
ufw-after-logging-output all -- anywhere anywhere
ufw-reject-output all -- anywhere anywhere
ufw-track-output all -- anywhere anywhere
Re: port 80
Přes tu stránku testuješ firewall na svém routeru. Pokud chceš vidět porty přímo na svém kompu v Mintu, tak zadej tento příkaz:
EDIT: zapomněl jsem dodat, že pokud příkaz nmap nebude fungovat, tak je potřeba nainstalovat balíček nmap.
Kód: Vybrat vše
nmap -A -T4 localhost
LinuxMint 17.3 KDE (64b) - AMD Athlon II X2 270, MB ASUS M5A78L LE, RAM 8 GB, ATI Radeon HD4350
LinuxMint 17.3 KDE (32b) - DELL Latitude D530
LinuxMint 17.3 KDE (32b) - DELL Latitude D530