=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== sslh-1.20/sslh-fork.c-108- /* Connect the target socket */ sslh-1.20/sslh-fork.c:109: out_socket = connect_addr(&cnx, in_socket); sslh-1.20/sslh-fork.c-110- CHECK_RES_DIE(out_socket, "connect"); ############################################## sslh-1.20/sslh-select.c-143- sslh-1.20/sslh-select.c:144: q->fd = connect_addr(cnx, cnx->q[0].fd); sslh-1.20/sslh-select.c-145- if ((q->fd != -1) && fd_is_in_range(q->fd)) { ############################################## sslh-1.20/sslh-select.c-259- /* Connect the target socket */ sslh-1.20/sslh-select.c:260: out_socket = connect_addr(cnx, in_socket); sslh-1.20/sslh-select.c-261- CHECK_RES_DIE(out_socket, "connect"); ############################################## sslh-1.20/.pc/log_message_const/common.c-64- fprintf(stderr, "%s:%s: %s\n", sslh-1.20/.pc/log_message_const/common.c:65: sprintaddr(buf, sizeof(buf), addr), sslh-1.20/.pc/log_message_const/common.c-66- syscall, ############################################## sslh-1.20/.pc/log_message_const/common.c-258- * of new file descriptor. */ sslh-1.20/.pc/log_message_const/common.c:259:int connect_addr(struct connection *cnx, int fd_from) sslh-1.20/.pc/log_message_const/common.c-260-{ ############################################## sslh-1.20/.pc/log_message_const/common.c-278- fprintf(stderr, "connecting to %s family %d len %d\n", sslh-1.20/.pc/log_message_const/common.c:279: sprintaddr(buf, sizeof(buf), a), sslh-1.20/.pc/log_message_const/common.c-280- a->ai_addr->sa_family, a->ai_addrlen); ############################################## sslh-1.20/.pc/log_message_const/common.c-438-/* returns a string that prints the IP and port of the sockaddr */ sslh-1.20/.pc/log_message_const/common.c:439:char* sprintaddr(char* buf, size_t size, struct addrinfo *a) sslh-1.20/.pc/log_message_const/common.c-440-{ ############################################## sslh-1.20/.pc/log_message_const/common.c-571- In that case, don't log anything (there is no connection) */ sslh-1.20/.pc/log_message_const/common.c:572: sprintaddr(peer, sizeof(peer), &addr); sslh-1.20/.pc/log_message_const/common.c-573- ############################################## sslh-1.20/.pc/log_message_const/common.c-576- if (res == -1) return; sslh-1.20/.pc/log_message_const/common.c:577: sprintaddr(service, sizeof(service), &addr); sslh-1.20/.pc/log_message_const/common.c-578- ############################################## sslh-1.20/.pc/log_message_const/common.c-581- if (res == -1) return; sslh-1.20/.pc/log_message_const/common.c:582: sprintaddr(target, sizeof(target), &addr); sslh-1.20/.pc/log_message_const/common.c-583- ############################################## sslh-1.20/.pc/log_message_const/common.c-586- if (res == -1) return; sslh-1.20/.pc/log_message_const/common.c:587: sprintaddr(local, sizeof(local), &addr); sslh-1.20/.pc/log_message_const/common.c-588- ############################################## sslh-1.20/.pc/log_message_const/common.h-104-void init_cnx(struct connection *cnx); sslh-1.20/.pc/log_message_const/common.h:105:int connect_addr(struct connection *cnx, int fd_from); sslh-1.20/.pc/log_message_const/common.h-106-int fd2fd(struct queue *target, struct queue *from); sslh-1.20/.pc/log_message_const/common.h:107:char* sprintaddr(char* buf, size_t size, struct addrinfo *a); sslh-1.20/.pc/log_message_const/common.h-108-void resolve_name(struct addrinfo **out, char* fullname); ############################################## sslh-1.20/.pc/fix_sslh_compiler_warnings/sslh-main.c-129- p->description, sslh-1.20/.pc/fix_sslh_compiler_warnings/sslh-main.c:130: sprintaddr(buf, sizeof(buf), p->saddr), sslh-1.20/.pc/fix_sslh_compiler_warnings/sslh-main.c-131- p->service, ############################################## sslh-1.20/.pc/fix_sslh_compiler_warnings/sslh-main.c-141- "\t%s\t[%s]\n", sslh-1.20/.pc/fix_sslh_compiler_warnings/sslh-main.c:142: sprintaddr(buf, sizeof(buf), a), sslh-1.20/.pc/fix_sslh_compiler_warnings/sslh-main.c-143- a->ai_flags & SO_KEEPALIVE ? "keepalive" : ""); ############################################## sslh-1.20/.pc/fix-ftbfs-static-port.patch/t-274- sslh-1.20/.pc/fix-ftbfs-static-port.patch/t:275: my $pid = `cat $pidfile`; sslh-1.20/.pc/fix-ftbfs-static-port.patch/t-276- warn "killing $pid\n"; ############################################## sslh-1.20/.pc/fix-ftbfs-static-port.patch/t-300- sslh-1.20/.pc/fix-ftbfs-static-port.patch/t:301: kill TERM => `cat $pidfile` or warn "kill: $!\n"; sslh-1.20/.pc/fix-ftbfs-static-port.patch/t-302- sleep 1; ############################################## sslh-1.20/.pc/t_no_libconfig/t-285- sslh-1.20/.pc/t_no_libconfig/t:286: my $pid = `cat $pidfile`; sslh-1.20/.pc/t_no_libconfig/t-287- warn "killing $pid\n"; ############################################## sslh-1.20/.pc/t_no_libconfig/t-311- sslh-1.20/.pc/t_no_libconfig/t:312: kill TERM => `cat $pidfile` or warn "kill: $!\n"; sslh-1.20/.pc/t_no_libconfig/t-313- sleep 1; ############################################## sslh-1.20/common.c-64- fprintf(stderr, "%s:%s: %s\n", sslh-1.20/common.c:65: sprintaddr(buf, sizeof(buf), addr), sslh-1.20/common.c-66- syscall, ############################################## sslh-1.20/common.c-258- * of new file descriptor. */ sslh-1.20/common.c:259:int connect_addr(struct connection *cnx, int fd_from) sslh-1.20/common.c-260-{ ############################################## sslh-1.20/common.c-278- fprintf(stderr, "connecting to %s family %d len %d\n", sslh-1.20/common.c:279: sprintaddr(buf, sizeof(buf), a), sslh-1.20/common.c-280- a->ai_addr->sa_family, a->ai_addrlen); ############################################## sslh-1.20/common.c-438-/* returns a string that prints the IP and port of the sockaddr */ sslh-1.20/common.c:439:char* sprintaddr(char* buf, size_t size, struct addrinfo *a) sslh-1.20/common.c-440-{ ############################################## sslh-1.20/common.c-571- In that case, don't log anything (there is no connection) */ sslh-1.20/common.c:572: sprintaddr(peer, sizeof(peer), &addr); sslh-1.20/common.c-573- ############################################## sslh-1.20/common.c-576- if (res == -1) return; sslh-1.20/common.c:577: sprintaddr(service, sizeof(service), &addr); sslh-1.20/common.c-578- ############################################## sslh-1.20/common.c-581- if (res == -1) return; sslh-1.20/common.c:582: sprintaddr(target, sizeof(target), &addr); sslh-1.20/common.c-583- ############################################## sslh-1.20/common.c-586- if (res == -1) return; sslh-1.20/common.c:587: sprintaddr(local, sizeof(local), &addr); sslh-1.20/common.c-588- ############################################## sslh-1.20/common.h-104-void init_cnx(struct connection *cnx); sslh-1.20/common.h:105:int connect_addr(struct connection *cnx, int fd_from); sslh-1.20/common.h-106-int fd2fd(struct queue *target, struct queue *from); sslh-1.20/common.h:107:char* sprintaddr(char* buf, size_t size, struct addrinfo *a); sslh-1.20/common.h-108-void resolve_name(struct addrinfo **out, char* fullname); ############################################## sslh-1.20/sslh-main.c-129- p->description, sslh-1.20/sslh-main.c:130: sprintaddr(buf, sizeof(buf), p->saddr), sslh-1.20/sslh-main.c-131- p->service, ############################################## sslh-1.20/sslh-main.c-141- "\t%s\t[%s]\n", sslh-1.20/sslh-main.c:142: sprintaddr(buf, sizeof(buf), a), sslh-1.20/sslh-main.c-143- a->ai_flags & SO_KEEPALIVE ? "keepalive" : ""); ############################################## sslh-1.20/t-351- sslh-1.20/t:352: my $pid = `cat $pidfile`; sslh-1.20/t-353- warn "killing $pid\n"; ############################################## sslh-1.20/t-377- sslh-1.20/t:378: kill TERM => `cat $pidfile` or warn "kill: $!\n"; sslh-1.20/t-379- sleep 1;