Hello Liliane,
i need more details, can you show me the content of packetfence.log,
pf.conf and apache_filter.conf.
Regards
Fabrice
Le 2015-04-01 09:08, Liliane Lewis Xerxenevsky a écrit :
Hello Fabrice,
thank you for yout help.
I applied the patch, but the problem persists.
Below is the log in /usr/local/pf/logs/httpd.portal.access when the
loop occurs.
Tranks a lot,
Liliane
10.127.0.10 - - [01/Apr/2015:10:01:37 -0300] "GET /ncsi.txt HTTP/1.1"
302 915 "-" "Microsoft NCSI"
10.127.0.10 - - [01/Apr/2015:10:01:37 -0300] "GET
/captive-portal?destination_url=http://www.msftncsi.com/ncsi.txt&
HTTP/1.1" 200 7951 "-" "Microsoft NCSI"
10.127.0.10 - - [01/Apr/2015:10:01:37 -0300] "GET / HTTP/1.1" 302 901
"-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:01:37 -0300] "GET /ncsi.txt HTTP/1.1"
302 916 "-" "Microsoft NCSI"
10.127.0.10 - - [01/Apr/2015:10:01:37 -0300] "POST /p HTTP/1.1" 302
922 "-" "FSORSP/1.1.25.2439 (Win64)"
10.127.0.10 - - [01/Apr/2015:10:01:37 -0300] "GET
/captive-portal?destination_url=http://ipv6.msftncsi.com/ncsi.txt&
HTTP/1.1" 200 7951 "-" "Microsoft NCSI"
10.127.0.10 - - [01/Apr/2015:10:01:37 -0300] "GET
/captive-portal?destination_url=http://google.com/& HTTP/1.1" 200 7951
"-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:01:42 -0300] "-" 408 - "-" "-"
10.127.0.10 - - [01/Apr/2015:10:01:45 -0300] "POST /p HTTP/1.1" 302
922 "-" "FSORSP/1.1.25.2439 (Win64)"
10.127.0.10 - - [01/Apr/2015:10:01:49 -0300] "POST /p HTTP/1.1" 302
922 "-" "FSORSP/1.1.25.2439 (Win64)"
10.127.0.10 - - [01/Apr/2015:10:01:49 -0300] "POST /authenticate
HTTP/1.1" 200 8026
"https://semfio-saude.ufrgs.br/captive-portal?destination_url=http://google.com/&"
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:02:00 -0300] "POST /p HTTP/1.1" 302
922 "-" "FSORSP/1.1.25.2439 (Win64)"
10.127.0.10 - - [01/Apr/2015:10:02:01 -0300] "POST /p HTTP/1.1" 302
922 "-" "FSORSP/1.1.25.2439 (Win64)"
10.127.0.10 - - [01/Apr/2015:10:02:01 -0300] "POST /authenticate
HTTP/1.1" 200 8026 "https://semfio-saude.ufrgs.br/authenticate"
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:02:07 -0300] "GET /ncsi.txt HTTP/1.1"
302 915 "-" "Microsoft NCSI"
10.127.0.10 - - [01/Apr/2015:10:02:07 -0300] "GET
/captive-portal?destination_url=http://www.msftncsi.com/ncsi.txt&
HTTP/1.1" 200 7959 "-" "Microsoft NCSI"
10.127.0.10 - - [01/Apr/2015:10:02:07 -0300] "GET /ncsi.txt HTTP/1.1"
302 916 "-" "Microsoft NCSI"
10.127.0.10 - - [01/Apr/2015:10:02:07 -0300] "GET
/captive-portal?destination_url=http://ipv6.msftncsi.com/ncsi.txt&
HTTP/1.1" 200 7951 "-" "Microsoft NCSI"
10.127.0.10 - - [01/Apr/2015:10:02:10 -0300] "POST /p HTTP/1.1" 302
922 "-" "FSORSP/1.1.25.2439 (Win64)"
10.127.0.10 - - [01/Apr/2015:10:02:10 -0300] "POST /authenticate
HTTP/1.1" 200 8018 "https://semfio-saude.ufrgs.br/authenticate"
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:02:15 -0300] "POST /p HTTP/1.1" 302
922 "-" "FSORSP/1.1.25.2439 (Win64)"
10.127.0.10 - - [01/Apr/2015:10:02:25 -0300] "POST /p HTTP/1.1" 302
922 "-" "FSORSP/1.1.25.2439 (Win64)"
10.127.0.10 - - [01/Apr/2015:10:02:25 -0300] "POST /authenticate
HTTP/1.1" 302 366 "https://semfio-saude.ufrgs.br/authenticate"
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:02:26 -0300] "POST /p HTTP/1.1" 302
922 "-" "FSORSP/1.1.25.2439 (Win64)"
10.127.0.10 - - [01/Apr/2015:10:02:26 -0300] "GET
/access?destination_url=http%3A%2F%2Fwww.packetfence.org%2F HTTP/1.1"
302 366 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:02:26 -0300] "GET
/access?destination_url=http%3A%2F%2Fwww.packetfence.org%2F HTTP/1.1"
302 366 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:02:26 -0300] "GET
/access?destination_url=http%3A%2F%2Fwww.packetfence.org%2F HTTP/1.1"
302 366 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:02:26 -0300] "GET
/access?destination_url=http%3A%2F%2Fwww.packetfence.org%2F HTTP/1.1"
302 366 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:02:26 -0300] "GET
/access?destination_url=http%3A%2F%2Fwww.packetfence.org%2F HTTP/1.1"
302 366 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:02:26 -0300] "GET
/access?destination_url=http%3A%2F%2Fwww.packetfence.org%2F HTTP/1.1"
302 366 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:02:26 -0300] "GET
/access?destination_url=http%3A%2F%2Fwww.packetfence.org%2F HTTP/1.1"
302 366 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:02:26 -0300] "GET
/access?destination_url=http%3A%2F%2Fwww.packetfence.org%2F HTTP/1.1"
302 366 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:02:26 -0300] "GET
/access?destination_url=http%3A%2F%2Fwww.packetfence.org%2F HTTP/1.1"
302 366 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:02:26 -0300] "GET
/access?destination_url=http%3A%2F%2Fwww.packetfence.org%2F HTTP/1.1"
302 366 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:02:27 -0300] "GET
/access?destination_url=http%3A%2F%2Fwww.packetfence.org%2F HTTP/1.1"
302 366 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:02:27 -0300] "GET
/access?destination_url=http%3A%2F%2Fwww.packetfence.org%2F HTTP/1.1"
302 366 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:02:27 -0300] "GET
/access?destination_url=http%3A%2F%2Fwww.packetfence.org%2F HTTP/1.1"
302 366 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:02:27 -0300] "GET
/access?destination_url=http%3A%2F%2Fwww.packetfence.org%2F HTTP/1.1"
302 366 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:02:27 -0300] "GET
/access?destination_url=http%3A%2F%2Fwww.packetfence.org%2F HTTP/1.1"
302 366 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:02:27 -0300] "GET
/access?destination_url=http%3A%2F%2Fwww.packetfence.org%2F HTTP/1.1"
302 366 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:02:27 -0300] "GET
/access?destination_url=http%3A%2F%2Fwww.packetfence.org%2F HTTP/1.1"
302 366 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:02:27 -0300] "GET
/access?destination_url=http%3A%2F%2Fwww.packetfence.org%2F HTTP/1.1"
302 366 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:02:27 -0300] "GET
/access?destination_url=http%3A%2F%2Fwww.packetfence.org%2F HTTP/1.1"
302 366 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36"
10.127.0.10 - - [01/Apr/2015:10:02:27 -0300] "GET
/access?destination_url=http%3A%2F%2Fwww.packetfence.org%2F HTTP/1.1"
302 366 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36"
Em 31-03-2015 20:56, Durand fabrice escreveu:
Hello Liliane,
can you try that:
cd /usr/local/pf
wget
https://github.com/inverse-inc/packetfence/commit/ab750b40c7ae622bc0c98dbff81f7c4eb1e3e2ee.diff
patch -p1 < ab750b40c7ae622bc0c98dbff81f7c4eb1e3e2ee.diff
and restart the portal (pfcmd service httpd.portal restart)
Regards
Fabrice
Le 2015-03-31 19:29, Liliane Lewis Xerxenevsky a écrit :
Hi,
Currently we are using the Captive Portal and it is working pretty well
in the version 4.5.1. We tried to use the version 4.7.0 and we
experienced some problems. When we use the default captive portal
profile, we have the following error on Firefox:
-----------
"The Page Isnt Redirecting Properly Firefox Has Detected That The Server
Is Redirecting The Request For This Address In A Way That Will Never
Complete.
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this
address in a way that will never complete"
-----------
Also, after enabling a customized portal profile, we get this error on
Chrome Windows (v. 41.0.2272) and Android browser (v 5.0.1):
-----------
Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.
-----------
With Internet Explorer we don't get this error.
Thanks in advance for any help you are able to provide.
Liliane
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now.http://goparallel.sourceforge.net/
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now.http://goparallel.sourceforge.net/
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users