Skip to content

Commit

Permalink
chore: Remove deprecated configuration files, modify issue template.
Browse files Browse the repository at this point in the history
Signed-off-by: CFC4N <[email protected]>
  • Loading branch information
cfc4n committed Jan 5, 2025
1 parent 06613e0 commit 329aebe
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 41 deletions.
22 changes: 10 additions & 12 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,28 @@ assignees: ''

---

> [!IMPORTANT]
> You can mention the @dosu AI robot, which can quickly answer your questions.

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Type '....'
3. See error
4. upload the log file

**Expected behavior**
A clear and concise description of what you expected to happen.
1.
2.
3.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Linux Server/Android (please complete the following information):**

- Device: [e.g. Pixel 4]
- Env: [run `ecapture -v` to get the eCapture version, or run the `make env` command for complete information]
- OS: [e.g. Ubuntu 21.04]
- Arch: [e.g. `uname -a`]
- Kernel Version: [e.g. 5.10]
- Version: [e.g. arm64:0.7.7-20240303-bfb4a8c:5.15.0-113-generic]
- Device: `Pixel 9` or `Linux Server`
- Kernel Info: `uname -a`
- eCapture Version: `ecapture -v`

**Additional context**
Add any other context about the problem here.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@

## What's Changed

* Limit github action serialization and increase CI caching function by @cfc4n
in https://github.com/gojue/ecapture/pull/698
* fix : add openssl_3_1_0 target by @cuijing90 in https://github.com/gojue/ecapture/pull/704
* performance: use first h2 frame header detect instead of read first frame from whole payload by @yuweizzz
in https://github.com/gojue/ecapture/pull/705
* fix #697, When building in nocore mode, use only non-core bytecode les by default. by @cfc4n
in https://github.com/gojue/ecapture/pull/708
* fix: check CAP_BPF by capget syscall by @Asphaltt in https://github.com/gojue/ecapture/pull/707
* fixed the issue of missing cross-compilation environment. by @cfc4n in https://github.com/gojue/ecapture/pull/709
* fix(ci): fix github action release notes generation by @cfc4n in https://github.com/gojue/ecapture/pull/710

## New Contributors

* @cuijing90 made their first contribution in https://github.com/gojue/ecapture/pull/704

**Full Changelog**: https://github.com/gojue/ecapture/compare/v0.9.1...v0.9.2
<hr>

Expand Down
6 changes: 2 additions & 4 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ currently being supported with security updates.

| Version | Supported |
|---------|--------------------|
| 0.7.x | :white_check_mark: |
| 0.6.x | :x: |
| 0.5.x | :x: |
| < 0.4.0 | :x: |
| 0.9.x | :white_check_mark: |
| < 0.8.0 | :x: |

## Reporting a Vulnerability

Expand Down
6 changes: 3 additions & 3 deletions cli/cmd/env_detection.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ func detectKernel() error {
switch runtime.GOARCH {
case "amd64":
if kv < kernel.VersionCode(4, 18, 0) {
return fmt.Errorf("the Linux/Android Kernel version %v (x86_64) is not supported. Requires a version greater than 4.18.", kv)
return fmt.Errorf("the Linux/Android Kernel version %v (x86_64) is not supported. Requires a version greater than 4.18", kv)
}
case "arm64":
if kv < kernel.VersionCode(5, 5, 0) {
return fmt.Errorf("the Linux/Android Kernel version %v (aarch64) is not supported. Requires a version greater than 5.5.", kv)
return fmt.Errorf("the Linux/Android Kernel version %v (aarch64) is not supported. Requires a version greater than 5.5", kv)
}
default:
return fmt.Errorf("unsupported CPU arch:%v", runtime.GOARCH)
Expand All @@ -56,7 +56,7 @@ func detectBpfCap() error {
capSysAdminMask := uint32(1 << unix.CAP_SYS_ADMIN)
haveBpfCap := (data[1].Permitted&capBpfMask != 0) || (data[0].Permitted&capSysAdminMask != 0)
if !haveBpfCap {
return fmt.Errorf("the current user does not have CAP_BPF to load bpf programs. Please run as root or use sudo or add the --privileged=true flag for Docker.")
return fmt.Errorf("the current user does not have CAP_BPF to load bpf programs. Please run as root or use sudo or add the --privileged=true flag for Docker")
}

return nil
Expand Down
22 changes: 0 additions & 22 deletions configuration.json

This file was deleted.

0 comments on commit 329aebe

Please sign in to comment.