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

Switch frontend communications to REST API #77

Closed
michaelweiser opened this issue Apr 23, 2019 · 0 comments
Closed

Switch frontend communications to REST API #77

michaelweiser opened this issue Apr 23, 2019 · 0 comments
Assignees
Milestone

Comments

@michaelweiser
Copy link
Contributor

Currently we speak a mix of the AMaViS AV protocol and our own JSON-based protocol on a UNIX domain socket between the client and Peekaboo. As discussed in rspamd/rspamd#1860 there are multiple reasons to put this on a more well-defined basis, using HTTP(S) and REST protocols and mechanisms.

Peekaboo's server, the scan_file.py client and the AMaViS plugin would need extension to support:

  • other socket types than UNIX domain
  • HTTP as basic transfer protocol
  • definition and usage of REST/JSON for all operations, input and output
  • HTTPS for secure scaling across machine boundaries including
    • server authentication (server certificate and CRL checking)
    • client authentication (e.g. pre-shared keys and TLS client certificates)
@michaelweiser michaelweiser added this to the 2.0 milestone Apr 23, 2019
@michaelweiser michaelweiser self-assigned this Apr 23, 2019
@Jack28 Jack28 modified the milestones: 2.0, 2.1 Aug 27, 2019
michaelweiser added a commit to michaelweiser/PeekabooAV that referenced this issue Jan 7, 2022
Updating the changelog with user-visible changes by the switch to the
REST API marks the end of that switch.

Closes scVENUS#77.
michaelweiser added a commit to michaelweiser/PeekabooAV that referenced this issue Jan 7, 2022
Updating the changelog with user-visible changes by the switch to the
REST API marks the end of that switch.

Closes scVENUS#77.
michaelweiser added a commit to michaelweiser/PeekabooAV that referenced this issue Feb 18, 2022
Updating the changelog with user-visible changes by the switch to the
REST API marks the end of that switch.

Closes scVENUS#77.
michaelweiser added a commit to michaelweiser/PeekabooAV that referenced this issue Feb 22, 2022
Updating the changelog with user-visible changes by the switch to the
REST API marks the end of that switch.

Closes scVENUS#77.
michaelweiser added a commit to michaelweiser/PeekabooAV that referenced this issue Mar 3, 2022
Updating the changelog with user-visible changes by the switch to the
REST API marks the end of that switch.

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

No branches or pull requests

2 participants