• Home
  • Raw
  • Download

Lines Matching refs:logmsg

151   logmsg("Reset to defaults");  in resetdefaults()
193 logmsg("parse config file"); in getconfig()
200 logmsg("version [%d] set", config.version); in getconfig()
204 logmsg("nmethods_min [%d] set", config.nmethods_min); in getconfig()
208 logmsg("nmethods_max [%d] set", config.nmethods_max); in getconfig()
212 logmsg("backend [%s] set", config.addr); in getconfig()
216 logmsg("backendport [%d] set", config.port); in getconfig()
220 logmsg("user [%s] set", config.user); in getconfig()
224 logmsg("password [%s] set", config.password); in getconfig()
233 logmsg("method [%d] set", config.responsemethod); in getconfig()
237 logmsg("response [%d] set", config.connectrep); in getconfig()
261 logmsg("'%s'", data); in loghex()
304 logmsg("Error connecting to %s:%hu: (%d) %s", in socksconnect()
308 logmsg("Connected fine to %s:%d", connectaddr, connectport); in socksconnect()
322 logmsg("SOCKS4 CD is not 1: %d", buffer[SOCKS4_CD]); in socks4()
326 logmsg("SOCKS4 connect message too short: %d", rc); in socks4()
350 logmsg("Sending SOCKS4 response failed!"); in socks4()
353 logmsg("Sent %d bytes", rc); in socks4()
383 logmsg("READ %d bytes", rc); in sockit()
390 logmsg("VERSION byte not %d", config.version); in sockit()
395 logmsg("NMETHODS byte not within %d - %d ", in sockit()
402 logmsg("Expected %d bytes, got %d", buffer[SOCKS5_NMETHODS] + 2, rc); in sockit()
405 logmsg("Incoming request deemed fine!"); in sockit()
412 logmsg("Sending response failed!"); in sockit()
415 logmsg("Sent %d bytes", rc); in sockit()
421 logmsg("READ %d bytes", rc); in sockit()
436 logmsg("Too short auth input: %d", rc); in sockit()
440 logmsg("Auth VERSION byte not 1, got %d", buffer[SOCKS5_VERSION]); in sockit()
445 logmsg("Too short packet for username: %d", rc); in sockit()
450 logmsg("Too short packet for ulen %d plen %d: %d", ulen, plen, rc); in sockit()
458 logmsg("mismatched credentials!"); in sockit()
465 logmsg("Sending auth response failed!"); in sockit()
468 logmsg("Sent %d bytes", rc); in sockit()
476 logmsg("READ %d bytes", rc); in sockit()
480 logmsg("Too short for request: %d", rc); in sockit()
485 logmsg("Request VERSION byte not %d", config.version); in sockit()
490 logmsg("Request COMMAND byte not %d", config.reqcmd); in sockit()
495 logmsg("Request COMMAND byte not %d", config.reqcmd); in sockit()
521 logmsg("Unknown ATYP %d", type); in sockit()
525 logmsg("Request too short: %d, expected %d", rc, 4 + len + 2); in sockit()
528 logmsg("Received ATYP %d", type); in sockit()
608 logmsg("Sending connect response failed!"); in sockit()
611 logmsg("Sent %d bytes", rc); in sockit()
682 logmsg("signalled to die, exiting..."); in incoming()
689 logmsg("process becomes orphan, exiting"); in incoming()
725 logmsg("signalled to die, exiting..."); in incoming()
731 logmsg("select() failed with error: (%d) %s", in incoming()
740 logmsg("accept(%d, NULL, NULL) failed with error: (%d) %s", in incoming()
745 logmsg("====> Client connect, fd %d. Read config from %s", in incoming()
749 logmsg("====> Client disconnect"); in incoming()
754 logmsg("====> Tunnel transfer"); in incoming()
772 logmsg("SOCKS transfer completed. Bytes: < %zu > %zu", in incoming()
810 logmsg("setsockopt(SO_REUSEADDR) failed with error: (%d) %s", in sockdaemon()
817 logmsg("wait_ms() failed with error: (%d) %s", in sockdaemon()
823 logmsg("signalled to die, exiting..."); in sockdaemon()
834 logmsg("setsockopt(SO_REUSEADDR) failed %d times in %d ms. Error: (%d) %s", in sockdaemon()
836 logmsg("Continuing anyway..."); in sockdaemon()
869 logmsg("Error binding socket on path %s: (%d) %s", in sockdaemon()
873 logmsg("Error binding socket on port %hu: (%d) %s", in sockdaemon()
897 logmsg("getsockname() failed with error: (%d) %s", in sockdaemon()
916 logmsg("Apparently getsockname() succeeded, with listener port zero."); in sockdaemon()
917 logmsg("A valid reason for this failure is a binary built without"); in sockdaemon()
918 logmsg("proper network library linkage. This might not be the only"); in sockdaemon()
919 logmsg("reason, but double check it before anything else."); in sockdaemon()
929 logmsg("listen(%d, 5) failed with error: (%d) %s", in sockdaemon()
1077 logmsg("Error creating socket: (%d) %s", in main()
1098 logmsg("Running %s version", socket_type); in main()
1102 logmsg("Listening on unix socket %s", unix_socket); in main()
1105 logmsg("Listening on port %hu", port); in main()
1134 logmsg("unlink(%s) = %d (%s)", unix_socket, error, strerror(error)); in main()
1146 logmsg("============> socksd exits with signal (%d)", exit_signal); in main()
1155 logmsg("============> socksd quits"); in main()