Page 1 of 1

conntrack -L fails

Posted: Sat Mar 19, 2016 2:25 am
by ethaniel
Hello,

I am trying to setup a captive portal and I need "conntrack" to reset info on connections that are forwarded to the captive portal once the user has logged in.

There is info in the table (/proc/net/nf_conntrack).
When I do "conntrack -F", my whole conntrack table (/proc/net/nf_conntrack) is flushed which means that "conntrack" command works partially.

My ultimate goal is to be able to do "conntrack -D --orig-src 192.168.2.150" (my ip). However I always get: "conntrack v1.0.0 (conntrack-tools): 0 flow entries have been deleted.".

When I try "conntrack -L" I always get "0 flow entries have been shown.".

Any ideas?

Re: conntrack -L fails

Posted: Sat Mar 19, 2016 2:51 am
by ethaniel

Code: Select all

root@Gargoyle:/proc/851/net/netfilter# conntrack -C
126
which means that conntrack does see the entries (although partially). So the big question is why can't I see them with "conntrack -L" or delete them with "conntrack -D"