Skip to content

barriers memory leak when clients with duplicate names attempt to connect #396

@OddBloke

Description

@OddBloke

Operating Systems

Server: Ubuntu 19.10

Client: Ubuntu 19.04, Ubuntu 19.04

Barrier Version

2.3.1+dfsg-1

Steps to reproduce bug

  1. Launch barriers
  2. Connect to barriers with a client
  3. Observe for a few minutes that memory usage is not growing substantially
  4. Launch a second client attempting to connect to barriers with the same name
  5. Watch memory usage grow substantially (~2MB/minute)
  6. Disable the second client, and observe that memory usage growth stops

Other info

This is arguably a DOS attack vector from users on my network; if they know the names of my screens (which are just hostnames in my configuration, so not hard to work out), they can exhaust memory on the host running barriers.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcriticalFor critical bugshelp wantedExtra attention is neededlinuxRelated to Linux

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions