Network Protocol Implementation

I'm going to implement a network protocol (specifically SFTP), and I wondered if there are any general rules to follow?

At the moment, this seems like a gigantic task, and I do not understand where to start.

I'm looking for:

  • Advice
  • Best practics
  • Possible design patterns
  • An experience

Try to save it in relation to network protocols in general.

Thank!

+3
source share
2 answers

I would certainly recommend using proven libraries, if possible. Especially for SSH, the SFTP side - because implementation errors can lead to security vulnerabilities.

, , , (SharpSSH ..), :

  • , - .

, , , , , , . , unit test .

: , OSI, . , , , .

, .

+1

SharpSSH , SFTP BSD, , , .

- , SO ( ), SFTP , , , , .

+1

Source: https://habr.com/ru/post/1765247/


All Articles