-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: tcp listener is rejected when no route attached #4681
Changes from all commits
9bcea0b
742c946
fd72637
4bb998e
5b6ac41
d2d4bd2
cdf864b
6695640
67e0a68
f6d6376
7c17b89
5006767
b037abe
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,26 +44,28 @@ tcp: | |
connection: | ||
limit: | ||
value: 3 | ||
tls: | ||
passthrough: | ||
snis: | ||
- bar.com | ||
destination: | ||
name: "tls-route-dest" | ||
settings: | ||
- endpoints: | ||
- host: "1.2.3.4" | ||
port: 50000 | ||
routes: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a bug in the listener-connection-limit test. The |
||
- tls: | ||
inspector: | ||
snis: | ||
- bar.com | ||
destination: | ||
name: "tls-route-dest" | ||
settings: | ||
- endpoints: | ||
- host: "1.2.3.4" | ||
port: 50000 | ||
- name: "fourth-listener" | ||
address: "0.0.0.0" | ||
connection: | ||
limit: | ||
value: 10 | ||
closeDelay: 3s | ||
port: 10083 | ||
destination: | ||
name: "tcp-route-dest" | ||
settings: | ||
- endpoints: | ||
- host: "1.2.3.4" | ||
port: 50000 | ||
routes: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here. |
||
- destination: | ||
name: "tcp-route-dest" | ||
settings: | ||
- endpoints: | ||
- host: "1.2.3.4" | ||
port: 50000 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,24 +43,26 @@ tcp: | |
address: "0.0.0.0" | ||
port: 10082 | ||
tcpKeepalive: {} | ||
tls: | ||
inspector: | ||
snis: | ||
- bar.com | ||
destination: | ||
name: "tls-route-dest" | ||
settings: | ||
- endpoints: | ||
- host: "1.2.3.4" | ||
port: 50000 | ||
routes: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here. |
||
- tls: | ||
inspector: | ||
snis: | ||
- bar.com | ||
destination: | ||
name: "tls-route-dest" | ||
settings: | ||
- endpoints: | ||
- host: "1.2.3.4" | ||
port: 50000 | ||
- name: "fourth-listener" | ||
address: "0.0.0.0" | ||
tcpKeepalive: | ||
probes: 10 | ||
port: 10083 | ||
destination: | ||
name: "tcp-route-dest" | ||
settings: | ||
- endpoints: | ||
- host: "1.2.3.4" | ||
port: 50000 | ||
routes: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here. |
||
- destination: | ||
name: "tcp-route-dest" | ||
settings: | ||
- endpoints: | ||
- host: "1.2.3.4" | ||
port: 50000 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
tcp: | ||
- address: 0.0.0.0 | ||
connection: | ||
bufferLimit: 50000000 | ||
limit: | ||
closeDelay: 10s | ||
value: 3 | ||
enableProxyProtocol: true | ||
name: envoy-gateway/gateway-1/tls-1 | ||
port: 10443 | ||
tcpKeepalive: | ||
idleTime: 1200 | ||
interval: 60 | ||
probes: 3 | ||
timeout: | ||
tcp: | ||
idleTimeout: 20m0s |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,11 +5,12 @@ tcp: | |
- name: "tcp-route-enable-endpoint-stats" | ||
address: "0.0.0.0" | ||
port: 10080 | ||
destination: | ||
name: "tcp-route-simple-dest" | ||
settings: | ||
- endpoints: | ||
- host: "1.2.3.4" | ||
port: 50000 | ||
- host: "5.6.7.8" | ||
port: 50001 | ||
routes: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here. |
||
- destination: | ||
name: "tcp-route-simple-dest" | ||
settings: | ||
- endpoints: | ||
- host: "1.2.3.4" | ||
port: 50000 | ||
- host: "5.6.7.8" | ||
port: 50001 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,11 +5,12 @@ tcp: | |
- name: "tcp-route-enable-req-resp-sizes-stats" | ||
address: "0.0.0.0" | ||
port: 10080 | ||
destination: | ||
name: "tcp-route-simple-dest" | ||
settings: | ||
- endpoints: | ||
- host: "1.2.3.4" | ||
port: 50000 | ||
- host: "5.6.7.8" | ||
port: 50001 | ||
routes: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here. |
||
- destination: | ||
name: "tcp-route-simple-dest" | ||
settings: | ||
- endpoints: | ||
- host: "1.2.3.4" | ||
port: 50000 | ||
- host: "5.6.7.8" | ||
port: 50001 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,14 @@ | ||
- ignorePortInHostMatching: true | ||
name: envoy-gateway/gateway-1/http1 | ||
virtualHosts: | ||
- domains: | ||
- '*' | ||
name: envoy-gateway/gateway-1/http1/* | ||
routes: | ||
- match: | ||
prefix: / | ||
name: http-route | ||
route: | ||
cluster: http-route-dest | ||
upgradeConfigs: | ||
- upgradeType: websocket |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.