Autore Topic: permette di fare ping ad httpd  (Letto 6290 volte)

Offline cento-it

  • Newbie
  • *
  • Post: 5
    • Mostra profilo
    • Server Linux e Windows Server 2003 e 2008
permette di fare ping ad httpd
« il: 26 Aprile 2017, 11:25:07 »
ciao, qualcuno sa come faccio  a rendere httpd in grado  di fare ping ?

l'errore che ho in audit.log è:

Codice: [Seleziona]
type=AVC msg=audit(1493195299.574:84993): avc:  denied  { create } for  pid=105798 comm="ping" scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:system_r:httpd_t:s0 tclass=rawip_socket
type=SYSCALL msg=audit(1493195299.574:84993): arch=c000003e syscall=41 success=no exit=-13 a0=2 a1=3 a2=1 a3=7ffd7d75f220 items=0 ppid=105108 pid=105798 auid=4294967295 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 tty=(none) ses=4294967295 comm="ping" exe="/usr/bin/ping" subj=system_u:system_r:httpd_t:s0 key=(null)

Offline cento-it

  • Newbie
  • *
  • Post: 5
    • Mostra profilo
    • Server Linux e Windows Server 2003 e 2008
Re:permette di fare ping ad httpd
« Risposta #1 il: 26 Aprile 2017, 15:37:50 »
ho provato questo:

https://phpipam.net/news/selinux-policy-for-icmp-checks/

e sembra funzionare.