-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/cambium ap modules #3282
Conversation
|
||
Next, go to *Configure -> WLAN*, and click on *Add WLAN*. Give it the desired ID, and enter your SSID, default VLAN, and select *WPA2 Enterprise* for Security. | ||
|
||
image::docs/images/cambium-dot1x-basic.png[scaledwidth="100%",alt="Cambium WLAN Basic"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The image is missing.
lib/pf/Switch/Cambium.pm
Outdated
|
||
=head1 SYNOPSIS | ||
|
||
Implements a Cambium AP which supports 802.1x in wireless |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mac-auth and webauth
lib/pf/Switch/Cambium.pm
Outdated
sub supportsWirelessMacAuth { return $TRUE; } | ||
sub supportsExternalPortal { return $TRUE; } | ||
sub supportsWebFormRegistration { return $TRUE } | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sub inlineCapabilities { return ($MAC,$PORT); }
lib/pf/Switch/Cambium.pm
Outdated
synchronize_locationlog => $TRUE, | ||
); | ||
use Data::Dumper; | ||
$logger->info(Dumper(\%params)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
lib/pf/Switch/Cambium.pm
Outdated
|
||
sub parseExternalPortalRequest { | ||
my ( $self, $r, $req ) = @_; | ||
my $logger = $self->logger; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
lib/pf/Switch/Cambium.pm
Outdated
ssid => $req->param('ga_ssid'), | ||
synchronize_locationlog => $TRUE, | ||
); | ||
use Data::Dumper; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
lib/pf/Switch/Cambium.pm
Outdated
|
||
use pf::config qw( | ||
$MAC | ||
$SSID |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
useless
lib/pf/Switch/Cambium.pm
Outdated
use pf::config qw( | ||
$MAC | ||
$SSID | ||
$WIRELESS_MAC_AUTH |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
useless
lib/pf/Switch/Cambium.pm
Outdated
use warnings; | ||
|
||
use POSIX; | ||
use Try::Tiny; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
useless
lib/pf/Switch/Cambium.pm
Outdated
use strict; | ||
use warnings; | ||
|
||
use POSIX; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
useless
lib/pf/Switch/Cambium.pm
Outdated
$WIRELESS_MAC_AUTH | ||
); | ||
use pf::constants; | ||
use pf::node; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
useless
cnPilot E410 | ||
^^^^^^^^^^^^ | ||
|
||
802.1x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
802.1x -> 802.1X everywhere
|
||
image::docs/images/cambium-dot1x-basic.png[scaledwidth="100%",alt="Cambium WLAN Basic"] | ||
|
||
In the *Radius Server* tab, enter the management IP address of PacketFence (VIP in case of a cluster) and the Radius secret for Authentication and Accounting servers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Radius -> RADIUS
<script src="/content/autosubmit.js" type="text/javascript"></script> | ||
]; | ||
|
||
$logger->debug("Generated the following html form : ".$html_form); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO no, it can be usefull
Description
New Cambium AP module for 802.1x, MAC Auth and Web auth.
Added documentation
Impacts
Allows PF to use Cambium AP
Delete branch after merge
YES