Forum IPFire Italia

Configurazione => Filtro URL => Discussione aperta da: maltese2000 il Ago 20, 2025, 02:12 PM

Titolo: Filtro URL
Inserito da: maltese2000 il Ago 20, 2025, 02:12 PM
Buonasera, stò cercando di implementare il filtro url su IPFire 2.29 (x86_64) - Core-Update 196;
Ho abilitato il proxy su green non trasparente e abilitato il flag filter url .
Nella parte filtro,, ho impostato alcuni tipi di sito e alcuni siti specifici per effettuare i test.
Non blocca niente.
Ho saltato qualche passaggio ?
Titolo: Re: Filtro URL
Inserito da: umby il Ago 20, 2025, 02:48 PM
Ciao maltese2000 e ben arrivato su IPFire Italia,
il problema credo che sia da cercare da come è configurato il tuo programma per navigare.

Mi spiego meglio, come hai indicato il proxy non puo essere trasparente, perche ormai con la totalità dei sito in https non puo fare il suo lavoro, cme ce lo aspettiamo

per tanto bisogna far si che il tuo programma usi per forza il proxy.

ti consiglio di visionare questa guida
config proxy (https://www.ipfireitalia.it/index.php?view=article&id=75:urlfilter-con-siti-https&catid=35&highlight=WyJwcm94eSJd)

un'alternativa interessante al filtro URL è il componente RPZ che non è ancora ufficiale in IPFire, dove la comunità italiana ha contribuito allo sviluppo

trovi la guida ed i file da installare a questo link
RPZ (https://www.ipfireitalia.it/index.php/content_page/item/174-nuovo-componente-ipfire-response-policy-zones-rpz)
in questo caso il sistema non blocca l'url ma lo blocca a livello di DNS
se hai ancora dubbi o problemi non esitare a contattarci

Titolo: Re: Filtro URL
Inserito da: maltese2000 il Ago 21, 2025, 12:56 PM
Ho provato anche RPZ. il problema è che seguendo le istruzioni
 1 - go to this directory:
cd /opt/pakfire/tmp/

# 2 - list the file
ls -l /opt/pakfire/tmp

# 3 - uncompress the file:
tar xvf rpz-beta-0.1.nn-nn.ipfire.tar

# 4 - check to make sure there are files there:
ls -l /opt/pakfire/tmp

# 5 - copy this one file to a new location
cp -v ROOTFILES /opt/pakfire/db/rootfiles/rpz

# 6 - install RPZ
NAME=rpz ./install.sh

Ottengo i seguenti errori.


Unrecognized character \x8A; marked by <-- HERE after 5.00<_8p1;<-- HERE near column 15 at /usr/lib/perl5/5.36.0/x86_64-linux-thread-multi/IO/Handle.pm line 217.
Compilation failed in require at /usr/lib/perl5/5.36.0/x86_64-linux-thread-multi/IO/Socket.pm line 12.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.36.0/x86_64-linux-thread-multi/IO/Socket.pm line 12.
Compilation failed in require at /var/ipfire/general-functions.pl line 19.
BEGIN failed--compilation aborted at /var/ipfire/general-functions.pl line 19.
Compilation failed in require at //var/ipfire/lang.pl line 12.
Compilation failed in require at -e line 1.
Stopping Unbound DNS Proxy...                                          [  OK  ]
Starting Unbound DNS Proxy...                                          [  OK  ]
[root@ipfire-53 tmp]#

Il risultato è che il server non è piu' accessibile da gui

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.


Titolo: Re: Filtro URL
Inserito da: umby il Ago 23, 2025, 06:04 PM
che versione di IPFire è installata, che configurazione è il tuo pc