diff --git a/apparmor/home.ssh-mitm.bin.ssh b/apparmor/home.ssh-mitm.bin.ssh index 656f690..63c5dd1 100644 --- a/apparmor/home.ssh-mitm.bin.ssh +++ b/apparmor/home.ssh-mitm.bin.ssh @@ -22,6 +22,8 @@ network inet6 stream, network unix stream, + signal receive set=(term) peer=/home/ssh-mitm/bin/sshd_mitm, + /dev/pts/* rw, /dev/tty rw, /proc/*/fd/ r, diff --git a/apparmor/home.ssh-mitm.bin.sshd_mitm b/apparmor/home.ssh-mitm.bin.sshd_mitm index 64983ad..52667c7 100644 --- a/apparmor/home.ssh-mitm.bin.sshd_mitm +++ b/apparmor/home.ssh-mitm.bin.sshd_mitm @@ -26,6 +26,8 @@ network unix stream, network netlink raw, + signal send set=(term) peer=/home/ssh-mitm/bin/ssh, + /bin/bash r, /dev/ptmx rw, /dev/pts/* rw,