All of lore.kernel.org
 help / color / mirror / Atom feed
* IPv6 parsing issues in conntrackd?
@ 2020-01-02 13:25 Nico Schottelius
  0 siblings, 0 replies; only message in thread
From: Nico Schottelius @ 2020-01-02 13:25 UTC (permalink / raw)
  To: netfilter; +Cc: timothee.floure, Balazs Uniy


Good morning,

I am wondering how to use conntrackd with IPv6.

when I try to use UDP + IPv6 [0], I get the error message
"[ERROR] inet_pton(): IPv6 unsupported!". I checked the IPv6 address and
inet_pton() outside of conntrackd nicely works [2] (sample code from
inet_pton(3).

When I change the same construct to use TCP [1], I get a different error
message:

[Thu Jan  2 14:21:32 2020] (pid=23772) [ERROR] can't open channel socket: Invalid argument
[Thu Jan  2 14:21:32 2020] (pid=23772) [ERROR] initialization failed
[Thu Jan  2 14:21:32 2020] (pid=23772) [ERROR] conntrackd cannot start, please review your configuration


And from the manual it looks like that IPv6 multicasting is not
supported - is that correct?

I have a couple of routers in IPv6 only networks and was wondering how
to use conntrackd with that. Am I doing something fundamentally wrong
here?

Another question: the source code of conntrackd-1.4.5 does not output
the errno string, would that be something you'd accept as a patch?

Best regards,

Nico



[0]
...
Sync {
        Mode FTFW {
                 ResendQueueSize 131072
                 PurgeTimeout 60
                 ACKWindowSize 300
                 DisableExternalCache Off
        }
        UDP Default {
                IPv6_address fe80::d66d:6dff:fe33:e00
                IPv6_Destination_Address fe80::21b:21ff:febc:7c80
                Port 3780
                Interface wlan0
                Checksum on
        }
}
...

[1]

Sync {
        Mode FTFW {
                 ResendQueueSize 131072
                 PurgeTimeout 60
                 ACKWindowSize 300
                 DisableExternalCache Off
        }
        TCP Default {
                IPv6_address fe80::d66d:6dff:fe33:e00
                IPv6_Destination_Address fe80::21b:21ff:febc:7c80
                Port 3780
                Interface wlan0
                Checksum on
        }
}

[2]
[13:29] line:~% ./pton i6 fe80::21b:21ff:febc:7c80
fe80::21b:21ff:febc:7c80
[13:29] line:~% ./pton i6 fe80::21b:21ff:febc:7c7a
fe80::21b:21ff:febc:7c7a
[13:29] line:~%




--
Modern, affordable, Swiss Virtual Machines. Visit www.datacenterlight.ch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-02 13:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-02 13:25 IPv6 parsing issues in conntrackd? Nico Schottelius

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.