Skip to content

A kernel module to obtain source IPv4 address in the TCP option section.

License

Notifications You must be signed in to change notification settings

ucloud/ucloud-toa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCP Option Address

The TCP Option Address (TOA) module is a kernel module that obtains the client IPv4 address from the option section of a TCP header.

It's typically used on the backends of LVS(toa enable).

Features

  1. Support kernel from 2.6.32 to the mainline now
  2. Support IPV6 listen(golang default method)

Requirements

  1. Install kernel-devel, kernel-headers related kernel development packages which match the running kernel.
  2. Install gcc and make

Usage

  1. Compiling the module
make
  1. Load the module
insmod ./toa.ko

Distribution license

TOA is distributed under the terms of the GNU General Public License v2.0. The full terms and conditions of this license are detailed in the LICENSE file.

About

A kernel module to obtain source IPv4 address in the TCP option section.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published