pinecone icon indicating copy to clipboard operation
pinecone copied to clipboard

netcat probe leads to panic

Open pkpowell opened this issue 3 years ago • 0 comments

Describe the bug nc address port leads to panic

To Reproduce Steps to reproduce the behavior:

  1. run a listening instance ./pinecone -listen 0.0.0.0:4567
  2. in a different terminal / from a different machine run nc ip-address 4567
  3. listener panics
panic: io.ReadFull: read tcp [fe80::942c:69ff:fecc:8251%feth1801]:4567->[fe80::94aa:78ff:fe5d:dac4%feth1801]:59994: i/o timeout

goroutine 24 [running]:
main.main.func3()
	/Users/phil/dev/pinecone/cmd/pinecone/main.go:101 +0x258
created by main.main
	/Users/phil/dev/pinecone/cmd/pinecone/main.go:82 +0x265

Expected behavior pinecone should ignore the probe

Desktop (please complete the following information):

  • Macos

Additional context this is on 351265543ddf6aeb3e4fef41d668eeea9b2d250e

pkpowell avatar Feb 15 '22 12:02 pkpowell