Hi All,
I have two problems
with cttproxy-
1.
I have not applied
04-nat_delete.diff to
Apply patch
04-nat_delete.diff
patching file
include/linux/netfilter_ipv4/ip_conntrack.h
patching file
net/ipv4/netfilter/ip_conntrack_proto_tcp.c
patching file
net/ipv4/netfilter/ip_conntrack_standalone.c
patching file
net/ipv4/netfilter/ip_nat_core.c
Hunk #3 FAILED at 295.
1 out of 6 hunks
FAILED -- saving rejects to file net/ipv4/netfilter/ip_nat_core.c.rej
patching file
net/ipv4/netfilter/ip_conntrack_core.c
2.
Using
I
have turned on the tproxy options:
CONFIG_IP_NF_TPROXY=y
CONFIG_IP_NF_MATCH_TPROXY=y
CONFIG_IP_NF_TARGET_TPROXY=y
CONFIG_IP_NF_NAT_NRES=y
divide
error: 0000 [#1]
SMP
Modules linked in:
pgroup ipmi_watchpig ipmi_keypad ipmi_core ipmi_devintf ipmi_si ipmi_msghandler
e1000
CPU:
2
EIP:
0060:[<c0274397>] Tainted:
P VLI
EFLAGS: 00010246
(
EIP is at
find_best_ips_proto+0xae/0xbd
eax: b5e
esi: b5e
ds: 007b
es: 007b ss: 0068
Process iwssd (pid:
2969, threadinfo=e8826000 task=d2b4fa50)
Stack: c
e
e
Call Trace:
[<c
[<c02744d9>]
ip_nat_setup_info+0x71/0x1aa
[<c
[<c
[<c027633d>]
ip_tproxy_setup_nat_bidir+0xd1/0x152
[<c0276532>]
ip_tproxy_setup_nat+0x31/0x
[<c027676d>]
ip_tproxy_fn+0x1d5/0x
[<c0274691>] ip_nat_manip_pkt+0x
[<c
[<f88639eb>]
e1000_xmit_frame+0x6df/0xc86 [e1000]
[<c0283fc8>]
br_dev_queue_push_xmit+0x0/0xdf
[<c027dafa>]
nf_iterate+0x
[<c0283fc8>]
br_dev_queue_push_xmit+0x0/0xdf
[<c027db61>]
nf_hook_slow+0x47/0xcb
[<c0283fc8>]
br_dev_queue_push_xmit+0x0/0xdf
[<c0288d46>]
br_nf_post_routing+0x
[<c0283fc8>]
br_dev_queue_push_xmit+0x0/0xdf
[<c0283fc8>]
br_dev_queue_push_xmit+0x0/0xdf
[<c027dafa>]
nf_iterate+0x
… … …
[<c022dcb5>]
release_sock+0xf/0x
[<c024cb78>]
tcp_recvmsg+0x
[<c
[<c02640ca>]
inet_stream_connect+0x89/0x14b
[<c022bb93>]
sys_connect+0x
[<c022ddf4>]
sock_common_setsockopt+0x1e/0x22
[<c022bf
[<c01bfeba>]
copy_from_user+0x34/0x
[<c
[<c0102439>]
syscall_call+0x7/0xb
Code: 05 31 ce
<0>Kernel
panic - not syncing: Fatal exception in interrupt
Best Regards,
Eric Chao