Lines Matching refs:logmsg

106 void	logmsg(int, const char *, ...) __printflike(2, 3);
148 logmsg(LOG_ERR, "#%d could not allocate memory for buffer", s->id); in buffer_data()
193 logmsg(LOG_DEBUG, "#%d proxy: %s", s->id, linebuf); in client_parse_anon()
199 logmsg(LOG_ERR, "#%d write failed", s->id); in client_parse_anon()
234 logmsg(LOG_CRIT, "PASV and PORT not allowed with IPv6"); in client_parse_cmd()
241 logmsg(LOG_CRIT, "#%d bad port in '%s'", s->id, in client_parse_cmd()
247 logmsg(LOG_DEBUG, "#%d proxy: %s", s->id, linebuf); in client_parse_cmd()
265 logmsg(LOG_DEBUG, "#%d client: %s", s->id, linebuf); in client_read()
284 logmsg(LOG_ERR, "#%d client command too long or not" in client_read()
300 logmsg(LOG_ERR, "#%d write failed", s->id); in client_write()
338 logmsg(LOG_INFO, "#%d ending session", s->id); in end_session()
359 logmsg(LOG_ERR, "#%d pf rule removal failed: %s", s->id, in end_session()
436 logmsg(LOG_CRIT, "accept failed: %s", strerror(errno)); in handle_connection()
442 logmsg(LOG_ERR, "client limit (%d) reached, refusing " in handle_connection()
451 logmsg(LOG_CRIT, "init_session failed"); in handle_connection()
466 logmsg(LOG_DEBUG, "#%d accepted connection from %s", s->id, in handle_connection()
474 logmsg(LOG_CRIT, "#%d getsockname failed: %s", s->id, in handle_connection()
479 logmsg(LOG_CRIT, "#%d server lookup failed (no rdr?)", s->id); in handle_connection()
495 logmsg(LOG_CRIT, "#%d server socket failed: %s", s->id, in handle_connection()
501 logmsg(LOG_CRIT, "#%d cannot bind fixed proxy address: %s", in handle_connection()
509 logmsg(LOG_CRIT, "#%d cannot mark socket non-blocking: %s", in handle_connection()
515 logmsg(LOG_CRIT, "#%d proxy cannot connect to server %s: %s", in handle_connection()
522 logmsg(LOG_CRIT, "#%d getsockname failed: %s", s->id, in handle_connection()
527 logmsg(LOG_INFO, "#%d FTP session %d/%d started: client %s to server " in handle_connection()
555 logmsg(LOG_ERR, "%s exiting on signal %d", __progname, sig); in handle_signal()
593 logmsg(int pri, const char *message, ...) in logmsg() function
735 logmsg(LOG_INFO, "using %s to connect to servers", in main()
750 logmsg(LOG_INFO, "using fixed server %s", in main()
789 logmsg(LOG_ERR, "cannot drop privileges: %s", strerror(errno)); in main()
794 logmsg(LOG_ERR, "cannot create new kqueue(2): %s", strerror(errno)); in main()
806 logmsg(LOG_NOTICE, "listening on %s port %s", listen_ip, listen_port); in main()
817 logmsg(LOG_ERR, "cannot create new kqueue(2): %s", strerror(errno)); in main()
952 logmsg(LOG_ERR, "proxy_reply failed: %d", r); in proxy_reply()
1020 logmsg(LOG_CRIT, "#%d bad port in '%s'", s->id, in allow_data_connection()
1025 logmsg(LOG_INFO, "#%d passive: client to server port %d" in allow_data_connection()
1033 logmsg(LOG_DEBUG, "#%d proxy: %s", s->id, linebuf); in allow_data_connection()
1059 logmsg(LOG_INFO, "#%d active: server to client port %d" in allow_data_connection()
1115 logmsg(LOG_CRIT, "#%d pf operation failed: %s", s->id, strerror(errno)); in allow_data_connection()
1133 logmsg(LOG_DEBUG, "#%d server: %s", s->id, linebuf); in server_read()
1140 logmsg(LOG_ERR, "#%d write failed", s->id); in server_read()
1155 logmsg(LOG_ERR, "#%d server reply too long or not" in server_read()
1171 logmsg(LOG_ERR, "#%d write failed", s->id); in server_write()