TCP_option_address
TCP_option_address copied to clipboard
A kernel module to obtain source IP address in the TCP option section.
``` uname -a Linux ecs-hq-ipv6test 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux ``` ``` src]# make make CONFIG_TOA=m -C /lib/modules/`uname -r`/build M=`pwd` modules make[1]:...
adapte to kylin-arm64
TOA arm64 编译报错 +pte_t *lookup_address(unsigned long addr, unsigned int *level) +{ + pgd_t *pgd; + pud_t *pud; + pmd_t *pmd; + + if (unlikely(level)) { + WARN(1, "level unused on...
Since Kernel 5.7 kallsyms_lookup_name is not longer exported so the module won't compile https://github.com/torvalds/linux/commit/0bd476e6c67190b5eb7b6e105c8db8ff61103281 ``` ❯ make make CONFIG_TOA=m -C /lib/modules/`uname -r`/build M=`pwd` modules EXTRA_CFLAGS="-DTOA_IPV6_ENABLE" make[1]: Entering directory '/usr/lib/modules/5.14.3-arch1-1/build' CC...
适配arm架构
系统版本有要求吗?在什么系统下做过测试和验证
How can I get SourceIP, obtained by this module on user-level code?
Hi, Thanks to provide the code. Have try to install the compiled toa module centos7.6 machines ,but getting below error, insmod: ERROR: could not insert module toa.ko: Invalid parameters. Please...
你好,我需要在哪里找那个测试代码? Hello, where do I need to find the test code?