Jump to content
Not connected, Your IP: 3.144.249.63

Recommended Posts

I run the command

nft list tables
and I get this output:
table inet filter
table ip6 wg-quick-tun0
table ip wg-quick-tun0
So the question is why is there separate tables  for IP4 & IP6? Why not just have it be an inet connection?

Daaa Baby Smurf do do do😁

Go_Camping___.jpg

Share this post


Link to post

Two tables with different addresses are probably easier to manage code-wise.

if (user wants v4) {
  write v4 netlock table;
}
else {
  write v4 block table;
};

if (user wants v6) {
  write v6 netlock table;
}
else {
  write v6 block table;
};
In the case of inet there exists the possibility of duplicate entries for which exception handling must be implemented.

I also think your question is a trifle. It doesn't matter if it's ip+ip6 or inet. :D

NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post
On 11/20/2022 at 3:21 PM, OpenSourcerer said:
I also think your question is a trifle. It doesn't matter if it's ip+ip6 or inet. :D
Well not really, if your trying to set up something to monitor the tables it's that much more you have to add. The question was out of curiosity (yes I know what that does to the cat) mostly. I'm learning NFTables and was trying to figure out why separate tables were used instead of  just the inet (which combines both IP Versions).

Daaa Baby Smurf do do do😁

Go_Camping___.jpg

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...