• [^] # Re: liste blanche

    Posté par (site web personnel) . En réponse au journal Propositions de bacs à sable, par exemple pour un panda roux. Évalué à 4.

    Principalement la conf proposée dans debian (je l'utilise depuis quelques temps pour isoler iceweasel et thunderbird)

    $ cat /etc/firejail/disable-common.inc 
    blacklist ${HOME}/.adobe
    blacklist ${HOME}/.macromedia
    blacklist ${HOME}/.mozilla
    blacklist ${HOME}/.icedove
    blacklist ${HOME}/.thunderbird
    blacklist ${HOME}/.config/midori
    blacklist ${HOME}/.config/opera
    blacklist ${HOME}/.config/chromium
    blacklist ${HOME}/.config/google-chrome
    blacklist ${HOME}/.filezilla

    Affichage des règles appliquées à iceweasel :

    $ firejail --seccomp.print=1497 
    SECCOMP Filter:
     VALIDATE_ARCHITECTURE
     EXAMINE_SYSCAL
     BLACKLIST 165 mount
     BLACKLIST 166 umount2
     BLACKLIST 101 ptrace
     BLACKLIST 246 kexec_load
     BLACKLIST 304 open_by_handle_at
     BLACKLIST 175 init_module
     BLACKLIST 313 finit_module
     BLACKLIST 176 delete_module
     BLACKLIST 172 iopl
     BLACKLIST 173 ioperm
     BLACKLIST 167 swapon
     BLACKLIST 168 swapoff
     BLACKLIST 103 syslog
     BLACKLIST 310 process_vm_readv
     BLACKLIST 311 process_vm_writev
     BLACKLIST 133 mknod
     BLACKLIST 139 sysfs
     BLACKLIST 156 _sysctl
     BLACKLIST 159 adjtimex
     BLACKLIST 305 clock_adjtime
     BLACKLIST 212 lookup_dcookie
     BLACKLIST 298 perf_event_open
     BLACKLIST 300 fanotify_init
     BLACKLIST 312 kcmp
     RETURN_ALLOW