sepolicy-communicate(8)
β¨ sepolicy-communicate β the "can y'all even talk??" page β¨
okay bestie, welcome to sepolicy-communicate, part of the sepolicy manual crew π this is the tool that tells you whether two SELinux Policy Domains are on speaking terms or if they're giving each other the silent treatment fr fr.
πΈ NAME πΈ
sepolicy-communicate β generate a report showing if two SELinux Policy Domains can communicate π«Ά
π SYNOPSIS π
sepolicy communicate [-h] -s SOURCE -t TARGET [-c TCLASS] [-S
SOURCEACCESS] [-T TARGETACCESS]
π DESCRIPTION π
okay so here's the vibe. you run sepolicy communicate and it goes digging through SELinux Policy to figure out whether a source SELinux Domain can communicate with a target SELinux Domain. yes, we're literally playing matchmaker between domains π
and by default? the command checks whether there are any file types that the source domain can write that the target domain can read. that's the default love language, no cap.
β¨ OPTIONS β¨
-c,--classβ pick the SELinux class that the source domain is gonna use to try to communicate with the target domain. (Default isfile) π-h,--helpβ shows you the help message, bestie. the classic escape hatch π«Ά-s,--sourceβ name the source SELinux domain type. who's the one sliding into DMs π-S,--sourceaccessβ give the list of accesses the source SELinux domain type uses to communicate with the target domain. Default isOpen, Write. π-t,--targetβ name the target SELinux domain type. the one receiving the message π-T,--targetaccessβ give the list of accesses the target SELinux domain type uses to receive communications from the source domain. Default isOpen, Read. π
π EXAMPLE π
list the types that can be used to communicate between the samba daemon and the apache server:
# sepolicy communicate -s httpd_t -t smbd_t
now consider a type to be accessible by the source domain when it can be opened and appended to (as opposed to opened and written to) β yes, different vibe entirely:
# sepolicy communicate -s httpd_t -t smbd_t -S open,append
π AUTHOR π
this man page was written by Daniel Walsh <dwalsh@redhat.com> β credit where credit is due, periodt π
π₯ SEE ALSO π₯
that's the whole page bestie, you ate it π this little icon was dated 20121005 and it lives in the sepolicy-communicate(8) section of the manual β go forth and vibe check your domains, ily π¦β¨
π¦ where this page comes from
- centos-stream 10: policycoreutils-devel 3.11-1.el10 Β· GPL-2.0-or-later
- centos-stream 9: policycoreutils-devel 3.6-9.el9 Β· GPL-2.0-or-later
- centos-stream 9: policycoreutils-devel 3.6-9.el9 Β· GPL-2.0-or-later
- debian trixie: policycoreutils-dev 3.8.1-2 Β· GPL-2.0-or-later
- fedora 43: policycoreutils-devel 3.9-5.fc43 Β· GPL-2.0-or-later
- fedora 43: policycoreutils-devel 3.9-5.fc43 Β· GPL-2.0-or-later
- fedora 43: policycoreutils-devel 3.9-7.fc43 Β· GPL-2.0-or-later
- fedora 43: policycoreutils-devel 3.9-7.fc43 Β· GPL-2.0-or-later
- fedora 44: policycoreutils-devel 3.10-1.fc44 Β· GPL-2.0-or-later
- fedora 44: policycoreutils-devel 3.10-1.fc44 Β· GPL-2.0-or-later
- fedora 44: policycoreutils-devel 3.11-2.fc44 Β· GPL-2.0-or-later
- fedora 44: policycoreutils-devel 3.11-2.fc44 Β· GPL-2.0-or-later
- nixos 26.05: selinux-python 3.10
- nixpkgs unstable: selinux-python 3.10
- opensuse-leap 16.0: policycoreutils-devel 3.8.1-160000.5.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: policycoreutils-devel 3.8.1-160000.5.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: policycoreutils-devel 3.8.1-160000.5.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: policycoreutils-devel 3.8.1-160000.5.1 Β· GPL-2.0-or-later
- ubuntu questing: policycoreutils-dev 3.8.1-2
- ubuntu resolute: policycoreutils-dev 3.9-2 Β· GPL-2.0-or-later
- ubuntu stonking: policycoreutils-dev 3.11-2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms