Lines Matching refs:logmsg

148   logmsg("Reset to defaults");  in resetdefaults()
190 logmsg("parse config file"); in getconfig()
197 logmsg("version [%d] set", config.version); in getconfig()
201 logmsg("nmethods_min [%d] set", config.nmethods_min); in getconfig()
205 logmsg("nmethods_max [%d] set", config.nmethods_max); in getconfig()
209 logmsg("backend [%s] set", config.addr); in getconfig()
213 logmsg("backendport [%d] set", config.port); in getconfig()
217 logmsg("user [%s] set", config.user); in getconfig()
221 logmsg("password [%s] set", config.password); in getconfig()
230 logmsg("method [%d] set", config.responsemethod); in getconfig()
234 logmsg("response [%d] set", config.connectrep); in getconfig()
258 logmsg("'%s'", data); in loghex()
301 logmsg("Error connecting to %s:%hu: (%d) %s", in socksconnect()
305 logmsg("Connected fine to %s:%d", connectaddr, connectport); in socksconnect()
319 logmsg("SOCKS4 CD is not 1: %d", buffer[SOCKS4_CD]); in socks4()
323 logmsg("SOCKS4 connect message too short: %zd", rc); in socks4()
347 logmsg("Sending SOCKS4 response failed!"); in socks4()
350 logmsg("Sent %zd bytes", rc); in socks4()
380 logmsg("SOCKS identifier message missing, recv returned %zd", rc); in sockit()
384 logmsg("READ %zd bytes", rc); in sockit()
391 logmsg("SOCKS5 identifier message too short: %zd", rc); in sockit()
396 logmsg("VERSION byte not %d", config.version); in sockit()
401 logmsg("NMETHODS byte not within %d - %d ", in sockit()
408 logmsg("Expected %d bytes, got %zd", buffer[SOCKS5_NMETHODS] + 2, rc); in sockit()
411 logmsg("Incoming request deemed fine!"); in sockit()
418 logmsg("Sending response failed!"); in sockit()
421 logmsg("Sent %zd bytes", rc); in sockit()
427 logmsg("SOCKS5 request or auth message missing, recv returned %zd", rc); in sockit()
431 logmsg("READ %zd bytes", rc); in sockit()
446 logmsg("Too short auth input: %zd", rc); in sockit()
450 logmsg("Auth VERSION byte not 1, got %d", buffer[SOCKS5_VERSION]); in sockit()
455 logmsg("Too short packet for username: %zd", rc); in sockit()
460 logmsg("Too short packet for ulen %d plen %d: %zd", ulen, plen, rc); in sockit()
468 logmsg("mismatched credentials!"); in sockit()
475 logmsg("Sending auth response failed!"); in sockit()
478 logmsg("Sent %zd bytes", rc); in sockit()
486 logmsg("SOCKS5 request message missing, recv returned %zd", rc); in sockit()
490 logmsg("READ %zd bytes", rc); in sockit()
494 logmsg("Too short for request: %zd", rc); in sockit()
499 logmsg("Request VERSION byte not %d", config.version); in sockit()
504 logmsg("Request COMMAND byte not %d", config.reqcmd); in sockit()
509 logmsg("Request COMMAND byte not %d", config.reqcmd); in sockit()
535 logmsg("Unknown ATYP %d", type); in sockit()
539 logmsg("Request too short: %zd, expected %d", rc, 4 + len + 2); in sockit()
542 logmsg("Received ATYP %d", type); in sockit()
622 logmsg("Sending connect response failed!"); in sockit()
625 logmsg("Sent %zd bytes", rc); in sockit()
696 logmsg("signalled to die, exiting..."); in incoming()
703 logmsg("process becomes orphan, exiting"); in incoming()
739 logmsg("signalled to die, exiting..."); in incoming()
745 logmsg("select() failed with error: (%d) %s", in incoming()
754 logmsg("accept(%" FMT_SOCKET_T ", NULL, NULL) " in incoming()
760 logmsg("====> Client connect, fd %" FMT_SOCKET_T ". " in incoming()
764 logmsg("====> Client disconnect"); in incoming()
769 logmsg("====> Tunnel transfer"); in incoming()
787 logmsg("SOCKS transfer completed. Bytes: < %zu > %zu", in incoming()
825 logmsg("setsockopt(SO_REUSEADDR) failed with error: (%d) %s", in sockdaemon()
832 logmsg("wait_ms() failed with error: (%d) %s", in sockdaemon()
838 logmsg("signalled to die, exiting..."); in sockdaemon()
849 logmsg("setsockopt(SO_REUSEADDR) failed %d times in %d ms. Error: (%d) %s", in sockdaemon()
851 logmsg("Continuing anyway..."); in sockdaemon()
884 logmsg("Error binding socket on path %s: (%d) %s", in sockdaemon()
888 logmsg("Error binding socket on port %hu: (%d) %s", in sockdaemon()
912 logmsg("getsockname() failed with error: (%d) %s", in sockdaemon()
931 logmsg("Apparently getsockname() succeeded, with listener port zero."); in sockdaemon()
932 logmsg("A valid reason for this failure is a binary built without"); in sockdaemon()
933 logmsg("proper network library linkage. This might not be the only"); in sockdaemon()
934 logmsg("reason, but double check it before anything else."); in sockdaemon()
944 logmsg("listen(%" FMT_SOCKET_T ", 5) failed with error: (%d) %s", in sockdaemon()
1092 logmsg("Error creating socket: (%d) %s", in main()
1113 logmsg("Running %s version", socket_type); in main()
1117 logmsg("Listening on Unix socket %s", unix_socket); in main()
1120 logmsg("Listening on port %hu", port); in main()
1149 logmsg("unlink(%s) = %d (%s)", unix_socket, error, strerror(error)); in main()
1161 logmsg("============> socksd exits with signal (%d)", exit_signal); in main()
1170 logmsg("============> socksd quits"); in main()