1
0
mirror of https://github.com/rofl0r/proxychains-ng synced 2025-01-08 06:02:51 +08:00

add chain debug

This commit is contained in:
hugoc 2024-03-20 18:22:30 +01:00
parent 12c95244ce
commit 004b19b1fb

View File

@ -1341,6 +1341,8 @@ int add_node_to_chain(proxy_data * pd, udp_relay_chain * chain){
goto err;
}
char ip_buf[INET6_ADDRSTRLEN];
proxychains_write_log(" --> Node[%s:%i] open\n", inet_ntop(new_node->bnd_addr.is_v6?AF_INET6:AF_INET, new_node->bnd_addr.is_v6?(void*)new_node->bnd_addr.addr.v6:(void*)new_node->bnd_addr.addr.v4.octet, ip_buf, sizeof(ip_buf)) , ntohs(new_node->bnd_port));
PDEBUG("new node added and open to relay UDP packets\n");
return SUCCESS;