ktls-bpf_redirect-example's Issues
seems not work in my environment
hi, I'm running this code in my ubuntu system and something is wrong.
# uname -r
5.15.0-84-generic
![image](https://private-user-images.githubusercontent.com/1817942/285748722-d1b8816f-f0d1-49c6-ba43-bb70325d32cc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3NzA3ODUsIm5iZiI6MTcyNDc3MDQ4NSwicGF0aCI6Ii8xODE3OTQyLzI4NTc0ODcyMi1kMWI4ODE2Zi1mMGQxLTQ5YzYtYmE0My1iYjcwMzI1ZDMyY2MucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjdUMTQ1NDQ1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NGQwMWJiM2E1YzYyMGY3NzE0NWJiMTZiMzhkODE2NTBkMWQyYWNmNWNkMDFmNTQxMmI4YTRiZTE2YzM5MTQxZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.DZVOnRk3IpubYMKNMqOMAhV2LBX2mH8xMuKgp6wvG9Y)
as shown above, when sending data from openssl client, the server(nc) will receive some binary bytes with the right raw data.
I added bpf_printk
both in _prog_parser
and _prog_verdict
and found that _prog_parser
only triggered when nc send data back to openssl, sending data from openssl side will not trigger _prog_parser
. Is it expected or is there something wrong?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.