All of lore.kernel.org
 help / color / mirror / Atom feed
* iptables audit target causes kernel panic with iptables-persistent (kernel 3.2.78)
@ 2016-04-26  8:58 Lev Stipakov
  2016-04-26 12:18 ` Lev Stipakov
  2016-04-26 18:54 ` Paul Moore
  0 siblings, 2 replies; 7+ messages in thread
From: Lev Stipakov @ 2016-04-26  8:58 UTC (permalink / raw)
  To: linux-audit; +Cc: netfilter-devel

Hello,

I see kernel panic with iptables-persistent package installed and one 
iptables rule with AUDIT target.

   root@debian7:~# uname -a
   Linux debian7 3.2.0-4-amd64 #1 SMP Debian 3.2.78-1 x86_64 GNU/Linux

   root@debian7:~# dpkg -l | grep iptables
   ii  iptables			1.4.14-3.1
   ii  iptables-persistent	0.5.7+deb7u1

Steps to reproduce:

1) Install Debian 7 and iptables-persistent (see versions above)
2) Add iptables rule (must be OUTPUT chain):

   root@debian7:~# iptables -I OUTPUT -j AUDIT --type ACCEPT

3) Save rule:

   root@debian7:~# iptables-save > /etc/iptables/rules.v4

4) Reboot

5) Kernel panic (screenshot): 
https://www.dropbox.com/s/db40e5kc10e4ddg/kernel_panic2.png?dl=0


I cannot reproduce it on (one of) previous kernel version:

   lev@debi7:~$ uname -a
   Linux debi7 3.2.0-4-amd64 #1 SMP Debian 3.2.73-2+deb7u2 x86_64 GNU/Linux

   lev@debi7:~$ dpkg -l | grep iptables
   ii  iptables                           1.4.14-3.1
   ii  iptables-persistent                0.5.7+deb7u1


-Lev

^ permalink raw reply	[flat|nested] 7+ messages in thread
* iptables audit target causes kernel panic with iptables-persistent (kernel 3.2.78)
@ 2016-04-26  9:25 Lev Stipakov
  2016-04-26 12:17 ` Lev Stipakov
  0 siblings, 1 reply; 7+ messages in thread
From: Lev Stipakov @ 2016-04-26  9:25 UTC (permalink / raw)
  To: netfilter-devel

Hello,

I see kernel panic with iptables-persistent package installed and one
iptables rule with AUDIT target.

  root@debian7:~# uname -a
  Linux debian7 3.2.0-4-amd64 #1 SMP Debian 3.2.78-1 x86_64 GNU/Linux

  root@debian7:~# dpkg -l | grep iptables
  ii  iptables            1.4.14-3.1
  ii  iptables-persistent    0.5.7+deb7u1

Steps to reproduce:

1) Install Debian 7 and iptables-persistent (see versions above)
2) Add iptables rule (must be OUTPUT chain):

  root@debian7:~# iptables -I OUTPUT -j AUDIT --type ACCEPT

3) Save rule:

  root@debian7:~# iptables-save > /etc/iptables/rules.v4

4) Reboot

5) Kernel panic (screenshot):
https://www.dropbox.com/s/db40e5kc10e4ddg/kernel_panic2.png?dl=0

I cannot reproduce it on (one of) previous kernel version:

  lev@debi7:~$ uname -a
  Linux debi7 3.2.0-4-amd64 #1 SMP Debian 3.2.73-2+deb7u2 x86_64 GNU/Linux

  lev@debi7:~$ dpkg -l | grep iptables
  ii  iptables                           1.4.14-3.1
  ii  iptables-persistent                0.5.7+deb7u1

-Lev

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-04-26 20:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-26  8:58 iptables audit target causes kernel panic with iptables-persistent (kernel 3.2.78) Lev Stipakov
2016-04-26 12:18 ` Lev Stipakov
2016-04-26 18:54 ` Paul Moore
2016-04-26 19:58   ` Lev Stipakov
2016-04-26 20:17     ` Paul Moore
2016-04-26  9:25 Lev Stipakov
2016-04-26 12:17 ` Lev Stipakov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.