| | 27 | |
|---|
| | 28 | - Updated the fwknop client to randomize the UDP source port for default |
|---|
| | 29 | SPA packet generation. There is also a new command line argument |
|---|
| | 30 | --Source-port <port> to allow the user to manually set the source port |
|---|
| | 31 | on the fwknop client command line. A lot more attention is given now to |
|---|
| | 32 | source ports after the Dan Kaminsky DNS caching exploit, and it turns |
|---|
| | 33 | out that even on Linux that the kernel did not randomize UDP source |
|---|
| | 34 | ports until the 2.6.24 kernel. Of course, any userspace process is free |
|---|
| | 35 | to request a random port itself, but if a userspace application did not |
|---|
| | 36 | build this in then it would be up to the kernel to assign a source port. |
|---|
| | 37 | In the case of Linux, here are two links that show the change to the |
|---|
| | 38 | kernel code as well as the ChangeLog entry for UDP source port |
|---|
| | 39 | randomization: |
|---|
| | 40 | |
|---|
| | 41 | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;\ |
|---|
| | 42 | a=commit;h=32c1da70810017a98aa6c431a5494a302b6b9a30 |
|---|
| | 43 | http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.24 |
|---|