remove dos style newlines
This commit is contained in:
180
conf/ac.conf
180
conf/ac.conf
@ -1,90 +1,90 @@
|
||||
# AC configuration file
|
||||
|
||||
version = "1.0";
|
||||
|
||||
application: {
|
||||
standalone = true;
|
||||
|
||||
name = "ac 1";
|
||||
|
||||
binding = [
|
||||
"802.11"
|
||||
];
|
||||
|
||||
descriptor: {
|
||||
maxstations = 20;
|
||||
maxwtp = 10;
|
||||
|
||||
security: {
|
||||
presharedkey = false;
|
||||
x509 = false;
|
||||
};
|
||||
|
||||
rmacfiled: {
|
||||
supported = false;
|
||||
};
|
||||
|
||||
dtlspolicy: {
|
||||
cleardatachannel = true;
|
||||
dtlsdatachannel = true;
|
||||
};
|
||||
|
||||
info = (
|
||||
{ idvendor = 12345; type = "hardware"; value = "1.0"; },
|
||||
{ idvendor = 33457; type = "software"; value = "2.0"; }
|
||||
);
|
||||
};
|
||||
|
||||
ecn = "limited";
|
||||
|
||||
timer: {
|
||||
discovery = 20;
|
||||
echorequest = 30;
|
||||
decrypterrorreport = 120;
|
||||
idletimeout = 320;
|
||||
};
|
||||
|
||||
wtpfallback = true;
|
||||
|
||||
dtls: {
|
||||
enable = true;
|
||||
|
||||
type = "x509";
|
||||
|
||||
presharedkey: {
|
||||
hint = "esempio";
|
||||
identity = "prova";
|
||||
pskkey = "123456";
|
||||
};
|
||||
|
||||
x509: {
|
||||
calist = "/etc/capwap/ca.crt";
|
||||
certificate = "/etc/capwap/ac.crt";
|
||||
privatekey = "/etc/capwap/ac.key";
|
||||
};
|
||||
};
|
||||
|
||||
network: {
|
||||
#binding = "eth1";
|
||||
#listen = "";
|
||||
transport = "udp";
|
||||
mtu = 1400;
|
||||
};
|
||||
};
|
||||
|
||||
backend: {
|
||||
id = "1";
|
||||
version = "1.0";
|
||||
server: (
|
||||
{ url = "http://127.0.0.1/csoap.php"; }
|
||||
#{ url = "https://127.0.0.1/csoap.php"; x509: { calist = "/etc/capwap/casoap.crt"; certificate = "/etc/capwap/clientsoap.crt"; privatekey = "/etc/capwap/clientsoap.key"; }; }
|
||||
);
|
||||
};
|
||||
|
||||
logging: {
|
||||
enable = true;
|
||||
level = "debug";
|
||||
output = (
|
||||
{ mode = "stdout"; }
|
||||
);
|
||||
};
|
||||
# AC configuration file
|
||||
|
||||
version = "1.0";
|
||||
|
||||
application: {
|
||||
standalone = true;
|
||||
|
||||
name = "ac 1";
|
||||
|
||||
binding = [
|
||||
"802.11"
|
||||
];
|
||||
|
||||
descriptor: {
|
||||
maxstations = 20;
|
||||
maxwtp = 10;
|
||||
|
||||
security: {
|
||||
presharedkey = false;
|
||||
x509 = false;
|
||||
};
|
||||
|
||||
rmacfiled: {
|
||||
supported = false;
|
||||
};
|
||||
|
||||
dtlspolicy: {
|
||||
cleardatachannel = true;
|
||||
dtlsdatachannel = true;
|
||||
};
|
||||
|
||||
info = (
|
||||
{ idvendor = 12345; type = "hardware"; value = "1.0"; },
|
||||
{ idvendor = 33457; type = "software"; value = "2.0"; }
|
||||
);
|
||||
};
|
||||
|
||||
ecn = "limited";
|
||||
|
||||
timer: {
|
||||
discovery = 20;
|
||||
echorequest = 30;
|
||||
decrypterrorreport = 120;
|
||||
idletimeout = 320;
|
||||
};
|
||||
|
||||
wtpfallback = true;
|
||||
|
||||
dtls: {
|
||||
enable = true;
|
||||
|
||||
type = "x509";
|
||||
|
||||
presharedkey: {
|
||||
hint = "esempio";
|
||||
identity = "prova";
|
||||
pskkey = "123456";
|
||||
};
|
||||
|
||||
x509: {
|
||||
calist = "/etc/capwap/ca.crt";
|
||||
certificate = "/etc/capwap/ac.crt";
|
||||
privatekey = "/etc/capwap/ac.key";
|
||||
};
|
||||
};
|
||||
|
||||
network: {
|
||||
#binding = "eth1";
|
||||
#listen = "";
|
||||
transport = "udp";
|
||||
mtu = 1400;
|
||||
};
|
||||
};
|
||||
|
||||
backend: {
|
||||
id = "1";
|
||||
version = "1.0";
|
||||
server: (
|
||||
{ url = "http://127.0.0.1/csoap.php"; }
|
||||
#{ url = "https://127.0.0.1/csoap.php"; x509: { calist = "/etc/capwap/casoap.crt"; certificate = "/etc/capwap/clientsoap.crt"; privatekey = "/etc/capwap/clientsoap.key"; }; }
|
||||
);
|
||||
};
|
||||
|
||||
logging: {
|
||||
enable = true;
|
||||
level = "debug";
|
||||
output = (
|
||||
{ mode = "stdout"; }
|
||||
);
|
||||
};
|
||||
|
294
conf/wtp.conf
294
conf/wtp.conf
@ -1,147 +1,147 @@
|
||||
# WTP configuration file
|
||||
|
||||
version = "1.0";
|
||||
|
||||
application: {
|
||||
standalone = true;
|
||||
|
||||
name = "wtp 1";
|
||||
|
||||
location = "Ufficio";
|
||||
|
||||
binding = "802.11";
|
||||
|
||||
tunnelmode: {
|
||||
nativeframe = false;
|
||||
ethframe = false;
|
||||
localbridging = true;
|
||||
};
|
||||
|
||||
mactype = "localmac";
|
||||
|
||||
boardinfo: {
|
||||
idvendor = 123456;
|
||||
|
||||
element = (
|
||||
{ name = "model"; value = "1.0"; },
|
||||
{ name = "serial"; value = "2.0"; },
|
||||
{ name = "id"; value = "3.0"; },
|
||||
{ name = "revision"; value = "4.0"; },
|
||||
{ name = "macaddress"; type = "interface"; value = "eth1"; }
|
||||
);
|
||||
};
|
||||
|
||||
descriptor: {
|
||||
encryption = [
|
||||
"802.11_AES",
|
||||
"802.11_TKIP"
|
||||
];
|
||||
|
||||
info = (
|
||||
{ idvendor = 23456; type = "hardware"; value = "abcde"; },
|
||||
{ idvendor = 33457; type = "software"; value = "fghil"; },
|
||||
{ idvendor = 43458; type = "boot"; value = "mnopq"; },
|
||||
{ idvendor = 53459; type = "other"; value = "qwert"; }
|
||||
);
|
||||
};
|
||||
|
||||
ecn = "limited";
|
||||
|
||||
timer: {
|
||||
statistics = 120;
|
||||
};
|
||||
|
||||
dtls: {
|
||||
enable = true;
|
||||
|
||||
dtlspolicy: {
|
||||
cleardatachannel = true;
|
||||
dtlsdatachannel = true;
|
||||
};
|
||||
|
||||
type = "x509";
|
||||
|
||||
presharedkey: {
|
||||
identity = "prova";
|
||||
pskkey = "123456";
|
||||
};
|
||||
|
||||
x509: {
|
||||
calist = "/etc/capwap/ca.crt";
|
||||
certificate = "/etc/capwap/wtp.crt";
|
||||
privatekey = "/etc/capwap/wtp.key";
|
||||
};
|
||||
};
|
||||
|
||||
wlan: {
|
||||
prefix = "ap";
|
||||
};
|
||||
|
||||
radio = (
|
||||
{
|
||||
device = "phy0";
|
||||
enabled = true;
|
||||
driver = "nl80211";
|
||||
mode = "g";
|
||||
country = "IT";
|
||||
outdoor = false;
|
||||
rtsthreshold = 2347;
|
||||
shortretry = 7;
|
||||
longretry = 4;
|
||||
shortpreamble = true;
|
||||
fragmentationthreshold = 2346;
|
||||
txmsdulifetime = 512;
|
||||
rxmsdulifetime = 512;
|
||||
maxbssid = 1;
|
||||
bssprefixname = "ap";
|
||||
dtimperiod = 1;
|
||||
beaconperiod = 100;
|
||||
antenna = {
|
||||
diversity = false;
|
||||
combiner = "omni";
|
||||
selection = [ "internal" ];
|
||||
};
|
||||
multidomaincapability = {
|
||||
firstchannel = 1;
|
||||
numberchannels = 11;
|
||||
maxtxpower = 100;
|
||||
};
|
||||
supportedrates = [
|
||||
12, 18, 24, 36, 48, 72, 96, 108
|
||||
];
|
||||
txpower = {
|
||||
current = 100;
|
||||
supported = [ 100 ];
|
||||
};
|
||||
}
|
||||
);
|
||||
|
||||
network: {
|
||||
#binding = "eth1";
|
||||
#listen = "";
|
||||
#port = 0;
|
||||
transport = "udp";
|
||||
mtu = 1400;
|
||||
};
|
||||
|
||||
acdiscovery: {
|
||||
search = true;
|
||||
host = [
|
||||
"127.0.0.1"
|
||||
];
|
||||
};
|
||||
|
||||
acprefered: {
|
||||
host = [
|
||||
"127.0.0.1"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
logging: {
|
||||
enable = true;
|
||||
level = "debug";
|
||||
output = (
|
||||
{ mode = "stdout"; }
|
||||
);
|
||||
};
|
||||
# WTP configuration file
|
||||
|
||||
version = "1.0";
|
||||
|
||||
application: {
|
||||
standalone = true;
|
||||
|
||||
name = "wtp 1";
|
||||
|
||||
location = "Ufficio";
|
||||
|
||||
binding = "802.11";
|
||||
|
||||
tunnelmode: {
|
||||
nativeframe = false;
|
||||
ethframe = false;
|
||||
localbridging = true;
|
||||
};
|
||||
|
||||
mactype = "localmac";
|
||||
|
||||
boardinfo: {
|
||||
idvendor = 123456;
|
||||
|
||||
element = (
|
||||
{ name = "model"; value = "1.0"; },
|
||||
{ name = "serial"; value = "2.0"; },
|
||||
{ name = "id"; value = "3.0"; },
|
||||
{ name = "revision"; value = "4.0"; },
|
||||
{ name = "macaddress"; type = "interface"; value = "eth1"; }
|
||||
);
|
||||
};
|
||||
|
||||
descriptor: {
|
||||
encryption = [
|
||||
"802.11_AES",
|
||||
"802.11_TKIP"
|
||||
];
|
||||
|
||||
info = (
|
||||
{ idvendor = 23456; type = "hardware"; value = "abcde"; },
|
||||
{ idvendor = 33457; type = "software"; value = "fghil"; },
|
||||
{ idvendor = 43458; type = "boot"; value = "mnopq"; },
|
||||
{ idvendor = 53459; type = "other"; value = "qwert"; }
|
||||
);
|
||||
};
|
||||
|
||||
ecn = "limited";
|
||||
|
||||
timer: {
|
||||
statistics = 120;
|
||||
};
|
||||
|
||||
dtls: {
|
||||
enable = true;
|
||||
|
||||
dtlspolicy: {
|
||||
cleardatachannel = true;
|
||||
dtlsdatachannel = true;
|
||||
};
|
||||
|
||||
type = "x509";
|
||||
|
||||
presharedkey: {
|
||||
identity = "prova";
|
||||
pskkey = "123456";
|
||||
};
|
||||
|
||||
x509: {
|
||||
calist = "/etc/capwap/ca.crt";
|
||||
certificate = "/etc/capwap/wtp.crt";
|
||||
privatekey = "/etc/capwap/wtp.key";
|
||||
};
|
||||
};
|
||||
|
||||
wlan: {
|
||||
prefix = "ap";
|
||||
};
|
||||
|
||||
radio = (
|
||||
{
|
||||
device = "phy0";
|
||||
enabled = true;
|
||||
driver = "nl80211";
|
||||
mode = "g";
|
||||
country = "IT";
|
||||
outdoor = false;
|
||||
rtsthreshold = 2347;
|
||||
shortretry = 7;
|
||||
longretry = 4;
|
||||
shortpreamble = true;
|
||||
fragmentationthreshold = 2346;
|
||||
txmsdulifetime = 512;
|
||||
rxmsdulifetime = 512;
|
||||
maxbssid = 1;
|
||||
bssprefixname = "ap";
|
||||
dtimperiod = 1;
|
||||
beaconperiod = 100;
|
||||
antenna = {
|
||||
diversity = false;
|
||||
combiner = "omni";
|
||||
selection = [ "internal" ];
|
||||
};
|
||||
multidomaincapability = {
|
||||
firstchannel = 1;
|
||||
numberchannels = 11;
|
||||
maxtxpower = 100;
|
||||
};
|
||||
supportedrates = [
|
||||
12, 18, 24, 36, 48, 72, 96, 108
|
||||
];
|
||||
txpower = {
|
||||
current = 100;
|
||||
supported = [ 100 ];
|
||||
};
|
||||
}
|
||||
);
|
||||
|
||||
network: {
|
||||
#binding = "eth1";
|
||||
#listen = "";
|
||||
#port = 0;
|
||||
transport = "udp";
|
||||
mtu = 1400;
|
||||
};
|
||||
|
||||
acdiscovery: {
|
||||
search = true;
|
||||
host = [
|
||||
"127.0.0.1"
|
||||
];
|
||||
};
|
||||
|
||||
acprefered: {
|
||||
host = [
|
||||
"127.0.0.1"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
logging: {
|
||||
enable = true;
|
||||
level = "debug";
|
||||
output = (
|
||||
{ mode = "stdout"; }
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user