Skip to content

Network troubleshooting: tcpdump instead of socat - #146

Merged
cboulay merged 1 commit into
masterfrom
docs/tcpdump
Oct 14, 2026
Merged

cboulay merged 1 commit into
masterfrom
docs/tcpdump

Conversation

@cboulay

@cboulay cboulay commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator

The Unix troubleshooting section recommended socat UDP-RECV:16571,reuseaddr to log discovery packets. As reported in sccn/liblsl#177, a program bound to 16571 with address reuse can receive unicast discovery queries meant for outlets on the same machine, so it changes the behavior it is supposed to observe. This replaces it with tcpdump (the command from #177, with all LSL ports), explains the output, and links to liblsl's new Debugging connections guide (sccn/liblsl#333; merge that first).

socat listening on 16571 with reuseaddr can receive unicast discovery
queries meant for outlets on the same machine (sccn/liblsl#177), so it
changes what it is meant to observe. tcpdump only watches. Link to
liblsl's new debugging guide for more (e.g. requesting data with nc).
@cboulay
cboulay merged commit a7e4fdb into master Oct 14, 2026
1 check passed
@cboulay
cboulay deleted the docs/tcpdump branch October 14, 2026 19:30
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.

1 participant