Re: [PacketFence-users] NO INTERNET Connection

2018-04-21 Thread nilofer fatma via PacketFence-users
Hello Fabrice,


I am attaching my networks.conf file below.

pf.conf:

[int eth0]
ip = 192.168.1.11
type=managerment
mask=255.255.255.0
gateway=192.168.1.2

[int eth0.2]
enforcement=inlinel2
ip=192.168.2.33
type=internal, monitor
mask=255.255.255.0



> On 18 Apr 2018, at 7:13 AM, Fabrice Durand via PacketFence-users 
>  wrote:
> 
> Hello Fatma,
> 
> probaly a dns issue, can you paste your network.conf file.
> 
> Regards
> 
> Fabrice
> 
> 
> 
> Le 2018-04-16 à 13:43, nilofer fatma via PacketFence-users a écrit :
>> Hello all,
>> 
>> I have set-up packetfence 6.5.1 inline, with two interface management and 
>> inline interface.
>> 
>> After successful registration via captive portal. Packetfence is displaying 
>> message “Unable to detect network connectivity.Try restarting your web 
>> browser or opening a new tab to see if your access has been successfully 
>> enables”.
>> 
>> I can see my device as registered on the GUI -> registered. But I am not 
>> able to connect to internet. I have also enabled ipv4.ip_forward=1
>> 
>> [root@... ~]# more /etc/sysctl.conf
>> # Kernel sysctl configuration file for Red Hat Linux
>> #
>> # For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and
>> # sysctl.conf(5) for more details.
>> #
>> # Use '/sbin/sysctl -a' to list all possible parameters.
>> 
>> # Controls IP packet forwarding
>> net.ipv4.ip_forward = 1
>> I can also see my device under ipset -L.
>> Anybody has any idea where I am wrong? Please help.\
>> Regards,
>> Nilofer Fatma
>> 
>> 
>> 
>> 
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot 
>> 
>> 
>> ___
>> PacketFence-users mailing list
>> PacketFence-users@lists.sourceforge.net 
>> 
>> https://lists.sourceforge.net/lists/listinfo/packetfence-users 
>> 
> 
> -- 
> Fabrice Durand
> fdur...@inverse.ca  ::  +1.514.447.4918 (x135) ::  
> www.inverse.ca 
> Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu 
> ) and PacketFence (http://packetfence.org 
> ) 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! 
> http://sdm.link/slashdot___
> PacketFence-users mailing list
> PacketFence-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/packetfence-users

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] NO INTERNET Connection

2018-04-18 Thread nilofer fatma via PacketFence-users
Hello Fabrice,


I am attaching my networks.conf file below.

pf.conf:

[int eth0]
ip = 192.168.1.11
type=managerment
mask=255.255.255.0
gateway=192.168.1.2

[int eth0.2]
enforcement=inlinel2
ip=192.168.2.33
type=internal, monitor
mask=255.255.255.0



> On 18 Apr 2018, at 7:13 AM, Fabrice Durand via PacketFence-users 
>  wrote:
> 
> Hello Fatma,
> 
> probaly a dns issue, can you paste your network.conf file.
> 
> Regards
> 
> Fabrice
> 
> 
> 
> Le 2018-04-16 à 13:43, nilofer fatma via PacketFence-users a écrit :
>> Hello all,
>> 
>> I have set-up packetfence 6.5.1 inline, with two interface management and 
>> inline interface.
>> 
>> After successful registration via captive portal. Packetfence is displaying 
>> message “Unable to detect network connectivity.Try restarting your web 
>> browser or opening a new tab to see if your access has been successfully 
>> enables”.
>> 
>> I can see my device as registered on the GUI -> registered. But I am not 
>> able to connect to internet. I have also enabled ipv4.ip_forward=1
>> 
>> [root@... ~]# more /etc/sysctl.conf
>> # Kernel sysctl configuration file for Red Hat Linux
>> #
>> # For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and
>> # sysctl.conf(5) for more details.
>> #
>> # Use '/sbin/sysctl -a' to list all possible parameters.
>> 
>> # Controls IP packet forwarding
>> net.ipv4.ip_forward = 1
>> I can also see my device under ipset -L.
>> Anybody has any idea where I am wrong? Please help.\
>> Regards,
>> Nilofer Fatma
>> 
>> 
>> 
>> 
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot 
>> 
>> 
>> ___
>> PacketFence-users mailing list
>> PacketFence-users@lists.sourceforge.net 
>> 
>> https://lists.sourceforge.net/lists/listinfo/packetfence-users 
>> 
> 
> -- 
> Fabrice Durand
> fdur...@inverse.ca  ::  +1.514.447.4918 (x135) ::  
> www.inverse.ca 
> Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu 
> ) and PacketFence (http://packetfence.org 
> ) 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! 
> http://sdm.link/slashdot___
> PacketFence-users mailing list
> PacketFence-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/packetfence-users

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


[PacketFence-users] NO INTERNET Connection

2018-04-18 Thread nilofer fatma via PacketFence-users
Hello all,

I have set-up packetfence 6.5.1 inline, with two interface management and 
inline interface.

After successful registration via captive portal. Packetfence is displaying 
message “Unable to detect network connectivity.Try restarting your web browser 
or opening a new tab to see if your access has been successfully enables”.

I can see my device as registered on the GUI -> registered. But I am not able 
to connect to internet. I have also enabled ipv4.ip_forward=1

[root@... ~]# more /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and
# sysctl.conf(5) for more details.
#
# Use '/sbin/sysctl -a' to list all possible parameters.

# Controls IP packet forwarding
net.ipv4.ip_forward = 1
I can also see my device under ipset -L.
Anybody has any idea where I am wrong? Please help.\
Regards,
Nilofer Fatma




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] No internet connection after registering via captive portal - error 1300003 in packetfence.log

2017-01-31 Thread Fabrice Durand
Hello Yasir,

can you do an ipset -L and see if your device appear in a set ?

Also did you enabled ip_forward on your setup ?

Regards

Fabrice



Le 2017-01-31 à 11:26, Yasir McCarroll a écrit :
> So far I managed to install the ova appliance in virtualbox, setup 
> interfaces, DB etc.  After successfully registering a guest via the captive 
> portal using inline mode the client is never redirected past the portal.  A 
> message appears after registration stating PF is enabling the network but 
> after a minute a second message appears stating network has failed advising 
> me wait for a while then refresh the browser.
>
> Although wireshark packet captures shows two way traffic between the 
> following hosts 
>
> The inline interface IP (192.168.1.2 )<> SMTP Server (68.17.178.213.203) - 
> (never completes full tcp-three-way-handshake)
> The registering guest iPhone 7 (192.168.1.10) <> inverse server 
> (192.95.20.194) - (never completes full tcp-three-way-handshake)
> The inline interface IP (192.168.1.2 ) <> inverse server (192.95.20.194) - 
> (never completes full tcp-three-way-handshake)
> The inline interface IP (192.168.1.2 ) <> The registering guest iPhone 7 
> (192.168.1.10) - (completes TCP handshake no issues found)
>
>
> Reviewing the packetfence.log file shows violation 133 which I assume to 
> be a bug as I have parking disabled (threshold set to 0).  
>
>
> Jan 30 14:29:56 httpd.portal(2791) INFO: [mac:cc:08:8d:c3:cb:3c] Static 
> User-Agent lookup data initialized (pf::useragent::_init)
> Jan 30 14:29:58 httpd.portal(2791) INFO: [mac:unknown] Instantiate profile 
> default (pf::Portal::ProfileFactory::_from_profile)
> Jan 30 14:29:58 httpd.portal(2791) INFO: [mac:cc:08:8d:c3:cb:3c] Instantiate 
> profile default (pf::Portal::ProfileFactory::_from_profile)
> Jan 30 14:29:58 httpd.portal(2791) INFO: [mac:cc:08:8d:c3:cb:3c] Instantiate 
> profile default (pf::Portal::ProfileFactory::_from_profile)
> Jan 30 14:30:02 httpd.portal(2792) INFO: [mac:unknown] Instantiate profile 
> default (pf::Portal::ProfileFactory::_from_profile)
> Jan 30 14:30:02 httpd.portal(2792) INFO: [mac:cc:08:8d:c3:cb:3c] Instantiate 
> profile default (pf::Portal::ProfileFactory::_from_profile)
> Jan 30 14:30:02 httpd.portal(2792) INFO: [mac:cc:08:8d:c3:cb:3c] Instantiate 
> profile default (pf::Portal::ProfileFactory::_from_profile)
> Jan 30 14:30:09 httpd.portal(2791) INFO: [mac:unknown] Instantiate profile 
> default (pf::Portal::ProfileFactory::_from_profile)
> Jan 30 14:30:09 httpd.portal(2791) INFO: [mac:cc:08:8d:c3:cb:3c] Instantiate 
> profile default (pf::Portal::ProfileFactory::_from_profile)
> Jan 30 14:30:09 httpd.portal(2791) INFO: [mac:cc:08:8d:c3:cb:3c] Instantiate 
> profile default (pf::Portal::ProfileFactory::_from_profile)
> Jan 30 14:30:10 httpd.portal(2790) INFO: [mac:unknown] Instantiate profile 
> default (pf::Portal::ProfileFactory::_from_profile)
> Jan 30 14:30:10 httpd.portal(2790) INFO: [mac:cc:08:8d:c3:cb:3c] Instantiate 
> profile default (pf::Portal::ProfileFactory::_from_profile)
> Jan 30 14:30:10 httpd.portal(2790) INFO: [mac:cc:08:8d:c3:cb:3c] Instantiate 
> profile default (pf::Portal::ProfileFactory::_from_profile)
> Jan 30 14:30:48 httpd.portal(2790) INFO: [mac:unknown] Instantiate profile 
> default (pf::Portal::ProfileFactory::_from_profile)
> Jan 30 14:30:48 httpd.portal(2790) INFO: [mac:cc:08:8d:c3:cb:3c] Instantiate 
> profile default (pf::Portal::ProfileFactory::_from_profile)
> Jan 30 14:30:48 httpd.portal(2790) INFO: [mac:cc:08:8d:c3:cb:3c] Instantiate 
> profile default (pf::Portal::ProfileFactory::_from_profile)
> Jan 30 14:30:48 httpd.portal(2790) INFO: [mac:cc:08:8d:c3:cb:3c] person 
> yasir.mccarr...@edvn.net added (pf::person::person_add)
> Jan 30 14:30:48 httpd.portal(2790) WARN: [mac:cc:08:8d:c3:cb:3c] modify of 
> non-existent person yasir.mccarr...@edvn.net attempted - person added 
> (pf::person::person_modify)
> Jan 30 14:30:48 httpd.portal(2790) INFO: [mac:cc:08:8d:c3:cb:3c] new 
> activation code successfully generated (pf::activation::create)
> Jan 30 14:30:49 httpd.portal(2790) INFO: [mac:cc:08:8d:c3:cb:3c] Email sent 
> to yasir.mccarr...@edvn.net (yaslabpf: Email activation required) 
> (pf::activation::__ANON__)
> Jan 30 14:30:49 httpd.portal(2790) INFO: [mac:cc:08:8d:c3:cb:3c] User 
> yasir.mccarr...@edvn.net has authenticated on the portal. 
> (Class::MOP::Class:::after)
> Jan 30 14:30:49 httpd.portal(2790) INFO: [mac:cc:08:8d:c3:cb:3c] User 
> yasir.mccarr...@edvn.net has authenticated on the portal. 
> (Class::MOP::Class:::after)
> Jan 30 14:30:49 httpd.portal(2790) WARN: [mac:cc:08:8d:c3:cb:3c] Calling 
> match with empty/invalid rule class. Defaulting to 'authentication' 
> (pf::authentication::match)
> Jan 30 14:30:49 httpd.portal(2790) INFO: [mac:cc:08:8d:c3:cb:3c] Using 
> sources email for matching (pf::authentication::match)
> Jan 30 14:30:49 httpd.portal(2790) INFO: [mac:cc:08:8d:c3:cb:3c] Matched rule 
> (catchall) in source email, 

[PacketFence-users] No internet connection after registering via captive portal - error 1300003 in packetfence.log

2017-01-31 Thread Yasir McCarroll
So far I managed to install the ova appliance in virtualbox, setup interfaces, 
DB etc.  After successfully registering a guest via the captive portal using 
inline mode the client is never redirected past the portal.  A message appears 
after registration stating PF is enabling the network but after a minute a 
second message appears stating network has failed advising me wait for a while 
then refresh the browser.

Although wireshark packet captures shows two way traffic between the following 
hosts 

The inline interface IP (192.168.1.2 )<> SMTP Server (68.17.178.213.203) - 
(never completes full tcp-three-way-handshake)
The registering guest iPhone 7 (192.168.1.10) <> inverse server (192.95.20.194) 
- (never completes full tcp-three-way-handshake)
The inline interface IP (192.168.1.2 ) <> inverse server (192.95.20.194) - 
(never completes full tcp-three-way-handshake)
The inline interface IP (192.168.1.2 ) <> The registering guest iPhone 7 
(192.168.1.10) - (completes TCP handshake no issues found)


Reviewing the packetfence.log file shows violation 133 which I assume to be 
a bug as I have parking disabled (threshold set to 0).  


Jan 30 14:29:56 httpd.portal(2791) INFO: [mac:cc:08:8d:c3:cb:3c] Static 
User-Agent lookup data initialized (pf::useragent::_init)
Jan 30 14:29:58 httpd.portal(2791) INFO: [mac:unknown] Instantiate profile 
default (pf::Portal::ProfileFactory::_from_profile)
Jan 30 14:29:58 httpd.portal(2791) INFO: [mac:cc:08:8d:c3:cb:3c] Instantiate 
profile default (pf::Portal::ProfileFactory::_from_profile)
Jan 30 14:29:58 httpd.portal(2791) INFO: [mac:cc:08:8d:c3:cb:3c] Instantiate 
profile default (pf::Portal::ProfileFactory::_from_profile)
Jan 30 14:30:02 httpd.portal(2792) INFO: [mac:unknown] Instantiate profile 
default (pf::Portal::ProfileFactory::_from_profile)
Jan 30 14:30:02 httpd.portal(2792) INFO: [mac:cc:08:8d:c3:cb:3c] Instantiate 
profile default (pf::Portal::ProfileFactory::_from_profile)
Jan 30 14:30:02 httpd.portal(2792) INFO: [mac:cc:08:8d:c3:cb:3c] Instantiate 
profile default (pf::Portal::ProfileFactory::_from_profile)
Jan 30 14:30:09 httpd.portal(2791) INFO: [mac:unknown] Instantiate profile 
default (pf::Portal::ProfileFactory::_from_profile)
Jan 30 14:30:09 httpd.portal(2791) INFO: [mac:cc:08:8d:c3:cb:3c] Instantiate 
profile default (pf::Portal::ProfileFactory::_from_profile)
Jan 30 14:30:09 httpd.portal(2791) INFO: [mac:cc:08:8d:c3:cb:3c] Instantiate 
profile default (pf::Portal::ProfileFactory::_from_profile)
Jan 30 14:30:10 httpd.portal(2790) INFO: [mac:unknown] Instantiate profile 
default (pf::Portal::ProfileFactory::_from_profile)
Jan 30 14:30:10 httpd.portal(2790) INFO: [mac:cc:08:8d:c3:cb:3c] Instantiate 
profile default (pf::Portal::ProfileFactory::_from_profile)
Jan 30 14:30:10 httpd.portal(2790) INFO: [mac:cc:08:8d:c3:cb:3c] Instantiate 
profile default (pf::Portal::ProfileFactory::_from_profile)
Jan 30 14:30:48 httpd.portal(2790) INFO: [mac:unknown] Instantiate profile 
default (pf::Portal::ProfileFactory::_from_profile)
Jan 30 14:30:48 httpd.portal(2790) INFO: [mac:cc:08:8d:c3:cb:3c] Instantiate 
profile default (pf::Portal::ProfileFactory::_from_profile)
Jan 30 14:30:48 httpd.portal(2790) INFO: [mac:cc:08:8d:c3:cb:3c] Instantiate 
profile default (pf::Portal::ProfileFactory::_from_profile)
Jan 30 14:30:48 httpd.portal(2790) INFO: [mac:cc:08:8d:c3:cb:3c] person 
yasir.mccarr...@edvn.net added (pf::person::person_add)
Jan 30 14:30:48 httpd.portal(2790) WARN: [mac:cc:08:8d:c3:cb:3c] modify of 
non-existent person yasir.mccarr...@edvn.net attempted - person added 
(pf::person::person_modify)
Jan 30 14:30:48 httpd.portal(2790) INFO: [mac:cc:08:8d:c3:cb:3c] new activation 
code successfully generated (pf::activation::create)
Jan 30 14:30:49 httpd.portal(2790) INFO: [mac:cc:08:8d:c3:cb:3c] Email sent to 
yasir.mccarr...@edvn.net (yaslabpf: Email activation required) 
(pf::activation::__ANON__)
Jan 30 14:30:49 httpd.portal(2790) INFO: [mac:cc:08:8d:c3:cb:3c] User 
yasir.mccarr...@edvn.net has authenticated on the portal. 
(Class::MOP::Class:::after)
Jan 30 14:30:49 httpd.portal(2790) INFO: [mac:cc:08:8d:c3:cb:3c] User 
yasir.mccarr...@edvn.net has authenticated on the portal. 
(Class::MOP::Class:::after)
Jan 30 14:30:49 httpd.portal(2790) WARN: [mac:cc:08:8d:c3:cb:3c] Calling match 
with empty/invalid rule class. Defaulting to 'authentication' 
(pf::authentication::match)
Jan 30 14:30:49 httpd.portal(2790) INFO: [mac:cc:08:8d:c3:cb:3c] Using sources 
email for matching (pf::authentication::match)
Jan 30 14:30:49 httpd.portal(2790) INFO: [mac:cc:08:8d:c3:cb:3c] Matched rule 
(catchall) in source email, returning actions. 
(pf::Authentication::Source::match)
Jan 30 14:30:49 httpd.portal(2790) INFO: [mac:cc:08:8d:c3:cb:3c] User 
yasir.mccarr...@edvn.net has authenticated on the portal. 
(Class::MOP::Class:::after)
Jan 30 14:30:49 httpd.portal(2790) WARN: [mac:cc:08:8d:c3:cb:3c] Calling match 
with empty/invalid rule class. Defaulting to