Just made a few tests, documentation is good, well done.
However I got a crash quickly, probably due to miss config, but crash in the kernel module makes it much more problematic.
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195416] RIP: 0010:main_hook_post+0x70/0xb0 [lreproxy_module]
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195422] Code: c1 e5 02 41 83 e5 3c 4d 01 e5 74 e0 41 0f b7 45 02 49 89 f6 69 c0 47 86 c8 61 c1 e8 16 48 8b 1c c5 c0 b3 0c c1 48 85 db 74 c2 <8b> 43 1c 4c 89 e2 4c 89 ee 4c 89 f7 41 89 44 24 0c 0f b7 43 24 66
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195426] RSP: 0018:ffffc39844dd7ad8 EFLAGS: 00010286
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195431] RAX: 000000000000fd02 RBX: c9ec991dd1f95aa5 RCX: 0000000000000000
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195434] RDX: 00000000d43c0000 RSI: 0000000000000000 RDI: ffff9fa6df1948d8
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195437] RBP: ffffc39844dd7af8 R08: ffff9fa6df1948d8 R09: 0000000000000006
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195440] R10: 0000000000001550 R11: 0000000000000010 R12: ffff9fa6df194810
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195443] R13: ffff9fa6df194824 R14: ffff9fa5dd67f100 R15: 00000000000000b4
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195448] FS: 00007f3dda056700(0000) GS:ffff9fa6fc440000(0000) knlGS:0000000000000000
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195452] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195456] CR2: 000000000293af68 CR3: 000000050d1c0006 CR4: 00000000003606e0
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195462] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195465] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195467] Call Trace:
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195478] nf_hook_slow+0x48/0xc0
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195485] ip_output+0xcf/0xe0
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195492] ? __ip_finish_output+0x1d0/0x1d0
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195498] ip_local_out+0x3b/0x50
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195503] ip_send_skb+0x19/0x40
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195509] udp_send_skb.isra.48+0x156/0x370
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195515] udp_sendmsg+0x6c3/0xd10
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195521] ? ip_do_fragment+0x530/0x530
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195530] ? __switch_to_asm+0x34/0x70
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195535] ? __switch_to_asm+0x40/0x70
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195540] ? __switch_to_asm+0x34/0x70
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195546] ? _cond_resched+0x19/0x40
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195555] ? aa_sk_perm+0x43/0x190
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195559] ? __switch_to_asm+0x34/0x70
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195565] inet_sendmsg+0x5d/0x70
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195569] ? inet_sendmsg+0x5d/0x70
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195577] sock_sendmsg+0x5c/0x70
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195582] __sys_sendto+0x13f/0x180
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195590] ? hrtimer_nanosleep+0xc0/0x150
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195596] ? hrtimer_init_sleeper+0x90/0x90
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195601] __x64_sys_sendto+0x28/0x30
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195608] do_syscall_64+0x57/0x190
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195614] entry_SYSCALL_64_after_hwframe+0x44/0xa9
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195618] RIP: 0033:0x7f3de55b9a82
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195623] Code: 48 83 ec 18 44 89 4c 24 08 e8 aa f5 ff ff 44 8b 4c 24 08 89 c5 4d 89 f8 45 89 f2 4c 89 ea 4c 89 e6 89 df b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 3a 89 ef 48 89 44 24 08 e8 da f5 ff ff 48 8b
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195628] RSP: 002b:00007f3dda055b10 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195636] RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007f3de55b9a82
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195639] RDX: 00000000000000ac RSI: 00007f3dd0018bc8 RDI: 000000000000000a
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195641] RBP: 0000000000000000 R08: 00007f3dd0017c2c R09: 0000000000000010
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195644] R10: 0000000000000000 R11: 0000000000000293 R12: 00007f3dd0018bc8
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195647] R13: 00000000000000ac R14: 0000000000000000 R15: 00007f3dd0017c2c
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195652] Modules linked in: lreproxy_module(OE) xt_nat xt_tcpudp veth xt_conntrack xt_MASQUERADE nf_conntrack_netlink xfrm_user xfrm_algo xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c bpfilter br_netfilter bridge stp llc nfnetlink_queue nfnetlink_log nfnetlink rfcomm ccm cmac aufs overlay bnep nls_iso8859_1 mei_hdcp intel_rapl_msr snd_sof_pci snd_sof_intel_hda_common snd_soc_hdac_hda snd_hda_codec_hdmi snd_sof_intel_hda snd_sof_intel_byt snd_sof_intel_ipc snd_sof snd_sof_xtensa_dsp snd_hda_ext_core snd_soc_acpi_intel_match x86_pkg_temp_thermal snd_soc_acpi intel_powerclamp snd_soc_core snd_hda_codec_realtek snd_hda_codec_generic snd_compress coretemp ac97_bus snd_pcm_dmaengine kvm_intel uvcvideo kvm iwlmvm snd_hda_intel input_leds snd_intel_dspcfg videobuf2_vmalloc joydev snd_hda_codec videobuf2_memops rapl videobuf2_v4l2 intel_cstate mac80211 serio_raw snd_hda_core videobuf2_common wmi_bmof libarc4 intel_wmi_thunderbolt snd_hwdep
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195710] thinkpad_acpi btusb videodev btrtl nvram btbcm btintel ledtrig_audio snd_seq_midi snd_pcm mc iwlwifi bluetooth snd_seq_midi_event ecdh_generic ecc snd_rawmidi cfg80211 mei_me intel_lpss_pci mei intel_lpss snd_seq idma64 virt_dma snd_seq_device snd_timer ucsi_acpi processor_thermal_device typec_ucsi intel_rapl_common intel_soc_dts_iosf typec intel_pch_thermal snd soundcore int3403_thermal int340x_thermal_zone int3400_thermal acpi_thermal_rel mac_hid acpi_pad sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 algif_skcipher af_alg dm_crypt hid_generic usbhid hid nouveau crct10dif_pclmul crc32_pclmul mxm_wmi ghash_clmulni_intel i915 nvme ttm i2c_algo_bit aesni_intel drm_kms_helper crypto_simd syscopyarea cryptd sysfillrect glue_helper psmouse e1000e sysimgblt fb_sys_fops nvme_core drm sdhci_pci thunderbolt cqhci sdhci wmi pinctrl_cannonlake video pinctrl_intel [last unloaded: lreproxy_module]
Feb 11 14:09:04 anton-ThinkPad-P43s kernel: [225916.195783] ---[ end trace ff79f804c7960a14 ]---
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.