How to test session resumption (session id and session ticket) and measure performance between them?

2024-01-31 Thread Ranieri Mazili
e off; #Session resumption - Session ID ssl_session_tickets off; ssl_session_cache shared:SSL:10m; #Session resumption - Session Tickets ssl_session_tickets on; ssl_session_cache off; After set each one, I can test if they are active using the following command and check Session-ID or TLS session t

test

2023-11-11 Thread bruce
test to make sure i'm good.. ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

[ANN] Test::Nginx 0.30 is released

2022-05-31 Thread Jiahao Wang via nginx
Hi there, I am happy to announce the new 0.30 release of Test::Nginx: https://openresty.org/en/ann-test-nginx-030.html This version has many new features and fixes several bugs since 0.29, refer to the above link for details. This Perl module provides a test scaffold for automated testing in

Re: NGINX option: test configuration, dump it expanded and exit

2021-11-22 Thread Fabiano Furtado Pessoa Coelho
Hi Francis, On Mon, Nov 22, 2021 at 6:17 PM Francis Daly wrote: > > On Mon, Nov 22, 2021 at 03:42:39PM -0300, Fabiano Furtado Pessoa Coelho wrote: > > Hi there, > > > NGINX has a -T option, where you can "test configuration, dump it and exit". > > I

Re: NGINX option: test configuration, dump it expanded and exit

2021-11-22 Thread Francis Daly
On Mon, Nov 22, 2021 at 03:42:39PM -0300, Fabiano Furtado Pessoa Coelho wrote: Hi there, > NGINX has a -T option, where you can "test configuration, dump it and exit". > Is there a way to process the "include" directive and dump the > configuration "expanded&qu

NGINX option: test configuration, dump it expanded and exit

2021-11-22 Thread Fabiano Furtado Pessoa Coelho
Hi... NGINX has a -T option, where you can "test configuration, dump it and exit". Is there a way to process the "include" directive and dump the configuration "expanded"? Thanks in advance. Fabiano Furtado ___ nginx mai

Re: configuration test ignores custom resolver

2020-09-07 Thread Francis Daly
> In my case I have a two internal DNS zones, .develop and .test. > > On global http section I added my resolver: > > ... > > http { >     resolver 192.168.140.249 valid=300s; >     resolver_timeout 1s; > > ... > > And I use proxy_pass directive with DNS na

configuration test ignores custom resolver

2020-09-06 Thread Anton Demenev
Hi everyone! Unfortunately, I can't find information about how Nginx tests configuration files. In my case I have a two internal DNS zones, .develop and .test. On global http section I added my resolver: ... http {     resolver 192.168.140.249 valid=300s;     resolver_timeout 1s; ...

Re: Nginx pre-configured test environment with all scenarios

2020-07-05 Thread siva.pannier
Appreciate your confidence on Nignx!! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,288558,288564#msg-288564 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx pre-configured test environment with all scenarios

2020-07-05 Thread siva.pannier
Yup thanks I mailed them today. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,288558,288563#msg-288563 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx pre-configured test environment with all scenarios

2020-07-05 Thread Peter Booth
I rolled up to a Bugatti dealer and asked for a test drive the dealer would laugh at me. People buy super cars sight unseen because they know they are super cars. In the same way, if you need a reverse proxy Then nginx is what you need. It’s that simple. I don’t work for nginx, I’m not an

Re: Nginx pre-configured test environment with all scenarios

2020-07-05 Thread J.R.
> I am assessing the capabilities and doing a POC on Nignx integration as > reverse proxy. Are there any pre-configured image with all the protocols and > the necessary clients to test and demo the capabilities of Nignx or Nignx > plus? Doing a self-assessment with all the necessary

Nginx pre-configured test environment with all scenarios

2020-07-05 Thread siva.pannier
Hi Team, I am assessing the capabilities and doing a POC on Nignx integration as reverse proxy. Are there any pre-configured image with all the protocols and the necessary clients to test and demo the capabilities of Nignx or Nignx plus? Doing a self-assessment with all the necessary setup on my

Re: How to do location /test/place?id=2

2019-10-19 Thread P.V.Anthony
On 19/10/19 4:22 pm, Aleksandar Lazic wrote: Have you tried Lewis suggestion with $arg_id, it looks exactly what you searching for? Untested: location = /test/place { if ($arg_id = "2") { return 301 https://new.example.com/test/place?$args; } } I did try but i

Re: How to do location /test/place?id=2

2019-10-19 Thread Aleksandar Lazic
Hi P.V.Anthony. Am 17.10.19 um 23:15 schrieb J. Lewis Muir: > On 10/18, P.V.Anthony wrote: >> Currently have the following url, >> >> https://old.example.com/test/place?id=1 >> https://old.example.com/test/place?id=2 >> https://old.example.com/test/place?id=3 &g

Re: How to do location /test/place?id=2

2019-10-18 Thread P.V.Anthony
On 18/10/19 9:47 pm, J. Lewis Muir wrote: And in your example, you were doing a return inside an "if" which is noted as being safe in a location context. Phew! Thank you for the advice. P.V.Anthony ___ nginx mailing list nginx@nginx.org http://mailm

Re: How to do location /test/place?id=2

2019-10-18 Thread P.V.Anthony
On 18/10/19 2:59 pm, Patrick wrote: The `if' part should be fine. The problem would be someone crafting a URL that skips past the `=' check and yet is still parsed as `id=2' by the underlying app. Can the underlying old app also be changed to log an attack, and throw a 444 when it gets an `id'

Re: How to do location /test/place?id=2

2019-10-18 Thread J. Lewis Muir
On 10/18, P.V.Anthony wrote: > On 18/10/19 5:26 am, Jeff Dyke wrote: > > I know this is not an answer to your question, but it begs another, > > mainly due to the if statement.  How many of these are you going to > > have? https://www.nginx.com/resources/wiki/start/topics/depth/ifisevil/ > > > > Y

Re: How to do location /test/place?id=2

2019-10-18 Thread Patrick
On 2019-10-18 13:57, P.V.Anthony wrote: > Like netsec and using "if" in the config. The `if' part should be fine. The problem would be someone crafting a URL that skips past the `=' check and yet is still parsed as `id=2' by the underlying app. Can the underlying old app also be changed to log an

Re: How to do location /test/place?id=2

2019-10-17 Thread P.V.Anthony
On 18/10/19 1:33 pm, Patrick wrote: Awesome. By `safe' do you mean netsec, or memory-safe, or ? Like netsec and using "if" in the config. I suppose for my case, I have to use "if". Thank you very much for helping to solve this. I was cracking my head on how to solve this. You really helped.

Re: How to do location /test/place?id=2

2019-10-17 Thread Patrick
On 2019-10-18 13:17, P.V.Anthony wrote: > Tried the following and it works but is it safe? > > if ( $request_uri = "/test/place?id=2" ) { > rewrite ^ http://new.example.com${uri}?${args}? last; > } Awesome. By `safe' do you mean netsec, o

Re: How to do location /test/place?id=2

2019-10-17 Thread P.V.Anthony
On 18/10/19 12:20 pm, Patrick wrote: Without a map, try starting with: if ( $uri?$args = /test/place?id=2 ) { rewrite ^ http://new.example.com/${uri}?${args}? last; } Then as the site migration continues turn that `if' test into a regexp that will match the migrated components.

Re: How to do location /test/place?id=2

2019-10-17 Thread Patrick
On 2019-10-18 12:12, P.V.Anthony wrote: > I am using ispconfig web control that only allows changes in the server > block. Without a map, try starting with: if ( $uri?$args = /test/place?id=2 ) { rewrite ^ http://new.example.com/${uri}?${args}? last; } Then as the site migration con

Re: How to do location /test/place?id=2

2019-10-17 Thread P.V.Anthony
On 18/10/19 9:03 am, Patrick wrote: This looks like a gradual migration of content to a new server. Try using `rewrite' instead of `return'? map "$uri?$args" $is_new_site { /test/place?id=2 1; default 0; } server { ... if ( $is_new_site

Re: How to do location /test/place?id=2

2019-10-17 Thread P.V.Anthony
On 18/10/19 5:26 am, Jeff Dyke wrote: I know this is not an answer to your question, but it begs another, mainly due to the if statement.  How many of these are you going to have? https://www.nginx.com/resources/wiki/start/topics/depth/ifisevil/ You've likely considered this, but if not wanted

Re: How to do location /test/place?id=2

2019-10-17 Thread P.V.Anthony
On 18/10/19 5:15 am, J. Lewis Muir wrote: You might want to use $arg_id here (i.e., the $arg_ variable for the argument). Otherwise, it won't work if any other arguments are given. Noted. I will change that. Or is there a way to do the following? That would be ideal. location =

Re: How to do location /test/place?id=2

2019-10-17 Thread Patrick
On 2019-10-18 01:01, P.V.Anthony wrote: > Currently have the following url, > > https://old.example.com/test/place?id=1 > https://old.example.com/test/place?id=2 > https://old.example.com/test/place?id=3 > > Need to redirect only id=2 to another url. This looks like a gradual

Re: How to do location /test/place?id=2

2019-10-17 Thread Jeff Dyke
u are moving domains, could you create a separate route that you could key off rather than arg_id? Random thoughts waiting for things to compile On Thu, Oct 17, 2019 at 5:15 PM J. Lewis Muir wrote: > On 10/18, P.V.Anthony wrote: > > Currently have the following url, > > > > ht

Re: How to do location /test/place?id=2

2019-10-17 Thread J. Lewis Muir
On 10/18, P.V.Anthony wrote: > Currently have the following url, > > https://old.example.com/test/place?id=1 > https://old.example.com/test/place?id=2 > https://old.example.com/test/place?id=3 > > Need to redirect only id=2 to another url. > > Did the following and i

How to do location /test/place?id=2

2019-10-17 Thread P.V.Anthony
Hi, Currently have the following url, https://old.example.com/test/place?id=1 https://old.example.com/test/place?id=2 https://old.example.com/test/place?id=3 Need to redirect only id=2 to another url. Did the following and it works for id=2. Need id=1 and id=3 to continue normally without

Slow startup, reload and config test with 40k server blocks

2019-03-26 Thread ops42
I'm testing an nginx config with 40k server blocks acting as proxies (proxy_pass). Each server block has its own proxy_cache_path. The "nginx -t" takes about 5 minutes to complete. The config test duration is even exponential if I add more server blocks and proxy_cache_path. Changin

Re: Suggestions for web apps to test out nginx load balancing?

2018-01-26 Thread Peter Booth
ne have a suggestion about a simple, free, open source web app, > with a database that I could test out and get familiar with, nginx's load > balancing functionality on? > > Thank you, >leeand00 > > Posted at Nginx Forum: > https://forum.nginx.o

Suggestions for web apps to test out nginx load balancing?

2018-01-26 Thread leeand00
Does anyone have a suggestion about a simple, free, open source web app, with a database that I could test out and get familiar with, nginx's load balancing functionality on? Thank you, leeand00 Posted at Nginx Forum: https://forum.nginx.org/read.php?2,278284,278284#msg-2

Re: Location url start with modifier, nginx -t pass the configuration test

2017-02-11 Thread linbo liao
Thank you for the clarification. 2017-02-10 20:45 GMT+08:00 Maxim Dounin : > Hello! > > On Fri, Feb 10, 2017 at 01:31:34PM +0800, linbo liao wrote: > > > I setup an test Nginx 1.10.3 on local VM (Centos 6.7 x86_64). I configure > > the following location >

Re: Location url start with modifier, nginx -t pass the configuration test

2017-02-10 Thread Maxim Dounin
Hello! On Fri, Feb 10, 2017 at 01:31:34PM +0800, linbo liao wrote: > I setup an test Nginx 1.10.3 on local VM (Centos 6.7 x86_64). I configure > the following location > > location =/404.html { > root/usr/share/nginx/html; > } > > As my understanding, it is not

Location url start with modifier, nginx -t pass the configuration test

2017-02-09 Thread linbo liao
Hi, I setup an test Nginx 1.10.3 on local VM (Centos 6.7 x86_64). I configure the following location location =/404.html { root/usr/share/nginx/html; } As my understanding, it is not an valid url, but `nginx -t` pass the configuration test. Is it a bug

Re: Performance test caps at 600 Mbit/s

2017-01-09 Thread oscaretu .
you. > > iperf, snfnettest, or etherate will show you the maximum possible > bandwidth at the TCP or IP layer. > If it's under 700 then you know to focus on the NIC and OS. If it's above > 900 then the > problem is in your nginx or your test workload. > > Posted

Re: Performance test caps at 600 Mbit/s

2017-01-09 Thread pbooth
bove 900 then the problem is in your nginx or your test workload. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,271846,271895#msg-271895 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Performance test caps at 600 Mbit/s

2017-01-09 Thread CJ Ess
f of saturating the NIC on your server? > > > > On Fri, Jan 6, 2017 at 10:24 AM, MrFastDie > > > > wrote: > > > > > Hello, > > > > > > the last days I played a little with the NGINX settings and the tcp > > stack > > > to >

Re: Performance test caps at 600 Mbit/s

2017-01-09 Thread lists
‎FYI, benchmark mentioned in the video. https://github.com/wg/wrk Wouldn't a number of test machine ls on the Internet make more sense than flogging nginx locally on your network? With VPS time being sold by the hour, seems to me you should get one VPS tester running acceptably, then cl

Re: Performance test caps at 600 Mbit/s

2017-01-09 Thread Valentin V. Bartenev
On Friday 06 January 2017 10:24:06 MrFastDie wrote: > Hello, > > the last days I played a little with the NGINX settings and the tcp stack to > test the best performance. I used direct connection between my testing > machine and my server using a cat5e cable. > My nginx.co

Re: Performance test caps at 600 Mbit/s

2017-01-09 Thread MrFastDie
ider the traffic source, is > it > known capable of of saturating the NIC on your server? > > On Fri, Jan 6, 2017 at 10:24 AM, MrFastDie > > wrote: > > > Hello, > > > > the last days I played a little with the NGINX settings and the tcp > stack > > to

Re: performance test caps at 600Mbit/s [nginx Digest, Vol 87, Issue 7

2017-01-07 Thread Peter Booth
You said that your test case peaks at 600Mbit/sec. Your first step should be to bisect the problem, to see if you're limited by your hardware+OS or your test + nginx configuration. Easiest way is to install solarflare's free network test utility from the support section of thei

Re: Performance test caps at 600 Mbit/s

2017-01-06 Thread CJ Ess
Which OS? What NIC? You also have to consider the traffic source, is it known capable of of saturating the NIC on your server? On Fri, Jan 6, 2017 at 10:24 AM, MrFastDie wrote: > Hello, > > the last days I played a little with the NGINX settings and the tcp stack > to >

Performance test caps at 600 Mbit/s

2017-01-06 Thread MrFastDie
Hello, the last days I played a little with the NGINX settings and the tcp stack to test the best performance. I used direct connection between my testing machine and my server using a cat5e cable. My nginx.conf can be found at pastebin: http://pastebin.com/rRAEwvNc My sysctl.conf also provides

Re: Nginx + php-fpm "504 Gateway Time-out" error with almost zero load (on a test-server)

2016-12-21 Thread eessaouira
did you find anhy answer ? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,127854,271666#msg-271666 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

RE: ssl test causes nginx to crash (SSL_do_handshake() failed)

2016-05-11 Thread Lukas Tribus
> I updated nginx but the problem persists. > > Could it be some sort of misconfiguration of my nginx? No, but I suggest you try reconfiguring your cipher suites anyway to exclude anything kerberos related like previously suggested. Lukas _

Re: RE: ssl test causes nginx to crash (SSL_do_handshake() failed)

2016-05-11 Thread kostbad
I updated nginx but the problem persists. Could it be some sort of misconfiguration of my nginx? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,266590,266800#msg-266800 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman

RE: ssl test causes nginx to crash (SSL_do_handshake() failed)

2016-05-05 Thread Lukas Tribus
> nginx version: nginx/1.2.6 > built by gcc 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) > [...] > CentOS 6.7 server Try disabling kerberos cipher suites [1], you may be hitting some obscure CentOS/RedHat libc issues [2]. [1] https://mozilla.github.io/server-side-tls/ssl-config-generator/?server=ngin

Re: ssl test causes nginx to crash (SSL_do_handshake() failed)

2016-05-05 Thread kostbad
How do i update to the latest stable version of nginx on a CentOS 6.7 server? Are there any precautions before the update? Will if affect my current settings-conf ? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,266590,266641#msg-266641 ___

Re: RE: ssl test causes nginx to crash (SSL_do_handshake() failed)

2016-05-04 Thread kostbad
Sorry, this is the output i get: Thanks, it's probably time to update my system. nginx version: nginx/1.2.6 built by gcc 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) TLS SNI support enabled configure arguments: --prefix=/etc/nginx/ --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-

Re: RE: ssl test causes nginx to crash (SSL_do_handshake() failed)

2016-05-04 Thread Maxim Dounin
Hello! On Wed, May 04, 2016 at 06:58:19AM -0400, kostbad wrote: > The nginx version is 1.2.6. That's not "nginx -V" output you were asked for. Nevertheless, it's probably enough to conclude you should upgrade before doing anything else. The 1.2.x branch is not supported for more than 3 year

Re: RE: ssl test causes nginx to crash (SSL_do_handshake() failed)

2016-05-04 Thread kostbad
The nginx version is 1.2.6. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,266590,266603#msg-266603 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

RE: ssl test causes nginx to crash (SSL_do_handshake() failed)

2016-05-04 Thread Lukas Tribus
> When ssllabs tests for deprecated cipher suites, it stays there forever. > I have to close the ssllabs test page and then my nginx server stays down > until i restart it. Please provide the output of

Re: ssl test causes nginx to crash (SSL_do_handshake() failed)

2016-05-04 Thread kostbad
When ssllabs tests for deprecated cipher suites, it stays there forever. I have to close the ssllabs test page and then my nginx server stays down until i restart it. I also got the following error: 113 upstream prematurely closed connection while reading response header from upstream, client

Re: ssl test causes nginx to crash (SSL_do_handshake() failed)

2016-05-04 Thread A. Schulze
kostbad: Every time i run it, my nginx server (ssl terminator) crashes and i have to restart it. I get the following error in my nginx logs: *734 SSL_do_handshake() failed (SSL: error:140A1175:SSL routines:SSL_BYTES_TO_CIPHER_LIST:inappropriate fallback) while SSL handshaking, client: ..,

ssl test causes nginx to crash (SSL_do_handshake() failed)

2016-05-03 Thread kostbad
I tried to do use the ssltest from qualys.com: https://www.ssllabs.com/ssltest/ Every time i run it, my nginx server (ssl terminator) crashes and i have to restart it. I get the following error in my nginx logs: *734 SSL_do_handshake() failed (SSL: error:140A1175:SSL routines:SSL_BYTES_TO_CIPHER

Best performance test tool

2016-01-27 Thread Ortal
the NGINX did not passed the 30% CPU while the tolls got to over 100%. My question is: Which tool I can use to test NGINX with post requests in the best way? Thanks, Ortal Posted at Nginx Forum: https://forum.nginx.org/read.php?2,264161,264161#msg-264161

Re: Deploying newly compiled nginx from test server to production

2015-06-16 Thread ryd994
e --with-pcre --with-file-aio > --with-http_realip_module > --without-http_scgi_module --without-http_uwsgi_module > --without-http_fastcgi_module --with-http_spdy_module --with-cc-opt='-O2 -g > -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buff

Re: Deploying newly compiled nginx from test server to production

2015-06-15 Thread ajjH6
with-file-aio --with-http_realip_module --without-http_scgi_module --without-http_uwsgi_module --without-http_fastcgi_module --with-http_spdy_module --with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --add-mo

Re: Deploying newly compiled nginx from test server to production

2015-06-15 Thread ryd994
I would prefer RPM. Just patching the official one. RPM patching process is pretty standardized and shouldn't take more than a few minutes. Could you explain what problem you have? On Mon, Jun 15, 2015, 05:59 ajjH6 wrote: > Hello > > What is a good method for deploying a newly compiled nginx bi

Deploying newly compiled nginx from test server to production

2015-06-15 Thread ajjH6
Hello What is a good method for deploying a newly compiled nginx binary with an extra module? (mod_security) I can get all to compile ok. However, I do not want to compile on my production server. There are two many dependencies (ie HTTPD for mod_sec). In the case of mod_security, it seems only

Re: Writing first test Nginx module

2015-06-06 Thread nima0102
Hi again, After some searching on Nginx source code, eventually i did find out the issue. The issue was on module type. I had defined it as NGX_STREAM_MODULE, but it must be NGX_HTTP_MODULE because i did intend to add some features to upstream module. Also I had to change configuration directive

Writing first test Nginx module

2015-06-06 Thread nima0102
Hello everyone, Recently for some of our needs on Nginx, I am working to develop a new module on Nginx. So I have started to develop a test and basic module. My intention is to call a function before selecting one servers in upstream section. For this, I set NGX_STREAM_MODULE type. when running

Re: Installed nginx with iredmail; how to add web content & test without DNS change

2015-05-03 Thread gariac
Thanks halozen and Francis. Knowing where to read in the manual is half the battle. I think I will tackle combining the iredmail code into my own website since at the moment I only have one domain I am going to put on this server. With flexibility comes head scratching. It seems like nginx has t

Re: Installed nginx with iredmail; how to add web content & test without DNS change

2015-05-02 Thread Francis Daly
On Fri, May 01, 2015 at 08:50:51PM -0400, gariac wrote: Hi there, > I think I failed to explain my problem correctly. It seems to me whatever I > do for the test would be on the server side, not client side. Studying your > reply, I think your solution maps domain.com to ipaddress (do

Re: Installed nginx with iredmail; how to add web content & test without DNS change

2015-05-01 Thread Umarzuki Mochlis
ot; wrote: > I think I failed to explain my problem correctly. It seems to me whatever I > do for the test would be on the server side, not client side. Studying your > reply, I think your solution maps domain.com to ipaddress (dotted quad) > from > the client side. What I need

Re: Installed nginx with iredmail; how to add web content & test without DNS change

2015-05-01 Thread gariac
I think I failed to explain my problem correctly. It seems to me whatever I do for the test would be on the server side, not client side. Studying your reply, I think your solution maps domain.com to ipaddress (dotted quad) from the client side. What I need to do is have the one ip address I have

Re: Installed nginx with iredmail; how to add web content & test without DNS change

2015-04-30 Thread Francis Daly
On Tue, Apr 28, 2015 at 08:17:42PM -0400, gariac wrote: Hi there, > Iredmail puts its html in /var/www. I put a test page in /var/www2 and > added a location line to point to it, but I'm confused on how to set this up > since it is like hosting two websites at the same IP addres

Re: Installed nginx with iredmail; how to add web content & test without DNS change

2015-04-28 Thread Thiago Farina
e an ip address for the server, I am able to test the email > service. [Only email to accounts on the server since the MX record still > goes to the old hosting company,] Iredmail has a web based mail manager, so > it has associated html code. > > Iredmail puts its html in /var/www.

Installed nginx with iredmail; how to add web content & test without DNS change

2015-04-28 Thread gariac
I have an existing website at a hosting service. I have contracted with a virtual server company and have installed iredmail, which in turn installs nginx, [Oddly, Appache2 as well, though probably not relevant.] Since I have an ip address for the server, I am able to test the email service

Re: please suggest performance tweak and the right siege options for load test

2015-03-18 Thread Daniel Mostertman
I tried siege a lot, but could never get it to really use all cores on the server, I found the tool wrk much more useful for load testing. On Mar 18, 2015 2:31 AM, "halozen" wrote: > 2 nginx 1.4.6 web servers - ocfs cluster, web root inside mounted LUN > from SAN storage > 2 MariaDB 5.5 servers -

Re: please suggest performance tweak and the right siege options for load test

2015-03-17 Thread Lucas Rolff
Have you checked the socket level, and checking kernel log on all 3 servers (nginx and load balancer) meanwhile doing the test? It could be that for some reason you reach a limit really fast (We had an issue that we reached the nf_conntrack limit at 600 concurrent users because we had like 170

please suggest performance tweak and the right siege options for load test

2015-03-17 Thread halozen
2 nginx 1.4.6 web servers - ocfs cluster, web root inside mounted LUN from SAN storage 2 MariaDB 5.5 servers - galera cluster, different network segment than nginx web servers nginx servers each two sockets quad core xeon, 128 gb ram Load balanced via F5 load balancer (round-robin, http performanc

Re: HTTPS Load Test

2015-01-08 Thread Das, Jagannath
...@ehibbert.org.uk>> Reply-To: "nginx@nginx.org<mailto:nginx@nginx.org>" mailto:nginx@nginx.org>> Date: Thursday, January 8, 2015 at 4:00 PM To: "nginx@nginx.org<mailto:nginx@nginx.org>" mailto:nginx@nginx.org>> Subject: Re: HTTPS Load Test Bombard

Re: HTTPS Load Test

2015-01-08 Thread Edward Hibbert
Bombard is a useful wrapper round siege. I've had trouble using siege with more than a couple of thousand connections - crashes with buffer overflow. I've not tried to debug this yet but would be interested in other people's experiences. On Thu, Jan 8, 2015 at 10:16 AM, basti wrote: > You can

Re: HTTPS Load Test

2015-01-08 Thread basti
You can try "siege". In the past I have take the access log to create a list of urls to be used by siege. Regards, Basti On 08.01.2015 11:06, Das, Jagannath wrote: > Hi Folks, >I am trying to get some performance numbers on nginx by sending > HTTP and HTTPS requests. My aim is to check the

HTTPS Load Test

2015-01-08 Thread Das, Jagannath
Hi Folks, I am trying to get some performance numbers on nginx by sending HTTP and HTTPS requests. My aim is to check the ratio of CPU usage, connections/sec across HTTP and HTTPS requests. In the process, I need to verify certain certificates/keys needed for SSL . Are there any tools whic

Re: Nginx + LibreSSL - a first test

2014-07-15 Thread Piotr Sikora
Hey, > just Checked opensslv.h, and to the different in 2.0.1 from 2.0.0: > > # Define LIBRESSL_VERSION_NUMBER 0x2000L > # Define OPENSSL_VERSION_NUMBER 0x2000L They've added this as a way to differentiate between OpenSSL and LibreSSL. > i dont know whens Changing What Happens > # Define

Re: Nginx + LibreSSL - a first test

2014-07-15 Thread Maxim Dounin
Hello! On Tue, Jul 15, 2014 at 02:17:02AM -0700, Piotr Sikora wrote: > Hey, > > > # Summary > > > > It works. > > ...only with versions older than nginx-1.7.0, you need a small patch > (attached) in order to compile nginx-mainline against LibreSSL, > because LibreSSL developers decided that Lib

Re: Nginx + LibreSSL - a first test

2014-07-15 Thread mex
Piotr Sikora Wrote: --- > Hey, > > > # Summary > > > > It works. > > only with versions older than nginx-1.7.0, you need a small patch > (attached) in order to compile nginx-mainline against LibreSSL, > because LibreSSL developers decided th

Re: Nginx + LibreSSL - a first test

2014-07-15 Thread Piotr Sikora
Hey, > # Summary > > It works. ...only with versions older than nginx-1.7.0, you need a small patch (attached) in order to compile nginx-mainline against LibreSSL, because LibreSSL developers decided that LibreSSL is OpenSSL-2.0.0... I didn't send this patch to nginx-devel@ yet, because I'm still

Re: Nginx + LibreSSL - a first test (update)

2014-07-14 Thread mex
updated: static version and new perftests included https://www.mare-system.de/blog/page/1405201517/ regards, mex Posted at Nginx Forum: http://forum.nginx.org/read.php?2,251718,251760#msg-251760 ___ nginx mailing list nginx@nginx.org http://mail

Re: Nginx + LibreSSL - a first test

2014-07-14 Thread Maxim Dounin
Hello! On Mon, Jul 14, 2014 at 08:30:00AM -0400, mex wrote: > > > > Just a quick comment: OpenSSL's libs under ".openssl/" isn't a > > result of OpenSSL's behaviour, but rather a result of "make > > install" nginx calls (and the ".openssl" install prefix it > > instructs OpenSSL to use). > >

Re: Nginx + LibreSSL - a first test

2014-07-14 Thread mex
e we can have a --with-libressl=/path/to/libressl or something more generic soon? i think libressl/boringssl are here to stay > > # Summary > > > > It works. > > > > While it is not recommended to substitude OpenSSL with LibreSSL in > this > > early stage,

Re: Nginx + LibreSSL - a first test

2014-07-13 Thread Maxim Dounin
(and the ".openssl" install prefix it instructs OpenSSL to use). > # Summary > > It works. > > While it is not recommended to substitude OpenSSL with LibreSSL in this > early stage, i wanted to test if it is possible. And it is. There are no > functional or perform

Nginx + LibreSSL - a first test

2014-07-13 Thread mex
https://www.mare-system.de/blog/page/1405201517/ # Summary It works. While it is not recommended to substitude OpenSSL with LibreSSL in this early stage, i wanted to test if it is possible. And it is. There are no functional or performance-issues, as far as i can test, and building nginx

Re: testssl.sh - script to test your ssl-setup from cli

2014-04-04 Thread mex
thanx, nice tool! i integrated this into our ssl-guide https://www.mare-system.de/guide-to-nginx-ssl-spdy-hsts/#testing-ssl-setups Posted at Nginx Forum: http://forum.nginx.org/read.php?2,248997,249000#msg-249000 ___ nginx mailing list nginx@nginx.or

Re: testssl.sh - script to test your ssl-setup from cli

2014-04-04 Thread MacLemon
There is also cipherscan by Julien Vehent (with a bunch of patches by mzeltner and me). https://github.com/mzeltner/cipherscan Original repo doesn't yet include our pull request https://github.com/jvehent/cipherscan It works with any *nix or *tux with OpenSSL. (Tested with Debian, OS X, Solari

testssl.sh - script to test your ssl-setup from cli

2014-04-04 Thread mex
web: https://testssl.sh/ repo: https://bitbucket.org/nginx-goodies/testssl.sh testssl.sh is a free Unix command line tool which checks a server's service on any port for the support of TLS/SSL ciphers, protocols as well as some cryptographic flaws. It's designed to provide clear output for a "