tmick 0 Posted ... 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? Quote Hide tmick's signature Hide all signatures Daaa Baby Smurf do do do😁 Share this post Link to post
OpenSourcerer 1435 Posted ... 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. Quote Hide OpenSourcerer's signature Hide all signatures 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
tmick 0 Posted ... 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. 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). Quote Hide tmick's signature Hide all signatures Daaa Baby Smurf do do do😁 Share this post Link to post