Ticket #623 (new defect)

Opened 3 years ago

Last modified 3 years ago

import_gen_pasv can't bind to IPv6 IPs

Reported by: stefan Owned by: stefan
Priority: major Milestone: All Platforms
Component: import_gen_pasv Version: IPv6
Keywords: Cc:

Description

with 
SenderIpAdr        fc00::a00:27ff:feff:7127
SenderNetMask      ff02::1 
ReceiverIpAdr      ::   # Import data through this ethernet card
does not work nor does
ReceiverIpAdr  fc00::a00:27ff:feff:7100
nor
#SenderNetMask      ff02::1 
SenderIpAdr   a00:27ff:feff:7127
ReceiverIpAdr a00:27ff:feff:7100

[earthworm@quicksilver params]$ which import_gen_pasv
~/ipv6/bin/import_gen_pasv

[earthworm@quicksilver params]$ import_gen_pasv import_gen_pasv.d 20180305_UTC_23:12:27 import_gen_pasv(MOD_IMPORT_GEN_PASV): Error initializing TCP server socket; exiting

Change History

comment:1 Changed 3 years ago by alexander

  • Owner changed from somebody to alexander

comment:2 Changed 3 years ago by alexander

Ready for test

comment:3 Changed 3 years ago by alexander

  • Owner changed from alexander to stefan

comment:4 Changed 3 years ago by stefan

I have subnet mask commented out # SenderNetMask? 255.255.255.255 # OPTIONAL network mask setting to open to any sender IP on a network or a specific IP

But it is clearly using an IPv4 netmask with the IPv6 addresses, and the two IPV6 IPs that match exactly (sender expected IP and actual IP), error here:

20180817_UTC_06:44:06 import_gen_pasv(MOD_IMPORT_GEN_PASV): Connection after 2 sec refused from IP address 2600:1017:b002:34d9:216:cbff:feb7:c508 20180817_UTC_06:44:06 from IP 2600:1017:b002:34d9:216:cbff:feb7:c508, does not match desired SenderIP in .d file 2600:1017:b002:34d9:216:cbff:feb7:c508 and mask 255.255.255.255

Not sure how to have a subnet mask for IPv6, I tried putting in "/64" so there would be a value other than the default put in when not setting this, but same kind of error:

20180817_UTC_06:57:33 import_gen_pasv(MOD_IMPORT_GEN_PASV): Connection after 2 sec refused from IP address 2600:1017:b002:34d9:216:cbff:feb7:c508 20180817_UTC_06:57:33 from IP 2600:1017:b002:34d9:216:cbff:feb7:c508, does not match desired SenderIP in .d file 2600:1017:b002:34d9:216:cbff:feb7:c508 and mask /64

If I try a blank value for SenderNetMask? I get a seg fault:

[stefan@panerus params]$ import_gen_pasv import_gen_pasv.d 20180817_UTC_06:59:36 LoadTableEnvVariable?(): nfiles 2 Segmentation fault (core dumped)

So this module still needs to be fixed, or the SenderNetMask? parameter needs to be documented in the .d file

Note: See TracTickets for help on using tickets.