python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
BPF verifier fails because of invalid access to packet
I am trying to get the server name from the SNI extension of a TLS hello packet in a XDP program. When I try to load it, I get the following error from the BPF verifier:
invalid access to packet
struc...
user2233706
Votes: 0
Answers: 2
BPF verification error when trying to extract SNI from TLS packet
I am trying to get the server name from the SNI extension of a TLS hello packet in a XDP program. When I try to load it, I get the following error from the BPF verifier:
math between pkt pointer and r...
user2233706
Votes: 0
Answers: 1
Need help in XDP program failing to load with error "R7 offset is outside of the packet"
I have written a XDP program that looks at the incoming SCTP packets.
A SCTP packets can have multiple chunks into it. I am specifically interested in DATA chunks that contain the application layer pa...

Pranav Chaudhary
Votes: 0
Answers: 1
Compiling program is not give me permission2 execute outpt of clang -o user.o|can't run user.o w/ sudo says command not found or sudo permision denied
So I compiled xdp program like
/usr/lib/x86_64-linux-gnu/
sudo clang -Wall -L /usr/lib/x86_64-linux-gnu/ -I /usr/lib/usr/include/ -c af_xdp_user.c -o user.o
or
sudo clang -Wall -L /usr/lib/x86_64-...
user786
Votes: 0
Answers: 1