How can I open new iptable's related connection?

by Přemysl Šťastný   Last Updated August 13, 2019 20:01 PM

I am reading about iptables's related connection and started wondering what if I wanted to make a new protocol, which would open new related connection.

How could iptables possibly know, the new connection opened by my new protocol is related? How should be such connection opened, so iptables evaluate it as related?

I was searching on the internet for the answer for a few hours, but I can't find anything about technical details of the related connection detection.

Related Questions

Updated August 27, 2015 18:00 PM

Updated April 22, 2018 10:01 AM

Updated May 03, 2018 19:01 PM

Updated March 06, 2018 17:01 PM