Hello Emil,
We have a pull request pending for that module, you can find it here:
https://github.com/inverse-inc/packetfence/pull/1990
<https://github.com/inverse-inc/packetfence/pull/1990>
Let me know if you need any help.
Thanks,
Ludovic Zammit
[email protected] <mailto:[email protected]> :: +1.514.447.4918 (x145) ::
www.inverse.ca <http://www.inverse.ca/>
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu <http://www.sogo.nu/>)
and PacketFence (http://packetfence.org <http://packetfence.org/>)
> Le 27 janv. 2017 à 08:34, Emil Persson <[email protected]> a écrit :
>
> Hi users,
>
> I´m trying to setup PF together with a Ruckus SmartZone in an L3 out-of-band
> approach. My PF is behind a NAT firewall and when I redirect my wireless
> clients to the PF external IP the clients get to the Portal page with an
> error message saying "Your computer was not found in the packetFence
> database." and I can see at the bottom of the page "MAC 0" so my guess is
> that PF does not receive the mac of the client.
> In the logs it looks like PF is trying to do a ip2mac matching but since this
> is L3 the mac2ip would not work. Ruckus SmartZone sends the client mac in the
> url when redirecting to the external captive portal(PF).
> How do I tell PF to look for the mac in the url? I went through
> lib/pf/Switch/Ruckus.pm and it looks like the functionality is in there:
>
> sub parseExternalPortalRequest {
> my ( $self, $r, $req ) = @_;
> my $logger = $self->logger;
>
> # Using a hash to contain external portal parameters
> my %params = ();
>
> %params = (
> switch_id => $req->param('sip'),
> client_mac => clean_mac($req->param('client_mac')),
> client_ip => defined($req->param('uip')) ? $req->param('uip') :
> undef,
> ssid => $req->param('ssid'),
> redirect_url => $req->param('url'),
> );
>
> return \%params;
> }
>
> The documentation regarding Ruckus is explicit to Ruckus ZoneDirector and not
> SmartZone.
>
> I need some help with either documentation regarding PF with Ruckus SmartZone
> or some pointers in this specific case.
>
> Thanks in advance!
>
> Regards,
> Emil Persson
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org <http://slashdot.org/>!
> http://sdm.link/slashdot_______________________________________________
> <http://sdm.link/slashdot_______________________________________________>
> PacketFence-users mailing list
> [email protected]
> <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
> <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
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users