How can I open new iptable's related connection?

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

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

How to know the ISP technology?

Updated August 27, 2015 18:00 PM

List of IP protocol numbers 84 two times in list

Updated March 06, 2018 17:01 PM