Skip to content

Latest commit

 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tcpsecrets

Linux kernel module to provide access to tcp cookie secrets via /proc/tcp_secrets

Tested kernels

  • 4.2.0-35-generic #40~14.04.1-Ubuntu
  • 4.4.0-34-generic #53~14.04.1-Ubuntu
  • 4.6.0-0.bpo.1-amd64 #1 SMP Debian 4.6.4-1~bpo8+1
  • 4.9.0-0.bpo.3-amd64 #1 SMP Debian 4.9.25-1~bpo8+1
  • 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u3
  • 4.9.255 (custom)
  • 5.8.0-48-generic #54~20.04.1-Ubuntu SMP
  • 5.10.24 (custom)

Untested kernels

  • 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (builds, not tested)

Unsupported kernels

  • 2.6.x

Custom kernels

These options are required for module to work:

CONFIG_LIVEPATCH=y
CONFIG_FTRACE=y
CONFIG_DYNAMIC_FTRACE=y
CONFIG_DYNAMIC_FTRACE_WITH_REGS=y
CONFIG_FTRACE_MCOUNT_RECORD=y

Building for 5.7+ requires kprobes support:

CONFIG_KPROBES=y

Install via DKMS

KERNEL_VERSION=$(uname -r) make -f Makefile.dkms

About

Linux kernel module to provide access to tcp secrets via /proc/tcp_secrets

Topics

Resources

Stars

15 stars

Watchers

18 watching

Forks

Releases

Packages

Contributors

Languages