[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Diferenças
Aqui você vê as diferenças entre duas revisões dessa página.
Próxima revisão | Revisão anterior | ||
pt-br:howtos:security:basic_security [2021/10/02 00:30 (UTC)] – criada carriunix | pt-br:howtos:security:basic_security [2021/10/02 02:36 (UTC)] (atual) – carriunix | ||
---|---|---|---|
Linha 19: | Linha 19: | ||
==== Configure um Firewall ==== | ==== Configure um Firewall ==== | ||
- | No Slackware, a maneira mais fácil de fazer isso é usando a adaptação de [[wiki: user: alienbob | Alien Bob]] do [[http:// | + | No Slackware, a maneira mais fácil de fazer isso é usando a adaptação de [[wiki: user: alienbob | Alien Bob]] do [[http:// |
- | On Slackware, the easiest way to do this is by using [[wiki: | + | |
<code bash> | <code bash> | ||
chmod a+x / | chmod a+x / | ||
</ | </ | ||
- | Other options include GUI firewall | + | Outras opções incluem programas de geração de firewall |
==== X -nolisten tcp ==== | ==== X -nolisten tcp ==== | ||
- | By default, the Xorg server listens to port 6000 for remote connections. Sometimes you want remote connections, but if you don't, then disabling it is a good idea. | + | Por padrão, o servidor |
- | The easiest way to do this is by creating this file at '' | + | A maneira mais fácil de fazer isso é criando este arquivo em '' |
<file bash xserverrc> | <file bash xserverrc> | ||
#!/bin/sh | #!/bin/sh | ||
Linha 33: | Linha 33: | ||
exec /usr/bin/X -nolisten tcp | exec /usr/bin/X -nolisten tcp | ||
</ | </ | ||
- | You can specify more options to X in the same file if you need to.xserverrc | + | Você pode especificar mais opções para o X no mesmo arquivo se precisar do. xserverrc |
< | < | ||
- | On Slackware, | + | No Slackware, |
</ | </ | ||
- | ==== Check for open ports ==== | + | ==== Verifique as portas abertas |
- | Some ways to check for open ports are: | + | Algumas maneiras de verificar se há portas abertas: |
<code bash> | <code bash> | ||
nmap localhost | nmap localhost | ||
Linha 44: | Linha 44: | ||
netstat -luntp | netstat -luntp | ||
</ | </ | ||
- | Your external | + | Seu endereço |
- | If you don't know what a port is used for check the [[https://en.wikipedia.org/ | + | Se você não sabe para que uma determinada porta é usada, verifique esse [[https://pt.wikipedia.org/ |
- | ==== Scan the system for malware | + | |
- | The following programs are useful for detecting | + | ==== Procure por malwares |
+ | Os programas a seguir são úteis para detectar | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
- | Although not that much malware exists for Linux, | + | Embora não existam muitos malwares para Linux, |
- | ====== | + | |
+ | ====== | ||
<!-- If you are copying information from another source, then specify that source --> | <!-- If you are copying information from another source, then specify that source --> | ||
<!-- * Original source: [[http:// | <!-- * Original source: [[http:// | ||
Linha 62: | Linha 64: | ||
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> | ||
<!-- You must remove the tag-word " | <!-- You must remove the tag-word " | ||
- | {{tag> | + | {{tag> |