Skip to content
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

PROXY / WEBIRC tests #18

Open
4 tasks
slingamn opened this issue Feb 1, 2021 · 1 comment
Open
4 tasks

PROXY / WEBIRC tests #18

slingamn opened this issue Feb 1, 2021 · 1 comment

Comments

@slingamn
Copy link
Member

slingamn commented Feb 1, 2021

See #12; PROXY/WEBIRC handling is security-critical, so it needs tests. Here are some cases:

  • Test that optional PROXY v1 is accepted
  • Test that WEBIRC is accepted
  • Test that no PROXY command is accepted twice (e.g., you cannot send WEBIRC after PROXY)
  • Test that mandatory PROXY v1 and v2 are accepted (i.e., proxy: true in the listener config)
@slingamn
Copy link
Member Author

slingamn commented Feb 1, 2021

The easiest way to test whether the command succeeded is to WHOIS yourself and look at RPL_WHOISACTUALLY.

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

No branches or pull requests

1 participant