ucloud-toa
ucloud-toa copied to clipboard
A kernel module to obtain source IPv4 address in the TCP option section.
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
- Support kernel from 2.6.32 to the mainline now
- Support IPV6 listen(golang default method)
Requirements
- Install kernel-devel, kernel-headers related kernel development packages which match the running kernel.
- Install gcc and make
Usage
- Compiling the module
make
- 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.