https://github.com/ucloud/ucloud-toa
A kernel module to obtain source IPv4 address in the TCP option section.
https://github.com/ucloud/ucloud-toa
lvs toa
Last synced: 6 months ago
JSON representation
A kernel module to obtain source IPv4 address in the TCP option section.
- Host: GitHub
- URL: https://github.com/ucloud/ucloud-toa
- Owner: ucloud
- License: gpl-2.0
- Created: 2021-09-23T06:18:16.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-22T02:33:53.000Z (over 3 years ago)
- Last Synced: 2025-03-23T23:36:07.613Z (7 months ago)
- Topics: lvs, toa
- Language: C
- Homepage:
- Size: 16.6 KB
- Stars: 23
- Watchers: 5
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```bash
make
```2. Load the module
```bash
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.