config files added
FossilOrigin-Name: 0c8037fc04fdae2b3d57e07035a6895d7f2967f61a894cad81a678f6e28966ee
This commit is contained in:
parent
a4e775f1d3
commit
4dc60c5d86
240
src/ac/ac.conf
Normal file
240
src/ac/ac.conf
Normal file
@ -0,0 +1,240 @@
|
|||||||
|
#
|
||||||
|
# AC-Tube default config file
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
# ---------------------------------------------------
|
||||||
|
# General settings
|
||||||
|
# ---------------------------------------------------
|
||||||
|
|
||||||
|
# ac_name
|
||||||
|
# The ac name reported by AC-Tube
|
||||||
|
# If ommited ac_name is build from macaddress.
|
||||||
|
#
|
||||||
|
#Default: ac_name = Cisco80
|
||||||
|
ac_name = "CiscAc73"
|
||||||
|
|
||||||
|
# ac_id
|
||||||
|
# A unique ID for this AC
|
||||||
|
# If not specified, an id is build from macaddress.
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
# ac_id =
|
||||||
|
|
||||||
|
# hardware_version
|
||||||
|
# Hardware version for the AC
|
||||||
|
# If ommited, the hardware version is build from
|
||||||
|
# the underlying OS
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
# hardware_version =
|
||||||
|
|
||||||
|
# software_version
|
||||||
|
# Software version for this AC
|
||||||
|
# If not specified, the compiled in software version is used.
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
# software_version =
|
||||||
|
|
||||||
|
|
||||||
|
# cisco_hardware_version
|
||||||
|
# Hardware version sent, when AC operates in cisco-mode
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
hardware_version = .x01000001
|
||||||
|
|
||||||
|
# cisco_software_version
|
||||||
|
# Software version sent, when operating in cisco-mode
|
||||||
|
#
|
||||||
|
# If ommited, the controller sends the same software version
|
||||||
|
# to the WTP as the WTP has sent in discovery or join
|
||||||
|
# request.
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
# cisco_software_version =
|
||||||
|
|
||||||
|
|
||||||
|
# strict_capwap
|
||||||
|
#
|
||||||
|
# Strict CAPWAP protocol
|
||||||
|
# If set to YES, AC-Tube for example complains about any message
|
||||||
|
# with missing mandatory elements.
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
# strict_capwap = on
|
||||||
|
strict_capwap = off
|
||||||
|
|
||||||
|
# strict_headers
|
||||||
|
#
|
||||||
|
# If set to on, any malformed packets will be thrown away.
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
# strict_headers = on
|
||||||
|
|
||||||
|
|
||||||
|
# capwap_mode
|
||||||
|
#
|
||||||
|
# can be either "capwap" or "cipwap"
|
||||||
|
#
|
||||||
|
# If mode is set to "capwap", AC-Tube knows only to deal with *real* "CAPWAP"
|
||||||
|
# If mode is seto cipwap, AC-Tube tries to detec the connecting client. So
|
||||||
|
# a Cisco WTP has a chance to connect. For Cisco WPTs this works only in conjunction
|
||||||
|
# with strict_headers = 0
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
# capwap_mpode = capwap
|
||||||
|
#
|
||||||
|
|
||||||
|
# image_dir
|
||||||
|
# Directorie where firmware images are stored
|
||||||
|
#
|
||||||
|
# Default
|
||||||
|
# image_dir=/tftpboot
|
||||||
|
|
||||||
|
|
||||||
|
# use_loopback
|
||||||
|
#
|
||||||
|
# Let AC-Tube also listen on loopback interfaces in auto-detect mode.
|
||||||
|
# Turning this option on makes possibly only sense for some testing purpose.
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
# use_loopback = off
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# ---------------------------------------------------
|
||||||
|
# Network related
|
||||||
|
# ---------------------------------------------------
|
||||||
|
|
||||||
|
# ipv4
|
||||||
|
# Use IPv4 protocol
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
# ipv4=true
|
||||||
|
|
||||||
|
|
||||||
|
# ipv6
|
||||||
|
# Use IPv6 protocol
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
# ipv6=true
|
||||||
|
|
||||||
|
|
||||||
|
# listen - Listen addresses
|
||||||
|
# If ommited, AC-Tube tries to find listen addresses by itself.
|
||||||
|
#
|
||||||
|
# If set, the format for a listen address goes as follows:
|
||||||
|
# address:port/protocol
|
||||||
|
# Port or protocol can be ommited.
|
||||||
|
# Examples:
|
||||||
|
# listen = 10.0.3.1:5426/cawap # listens for capwap on 10.3.0.1 port 5426
|
||||||
|
# listen += 10.3.0.1:8426 # listens for capwap (default) on 10.3.0. port 8426
|
||||||
|
# listen += 10.3.0.1/lwapp # listens for lwapp on 10.3.0.1 port 12222(default)
|
||||||
|
# listen += [fe80::a00:27ff:fe6b:b8e3%em0]:5426/capwap # yes, its IPv6
|
||||||
|
#
|
||||||
|
# Currently as protocol only capwap is suppert
|
||||||
|
#
|
||||||
|
# Defalut:
|
||||||
|
#listen = 192.168.0.14
|
||||||
|
|
||||||
|
# broadcast_listen - Broadcast listen address
|
||||||
|
# If ommited, the boraadcast listen adresses a determined automatically
|
||||||
|
# Otherwise, for address syntax, see listen.
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
# broadcast_listen =
|
||||||
|
#
|
||||||
|
|
||||||
|
# use_loopback
|
||||||
|
# Include loopback interfaces if listen addresses are auto detected
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
# use_loopback = false
|
||||||
|
|
||||||
|
|
||||||
|
# ---------------------------------------------------
|
||||||
|
# SSL related stuff
|
||||||
|
# ---------------------------------------------------
|
||||||
|
|
||||||
|
# dtls_psk
|
||||||
|
# Specify a dtls pre-shared key
|
||||||
|
#
|
||||||
|
# Default: dtls_psk =
|
||||||
|
|
||||||
|
|
||||||
|
# ssl_key
|
||||||
|
# Certificate key file
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
ssl_key="../../ssl/certs/ac-cisco.key"
|
||||||
|
|
||||||
|
|
||||||
|
# ssl_key_pass
|
||||||
|
# Password to unlock key file
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
# ssl_key_pass =
|
||||||
|
|
||||||
|
|
||||||
|
# ssl_cert
|
||||||
|
# SSL certificate that will be sent to the client
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
ssl_cert="../../ssl/certs/ac-cisco.pem"
|
||||||
|
|
||||||
|
|
||||||
|
# dtls_verify_peer
|
||||||
|
# Verfify peer's certificate
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
# dtls_verify_peer=true
|
||||||
|
|
||||||
|
|
||||||
|
# dbg
|
||||||
|
# Set debug level
|
||||||
|
#
|
||||||
|
dbg = info # Show all kind of infos
|
||||||
|
dbg += msg_in # Incomming CAPWAP messages
|
||||||
|
dbg += msg_out # Outgoing CAPWAP messages
|
||||||
|
dbg += msg_err # Be verbose about capwap message errors like re-transmission
|
||||||
|
dbg += msg_dmp
|
||||||
|
dbg += elem_in # CAPWAP message elements
|
||||||
|
dbg += elem_out
|
||||||
|
dbg += subelem #
|
||||||
|
dbg += elem_err # Errors in message elements
|
||||||
|
dbg += elem_dmp # Print hex dump for capwap messages elements
|
||||||
|
dbg += rfc # Show warnings if CAPWAP messages don't conform to RFC
|
||||||
|
dbg += pkt_in # CAPWAP packets received
|
||||||
|
dbg += pkt_out # CAPWAP packets sent
|
||||||
|
dbg += pkt # CAPWAP packets both sent and received
|
||||||
|
dbg += pkt_dmp # Hex dump CAPWAP packets.
|
||||||
|
dbg += pkt_err # Show messages about malformed packets when detected
|
||||||
|
# dbg += dtls # Messages concerning DTLS
|
||||||
|
# dbg += dtls_detail # DTLS in more detail
|
||||||
|
# dbg += dtls_bio # DTLS BIO operations
|
||||||
|
# dbg += dtls_bio_dmp # HeXy dump data in BIO operations
|
||||||
|
dbg += warn # misc warnings
|
||||||
|
dbg += mod # Debugs specific to mod
|
||||||
|
dbg += cfg_dmp
|
||||||
|
dbg += all
|
||||||
|
#
|
||||||
|
# dbg += all # all of the above
|
||||||
|
# dbg += err # Same as dbg_err and pkt_err
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
# dbg=
|
||||||
|
|
||||||
|
# mods
|
||||||
|
# List of modsules to load. These modules asked from left to right, if theay can
|
||||||
|
# handle discovery or jon request messages. The module witch gibves a positive
|
||||||
|
# answer first will handle a connectio. So the ordering is important.
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
# mods = { capwap, capwap80211 }
|
||||||
|
#
|
||||||
|
|
||||||
|
#mods = { cisco, capwap }
|
||||||
|
mods = { capwap, capwap80211 }
|
||||||
|
#, capwap80211 }
|
||||||
|
|
||||||
|
mods_dir = ../../lib
|
22
src/ac/config.ktv
Normal file
22
src/ac/config.ktv
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
capwap/ac-descriptor/hardware/version:Bstr16: "ACTube 1.0"
|
||||||
|
capwap/ac-descriptor/hardware/vendor:Bastr16: 12346
|
||||||
|
capwap/ssl-cert:Bstr16: "/usr/local/etc/ssl/tube.ssl"
|
||||||
|
capwap/ssl-key:Bstr16: "/usr/local/etc/key"
|
||||||
|
ac-descriptor/stations:Word:05
|
||||||
|
ac-descriptor/station-limit:Word:6
|
||||||
|
ac-descriptor/active-wtps:Word:7
|
||||||
|
ac-descriptor/max-wtps:Word:8
|
||||||
|
|
||||||
|
ac-descriptor/software/version:Bstr16:.x090103
|
||||||
|
ac-descriptor/software/vendor:Dword:.1234
|
||||||
|
ac-descriptor/hardware/vendor:Dword:1234567
|
||||||
|
ac-descriptor/hardware/version:Bstr16:"1.7.3"
|
||||||
|
ac-name:Bstr16:"actubes name"
|
||||||
|
|
||||||
|
capwap-control-ip-address/address.0:IPAddress:192.168.0.1
|
||||||
|
capwap-control-ip-address/address.1:IPAddress:192.168.0.7
|
||||||
|
capwap-control-ip-address/address.2:IPAddress:2a00:c1a0:48c6:4a00:9965:1b6e:aca3:1398
|
||||||
|
capwap-control-ip-address/wtps.0:Word:13
|
||||||
|
capwap-control-ip-address/wtps.1:Word:11
|
||||||
|
capwap-control-ip-address/wtps.2:Word:113
|
||||||
|
|
12
src/cw/config.ktv
Normal file
12
src/cw/config.ktv
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#nice
|
||||||
|
|
||||||
|
wtp_startup/mod::"cisi'\"\nco\\"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
wtp_board_data:Dword:"1 2\n"
|
||||||
|
wtp_descriptor/hardware/vendor:Bstr16:"Lunix"
|
||||||
|
wtp_descriptor/hardware/version:Bstr16:.x1234
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user