-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve tracking of connectionless UDP syscalls (#1741)
- Loading branch information
Showing
15 changed files
with
1,110 additions
and
5 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
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
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
Submodule falcosecurity-libs
updated
20 files
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 |
---|---|---|
@@ -1 +1 @@ | ||
1.2.1 | ||
2.0.0 |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM fedora:40 AS builder | ||
|
||
WORKDIR /tmp | ||
COPY udp-server.c . | ||
COPY udp-client.c . | ||
|
||
RUN dnf install -y gcc && \ | ||
gcc udp-server.c -Wall -Wpedantic -Werror -o udp-server && \ | ||
gcc udp-client.c -Wall -Wpedantic -Werror -o udp-client | ||
|
||
FROM fedora:40 | ||
|
||
COPY --from=builder /tmp/udp-server /usr/local/bin | ||
COPY --from=builder /tmp/udp-client /usr/local/bin | ||
EXPOSE 9090 | ||
|
||
ENTRYPOINT ["udp-server"] |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
BASE_PATH = . | ||
include ../Makefile-constants.mk | ||
|
||
.DEFAULT_GOAL = all | ||
|
||
COLLECTOR_QA_UDP_TAG := udp | ||
|
||
ifneq ($(COLLECTOR_QA_TAG),) | ||
COLLECTOR_QA_UDP_TAG=udp-$(COLLECTOR_QA_TAG) | ||
endif | ||
|
||
.PHONY: all | ||
all: build | ||
|
||
.PHONY: build | ||
build: | ||
@docker buildx build --load --platform ${PLATFORM} \ | ||
-t quay.io/rhacs-eng/qa-multi-arch:$(COLLECTOR_QA_UDP_TAG) \ | ||
-f Containerfile . | ||
|
||
.PHONY: build-and-push | ||
build-and-push: | ||
@docker buildx build --push --platform ${PLATFORM} \ | ||
-t quay.io/rhacs-eng/qa-multi-arch:$(COLLECTOR_QA_UDP_TAG) \ | ||
-f Containerfile . |
Oops, something went wrong.