国产操作系统为什么没有防火墙
Tofloor
poster avatar
lhy19
deepin
2019-01-01 23:11
Author
我想知道国产操作系统为什么没有防火墙和杀毒软件?是不是有别的什么防御措施?是如何保证用户安全的?
Reply Favorite View the author
All Replies
avatar
WENWEN
deepin
2019-01-01 23:16
#1
有防火墙啊,gufw
Reply View the author
avatar
dao-root
deepin
2019-01-01 23:22
#2
Linux还是很安全的,一般不会出问题,就算出问题,防火墙也挡不住啥
Reply View the author
avatar
136******97
deepin
2019-01-01 23:49
#3
针对个人的网络攻击好像很少吧,至于病毒,应用软件都是从商店下载的,就算上网的时候不小心下载一个病毒文件,也是.exe格式

Linux的权限要求比较高,个人不开root权限。
不了解的文件不用管理员权限打开。

其实Windows也一样,用正版。
最常见的攻击就是局域网的ARP攻击,现在越来越少了。
至于病毒,保持良好的上网习惯很难中毒。
Reply View the author
avatar
dao-root
deepin
2019-01-01 23:57
#4
https://bbs.deepin.org/post/173154
针对个人的网络攻击好像很少吧,至于病毒,应用软件都是从商店下载的,就算上网的时候不小心下载一个病毒文 ...

如是如是,言之有理。养成良好的上网习惯很重要
Reply View the author
avatar
Amadeus
deepin
2019-01-02 03:15
#5
deepin是linux,有防火墙的,不需要杀毒软件。
Reply View the author
avatar
deepinuser17
deepin
2019-01-02 21:03
#6
可以安装firewalld防火墙。
  1. $ sudo apt-get install firewalld
  2. $ $ systemctl status firewalld
  3. ● firewalld.service - firewalld - dynamic firewall daemon
  4.    Loaded: loaded (/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
  5.    Active: active (running) since Tue 2019-01-01 20:53:31 PST; 7min ago
  6.      Docs: man:firewalld(1)
  7. Main PID: 18402 (firewalld)
  8.     Tasks: 2 (limit: 4915)
  9.    Memory: 25.9M
  10.    CGroup: /system.slice/firewalld.service
  11.            └─18402 /usr/bin/python3 -Es /usr/sbin/firewalld --nofork --nopid

  12. $ firewall-cmd --list-all
  13. public (active)
  14.   target: default
  15.   icmp-block-inversion: no
  16.   interfaces: ens9
  17.   sources:
  18.   services: ssh dhcpv6-client
  19.   ports:
  20.   protocols:
  21.   masquerade: no
  22.   forward-ports:
  23.   source-ports:
  24.   icmp-blocks:
  25.   rich rules:
Copy the Code


SSH 初始设定开放。
Reply View the author
avatar
deepinuser17
deepin
2019-01-02 21:08
#7
使用firewall-cmd命令来增加,修改防火墙的政策。例如,开放http服务:
  1. $ for p in 80 443; do sudo firewall-cmd --zone=public --add-port=${p}/tcp --permanent; done
  2. $ sudo firewall-cmd --reload
  3. $ systemctl --list-all
Copy the Code
Reply View the author
avatar
dayug
deepin
2019-01-02 22:08
#8
建议小白不要瞎搞,弄不好就崩,上次自己修改passed文件,就开不开机了。修改系统文件时候最后先备份。
Reply View the author