-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix TCP session establishment not completing
* Test with eUPF
- Loading branch information
1 parent
23b701e
commit 3829139
Showing
10 changed files
with
141 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,5 @@ docs/ | |
|
||
*.o | ||
*.pcap | ||
*.log | ||
*.log | ||
*.pcapng |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,6 @@ | |
*.ll | ||
|
||
*.pcap | ||
*.pcapng | ||
|
||
*.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
"unistd.h": "c", | ||
"signal.h": "c", | ||
"gtpu.h": "c", | ||
"tc-gtpu.skel.h": "c" | ||
"tc-gtpu.skel.h": "c", | ||
"ios": "c" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,10 @@ cat /sys/kernel/debug/tracing/trace_pipe | |
|
||
Build with Dockerfile | ||
|
||
```bash | ||
docker buildx build --platform=linux/amd64 -t tariromukute/tc-gtpu:latest -f Dockerfile . | ||
``` | ||
|
||
Either: | ||
1. create container and the mount the debugfs inside the container. | ||
|
||
|
@@ -184,6 +188,13 @@ ethtool --offload <iface_name> rx off tx off | |
|
||
# Check for TCP related errors | ||
netstat -s | ||
``` | ||
|
||
```bash | ||
sysctl net.ipv4.tcp_timestamps | ||
|
||
sysctl -w net.ipv4.tcp_timestamps=0 | ||
|
||
``` | ||
## Useful Resources | ||
|
||
|
@@ -196,4 +207,6 @@ netstat -s | |
- https://lore.kernel.org/bpf/[email protected]/ | ||
- https://github.com/siemens/edgeshark?tab=readme-ov-file#siemens-industrial-edge | ||
- https://www.dasblinkenlichten.com/working-with-tc-on-linux-systems/ | ||
- https://www.alibabacloud.com/blog/why-are-linux-kernel-protocol-stacks-dropping-syn-packets_595251 | ||
- https://www.alibabacloud.com/blog/why-are-linux-kernel-protocol-stacks-dropping-syn-packets_595251 | ||
- https://arstechnica.com/civis/threads/a-possibly-simple-sniffer-trace-question-psh-ack.343792/ | ||
- https://blogs.oracle.com/linux/post/notes-on-bpf-7-bpf-tc-and-generic-segmentation-offload |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters