* Segmentation fault when starting conntrackd
@ 2022-09-05 6:08 Viton, Pedro (Nokia - ES/Madrid)
2022-09-07 14:50 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Viton, Pedro (Nokia - ES/Madrid) @ 2022-09-05 6:08 UTC (permalink / raw)
To: netfilter@vger.kernel.org
Hi:
I'm trying to have conntrackd working, but after creating a configuration file for FTFW over UDP , I get a Segmentation Fault error when staring it up
I've also tried with NOTRACK over TCP, but same result.
[root@luna38 ~]# /usr/sbin/conntrackd -C /opt/AAA/load-balancer/run/conntrackd/conntrackd.conf
Segmentation fault
[root@luna38 ~]#
In my case, I'm running the conntrackd that comes with default package in RHEL 7.9 (kernel 3.10.0-1127), which is version 1.4.4 (I'm aware it is not the latest one)
My configuration file is the following one:
Sync {
Mode FTFW {
}
UDP {
IPv4_address 10.10.10.38
IPv4_Destination_Address 10.10.10.33
Interface ens256
Port 3780
}
}
General {
Nice -20
LogFile on
LockFile /var/lock/conntrack.lock
UNIX {
Path /var/run/conntrackd.ctl
Backlog 20
}
Filter From Userspace {
Protocol Accept {
TCP
}
Address Ignore {
IPv4_address 127.0.0.1
IPv4_address 10.10.10.38
IPv4_address 10.10.10.33
}
}
}
The IP address of the server where I'm trying to start conntrackd has 10.10.10.38 IP address, and it is on ens256 interface. And the 10.10.10.33 is the replicated one
$ ip addr
...
4: ens256: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 10000
link/ether 00:0c:29:ef:63:30 brd ff:ff:ff:ff:ff:ff
inet 10.10.10.38/24 brd 10.10.10.255 scope global ens256
valid_lft forever preferred_lft forever
inet6 2001:db0:10:10::38/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::20c:29ff:feef:6330/64 scope link
valid_lft forever preferred_lft forever
Is there any other log file where I could see the root cause of the Segmantation Fault?
The /var/log/conntrackd.log doesn't give any clue.
Or maybe my configuration file is not correct?
Any help will be appreciated.
Thanks a lot:
Pedro
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Segmentation fault when starting conntrackd
2022-09-05 6:08 Segmentation fault when starting conntrackd Viton, Pedro (Nokia - ES/Madrid)
@ 2022-09-07 14:50 ` Pablo Neira Ayuso
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2022-09-07 14:50 UTC (permalink / raw)
To: Viton, Pedro (Nokia - ES/Madrid); +Cc: netfilter@vger.kernel.org
On Mon, Sep 05, 2022 at 06:08:43AM +0000, Viton, Pedro (Nokia - ES/Madrid) wrote:
> Hi:
>
> I'm trying to have conntrackd working, but after creating a configuration file for FTFW over UDP , I get a Segmentation Fault error when staring it up
> I've also tried with NOTRACK over TCP, but same result.
>
> [root@luna38 ~]# /usr/sbin/conntrackd -C /opt/AAA/load-balancer/run/conntrackd/conntrackd.conf
> Segmentation fault
You have tools to get a backtrace on were the problem is going on if
you report an issue upstream.
> [root@luna38 ~]#
>
>
> In my case, I'm running the conntrackd that comes with default package in RHEL 7.9 (kernel 3.10.0-1127), which is version 1.4.4 (I'm aware it is not the latest one)
>
> My configuration file is the following one:
>
> Sync {
> Mode FTFW {
> }
>
> UDP {
> IPv4_address 10.10.10.38
> IPv4_Destination_Address 10.10.10.33
> Interface ens256
> Port 3780
> }
> }
>
> General {
> Nice -20
> LogFile on
> LockFile /var/lock/conntrack.lock
> UNIX {
> Path /var/run/conntrackd.ctl
> Backlog 20
> }
> Filter From Userspace {
> Protocol Accept {
> TCP
> }
> Address Ignore {
> IPv4_address 127.0.0.1
> IPv4_address 10.10.10.38
> IPv4_address 10.10.10.33
> }
> }
> }
>
> The IP address of the server where I'm trying to start conntrackd has 10.10.10.38 IP address, and it is on ens256 interface. And the 10.10.10.33 is the replicated one
> $ ip addr
> ...
> 4: ens256: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 10000
> link/ether 00:0c:29:ef:63:30 brd ff:ff:ff:ff:ff:ff
> inet 10.10.10.38/24 brd 10.10.10.255 scope global ens256
> valid_lft forever preferred_lft forever
> inet6 2001:db0:10:10::38/64 scope global
> valid_lft forever preferred_lft forever
> inet6 fe80::20c:29ff:feef:6330/64 scope link
> valid_lft forever preferred_lft forever
>
>
> Is there any other log file where I could see the root cause of the Segmantation Fault?
> The /var/log/conntrackd.log doesn't give any clue.
>
> Or maybe my configuration file is not correct?
For community support, you have to try latest version first, it might
be a bug already fixed upstream.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-07 14:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-05 6:08 Segmentation fault when starting conntrackd Viton, Pedro (Nokia - ES/Madrid)
2022-09-07 14:50 ` Pablo Neira Ayuso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).