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

hsflowd is listening to a RANDOM UDP after every restart #34

Open
nidotech opened this issue Oct 29, 2019 · 1 comment
Open

hsflowd is listening to a RANDOM UDP after every restart #34

nidotech opened this issue Oct 29, 2019 · 1 comment

Comments

@nidotech
Copy link

udp 0 0 0.0.0.0:11074 0.0.0.0:* 22032/hsflowd

What is this for? And how can I disable this?

It appears for most distributions debian9, centos7, ubuntu18.

@sflow
Copy link
Owner

sflow commented Oct 29, 2019

Isn't that just the UDP socket for sending sFlow datagrams to the collector? It writes to the socket here:

https://github.com/sflow/host-sflow/blob/master/src/Linux/hsflowd.c#L60

but never reads from it. Is there another step that should be followed?

FYI, if you add "json {}" to the hsflowd.conf it will open another UDP socket and listen for local metric data and local transaction samples (see mod_json.c). And the mod_opx module for Openswitch uses a UDP socket to receive packet-samples from hardware. But if you don't include those modules then none of that happens.

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

No branches or pull requests

2 participants