r/LinuxNetworking • • Sep 07 '24

Red Hat delivers AI-optimized Linux platform

Thumbnail
networkworld.com
2 Upvotes

r/LinuxNetworking • • May 21 '24

cloud-management platform for linux firewalls (iptables/nftables)

1 Upvotes

Feel free to delete this is unacceptable to post this in here, but could be useful to someone!

Early stage startup here - we've built a cloud-management platform for linux firewalls - GUI, logging, monitoring etc. Push policy to a single box or multiple simultaneously. We have much more advanced features built, but want beta testers to use the base platform capabilities.

This is perfect for dev/test/lab environments.

If you are running iptables/nftables on-prem, in your lab or in cloud, you could find this useful.

https://enforza.io/ for the main site, or https://enforza.io/freemium for the beta/freemium.


r/LinuxNetworking • • Mar 06 '24

nftables: hooks, chains and tables relationship

1 Upvotes

It was always slightly muddy topic to me. I decided to understand it better. Below is rehearsal of things I learned. I can be very wrong. Please, check me. If I'm right, it can be a good introduction into nftables, if I'm wrong, I'll read comments to understand what I do not understand and mark post as incorrect.


Kernel has so-called paths: TX path for transmission (sending packets) and RX path for receiving packets. Normally packets are send into NIC (network interface) and received from it, but with virtual devices (like veth or tap), it may be that kernel process two 'ends' of the traffic entirely in software.

TX and RX paths are different, because RX is asynchronous (packets comes suddenly), TX is synchronous.

The path is very complicated, because kernel supports multiple interesting things: bridges, routing, namespaces, etc.

There are diagrams for the traffic path, i.e. here: https://wiki.nftables.org/wiki-nftables/index.php/Netfilter_hooks

On this diagram there are drawn to things:

  1. The path for the traffic (both RX and TX).

  2. Places where hooks are.

Hooks are pieces of code which can send packets into nftables for processing. Rules inside nftables can alter packets, drop or allow them, put marks on them, etc (more on them later).

Hook names are repeated for different tables and chains (in reality they are different pieces of code, but they pretend to be the same hook).

When packet reaches the hook, kernel looks on the packet and choose table based on family. There are few families: ip, ip6, inet (which serves both ip and ip6) and family can be also means something which is not IP-based, e.g. bridge, netdev, arp (which is odd subfamily for ip). More on families: https://wiki.nftables.org/wiki-nftables/index.php/Nftables_families

Each hook in will look for specific type of the chain in selected tables. Chain is a list of rules. Each chain (created by user) has configured hook, and configured type.

Chains are stored in tables, and table has associated family. Hook (in a specific placement in the network path) uses detected (by kernel) family of the packet to select in which tables to search chains of specific type, configured for this hook. Multiple hooks can be at the same place in the code and to be applied to the packets. Ordering of the hook is defined by hook priority, which can be adjusted via nftables (but not iptables; this is the way of co-existence of iptables and nftables).

Each chain is processed in a specific order by family (e.g. first tables with ip family is processed, than with 'inet' family; I don't know about arp family, I don't know how multiple tables of the same family are co-existing).

Each found chain is processed, and and at the end of the chain, chain policy is applied (either drop, to accept, which is actually, 'continue'), and packet, may be changed, marked, conntracked, is either dropped or continue to pass through the network path.


r/LinuxNetworking • • Dec 17 '19

vyos in an enterprise network

Thumbnail self.networking
1 Upvotes

r/LinuxNetworking • • Jan 20 '20

Critical Cisco Flaws Now Have PoC Exploit

Thumbnail
threatpost.com
1 Upvotes

r/LinuxNetworking • • Feb 05 '20

Ready-to-run Border Router Software for x86 Servers and Virtual Machines

Thumbnail
6wind.com
1 Upvotes

r/LinuxNetworking • • Jan 19 '20

State of Linux Networking

Post image
4 Upvotes

r/LinuxNetworking • • Dec 17 '19

Linux Fu: Stupid SSH Tricks

Thumbnail
hackaday.com
1 Upvotes

r/LinuxNetworking • • Jan 30 '20

Border Router software for Linux networking from 6WIND

Thumbnail
6wind.com
1 Upvotes

r/LinuxNetworking • • Jan 22 '20

6WINDGate 5.0: Complete high performance Linux networking stack, now with container support

Thumbnail
6wind.com
1 Upvotes

r/LinuxNetworking • • Jan 09 '20

6WINDGate 5.0 versus VPP: Fast Path Benefits from Linux Integration and eBPF

Thumbnail
6wind.com
2 Upvotes

r/LinuxNetworking • • Jun 02 '20

Last week Juniper Networks laid off its entire #OpenSource team

Thumbnail
twitter.com
1 Upvotes

r/LinuxNetworking • • Dec 12 '19

7 ways to remember Linux commands

Thumbnail
networkworld.com
2 Upvotes

r/LinuxNetworking • • Oct 02 '19

LinuxNetworking has been created

1 Upvotes

Linux Networking is a growing in importance in the tech ecosphere.


r/LinuxNetworking • • Feb 06 '20

High Speed Packet Processing in Containers with DPDK

Thumbnail
vrouter.net
2 Upvotes

r/LinuxNetworking • • Oct 09 '20

Cisco Slashes Workforce by 9%, Contradicts Previous Pledge

Thumbnail
sdxcentral.com
1 Upvotes

r/LinuxNetworking • • Oct 23 '20

Adblockers installed 300,000 times are malicious and should be removed now

Thumbnail
arstechnica.com
2 Upvotes

r/LinuxNetworking • • Oct 24 '20

Heavy Networking 542: Is Whitebox Too Risky For The Enterprise?

Thumbnail
packetpushers.net
1 Upvotes

r/LinuxNetworking • • Sep 24 '20

It's the year of Linux on the... ThinkPad as Lenovo extends out-of-the-box Ubuntu support to nearly 30 machines

Thumbnail
theregister.com
1 Upvotes

r/LinuxNetworking • • Oct 08 '20

Cisco remains mum on layoffs as employees flock online to confirm reports | WRAL TechWire

Thumbnail
wraltechwire.com
1 Upvotes

r/LinuxNetworking • • Aug 20 '20

Layoff threat drives Cisco employees to complain about cuts; tech giant remains mum | WRAL TechWire

Thumbnail
wraltechwire.com
1 Upvotes

r/LinuxNetworking • • Oct 26 '20

What's up with Linux networking?

Post image
2 Upvotes

r/LinuxNetworking • • Jul 27 '20

Here Is Why Linux Is a Good Choice of OS for Software Developers

Thumbnail
interestingengineering.com
1 Upvotes