Need pass skb to help!!
Currently we have a project which need while help routine (run on related conntrack)executed, move nfct pointing to its parent's conntrack(not that dirty you would mistake). But as you know, currently parameters passed to connection help only include iph. So it leaves me almost no other choice but patching the help that of course would certainly cause nightmare(need patch every helper). How can I do? or the helper infrastructure consider any future plan? Please "help" !
Your sincerely
Jesse
Quoted 6 lines · Jesse Peng
Currently we have a project which need while help routine (run on related conntrack)executed, move nfct pointing to its parent's conntrack(not that dirty you would mistake). But as you know, currently parameters passed to connection help only include iph. So it leaves me almost no other choice but patching the help that of course would certainly cause nightmare(need patch every helper). How can I do? or the helper infrastructure consider any future plan? Please "help" !
Your sincerely
Jesse
Just back from a short evening relex walk, it hit me a acceptable solution. That's while help, I leave some information at help info, and I prepare another private module right after the NF_IP_PRI_CONNTRACK hook which then take the responsibility checking if concerning message left in the help info and thus moving the nfct.
Thanks
Jesse