Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
fatihusta opened this issue Dec 6, 2019 · 4 comments
Closed

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

fatihusta opened this issue Dec 6, 2019 · 4 comments
Milestone

Comments

@fatihusta
Copy link

@fatihusta fatihusta commented Dec 6, 2019

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

ydahhrk added a commit that referenced this issue Dec 6, 2019
Some fields and structures were not aligning on 32-bit
architectures the same way as they did on 64-bit architectures.
This caused communication mayhem when kernel and userspace
bittage was different.

Fixes the instance display half of #310. The iptables problem
probably persists.
@ydahhrk

This comment has been minimized.

Copy link
Member

@ydahhrk ydahhrk commented Dec 6, 2019

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

This comment has been minimized.

Copy link
Author

@fatihusta fatihusta commented Dec 7, 2019

@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 ydahhrk closed this in 61a8bb4 Dec 9, 2019
@ydahhrk ydahhrk removed the Status: Active label Dec 9, 2019
@ydahhrk

This comment has been minimized.

Copy link
Member

@ydahhrk ydahhrk commented Dec 9, 2019

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

@fatihusta

This comment has been minimized.

Copy link
Author

@fatihusta fatihusta commented Dec 10, 2019

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

@ydahhrk ydahhrk added this to the 4.0.7 milestone Dec 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.