NICMx / Jool

SIIT and NAT64 for Linux
GNU General Public License v2.0
320 stars 66 forks source link

32 bit userspace tools doesn't work with 64 bit kernel modules #310

Closed fatihusta closed 4 years ago

fatihusta commented 4 years ago

I'm writing this issue from this mail list post. https://mail-lists.nic.mx/pipermail/jool-list/2019-December/000275.html

ydahhrk commented 4 years ago

I fixed

1- instance name beginning "??" characters 2- instance looking netfilter but I wrote iptables.

but not

3- When I execute the iptables command with jool, iptables returning error. There is not any error message at dimesg.

My estimation is that I should have 3- patched by Wednesday, more or less. In the meantime, I suggest using Netfilter mode as a workaround.

fatihusta commented 4 years ago

@ydahhrk thank you for very quick response. I applied this patch. Here is the result.

jool instance display
+--------------------+-----------------+-----------+
|          Namespace |            Name | Framework |
+--------------------+-----------------+-----------+
|   ffffffff80e868c0 |            beta |  iptables |
|   ffffffff80e868c0 |           alpha | netfilter |
+--------------------+-----------------+-----------+

I'll wait for the 3rd problem.

ydahhrk commented 4 years ago

I think it's done; please try it out.

fatihusta commented 4 years ago

Thank you @ydahhrk I compiled from master branch and worked.