• Home
  • Raw
  • Download

Lines Matching refs:logmsg

149   logmsg("Reset to defaults");  in resetdefaults()
181 logmsg("parse config file"); in getconfig()
188 logmsg("version [%d] set", config.version); in getconfig()
192 logmsg("nmethods_min [%d] set", config.nmethods_min); in getconfig()
196 logmsg("nmethods_max [%d] set", config.nmethods_max); in getconfig()
200 logmsg("backend [%s] set", config.addr); in getconfig()
204 logmsg("backendport [%d] set", config.port); in getconfig()
208 logmsg("user [%s] set", config.user); in getconfig()
212 logmsg("password [%s] set", config.password); in getconfig()
221 logmsg("method [%d] set", config.responsemethod); in getconfig()
225 logmsg("response [%d] set", config.connectrep); in getconfig()
249 logmsg("'%s'", data); in loghex()
292 logmsg("Error connecting to %s:%hu: (%d) %s", in socksconnect()
296 logmsg("Connected fine to %s:%d", connectaddr, connectport); in socksconnect()
310 logmsg("SOCKS4 CD is not 1: %d", buffer[SOCKS4_CD]); in socks4()
314 logmsg("SOCKS4 connect message too short: %d", rc); in socks4()
338 logmsg("Sending SOCKS4 response failed!"); in socks4()
341 logmsg("Sent %d bytes", rc); in socks4()
371 logmsg("READ %d bytes", rc); in sockit()
378 logmsg("VERSION byte not %d", config.version); in sockit()
383 logmsg("NMETHODS byte not within %d - %d ", in sockit()
390 logmsg("Expected %d bytes, got %d", buffer[SOCKS5_NMETHODS] + 2, rc); in sockit()
393 logmsg("Incoming request deemed fine!"); in sockit()
400 logmsg("Sending response failed!"); in sockit()
403 logmsg("Sent %d bytes", rc); in sockit()
409 logmsg("READ %d bytes", rc); in sockit()
424 logmsg("Too short auth input: %d", rc); in sockit()
428 logmsg("Auth VERSION byte not 1, got %d", buffer[SOCKS5_VERSION]); in sockit()
433 logmsg("Too short packet for username: %d", rc); in sockit()
438 logmsg("Too short packet for ulen %d plen %d: %d", ulen, plen, rc); in sockit()
446 logmsg("mismatched credentials!"); in sockit()
453 logmsg("Sending auth response failed!"); in sockit()
456 logmsg("Sent %d bytes", rc); in sockit()
464 logmsg("READ %d bytes", rc); in sockit()
468 logmsg("Too short for request: %d", rc); in sockit()
473 logmsg("Request VERSION byte not %d", config.version); in sockit()
478 logmsg("Request COMMAND byte not %d", config.reqcmd); in sockit()
483 logmsg("Request COMMAND byte not %d", config.reqcmd); in sockit()
509 logmsg("Unknown ATYP %d", type); in sockit()
513 logmsg("Request too short: %d, expected %d", rc, 4 + len + 2); in sockit()
566 logmsg("Sending connect response failed!"); in sockit()
569 logmsg("Sent %d bytes", rc); in sockit()
640 logmsg("signalled to die, exiting..."); in incoming()
647 logmsg("process becomes orphan, exiting"); in incoming()
683 logmsg("signalled to die, exiting..."); in incoming()
689 logmsg("select() failed with error: (%d) %s", in incoming()
698 logmsg("accept(%d, NULL, NULL) failed with error: (%d) %s", in incoming()
703 logmsg("====> Client connect, fd %d. Read config from %s", in incoming()
707 logmsg("====> Client disconnect"); in incoming()
712 logmsg("====> Tunnel transfer"); in incoming()
730 logmsg("SOCKS transfer completed. Bytes: < %zu > %zu", in incoming()
764 logmsg("setsockopt(SO_REUSEADDR) failed with error: (%d) %s", in sockdaemon()
771 logmsg("wait_ms() failed with error: (%d) %s", in sockdaemon()
777 logmsg("signalled to die, exiting..."); in sockdaemon()
788 logmsg("setsockopt(SO_REUSEADDR) failed %d times in %d ms. Error: (%d) %s", in sockdaemon()
790 logmsg("Continuing anyway..."); in sockdaemon()
816 logmsg("Error binding socket on port %hu: (%d) %s", in sockdaemon()
838 logmsg("getsockname() failed with error: (%d) %s", in sockdaemon()
857 logmsg("Apparently getsockname() succeeded, with listener port zero."); in sockdaemon()
858 logmsg("A valid reason for this failure is a binary built without"); in sockdaemon()
859 logmsg("proper network library linkage. This might not be the only"); in sockdaemon()
860 logmsg("reason, but double check it before anything else."); in sockdaemon()
870 logmsg("listen(%d, 5) failed with error: (%d) %s", in sockdaemon()
995 logmsg("Error creating socket: (%d) %s", in main()
1009 logmsg("Running %s version", ipv_inuse); in main()
1010 logmsg("Listening on port %hu", port); in main()
1042 logmsg("============> socksd exits with signal (%d)", exit_signal); in main()
1051 logmsg("============> socksd quits"); in main()