[x] I receive ERROR in dmesg when I change listen directive from default (without listen) to listen 127.0.0.1 proto=http;. Port MUST be default.
[ 5627.079934] [tempesta fw] ERROR: can't bind to: 127.0.0.1
[ 5627.079937] [tempesta fw] ERROR: can't start listening on: 127.0.0.1
[ 5627.079938] [tempesta fw] ERROR: Unable to start module 'sock_clnt': -98
Tests to reproduce:
reconf.test_reconf_base.TestListenReconfHttp.test_reconf_ip_default_to_ipv4_port_defaultreconf.test_reconf_base.TestListenReconfHttps.test_reconf_ip_default_to_ipv4_port_defaultreconf.test_reconf_base.TestListenReconfH2.test_reconf_ip_default_to_ipv4_port_default
[x] I receive WARNING with trace in dmesg when change listen directive from listen 127.0.0.1 proto=http; to listen 127.0.1.100 proto=http and make request.
Tests to reproduce:
reconf.test_reconf_base.TestListenReconfHttp.test_reconf_ip_ipv4_to_ipv4_port_443reconf.test_reconf_base.TestListenReconfHttp.test_reconf_ip_ipv4_to_ipv4_port_default
[x] I receive kernel panic when I change config from listen 127.0.0.1:443 proto=https to listen 127.0.1.1:443 proto=https; and make request. proto MUST be https or h2.
Tests to reproduce:
reconf.test_reconf_base.TestListenReconfHttps.test_reconf_ip_ipv4_to_ipv4_port_443reconf.test_reconf_base.TestListenReconfHttps.test_reconf_ip_ipv4_to_ipv4_port_defaultreconf.test_reconf_base.TestListenReconfH2.test_reconf_ip_ipv4_to_ipv4_port_443reconf.test_reconf_base.TestListenReconfH2.test_reconf_ip_ipv4_to_ipv4_port_default
[x] I receive warning in dmesg when I change config from listen 443 proto=http to listen 443 proto=https; and make request.
Tests to reproduce:
reconf.test_reconf_base.TestListenReconfHttp.test_reconf_proto_h2reconf.test_reconf_base.TestListenReconfHttp.test_reconf_proto_https
[x] I receive warning in dmesg when I change config from listen 443 proto=https to listen 443 proto=http; and make request.
[ 8021.544550] [tempesta tls] Warning: bad TLS version 69:84
[ 8021.544554] [tempesta tls] Warning: [::ffff:127.0.0.2] Bad TLS record (err -0xFFFFF003)
Tests to reproduce:
reconf.test_reconf_base.TestListenReconfH2.test_reconf_proto_httpreconf.test_reconf_base.TestListenReconfHttps.test_reconf_proto_http
[x] I receive warning in dmesg when I change config from listen 443 proto=https to listen 443 proto=h2; and make request.
Tests to reproduce:
reconf.test_reconf_base.TestListenReconfHttps.test_reconf_proto_h2
[x] I don't receive response when I change config from listen 443 proto=h2 to listen 443 proto=https; and make request. But I immediately receive FIN TCP from Tempesta.
Tests to reproduce:
reconf.test_reconf_base.TestListenReconfH2.test_reconf_proto_https
Related to #2043 and probably should be fixed at the same time
Scope
Tempesta - 4e6c0342b5ee113753ffc61b8a89a784dbe463f5
[x] I receive ERROR in dmesg when I change
listen
directive from default (withoutlisten
) tolisten 127.0.0.1 proto=http;
. Port MUST be default.Tests to reproduce:
reconf.test_reconf_base.TestListenReconfHttp.test_reconf_ip_default_to_ipv4_port_default
reconf.test_reconf_base.TestListenReconfHttps.test_reconf_ip_default_to_ipv4_port_default
reconf.test_reconf_base.TestListenReconfH2.test_reconf_ip_default_to_ipv4_port_default
[x] I receive WARNING with trace in dmesg when change
listen
directive fromlisten 127.0.0.1 proto=http;
tolisten 127.0.1.100 proto=http
and make request.Trace
Tests to reproduce:
reconf.test_reconf_base.TestListenReconfHttp.test_reconf_ip_ipv4_to_ipv4_port_443
reconf.test_reconf_base.TestListenReconfHttp.test_reconf_ip_ipv4_to_ipv4_port_default
listen 127.0.0.1:443 proto=https
tolisten 127.0.1.1:443 proto=https;
and make request.proto
MUST behttps
orh2
.Trace
Tests to reproduce:
reconf.test_reconf_base.TestListenReconfHttps.test_reconf_ip_ipv4_to_ipv4_port_443
reconf.test_reconf_base.TestListenReconfHttps.test_reconf_ip_ipv4_to_ipv4_port_default
reconf.test_reconf_base.TestListenReconfH2.test_reconf_ip_ipv4_to_ipv4_port_443
reconf.test_reconf_base.TestListenReconfH2.test_reconf_ip_ipv4_to_ipv4_port_default
listen 443 proto=http
tolisten 443 proto=https;
and make request.Tests to reproduce:
reconf.test_reconf_base.TestListenReconfHttp.test_reconf_proto_h2
reconf.test_reconf_base.TestListenReconfHttp.test_reconf_proto_https
listen 443 proto=https
tolisten 443 proto=http;
and make request.Tests to reproduce:
reconf.test_reconf_base.TestListenReconfH2.test_reconf_proto_http
reconf.test_reconf_base.TestListenReconfHttps.test_reconf_proto_http
listen 443 proto=https
tolisten 443 proto=h2;
and make request.Tests to reproduce:
reconf.test_reconf_base.TestListenReconfHttps.test_reconf_proto_h2
listen 443 proto=h2
tolisten 443 proto=https;
and make request. But I immediately receive FIN TCP from Tempesta.Tests to reproduce:
reconf.test_reconf_base.TestListenReconfH2.test_reconf_proto_https