freewtp/conf/ac.conf

95 lines
1.5 KiB
Plaintext
Raw Normal View History

2013-05-27 23:10:49 +02:00
# AC configuration file
version = "1.0";
application: {
standalone = true;
2013-06-16 12:09:57 +02:00
2013-05-27 23:10:49 +02:00
name = "ac 1";
binding = [
"802.11"
];
descriptor: {
maxstations = 20;
maxwtp = 10;
security: {
presharedkey = false;
x509 = false;
};
2013-08-06 22:15:19 +02:00
2013-05-27 23:10:49 +02:00
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";
2013-08-06 22:15:19 +02:00
identity = "prova";
pskkey = "123456";
2013-05-27 23:10:49 +02:00
};
2013-08-06 22:15:19 +02:00
2013-05-27 23:10:49 +02:00
x509: {
calist = "/etc/capwap/ca.crt";
certificate = "/etc/capwap/ac.crt";
privatekey = "/etc/capwap/ac.key";
privatekeypassword = "";
2013-08-06 22:15:19 +02:00
};
2013-05-27 23:10:49 +02:00
};
network: {
#binding = "eth1";
mtu = 1500;
transport = "udp";
ipv4 = true;
ipv6 = false;
ipdualstack = true;
};
};
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"; privatekeypassword = ""; }; }
);
};
2013-05-27 23:10:49 +02:00
logging: {
enable = true;
level = "debug";
output = (
{ mode = "stdout"; }
);
};