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

[BUG] Cannot configure DLP settings #22

Open
1 task done
mksmo opened this issue Dec 3, 2024 · 1 comment
Open
1 task done

[BUG] Cannot configure DLP settings #22

mksmo opened this issue Dec 3, 2024 · 1 comment

Comments

@mksmo
Copy link

mksmo commented Dec 3, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Does not applies changes in /etc/kasmvnc/kasmvnc.yaml

Expected Behavior

I need to configure /etc/kasmvnc/kasmvnc.yaml with

data_loss_prevention:
    concealed_region:
      allow_click_down: false
      allow_click_release: false
  clipboard:
    delay_between_operations: none
    allow_mimetypes:
      - chromium/x-web-custom-data
      - text/html
      - image/png
    server_to_client:
      enabled: false
      size: 1
      primary_clipboard_enabled: false
    client_to_server:
      enabled: false
      size: 1

Same problem with /usr/share/kasmvnc/kasmvnc_defaults.yaml

but clipboard is still available

Steps To Reproduce

docker exec -it <container_name> bash
tee -a /etc/kasmvnc/kasmvnc.yaml > /dev/null <<EOL
data_loss_prevention:
  concealed_region:
    allow_click_down: false
    allow_click_release: false
clipboard:
  delay_between_operations: none
  allow_mimetypes:
    - chromium/x-web-custom-data
    - text/html
    - image/png
  server_to_client:
    enabled: false
    size: 1
    primary_clipboard_enabled: false
  client_to_server:
    enabled: false
    size: 1
EOL
exit
docker restart <container_name>

Environment

- OS:Debian Bullseye
- How docker service was installed: packagemanager

CPU architecture

x86-64

Docker creation

#docker-compose.yml
version: "2.1"
services:
  wireshark:
    image: wireshark_kasmvnc
    container_name: wireshark_kasmvnc
#    cap_add:
#      - NET_ADMIN
    security_opt:
      - seccomp:unconfined
#    network_mode: host
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - KASM_NOCLIPBOARD=true
      - DISABLE_CLIPBOARD_INTEGRATION=true
      - DISABLE_DOWNLOAD=true
      - DISABLE_UPLOAD=true
    volumes:
      - /home/max/manual_wireshark/task1:/config
    ports:
      - 3000:3000
      - 3001:3001
    restart: unless-stopped

Container logs

docker logs -f wireshark_kasmvnc 
[migrations] started
[migrations] no migrations found
───────────────────────────────────────
  _____ __ __ _____ _____ _____ _____ 
 |     |  |  |   __|_   _|     |     |
 |   --|  |  |__   | | | |  |  | | | |
 |_____|_____|_____| |_| |_____|_|_|_|
       _____ __ __ _ __    ____  
      | __  |  |  | |  |  |    \ 
      | __ -|  |  | |  |__|  |  |
      |_____|_____|_|_____|____/ 

  Based on images from linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
[custom-init] No custom files found, skipping...

Xvnc KasmVNC 1.3.3 - built Nov 20 2024 19:38:25
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation

[ls.io-init] done.
Obt-Message: Xinerama extension is not present on the server
19
 2024-12-03 14:25:12,309 [INFO] websocket 0: got client connection from 127.0.0.1
 2024-12-03 14:25:12,317 [PRIO] Connections: accepted: @192.168.1.145_1733235912.309256::websocket
Copy link

github-actions bot commented Dec 3, 2024

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@mksmo mksmo changed the title [BUG] <title> [BUG] Cannot configure DLP settings Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Issues
Development

No branches or pull requests

1 participant