RPC helper segfault - Ubuntu 18.04LTS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
conntrack-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I created a very simple RPC helper configuration as described in
http://
After starting conntrackd, the ct_helper.so causes a segmentation fault as soon as a packet hits the -j CT target in iptables.
conntrackd crashes ungracefully with lock files preventing restart.
conntrackd config:
# Default debian config. Please, take a look at conntrackd.conf(5)
General {
HashSize 8192
HashLimit 65535
Syslog on
LockFile /var/lock/
UNIX {
Path /var/run/
Backlog 20
}
SocketBufferSize 262142
SocketBufferSi
# default debian service unit file is of Type=notify
Systemd on
}
Stats {
LogFile on
}
Helper {
Type rpc inet udp {
QueueLen 10240
}
}
Type rpc inet tcp {
QueueLen 10240
}
}
}
nfct list helper
{
.name = rpc,
.queuenum = 2,
.l3protonum = 2,
.l4protonum = 6,
.priv_data_len = 0,
.status = enabled,
};
{
.name = rpc,
.queuenum = 1,
.l3protonum = 2,
.l4protonum = 17,
.priv_data_len = 0,
.status = enabled,
};
iptables rule:
-A OUTPUT -d 10.0.0.0/24 -p udp -m udp --dport 111 -m comment --comment "Load RPC user space helper for outgoing calls to RPC on other local machines (See /etc/conntrackd
-A OUTPUT -d 10.0.0.0/24 -p tcp -m tcp --dport 111 -m comment --comment "Load RPC user space helper for outgoing calls to RPC on other local machines (See /etc/conntrackd
syslog:
Nov 16 15:06:54 mx systemd[1]: Started Conntrack Daemon.
Nov 16 15:06:54 mx conntrack-
Nov 16 15:06:54 mx conntrack-
Nov 16 15:06:54 mx conntrack-
Nov 16 15:06:54 mx conntrack-
Nov 16 15:06:54 mx conntrack-
Nov 16 15:06:54 mx conntrack-
Nov 16 15:06:54 mx conntrack-
Nov 16 15:06:54 mx conntrack-
Nov 16 15:06:54 mx conntrack-
Nov 16 15:07:12 mx kernel: [73016.216826] conntrackd[17623]: segfault at 4 ip 00007f7a25091eab sp 00007ffee3341cb0 error 6 in ct_helper_