txthinking / brook

A cross-platform programmable network tool
https://brook.app
GNU General Public License v3.0
14.4k stars 2.39k forks source link

Operation not permitted when try to raise UDP Receive Buffer Size #1341

Closed codeskyblue closed 4 months ago

codeskyblue commented 4 months ago

Help wanted. How to fix

2024/03/08 14:30:31 {"warning":"kern.ipc.maxsockbuf: 3014656\nsysctl: kern.ipc.maxsockbuf=3014656: Operation not permitted\n","when":"try to raise UDP Receive Buffer Size"}
txthinking commented 4 months ago

This is a warning, you can ignore it.

more: this is only for quicserver, you can run with root to let it do not print this message. But I know, the code print the message even if your server is not quicserver, this should be fixed in next version.