tcp-accept-queue failed on kernel 4.19.91-27
chanjarster opened this issue · 2 comments
chanjarster commented
./tcp-accept-queue --port 8080 --time=30
semantic error: unable to find member 'listen_opt' for struct request_sock_queue (alternatives: qlen, young, rskq_lock, fastopenq, rskq_defer_accept, rskq_accept_head, rskq_accept_tail, synflood_warned): operator '->' at <input>:12:80
source: syn_qlen = @cast($sk, "struct inet_connection_sock")->icsk_accept_queue->listen_opt->qlen
^
semantic error: unable to find member 'listen_opt' for struct request_sock_queue (alternatives: qlen, young, rskq_lock, fastopenq, rskq_defer_accept, rskq_accept_head, rskq_accept_tail, synflood_warned): operator '->' at :12:80
source: syn_qlen = @cast($sk, "struct inet_connection_sock")->icsk_accept_queue->listen_opt->qlen
^
semantic error: failed to retrieve location attribute for 'skb' [man error::dwarf]: identifier '$skb' at :8:31
dieoffset: 0xace3e7b from /usr/lib/debug/lib/modules/4.19.91-27.an8.x86_64/vmlinux
function: tcp_v4_conn_request at net/ipv4/tcp_ipv4.c:1385:9 inlined by tcp_v4_conn_request at net/ipv4/tcp_ipv4.c:1379:5
source: tcphdr = __get_skb_tcphdr($skb)
^
semantic error: unresolved type : identifier '$skb' at :8:31
source: tcphdr = __get_skb_tcphdr($skb)
^
Pass 2: analysis failed. [man error::pass2]
Number of similar error messages suppressed: 9.
Rerun with -v to see them.
looks like request_sock_queue
struct changed in kernel 4.19.
Matrix-gzw commented
您好,您的邮件已收到,我会尽快回复您。谢谢!
agentzh commented
@chanjarster as stated in this project's README. This repo is no longer maintained and we continue our work here in the OpenResty XRay product: https://openresty.com/en/xray/