Annotation of wikisrc/projects/project/rfc6056.mdwn, revision 1.3

1.1 jmmv 1: [[!template id=project
2:
3: title="Implement RFC 6056: 'Recommendations for Transport-Protocol Port Randomization'"
4:
5: contact="""
6: [tech-net](mailto:tech-net@NetBSD.org)
7: """
8:
9: mentors="""
10: [Alistair G. Crooks](mailto:agc@NetBSD.org)
11: """
12:
1.2 jmmv 13: category="kernel"
14: difficulty="easy"
1.1 jmmv 15: duration="3 months"
1.3 ! wiki 16: done_by="Vlad Balan"
1.1 jmmv 17:
18: description="""
19: When using connect(2) to connect the client end of a socket, the system will choose the next number of the socket for you. Having an easily guessed port number can allow various attacks to take place. Choosing the next port number at random, whilst not perfect, gives more protection against these attacks.
20: [RFC 6056](http://www.rfc-editor.org/rfc/rfc6056.txt) gives an excellent overview of the algorithms in use when "randomising source ports", giving examples from FreeBSD, OpenBSD and Linux.
21:
22: This project has a number of goals:
23:
24: * Evaluate and prioritise the algorithms in RFC 6056.
25: * Implement the algorithms in RFC 6056, and make it possible to choose between them with sysctl.
26: """
27: ]]
28:
29: [[!tag gsoc]]