Skip to content

add server_port in failing log #1391

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add server_port in failing log #1391

wants to merge 1 commit into from

Conversation

luvletter2333
Copy link

Add server_port in log when failing to parse_header (maybe under attack)

  • It will show which port is under attack.

Sample:

2019-02-06 00:17:06 WARNING  unsupported addrtype 223, maybe wrong password or encryption method
2019-02-06 00:17:06 ERROR    [8838] can not parse header
2019-02-06 00:17:06 ERROR    [8838] can not parse header when handling connection from 8.8.8.8:12345

@luvletter2333
Copy link
Author

It's very useful in Multiple Users Mode with gyteng's unmerged commit add server_port in log. His commit adds server_port in general request log.

@luvletter2333
Copy link
Author

1f3351b

so?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant