After more 1 000 000 (one million) views on forum for 1.5.0.x development versions... and 1.6.0.0 version
A new stable version, UltraVNC 1.6.1.0 and UltraVNC SC 1.6.1.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38080
Feedback is welcome

Celebrating the 22th anniversary of the UltraVNC (25th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38031

Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078

Development: UltraVNC development is always here... Any help is welcome.
A new development version, UltraVNC 1.6.3.0-dev has been released, please test it: https://forum.uvnc.com/viewtopic.php?t=38091
Feedback is welcome

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

blacklist timeout increase

Developers may discuss here
Post Reply
szymon.nowak
20
20
Posts: 52
Joined: 2011-12-09 22:21

blacklist timeout increase

Post by szymon.nowak »

where can I find the line corresponding to the increase of time after a failed login attempt (blacklist )

I found a lot of lines in the file vncserver.cpp but abolished know which corresponds to
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6952
Joined: 2004-04-23 10:21
Contact:

Re: blacklist timeout increase

Post by Rudi De Vos »

todo, just to put mssg back ontop
UltraVNC links (join us on social networks):
- Website: https://uvnc.com/
- Forum: https://forum.uvnc.com/
- GitHub sourcecode: https://github.com/ultravnc/UltraVNC
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
- uvnc2me: https://uvnc2me.com/
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6952
Joined: 2004-04-23 10:21
Contact:

Re: blacklist timeout increase

Post by Rudi De Vos »

search for _lastRefTime

if ((now.QuadPart - current->_lastRefTime.QuadPart) > 0)
current->_lastRefTime.QuadPart = now.QuadPart + 10; <<<< max this bigger or

You can replace it by, that's how i made a little change in source.
Replaced
current->_lastRefTime.QuadPart = now.QuadPart + 10;
By
current->_lastRefTime.QuadPart = now.QuadPart + 10*current->_failureCount;

Timeout now increase for each wrong password
UltraVNC links (join us on social networks):
- Website: https://uvnc.com/
- Forum: https://forum.uvnc.com/
- GitHub sourcecode: https://github.com/ultravnc/UltraVNC
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
- uvnc2me: https://uvnc2me.com/
Post Reply