8000 REALITY `postHandshakeRecord` log even if RealityObject's `show` is `false` · Issue #4845 · XTLS/Xray-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to con 8000 tent
REALITY postHandshakeRecord log even if RealityObject's show is false #4845
Closed as not planned
@molor

Description

@molor

Hello!

This is my configuration:

{
	"inbounds": [
		{
			"listen": "0.0.0.0",
			"port": 7777,

			"protocol": "vless",
			"settings": {
				"clients": [
					{
						"id": "bd2e3352-9dac-41e5-896b-602b513a203d",
						"email": "user@local",

						"flow": "xtls-rprx-vision"
					}
				],

				"decryption": "none"
			},

			"streamSettings": {
				"network": "tcp",
				"security": "reality",

				"realitySettings": {
					"show": false,

					"dest": "example.me:443",
					"serverNames": [
						"example.me"
					],

					"privateKey": "eP_1q-FW8YjbJyjRNlyhIUvIas0JlTRqnTrXE4hAUHk",
					"shortIds": [
						"a3"
					]
				}
			}
		}
	]
}

Despite the fact that show in realitySettings is set to false (so verbose logs should be disabled, according to documentation), these two lines (highlighted with a green line) are logged on each incoming connection:

Image

I think that someone forgot to add a check for this during logging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0