Skip to content

Commit

Permalink
Add log number 522036
Browse files Browse the repository at this point in the history
  • Loading branch information
caesar0301 committed Dec 24, 2015
1 parent 82f3bc7 commit 8f2c1fd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public static String filterData(String rawLogEntry) throws IOException {
final int[] CODE_USERAUTH = {522008, 522042, 522038}; // Successful and failed
final int[] CODE_USRSTATUS = {522005, 522006, 522026}; // User Entry added, deleted, and user miss
final int[] CODE_USERROAM = {500010};
final int[] CODE_NEW_DEV = {522035};
final int[] CODE_NEW_DEV = {522035, 522036};

// Regex for timestamp in e.g. "Dec 14 15:45:05 2015"
final String regTime = "(\\w+\\s+\\d+\\s+(?:\\d{1,2}:){2}\\d{1,2}(?:\\s+\\d{4})?)";
Expand Down Expand Up @@ -114,7 +114,7 @@ public static String filterData(String rawLogEntry) throws IOException {
regTime, regUserMac, regIPAddr, regApName, regRoamInfo));

// time: group(1), usermac: group(2), bssid: group(3), essid: group(4), apname: group(5)
final Pattern REG_NEW_DEV = Pattern.compile(String.format("%s(?:.*)MAC=%s Station UP: BSSID=%s ESSID=%s (?:.*)AP-name=%s",
final Pattern REG_NEW_DEV = Pattern.compile(String.format("%s(?:.*)MAC=%s Station (?:UP|DN): BSSID=%s ESSID=%s (?:.*)AP-name=%s",
regTime, regUserMac, regUserMac, regApName, regApName));


Expand Down
14 changes: 14 additions & 0 deletions etlers/WifiToolkit/test522035
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,17 @@
1449958049343 <142>Dec 13 05:59:22 2015 SJTU-Local3 authmgr[2480]: <522035> <INFO> <SJTU-Local3 10.190.3.1> MAC=84:8e:0c:9c:93:42 Station UP: BSSID=6c:f3:7f:36:3d:e8 ESSID=SJTU VLAN=1003 AP-name=XYY-S-1F-03
1449958051744 <142>Dec 13 05:48:48 2015 SJTU-Local5 authmgr[2434]: <522035> <INFO> <SJTU-Local5 10.190.5.1> MAC=b8:03:05:80:ae:08 Station UP: BSSID=d8:c7:c8:29:04:80 ESSID=SJTU VLAN=1005 AP-name=ZNDW-3F-05
1449958055264 <142>Dec 13 05:59:28 2015 SJTU-Local3 authmgr[2480]: <522035> <INFO> <SJTU-Local3 10.190.3.1> MAC=74:81:14:b6:28:6c Station UP: BSSID=6c:f3:7f:37:b4:c1 ESSID=SJTU VLAN=1003 AP-name=XTSWYJY-C-4F-04
1449942617543 <142>Dec 13 01:31:35 2015 SJTU-Local5 authmgr[2434]: <522036> <INFO> <SJTU-Local5 10.190.5.1> MAC=8c:34:fd:db:ba:87 Station DN: BSSID=6c:f3:7f:36:43:83 ESSID=CMCC VLAN=3130 AP-name=GMTYC-3F-07
1449942623943 <142>Dec 13 01:42:17 2015 SJTU-Local3 authmgr[2480]: <522036> <INFO> <SJTU-Local3 10.190.3.1> MAC=80:ea:96:5b:5f:71 Station DN: BSSID=6c:f3:7f:36:5a:b1 ESSID=SJTU-Web VLAN=1003 AP-name=XH-XJL-2F-06
1449942627977 <142>Dec 13 01:31:45 2015 SJTU-Local5 authmgr[2434]: <522036> <INFO> <SJTU-Local5 10.190.5.1> MAC=24:df:6a:85:34:9c Station DN: BSSID=6c:f3:7f:55:ed:81 ESSID=SJTU VLAN=1005 AP-name=DEST-1F-06
1449942630831 <142>Dec 13 01:42:24 2015 SJTU-Local3 authmgr[2480]: <522036> <INFO> <SJTU-Local3 10.190.3.1> MAC=80:ea:96:5b:5f:71 Station DN: BSSID=6c:f3:7f:36:5a:b1 ESSID=SJTU-Web VLAN=1003 AP-name=XH-XJL-2F-06
1449942633219 <142>Dec 13 01:42:26 2015 SJTU-Local3 authmgr[2480]: <522036> <INFO> <SJTU-Local3 10.190.3.1> MAC=24:a2:e1:2c:ca:04 Station DN: BSSID=6c:f3:7f:5a:cf:50 ESSID=SJTU VLAN=1003 AP-name=HLGC-1F-01
1449942636037 <142>Dec 13 01:31:53 2015 SJTU-Local5 authmgr[2434]: <522036> <INFO> <SJTU-Local5 10.190.5.1> MAC=3c:91:57:c9:5a:9f Station DN: BSSID=d8:c7:c8:26:b0:f5 ESSID=ChinaUnicom VLAN=3434 AP-name=XNTYG-2F-01
1449942638473 <142>Dec 13 01:42:32 2015 SJTU-Local3 authmgr[2480]: <522036> <INFO> <SJTU-Local3 10.190.3.1> MAC=80:ea:96:5b:5f:71 Station DN: BSSID=6c:f3:7f:36:5a:b1 ESSID=SJTU-Web VLAN=1003 AP-name=XH-XJL-2F-06
1449942644256 <142>Dec 13 01:33:48 2015 SJTU-Local2 authmgr[2421]: <522036> <INFO> <SJTU-Local2 10.190.2.1> MAC=1c:ab:a7:c5:0e:7d Station DN: BSSID=d8:c7:c8:26:e3:70 ESSID=SJTU VLAN=1002 AP-name=JXDLXY-B-E-3F-05
1449942645257 <142>Dec 13 01:42:38 2015 SJTU-Local3 authmgr[2480]: <522036> <INFO> <SJTU-Local3 10.190.3.1> MAC=80:ea:96:5b:5f:71 Station DN: BSSID=6c:f3:7f:36:5a:b1 ESSID=SJTU-Web VLAN=1003 AP-name=XH-XJL-2F-06
1449942652142 <142>Dec 13 01:42:45 2015 SJTU-Local3 authmgr[2480]: <522036> <INFO> <SJTU-Local3 10.190.3.1> MAC=80:ea:96:5b:5f:71 Station DN: BSSID=6c:f3:7f:36:5a:b1 ESSID=SJTU-Web VLAN=1003 AP-name=XH-XJL-2F-06
1449942653996 <142>Dec 13 01:42:47 2015 SJTU-Local3 authmgr[2480]: <522036> <INFO> <SJTU-Local3 10.190.3.1> MAC=80:56:f2:14:02:31 Station DN: BSSID=6c:f3:7f:36:35:40 ESSID=SJTU VLAN=1003 AP-name=LXZL-2F-09
1449942658676 <142>Dec 13 01:42:52 2015 SJTU-Local3 authmgr[2480]: <522036> <INFO> <SJTU-Local3 10.190.3.1> MAC=d0:5b:a8:1d:cc:5c Station DN: BSSID=d8:c7:c8:02:17:f0 ESSID=SJTU VLAN=1003 AP-name=MH-DSST-16#-OUT
1449942658872 <142>Dec 13 01:42:52 2015 SJTU-Local3 authmgr[2480]: <522036> <INFO> <SJTU-Local3 10.190.3.1> MAC=80:ea:96:5b:5f:71 Station DN: BSSID=6c:f3:7f:36:5a:b1 ESSID=SJTU-Web VLAN=1003 AP-name=XH-XJL-2F-06
1449942661132 <142>Dec 13 01:34:05 2015 SJTU-Local2 authmgr[2421]: <522036> <INFO> <SJTU-Local2 10.190.2.1> MAC=1c:ab:a7:c5:0e:7d Station DN: BSSID=d8:c7:c8:26:e3:78 ESSID=SJTU VLAN=1002 AP-name=JXDLXY-B-E-3F-05

0 comments on commit 8f2c1fd

Please sign in to comment.