-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a3e091a
commit 0da83ba
Showing
4 changed files
with
59 additions
and
11 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
etlers/ArubaSyslog/src/main/scala/cn/edu/sjtu/omnilab/odh/spark/CleanWIFILog.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package cn.edu.sjtu.omnilab.odh.spark | ||
|
||
|
||
case class CleanWIFILog(MAC: String, time: Long, code: Int, payload: String) // payload as AP or IP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# WifiSyslog | ||
|
||
This repo contains cleansed data for Aruba Wifi Syslog, at SJTU. | ||
|
||
## Data format | ||
|
||
Four fields are contained in the cleansed data: | ||
|
||
* `User ID`: string, recorded as device MAC address. | ||
|
||
* `Timestamp`: long, recorded as the time (in milliseconds) when the logging action is triggered by Aruba system. | ||
|
||
* `Action code number`: int, the formated code for different actions triggered by Aruba system. | ||
|
||
- 0: AuthRequest | ||
- 1: Deauth | ||
- 2: AssocRequest | ||
- 3: Disassoc | ||
- 4: UserAuth | ||
- 5: IPAllocation | ||
- 6: IPRecycle | ||
|
||
* `Payload`: string, contains three types of payloads for different actions: | ||
|
||
- `Associated AP name`: action 0-3, when the logging action is triggered. AP name format: `BuildName`-`BuildNum`-`Floor`-`APNum`, where the BuildNum may be absent for small buildings. | ||
|
||
- `User account name`: action 4, the identify of JAccount. | ||
|
||
- `Allocated IP address`: action 5-6, the allocated IP address for current user. IP addresses are reused by Aruba systems. The same IP address MIGHT be reallocated to another user when that address is unused for about 30 mins to a hour. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters