Projet

Général

Profil

guardian.conf.patch

Fabrice Barconnière, 26/11/2018 14:45

Télécharger (693 octets)

Voir les différences:

modif/guardian.conf 2018-11-26 14:39:34.447354119 +0100
563 563
# IP. This is for when you have squid between the clients and e2guardian.
564 564
# Warning - headers are easily spoofed. on | off
565 565

  
566
%if %%getVar('activer_cntlm', 'non') == 'non'
567
usexforwardedfor = off
568
%else
569 566
usexforwardedfor = on
570 567

  
571 568
%for %%filterip in %%filterips
572 569
xforwardedforfilterip = %%filterip
573 570
%end for
574
%end if
575 571
# as mentioned above, the headers can be easily spoofed in order to fake the
576 572
# request origin by setting the X-Forwarded-For header. If you have the
577 573
# "usexforwardedfor" option enabled, you may want to specify the IPs from which