LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   How to meassure number of ssl per second (https://www.linuxquestions.org/questions/linux-security-4/how-to-meassure-number-of-ssl-per-second-597696/)

pavan.daemon 11-07-2007 12:52 AM

How to meassure number of ssl per second
 
Hi guys,

I want to meassure number of ssls per second that can be handled by linux 2.4.x kernel.Is it operating system independent or it depends on hardware also. I want to know how many ssl transactions are flowing through the server per second. is there any tool to find out this or is there any way to dig out my problem

complich8 11-08-2007 11:06 AM

One way would be to make an iptables rule that just detects traffic going to or from the SSL-enabled port (and possibly outright accepts it ... whatever). Then you could see how many packets and how much traffic is hitting that rule by checking the output of "iptables -nvL".

A more direct route might be to look in the apache logfiles, or the server-status page.

SSL operations aren't handled by the kernel, they're handled by the SSL library (typically openssl), and typically hooked by an app like Apache. The kernel's capacity to do various things is very unlikely to be the limiting factor in a real situation, and openssl's pretty fast at what it does too. If you're having problems with performance on a real website, you'd likely be better off optimizing the apache config, the database config, the actual database schema and queries hitting it, or improving interpreter performance for things like php (via opcode caching, fcgi).


All times are GMT -5. The time now is 11:46 PM.