themighty1 / lpfw

Linux Personal Firewall
113 stars 22 forks source link

Error starting lpfw. _nfct_open (NFNL_SUBSYS_CTNETLINK, 0) results in "Error 93 - Protocol not supported" #2

Closed khalilfazal closed 9 years ago

khalilfazal commented 9 years ago

When I launch lpfw with sudo ./lpfw I get:

nfct_open: Protocol not supported,
Error 93 - Protocol not supported
nfct_open returned NULL
Dumping a core file. Make sure to sudo chmod 0777 it to make it user-readable

I traced the origin of the error messages to line 111 in conntrack.c

nfct_handle *handle_flush = _nfct_open (NFNL_SUBSYS_CTNETLINK, 0);

That query calls nfct_open(NFNL_SUBSYS_CTNETLINK, 0) which returns NULL, aborting the program.

khalilfazal commented 9 years ago

It claims that it has dumped a core file. Where is this file?

themighty1 commented 9 years ago

Thank you for reporting. Core dumps must be located in the same dir where lpfw is. Does your Linux distro have conntrack enabled in the kernel?

khalilfazal commented 9 years ago

I can't get conntrack to work. I'm unable to find help elsewhere. When I run conntrack -E I get:

conntrack v1.4.2 (conntrack-tools): Can't open handler
themighty1 commented 9 years ago

Maybe you can tell me what Linux distro you are running and we can go from there?