Start of gnome2 and iptables settings (the third time detected by andebian this year)
Source: Internet
Author: User
Start of gnome2 and iptables settings (found in the third time of the year in the Security Section)-Linux Release Technology-Debian information. The following is a detailed description. It was accidentally discovered that I did not expect to access the lo interface when gnome2 was started. If it was not allowed to be accessed, gnome2 would not load the desktop, and I was confused at the beginning, it turns out that when DEBIAN3.1 was used, it seems that my IPTABLES settings are EASY, as shown below:
Iptables-P INPUT DROP
Iptables-a input-m state -- state ESTABLISHED-j ACCEPT
Iptables-a input-m state -- state RELATED-j ACCEPT
This is what it looks like. At first, I had a problem installing the machine on C900, that is, gnome2 could not be shut down or injected, and it would not work as long as it was used, I thought it was gnome2. There was a BUG! It wasn't originally related to this lo interface! Of course the problem is final. Just Add the following sentence to iptables:
Iptables-a input-I lo-j ACCEPT
Now we can load and shut down gnome2 on both machines.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.