Huawei / TCP_option_address

A kernel module to obtain source IP address in the TCP option section.
GNU General Public License v2.0
184 stars 61 forks source link

adapte to kylin-arm64 #12

Open MapleStory1994 opened 1 year ago

MapleStory1994 commented 1 year ago

adapte to kylin-arm64

pengqb commented 1 year ago
  1. lookup_address function is only not open in the Kylin (arm) system. UOS (arm), has actually opened lookup_address function.
  2. kallsyms_lookup_name("__start_rodata") cannot get start_rodata address, you can pass it in during the installation of toa, and can be obtained from System.map.
  3. if (!defined aarch64) && (LINUX_VERSION_CODE < KERNEL_VERSION(4,18,0)) --> #if (!defined aarch64) || (LINUX_VERSION_CODE < KERNEL_VERSION(4,18,0)) ??