I'm not really sure where or to whom I should ask this question, so hopefully you all can help me.
I am working on a project that I would like to add data to the end of each packet before encryption on an SSH client, then take that data off the packet right after decryption on the SSH target. I'd like to do this with all communication during the ssh session as part of an authentication system I am working on involving SSH
Currently I'm looking at the OpenSSH github and looking beginning to look through the sshd.c file, but I'm hoping someone can point me to the right file to look at to help me achieve this or perhaps a better place to ask this question to reach people who would know more about this stuff.
Any help would be greatly appreciated - Thank you!