Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhancement for bind points #628

Merged
merged 1 commit into from
Dec 15, 2022
Merged

enhancement for bind points #628

merged 1 commit into from
Dec 15, 2022

Conversation

yasin-cs-ko-ak
Copy link
Contributor

This PR Contains enhancement for bind points aka SYS_BIND

  • NETLINK Protocol added
  • TCPv6 and TCP protocols added
  • UNIX bindaddr added to sun_path

Here is few sample outputs:

Bind Points
+----------+---------------------+-----------+--------------+-------+------------------------------+
| PROTOCOL |       COMMAND       | BIND PORT | BIND ADDRESS | COUNT |      LAST UPDATED TIME       |
+----------+---------------------+-----------+--------------+-------+------------------------------+
| NETLINK  | /bin/ping           |           |              | 1     | Sat Dec 10 15:09:26 IST 2022 |
| TCP      | /bin/nc.traditional | 4444      | 0.0.0.0      | 1     | Sat Dec 10 15:10:29 IST 2022 |
+----------+---------------------+-----------+--------------+-------+------------------------------+
Bind Points
+----------+---------------------------+-----------+--------------+-------+------------------------------+
| PROTOCOL |          COMMAND          | BIND PORT | BIND ADDRESS | COUNT |      LAST UPDATED TIME       |
+----------+---------------------------+-----------+--------------+-------+------------------------------+
| NETLINK  | /usr/lib/apt/methods/http |           |              | 6     | Sat Dec 10 23:54:37 IST 2022 |
| TCP      | /usr/sbin/traceroute      | 0         | 0.0.0.0      | 14    | Sat Dec 10 23:55:07 IST 2022 |
| NETLINK  | /bin/ping                 |           |              | 1     | Sat Dec 10 23:56:41 IST 2022 |
+----------+---------------------------+-----------+--------------+-------+------------------------------+

Signed-off-by: yasin-cs-ko-ak yasin@accuknox.com

src/observability/summarizer.go Outdated Show resolved Hide resolved
@yasin-cs-ko-ak
Copy link
Contributor Author

yasin-cs-ko-ak commented Dec 13, 2022

@seswarrajan @nyrahul Kindly review it.
and also to reflect this changes in karmor kindly merge this PR also: kubearmor/kubearmor-client#219

@seswarrajan seswarrajan self-requested a review December 15, 2022 06:25
Copy link
Contributor

@seswarrajan seswarrajan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

src/observability/summarizer.go Outdated Show resolved Hide resolved
src/observability/summarizer.go Outdated Show resolved Hide resolved
Signed-off-by: yasin-cs-ko-ak <yasin@accuknox.com>
@nyrahul nyrahul merged commit ac3dd6c into accuknox:dev Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants