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

[Filebeat] TCP/UDP input cause a panic on Linux under certain conditions #35064

Closed
belimawr opened this issue Apr 12, 2023 · 16 comments · Fixed by #35068, #35074 or #35637
Closed

[Filebeat] TCP/UDP input cause a panic on Linux under certain conditions #35064

belimawr opened this issue Apr 12, 2023 · 16 comments · Fixed by #35068, #35074 or #35637
Assignees
Labels

Comments

@belimawr
Copy link
Contributor

belimawr commented Apr 12, 2023

  • Version: v8.7.0, main
  • Operating System: Linux

Steps to Reproduce

  1. Start Filebeat with UDP input (or any input that uses UDP, like syslog)
    filebeat.inputs:
    - type: udp
      host: "localhost:9009"
    
    output.console:
      enabled: true
  2. Wait for about a minute (no need to ingest any data), you'll see a panic
    panic: runtime error: index out of range [1] with length 0
    
    goroutine 62 [running]:
    github.com/elastic/beats/v7/filebeat/input/udp.procNetUDP({0xc0002b0980?, 0x1, 0x2})
            /home/tiago/devel/beats/filebeat/input/udp/input.go:271 +0x552
    github.com/elastic/beats/v7/filebeat/input/udp.(*inputMetrics).poll(0xc000458680, {0xc0002b0980, 0x1, 0x2}, 0x0?, 0xc00066e040)
            /home/tiago/devel/beats/filebeat/input/udp/input.go:242 +0xd1
    created by github.com/elastic/beats/v7/filebeat/input/udp.newInputMetrics
            /home/tiago/devel/beats/filebeat/input/udp/input.go:216 +0xa70
    

The problem

The panic comes from the procNetUDP function that gathers some UDP metrics from /proc/net/udp:

// procNetUDP returns the rx_queue and drops field of the UDP socket table
// for the socket on the provided address formatted in hex, xxxxxxxx:xxxx.
// This function is only useful on linux due to its dependence on the /proc
// filesystem, but is kept in this file for simplicity.
func procNetUDP(addr []string) (rx, drops int64, err error) {
b, err := os.ReadFile("/proc/net/udp")
if err != nil {
return 0, 0, err
}
lines := bytes.Split(b, []byte("\n"))
if len(lines) < 2 {
return 0, 0, fmt.Errorf("/proc/net/udp entry not found for %s (no line)", addr)
}
for _, l := range lines[1:] {
f := bytes.Fields(l)
if contains(f[1], addr) {
_, r, ok := bytes.Cut(f[4], []byte(":"))
if !ok {
return 0, 0, errors.New("no rx_queue field " + string(f[4]))
}
rx, err = strconv.ParseInt(string(r), 16, 64)
if err != nil {
return 0, 0, fmt.Errorf("failed to parse rx_queue: %w", err)
}
drops, err = strconv.ParseInt(string(f[12]), 16, 64)
if err != nil {
return 0, 0, fmt.Errorf("failed to parse drops: %w", err)
}
return rx, drops, nil
}
}
return 0, 0, fmt.Errorf("/proc/net/udp entry not found for %s", addr)
}

It seems some times the data is on a format different than what the function expects.

Workaround

Currently the only know workaround is to downgrade to v8.6.2.

@belimawr belimawr added the bug label Apr 12, 2023
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Apr 12, 2023
@belimawr belimawr changed the title UDP metrics collection cause Filebeat to panic under certain conditions UDP input (UDP, Syslog, etc) cause Filebeat to panic under certain conditions Apr 12, 2023
@P1llus P1llus self-assigned this Apr 12, 2023
@elasticmachine
Copy link
Collaborator

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Apr 12, 2023
andrewkroh added a commit to andrewkroh/beats that referenced this issue Apr 12, 2023
A panic occurred while parsing /proc/net/udp and reaching the final empty line.
This occurred on Linux when the desired socket was not found in the list.

Fixes elastic#35064
@andrewkroh
Copy link
Member

andrewkroh commented Apr 12, 2023

PR to fix: #35068

andrewkroh added a commit that referenced this issue Apr 12, 2023
A panic occurred while parsing /proc/net/udp and reaching the final empty line.
This occurred on Linux when the desired socket was not found in the list.

Fixes #35064
andrewkroh added a commit that referenced this issue Apr 12, 2023
A panic occurred while parsing /proc/net/udp and reaching the final empty line.
This occurred on Linux when the desired socket was not found in the list.

Fixes #35064

(cherry picked from commit ce8216a)
andrewkroh added a commit that referenced this issue Apr 12, 2023
A panic occurred while parsing /proc/net/udp and reaching the final empty line.
This occurred on Linux when the desired socket was not found in the list.

Fixes #35064

(cherry picked from commit ce8216a)

Co-authored-by: Andrew Kroh <andrew.kroh@elastic.co>
andrewkroh added a commit to andrewkroh/beats that referenced this issue Apr 12, 2023
A panic occurred while parsing /proc/net/tcp and reaching the final empty line.
This occurred on Linux when the desired socket was not found in the list.

Fixes elastic#35064
@andrewkroh
Copy link
Member

I found the same bug in the TCP input as well. Fixing it in #35074.

@andrewkroh andrewkroh reopened this Apr 12, 2023
@andrewkroh andrewkroh changed the title UDP input (UDP, Syslog, etc) cause Filebeat to panic under certain conditions [Filebeat] TCP/UDP input cause a panic on Linux under certain conditions Apr 12, 2023
andrewkroh added a commit that referenced this issue Apr 12, 2023
A panic occurred while parsing /proc/net/tcp and reaching the final empty line.
This occurred on Linux when the desired socket was not found in the list.

Fixes #35064
andrewkroh added a commit that referenced this issue Apr 12, 2023
A panic occurred while parsing /proc/net/tcp and reaching the final empty line.
This occurred on Linux when the desired socket was not found in the list.

Fixes #35064

(cherry picked from commit a550cf8)
andrewkroh added a commit that referenced this issue Apr 13, 2023
… (#35076)

A panic occurred while parsing /proc/net/tcp and reaching the final empty line.
This occurred on Linux when the desired socket was not found in the list.

Fixes #35064

(cherry picked from commit a550cf8)

Co-authored-by: Andrew Kroh <andrew.kroh@elastic.co>
@morganchristiansson
Copy link

morganchristiansson commented May 31, 2023

I am getting panics in filebeat 8.8.0 with the following message:

panic: runtime error: index out of range [0] with length 0

goroutine 155 [running]:
github.com/elastic/beats/v7/filebeat/input/tcp.contains({0xc000839097, 0x25, 0x25}, {0xc0006938b0?, 0x1, 0x1?}, {0x5637e0d3c578, 0x0, 0x0?})
        github.com/elastic/beats/v7/filebeat/input/tcp/input.go:353 +0x205
github.com/elastic/beats/v7/filebeat/input/tcp.procNetTCP({0x5637dd9cd5a7, 0xe}, {0xc0006938b0, 0x1, 0x1}, 0x0, {0x5637e0d3c578, 0x0, 0x0})
        github.com/elastic/beats/v7/filebeat/input/tcp/input.go:323 +0x315
github.com/elastic/beats/v7/filebeat/input/tcp.(*inputMetrics).poll(0xc00024f8f0, {0xc000693720, 0x0, 0x1}, {0xc0006938b0, 0x1, 0x1}, 0x203a657079742020?, 0xc0006934b0)
        github.com/elastic/beats/v7/filebeat/input/tcp/input.go:267 +0x32e
created by github.com/elastic/beats/v7/filebeat/input/tcp.newInputMetrics
        github.com/elastic/beats/v7/filebeat/input/tcp/input.go:228 +0xa35

panic is not occurring in 8.7.1 - so I've downgraded to that.
8.7.1 is not parsing /proc/net/tcp6 and the backtrace shows this is the path panicking in 8.8.0 https://github.com/elastic/beats/blob/v8.8.0/filebeat/input/tcp/input.go#LL267C1-L267C88

@andrewkroh andrewkroh reopened this May 31, 2023
@andrewkroh andrewkroh assigned efd6 and unassigned P1llus May 31, 2023
@mmguero
Copy link

mmguero commented May 31, 2023

Same for me. Was fixed in 8.7.1, broken again in 8.8.0.

@efd6
Copy link
Contributor

efd6 commented May 31, 2023

The issue here is a typo in the param name to containsUnspecifiedAddr in the tcp package. The same error does not exist in the udp package. Sending a fix.

chrisberkhout pushed a commit that referenced this issue Jun 1, 2023
A panic occurred while parsing /proc/net/udp and reaching the final empty line.
This occurred on Linux when the desired socket was not found in the list.

Fixes #35064
chrisberkhout pushed a commit that referenced this issue Jun 1, 2023
A panic occurred while parsing /proc/net/tcp and reaching the final empty line.
This occurred on Linux when the desired socket was not found in the list.

Fixes #35064
@mmguero
Copy link

mmguero commented Jun 12, 2023

Apologies if I'm just not looking in the right place, do you know if this fix is in the recent v8.8.1 release? I looked here but didn't see it referenced.

@jlind23
Copy link
Collaborator

jlind23 commented Jun 12, 2023

@mmguero I don't think it is, it has been merged last week #35637 so it missed the deadline.
I let @efd6 comment back if needed.

mmguero added a commit to mmguero-dev/Malcolm that referenced this issue Jun 12, 2023
@xseth03
Copy link

xseth03 commented Jun 27, 2023

I'm having the same problem with version 8.8.1 on TCP

@ebeahan
Copy link
Member

ebeahan commented Jun 27, 2023

@xseth03 This fix will be included in 8.8.2

@mussi
Copy link

mussi commented Jul 21, 2023

panic stop ... but :

Jul 21 10:56:07 n321p004875 filebeat[1650953]: {"log.level":"warn","@timestamp":"2023-07-21T13:56:07.936Z","log.logger":"input.tcp","log.origin":{"file.name":"tcp/input.go","file.line":299},"message":"failed to get tcp6 stats from /proc: /proc/net/tcp6 entry not found for [00000000FFFF00000000000000000000:283F]","service.name":"filebeat","id":"6EB4C102F4E0399A","host":"0.0.0.0:10303","ecs.version":"1.6.0"}
Jul 21 10:56:07 n321p004875 filebeat[1650953]: {"log.level":"warn","@timestamp":"2023-07-21T13:56:07.936Z","log.logger":"input.tcp","log.origin":{"file.name":"tcp/input.go","file.line":299},"message":"failed to get tcp6 stats from /proc: /proc/net/tcp6 entry not found for [00000000FFFF00000000000000000000:2845]","service.name":"filebeat","id":"5872C6C9A4153FA7","host":"0.0.0.0:10309","ecs.version":"1.6.0"}
Jul 21 10:56:07 n321p004875 filebeat[1650953]: {"log.level":"warn","@timestamp":"2023-07-21T13:56:07.940Z","log.logger":"input.tcp","log.origin":{"file.name":"tcp/input.go","file.line":299},"message":"failed to get tcp6 stats from /proc: /proc/net/tcp6 entry not found for [00000000FFFF00000000000000000000:176F]","service.name":"filebeat","id":"61E9ADA6C2E2638E","host":"0.0.0.0:5999","ecs.version":"1.6.0"}
Jul 21 10:56:07 n321p004875 filebeat[1650953]: {"log.level":"warn","@timestamp":"2023-07-21T13:56:07.940Z","log.logger":"input.tcp","log.origin":{"file.name":"tcp/input.go","file.line":299},"message":"failed to get tcp6 stats from /proc: /proc/net/tcp6 entry not found for [00000000FFFF00000000000000000000:2840]","service.name":"filebeat","id":"C14B93EF60A1E5FC","host":"0.0.0.0:10304","ecs.version":"1.6.0"}
Jul 21 10:56:07 n321p004875 filebeat[1650953]: {"log.level":"warn","@timestamp":"2023-07-21T13:56:07.941Z","log.logger":"input.tcp","log.origin":{"file.name":"tcp/input.go","file.line":299},"message":"failed to get tcp6 stats from /proc: /proc/net/tcp6 entry not found for [00000000FFFF00000000000000000000:284B]","service.name":"filebeat","id":"5E0A30A3AE8C0514","host":"0.0.0.0:10315","ecs.version":"1.6.0"}
Jul 21 10:56:07 n321p004875 filebeat[1650953]: {"log.level":"warn","@timestamp":"2023-07-21T13:56:07.941Z","log.logger":"input.tcp","log.origin":{"file.name":"tcp/input.go","file.line":299},"message":"failed to get tcp6 stats from /proc: /proc/net/tcp6 entry not found for [00000000FFFF00000000000000000000:2848]","service.name":"filebeat","id":"838FE3E8F8D8995B","host":"0.0.0.0:10312","ecs.version":"1.6.0"}

it bothers :)

@efd6
Copy link
Contributor

efd6 commented Jul 23, 2023

@mussi can you provide the config for the udp listener that you have configured?

@mussi
Copy link

mussi commented Jul 26, 2023

i create in inputs.d a file with :

- type: syslog
  format: auto
  protocol.udp:
    host: "0.0.0.0:514"
  timezone: "UTC"
  processors:
    - add_locale: ~
  fields_under_root: true
  fields:
    dtp.ambiente: "dev"
    dtp.categoria: "syslogpadrao"
    dtp.type: "syslog"

- type: syslog
  format: auto
  protocol.tcp:
    host: "0.0.0.0:514"
  timezone: "UTC"
  processors:
    - add_locale: ~
  fields_under_root: true
  fields:
    dtp.ambiente: "dev"
    dtp.sistema: "syslogpadrao"
    dtp.type: "syslog"

it's one of... i have 26 listen ports

my output is for redis.

@efd6
Copy link
Contributor

efd6 commented Jul 26, 2023

@mussi Thanks. I should have said TCP, but you have provided that. The port in that configuration does not agree with the set of addresses in the logs, all the check are for ports 5999, 10303, 10304, 10309, 10312 and 10315, but your config is specifying 514.

What do you get if you grep ':0202' /proc/net/tcp6 on your host? Do you have other configurations where the ports above are specified?

@mussi
Copy link

mussi commented Aug 10, 2023

sorry :)
today :
Aug 10 14:06:23 n121p000135 filebeat[2464050]: {"log.level":"warn","@timestamp":"2023-08-10T14:06:23.779-0300","log.logger":"input.udp","log.origin":{"file.name":"udp/input.go","file.line":293},"message":"failed to get udp6 stats from /proc: /proc/net/udp6 entry not found for [00000000FFFF00000000000000000000:2840]","service.name":"filebeat","id":"F2E8ED3CD8515C98","host":"0.0.0.0:10304","ecs.version":"1.6.0"}
Aug 10 14:06:23 n121p000135 filebeat[2464050]: {"log.level":"warn","@timestamp":"2023-08-10T14:06:23.779-0300","log.logger":"input.udp","log.origin":{"file.name":"udp/input
.go","file.line":293},"message":"failed to get udp6 stats from /proc: /proc/net/udp6 entry not found for [00000000FFFF00000000000000000000:2845]","service.name":"filebeat",
"id":"9FAD6F8E4810BC2F","host":"0.0.0.0:10309","ecs.version":"1.6.0"}
Aug 10 14:06:23 n121p000135 filebeat[2464050]: {"log.level":"warn","@timestamp":"2023-08-10T14:06:23.783-0300","log.logger":"input.tcp","log.origin":{"file.name":"tcp/input
.go","file.line":299},"message":"failed to get tcp6 stats from /proc: /proc/net/tcp6 entry not found for [00000000FFFF00000000000000000000:176F]","service.name":"filebeat",
"id":"4AC9BAF6E38A7B61","host":"0.0.0.0:5999","ecs.version":"1.6.0"}
Aug 10 14:06:23 n121p000135 filebeat[2464050]: {"log.level":"warn","@timestamp":"2023-08-10T14:06:23.787-0300","log.logger":"input.tcp","log.origin":{"file.name":"tcp/input
.go","file.line":299},"message":"failed to get tcp6 stats from /proc: /proc/net/tcp6 entry not found for [00000000FFFF00000000000000000000:283F]","service.name":"filebeat",
"id":"A84080E7765B21C7","host":"0.0.0.0:10303","ecs.version":"1.6.0"}

:cat /proc/net/tcp6
sl local_address remote_address st tx_queue rx_queue tr tm->when retrnsmt uid timeout inode
0: 00000000000000000000000000000000:2675 00000000000000000000000000000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 40092 1 ffff8ac57ce40000 100 0 0 10 0
1: 00000000000000000000000001000000:0277 00000000000000000000000000000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 38963 1 ffff8acf4f561480 100 0 0 10 0
2: 00000000000000000000000000000000:213E 00000000000000000000000000000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 22473 1 ffff8acf494970c0 100 0 0 10 0
3: 00000000000000000000000000000000:283F 00000000000000000000000000000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 2248513517 1 ffff8acee808bd80 100 0 0 10 0
4: 00000000000000000000000000000000:2840 00000000000000000000000000000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 2248523827 1 ffff8acf182eb340 100 0 0 10 0
5: 00000000000000000000000000000000:1F01 00000000000000000000000000000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 20149 1 ffff8ac57cea3d80 100 0 0 10 0
6: 00000000000000000000000000000000:2742 00000000000000000000000000000000:0000 0A 00000000:00000000 00:00000000 00000000 1115 0 2239876016 1 ffff8ac57ce38a40 100 0 0 10 0
7: 00000000000000000000000000000000:1F02 00000000000000000000000000000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 40084 1 ffff8ac57ce40a40 100 0 0 10 0
8: 00000000000000000000000000000000:2646 00000000000000000000000000000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 36602 1 ffff8acf4943e680 100 0 0 10 0
9: 00000000000000000000000000000000:2427 00000000000000000000000000000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 40085 1 ffff8ac57ce45c40 100 0 0 10 0
10: 00000000000000000000000000000000:2848 00000000000000000000000000000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 2248505823 1 ffff8acfe6de47c0 100 0 0 10 0
11: 00000000000000000000000000000000:2849 00000000000000000000000000000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 2248523825 1 ffff8acf182ea900 100 0 0 10 0
12: 00000000000000000000000000000000:13CA 00000000000000000000000000000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 2248507887 1 ffff8acf49493340 100 0 0 10 0
13: 00000000000000000000000000000000:284B 00000000000000000000000000000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 2248521022 1 ffff8acf56dd8000 100 0 0 10 0
14: 00000000000000000000000000000000:176F 00000000000000000000000000000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 2248524807 1 ffff8ac5d43d70c0 100 0 0 10 0
15: 00000000000000000000000000000000:20F2 00000000000000000000000000000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 132537 1 ffff8acf4ce8b340 100 0 0 10 0
16: 0000000000000000FFFF00000100007F:1F01 0000000000000000FFFF00000100007F:E785 01 00000000:00000000 02:0001EB0E 00000000 0 0 9830801 2 ffff8acef308bd80 20 4 1 10 -1

:cat /proc/net/udp6
sl local_address remote_address st tx_queue rx_queue tr tm->when retrnsmt uid timeout inode ref pointer drops
22367: 00000000000000000000000000000000:8BB3 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 70 0 37929 2 ffff8acf0273a840 0
25012: 00000000000000000000000000000000:9608 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2647080 2 ffff8ac5b664ed40 0
52654: 00000000000000000000000000000000:0202 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2248513515 2 ffff8acea1e38b80 0
53831: 00000000000000000000000000000000:069B 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2666458 2 ffff8ac5b664d640 0
57493: 00000000000000000000000000000000:14E9 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 70 0 37927 2 ffff8acf0272bf40 0
60078: 00000000000000000000000000000000:1F02 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 40082 2 ffff8ac57ce33f40 0
62440: 00000000000000000000000000000000:283C 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2248524806 2 ffff8ac5eaefcac0 0
62441: 00000000000000000000000000000000:283D 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2248505821 2 ffff8acf8527ed40 0
62442: 00000000000000000000000000000000:283E 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2248509037 2 ffff8acf182ae1c0 0
62443: 00000000000000000000000000000000:283F 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2248524811 2 ffff8ac5eaef8b80 0
62444: 00000000000000000000000000000000:2840 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2248524810 2 ffff8ac5eaefa280 0
62445: 00000000000000000000000000000000:2841 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2248505822 2 ffff8acf8527b980 0
62446: 00000000000000000000000000000000:2842 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2248524804 2 ffff8ac5eaefd640 0
62447: 00000000000000000000000000000000:2843 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2248513516 2 ffff8acea1e3f300 0
62448: 00000000000000000000000000000000:2844 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2248523824 2 ffff8acee7015640 0
62449: 00000000000000000000000000000000:2845 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2248523829 2 ffff8acee7014ac0 0
62450: 00000000000000000000000000000000:2846 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2248511731 2 ffff8ac526412e00 841184
62452: 00000000000000000000000000000000:2848 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2248524809 2 ffff8ac5eaef9700 0
62453: 00000000000000000000000000000000:2849 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2248513514 2 ffff8acea1e3a280 0
62454: 00000000000000000000000000000000:284A 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2248511732 2 ffff8ac526413f40 0
62455: 00000000000000000000000000000000:284B 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2248523823 2 ffff8acee7015080 0
62456: 00000000000000000000000000000000:284C 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2248505825 2 ffff8acf8527a840 0
62457: 00000000000000000000000000000000:284D 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2248503272 2 ffff8ac4b0020b80 0
62462: 00000000000000000000000000000000:2852 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2248521024 2 ffff8acea681d640 0
62463: 00000000000000000000000000000000:2853 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2248524812 2 ffff8ac5eaeff300 0
62464: 00000000000000000000000000000000:2854 00000000000000000000000000000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2248518880 2 ffff8ac5263e5c00 0

@efd6
Copy link
Contributor

efd6 commented Aug 10, 2023

@mussi Thanks. Can you provide equivalent output for /proc/net/tcp and /proc/net/udp? This won't be necessary. I understand what is going on now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment