Size: a a a

2020 September 26

s

shumbor in Accel-PPP
Хм, по бектрейсу модуль pptp, мож ядро обновить ?
источник

AR

Alexander Ru in Accel-PPP
ядро из реп
источник

AR

Alexander Ru in Accel-PPP
собрал дебажную
источник

AR

Alexander Ru in Accel-PPP
[Суб Сен 26 17:22:08 2020] ------------[ cut here ]------------
[Суб Сен 26 17:22:08 2020] WARNING: CPU: 0 PID: 22920 at /build/linux-6oyya4/linux-3.16.84/net/core/dst.c:288 __sk_dst_check+0x7f/0x90()
[Суб Сен 26 17:22:08 2020] Modules linked in: act_police sch_ingress cls_u32 sch_sfq sch_htb xt_nat iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack_netlink nfnetlink nf_conntrack iptable_filter ip_tables x_tables nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc 8021q garp stp mrp llc pptp gre pppox ppp_generic slhc loop hid_generic usbhid hid iTCO_wdt iTCO_vendor_support evdev battery snd_hda_codec_realtek snd_hda_codec_generic x86_pkg_temp_thermal intel_powerclamp intel_rapl coretemp i915 kvm snd_hda_intel video drm_kms_helper snd_hda_controller drm snd_hda_codec snd_hwdep crc32_pclmul processor i2c_algo_bit i2c_i801 snd_pcm pcspkr mei_me i2c_core mei lpc_ich ie31200_edac snd_timer button mfd_core edac_core serio_raw snd cryptd soundcore ext4 crc16 mbcache jbd2 sg sd_mod crc_t10dif crct10dif_generic thermal ahci libahci crct10dif_pclmul crct10dif_common psmouse crc32c_intel ehci_pci ehci_hcd fan thermal_sys libata scsi_mod r8169 mii usbcore usb_common [last unloaded: ipt_NETFLOW]
[Суб Сен 26 17:22:08 2020] CPU: 0 PID: 22920 Comm: accel-pppd Tainted: G        W  O  3.16.0-11-amd64 #1 Debian 3.16.84-1
[Суб Сен 26 17:22:08 2020] Hardware name: Gigabyte Technology Co., Ltd. To be filled by O.E.M./H61M-S1, BIOS FC 02/25/2013
[Суб Сен 26 17:22:08 2020]  0000000000000000 ffffffff8153b1ba 0000000000000000 0000000000000009
[Суб Сен 26 17:22:08 2020]  ffffffff8106e0d7 ffff8800be59bc40 ffff8800bdee4100 0000000000000000
[Суб Сен 26 17:22:08 2020]  0000000000000000 ffff8800bdee4418 ffffffff8143157f 0000000000000000
[Суб Сен 26 17:22:08 2020] Call Trace:
[Суб Сен 26 17:22:08 2020]  [<ffffffff8153b1ba>] ? dump_stack+0x67/0x82
[Суб Сен 26 17:22:08 2020]  [<ffffffff8106e0d7>] ? warn_slowpath_common+0x77/0x90
[Суб Сен 26 17:22:08 2020]  [<ffffffff8143157f>] ? __sk_dst_check+0x7f/0x90
[Суб Сен 26 17:22:08 2020]  [<ffffffff81486ee7>] ? ip_queue_xmit+0x267/0x3b0
[Суб Сен 26 17:22:08 2020]  [<ffffffff8149db7e>] ? tcp_transmit_skb+0x47e/0x940
[Суб Сен 26 17:22:08 2020]  [<ffffffff8107b645>] ? mod_timer+0xf5/0x220
[Суб Сен 26 17:22:08 2020]  [<ffffffff8149e202>] ? tcp_write_xmit+0x1c2/0xde0
[Суб Сен 26 17:22:08 2020]  [<ffffffff8149f06a>] ? __tcp_push_pending_frames+0x2a/0xc0
[Суб Сен 26 17:22:08 2020]  [<ffffffff814906ff>] ? tcp_sendmsg+0x80f/0xde0
[Суб Сен 26 17:22:08 2020]  [<ffffffff8153cd73>] ? __schedule+0x223/0x750
[Суб Сен 26 17:22:08 2020]  [<ffffffff8142e077>] ? sock_aio_write+0x107/0x130
[Суб Сен 26 17:22:08 2020]  [<ffffffff81093345>] ? __hrtimer_start_range_ns+0x1d5/0x440
[Суб Сен 26 17:22:08 2020]  [<ffffffff811ba7a2>] ? do_sync_write+0x62/0xa0
[Суб Сен 26 17:22:08 2020]  [<ffffffff811bb1e5>] ? vfs_write+0x175/0x1f0
[Суб Сен 26 17:22:08 2020]  [<ffffffff811bb01c>] ? vfs_read+0x11c/0x170
[Суб Сен 26 17:22:08 2020]  [<ffffffff811bbc9a>] ? SyS_write+0x4a/0xc0
[Суб Сен 26 17:22:08 2020]  [<ffffffff81543dd9>] ? sysenter_dispatch+0xd/0x2b
[Суб Сен 26 17:22:08 2020] ---[ end trace 82b6a9cecc5d2072 ]---
[Суб Сен 26 17:22:16 2020] ------------[ cut here ]------------
[Суб Сен 26 17:22:16 2020] WARNING: CPU: 0 PID: 0 at /build/linux-6oyya4/linux-3.16.84/net/core/dst.c:288 tcp_v4_do_rcv+0x188/0x4e0()
источник

AR

Alexander Ru in Accel-PPP

[Суб Сен 26 17:22:16 2020] Modules linked in: act_police sch_ingress cls_u32 sch_sfq sch_htb xt_nat iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack_netlink nfnetlink nf_conntrack iptable_filter ip_tables x_tables nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc 8021q garp stp mrp llc pptp gre pppox ppp_generic slhc loop hid_generic usbhid hid iTCO_wdt iTCO_vendor_support evdev battery snd_hda_codec_realtek snd_hda_codec_generic x86_pkg_temp_thermal intel_powerclamp intel_rapl coretemp i915 kvm snd_hda_intel video drm_kms_helper snd_hda_controller drm snd_hda_codec snd_hwdep crc32_pclmul processor i2c_algo_bit i2c_i801 snd_pcm pcspkr mei_me i2c_core mei lpc_ich ie31200_edac snd_timer button mfd_core edac_core serio_raw snd cryptd soundcore ext4 crc16 mbcache jbd2 sg sd_mod crc_t10dif crct10dif_generic thermal ahci libahci crct10dif_pclmul crct10dif_common psmouse crc32c_intel ehci_pci ehci_hcd fan thermal_sys libata scsi_mod r8169 mii usbcore usb_common [last unloaded: ipt_NETFLOW]
[Суб Сен 26 17:22:16 2020] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W  O  3.16.0-11-amd64 #1 Debian 3.16.84-1
[Суб Сен 26 17:22:16 2020] Hardware name: Gigabyte Technology Co., Ltd. To be filled by O.E.M./H61M-S1, BIOS FC 02/25/2013
[Суб Сен 26 17:22:16 2020]  0000000000000000 ffffffff8153b1ba 0000000000000000 0000000000000009
[Суб Сен 26 17:22:16 2020]  ffffffff8106e0d7 ffff8800bdc9f600 ffff8800d2d24080 ffff8800bdc14a00
[Суб Сен 26 17:22:16 2020]  ffff8800c13b220e 0000000000000000 ffffffff814a5098 0000001400000000
[Суб Сен 26 17:22:16 2020] Call Trace:
[Суб Сен 26 17:22:16 2020]  <IRQ>  [<ffffffff8153b1ba>] ? dump_stack+0x67/0x82
[Суб Сен 26 17:22:16 2020]  [<ffffffff8106e0d7>] ? warn_slowpath_common+0x77/0x90
[Суб Сен 26 17:22:16 2020]  [<ffffffff814a5098>] ? tcp_v4_do_rcv+0x188/0x4e0
[Суб Сен 26 17:22:16 2020]  [<ffffffff8124d930>] ? cap_socket_shutdown+0x10/0x10
[Суб Сен 26 17:22:16 2020]  [<ffffffff8145cd96>] ? sk_filter_trim_cap+0x26/0xd0
[Суб Сен 26 17:22:16 2020]  [<ffffffff814a6c7c>] ? tcp_v4_rcv+0x6dc/0x7c0
[Суб Сен 26 17:22:16 2020]  [<ffffffff8147a0a6>] ? nf_hook_slow+0x76/0x130
[Суб Сен 26 17:22:16 2020]  [<ffffffff81480b20>] ? ip_rcv_finish+0x350/0x350
[Суб Сен 26 17:22:16 2020]  [<ffffffff81480bc4>] ? ip_local_deliver_finish+0xa4/0x200
[Суб Сен 26 17:22:16 2020]  [<ffffffff814486c4>] ? __netif_receive_skb_core+0x594/0x840
[Суб Сен 26 17:22:16 2020]  [<ffffffff8101d165>] ? read_tsc+0x5/0x20
[Суб Сен 26 17:22:16 2020]  [<ffffffff814489ff>] ? netif_receive_skb_internal+0x1f/0x80
[Суб Сен 26 17:22:16 2020]  [<ffffffff814494d0>] ? napi_gro_receive+0xd0/0x100
[Суб Сен 26 17:22:16 2020]  [<ffffffffa005ecef>] ? rtl8169_poll+0x24f/0x6c0 [r8169]
[Суб Сен 26 17:22:16 2020]  [<ffffffff81448daf>] ? net_rx_action+0x12f/0x270
[Суб Сен 26 17:22:16 2020]  [<ffffffff810735a0>] ? __do_softirq+0x120/0x2f0
[Суб Сен 26 17:22:16 2020]  [<ffffffff810738e5>] ? irq_exit+0xa5/0xb0
[Суб Сен 26 17:22:16 2020]  [<ffffffff815444e1>] ? do_IRQ+0x51/0x100
[Суб Сен 26 17:22:16 2020]  [<ffffffff81541f89>] ? common_interrupt+0x89/0x89
[Суб Сен 26 17:22:16 2020]  <EOI>  [<ffffffff81405e91>] ? cpuidle_enter_state+0x51/0xc0
[Суб Сен 26 17:22:16 2020]  [<ffffffff810b19d3>] ? cpu_startup_entry+0x353/0x4a0
[Суб Сен 26 17:22:16 2020]  [<ffffffff81916f4e>] ? start_kernel+0x47b/0x483
[Суб Сен 26 17:22:16 2020]  [<ffffffff81916120>] ? early_idt_handler_array+0x120/0x120
[Суб Сен 26 17:22:16 2020]  [<ffffffff81916617>] ? x86_64_start_kernel+0x14d/0x15c
[Суб Сен 26 17:22:16 2020] ---[ end trace 82b6a9cecc5d2073 ]---
[Суб Сен 26 17:22:17 2020] ------------[ cut here ]------------
источник

xz

xu zhibin in Accel-PPP
Does accel PPP support multiple IP configurations for centos7 servers? Different IP, different exit?
источник

S

Sergey in Accel-PPP
xu zhibin
Does accel PPP support multiple IP configurations for centos7 servers? Different IP, different exit?
It is supported by linux kernel and userspace utilities like iptables
источник

xz

xu zhibin in Accel-PPP
I know how to set the iptables part, but only when different IP addresses of the VPN enter and allocate different intranet IP segments can iptables set a specific intranet IP
источник

S

Sergey in Accel-PPP
So.. what is required?
источник

S

Sergey in Accel-PPP
If you know how to configure iptables, what are you asking?
источник

xz

xu zhibin in Accel-PPP
For example, I have ip1.1.1.1 and 2.2.2.2, and I connect to 1.1.1.1 to automatically allocate ip10.0.0.1 on the intranet, which are all randomly assigned
источник

xz

xu zhibin in Accel-PPP
1 iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -j SNAT --to-source "2.2.2.2"
источник

S

Sergey in Accel-PPP
You want to load balance?
источник

S

Sergey in Accel-PPP
Just randomly?
источник

xz

xu zhibin in Accel-PPP
No, iptables can't know the intranet IP assigned by 1.1.1.1 and 2.2.2.2, and there is no way to distinguish them
источник

D

Dimka88 in Accel-PPP
Describe please what do you want to reach exactly
источник

s

seversss in Accel-PPP
Maybe flag   “-persistent”?
источник

xz

xu zhibin in Accel-PPP
To which IP address is connected, which IP exit is the default, because iptables does not set the exit based on the condition of Intranet IP?
источник

S

Sergey in Accel-PPP
xu zhibin
To which IP address is connected, which IP exit is the default, because iptables does not set the exit based on the condition of Intranet IP?
You can set exit IP based on local IP
источник

S

Sergey in Accel-PPP
Just add more rules like -s net/prefix
источник