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://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to