LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-22-2021, 09:24 AM   #1
halfpower
Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 241

Rep: Reputation: 31
Question How often does Thunderbird negotiate a login?


How often is the password to the mail server when Thunderbird is left open? Sorry if this is the wrong forum, but I am trying to figure out how much a strain bcrypt/scrypt put on a server that does more than just email.
 
Old 10-22-2021, 10:26 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Every time it is set to check the mail, only way to do it on account that requires the login name and password to check it for mail.

Edit: that would be the checking function the encrypted stuff would only be used for the actual decryption of mail fetched.

Last edited by HappyTux; 10-22-2021 at 10:27 AM.
 
Old 10-24-2021, 07:27 PM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,671
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
Each time you "check for mail," a mail client initiates a new session with the mail server – using the password – then checks and receives the mail, then ends the session. However, there is virtually no overhead and therefore no "strain." Encryption algorithms are written to be very efficient. (For instance, your entire interaction with this web site is passing through quite a robust one!)
 
Old 10-25-2021, 07:18 AM   #4
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,616

Rep: Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554
Quote:
Originally Posted by sundialsvcs View Post
Encryption algorithms are written to be very efficient.
Halfpower isn't asking about encryption!

Bcrypt and scrypt are key derivation functions - they are written to be deliberately slow, and replace the misuse of fast hashing algorithms in password authentication.

 
1 members found this post helpful.
Old 10-25-2021, 07:27 AM   #5
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,616

Rep: Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554
Quote:
Originally Posted by halfpower View Post
I am trying to figure out how much a strain bcrypt/scrypt put on a server that does more than just email.
This suggests you don't have enough users for it to matter - otherwise why would you be running it all from a single server?

However, you can probably check server logs to see how frequently email login requests are made at peak times - once you know that, double the rate and run a script on your staging/test server to see what sort of load you might expect, and go from there.

 
Old 10-25-2021, 05:41 PM   #6
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,784

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
If your server uses IMAP, then I guess it could be no renegotiations at all, depending on timeout configurations:

https://help.hcltechsw.com/domino/11...nlimits_t.html
Quote:
After a user opens a session with the IMAP service, the service waits for commands from the mail client. If no commands are received, the session is considered to be idle.
[...]Many IMAP clients poll for new mail every 10 minutes, so it's best to set the value to greater than 10 minutes, because the overhead of supporting an idle session is less than the overhead required to support clients logging in and opening mailboxes.

By default, servers drop idle sessions after 30 minutes.
 
Old 11-29-2021, 10:35 AM   #7
halfpower
Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 241

Original Poster
Rep: Reputation: 31
Thunderbird is set to check for new mail every ten minutes. However, when I leave Thunderbird open, new mail shows up almost as soon as it's received by the server. I'm guessing that a hefty bcrypt/argon2 hasher would be enough to lock up the web server for 1, maybe even a 3, seconds. I don't want to pay for an extra CPU core solely for the purpose of hashing passwords, however, web server performance and security are more important. I think I will have to dig deeper into the email server log files.

Last edited by halfpower; 11-29-2021 at 10:36 AM. Reason: to fix English
 
  


Reply

Tags
dovecot, login password, thunderbird



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NIC will not negotiate to 100 full ajspliffs Linux - Networking 3 11-17-2007 01:59 AM
LXer: FOSS Community Should Not Negotiate With Microsoft On Port 25 LXer Syndicated Linux News 0 04-12-2006 05:03 PM
100mbps Full Duplex vs Auto-Negotiate. StevenO General 3 01-18-2006 09:02 AM
Connected to Internet w/wvdial but ppp fails to 'negotiate' Guvvy Linux - Newbie 11 02-09-2005 10:14 AM
dhcp3-client won't negotiate with windows dhcp server through cable modem frankster2000 Linux - Networking 0 06-25-2002 09:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration