View Issue Details

IDProjectCategoryView StatusLast Update
0008287Kali LinuxGeneral Bugpublic2023-05-18 13:40
Reporterbreeze Assigned Toarnaudr  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionwon't fix 
Summary0008287: After installing iptables-persistent on my system, it can take even a few minutes to log in and get to the desktop.
Description

uname -a output: Linux kali64 6.1.0-kali7-amd64 0000001 SMP PREEMPT_DYNAMIC Debian 6.1.20-2kali1 (2023-04-18) x86_64 GNU/Linux
'dpkg -s iptables-persistent | grep' output: 1.0.19
After iptables-persistent is installed on my system, save the rules by typing 'iptables-save > /etc/iptables/rules.v4'and then restart the computer.
After enter the password on the login page, the desktop is stuck for several minutes. After removing iptables-persistent, this phenomenon does not occur. I wrote a self-starting script to do the same thing, and here's that it says: 'iptables-restore < /etc/iptables/rules.v4'. The same problem occurs when you restart your computer. I used the ufw with no errors.

Relationships

has duplicate 0008291 closeddaniruiz After installing iptables-persistent on my system, it can take even a few minutes to log in and get to the desktop. 

Activities

breeze

breeze

2023-05-06 10:50

reporter   ~0017887

I reproduced the error on another computer, which means it wasn't a device problem.

kali-bugreport

kali-bugreport

2023-05-07 06:31

reporter   ~0017888

The iptables rules are probably insufficient causing something to wait for a timeout (e.g. access to localhost is blocked)

breeze

breeze

2023-05-07 08:26

reporter   ~0017889

The rule I'm testing is simple:
iptables -P INPUT DROP;
Iptables -I INPUT -p all -m state --state ESTABLISHED,RELATED -j ACCEPT

kali-bugreport

kali-bugreport

2023-05-07 11:10

reporter   ~0017890

If this is indeed a plain iptables problem better get some help from a support forum :-)

breeze

breeze

2023-05-07 12:11

reporter   ~0017891

OK.Thanks!

arnaudr

arnaudr

2023-05-08 01:04

manager   ~0017892

You should look at the logs to see what hangs exactly. journalctl will probably tell you, or "systemd-analyse blame | head" can also help.

In any case, not a bug in Kali, so I'm closing this ticket.

Issue History

Date Modified Username Field Change
2023-05-06 01:16 breeze New Issue
2023-05-06 09:03 xpister Issue cloned: 0008291
2023-05-06 10:50 breeze Note Added: 0017887
2023-05-07 06:31 kali-bugreport Note Added: 0017888
2023-05-07 08:26 breeze Note Added: 0017889
2023-05-07 11:10 kali-bugreport Note Added: 0017890
2023-05-07 12:11 breeze Note Added: 0017891
2023-05-08 01:04 arnaudr Note Added: 0017892
2023-05-08 01:04 arnaudr Assigned To => arnaudr
2023-05-08 01:04 arnaudr Status new => closed
2023-05-08 01:04 arnaudr Resolution open => won't fix
2023-05-18 13:40 daniruiz Relationship added has duplicate 0008291