mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -05:00
added more debug info in pqissl when connection is attempted from banned address
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8497 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
3b889e595a
commit
461a1c3e8d
@ -1322,7 +1322,7 @@ int pqissl::Authorise_SSL_Connection()
|
||||
|
||||
if(!rsBanList->isAddressAccepted(remote_addr,checking_flags,&check_result))
|
||||
{
|
||||
std::cerr << "(SS) connection attempt from banned IP address. Refusing it. Reason: " << check_result << ". Attack??" << std::endl;
|
||||
std::cerr << "(SS) connection attempt from banned IP address " << sockaddr_storage_iptostring(remote_addr) << ". Refusing it. Reason: " << check_result << ". Attack??" << std::endl;
|
||||
RsServer::notify()->AddFeedItem(RS_FEED_ITEM_SEC_IP_BLACKLISTED, PeerId().toStdString(), sockaddr_storage_iptostring(remote_addr), "", "", check_result);
|
||||
reset_locked();
|
||||
return 0 ;
|
||||
|
Loading…
Reference in New Issue
Block a user