×

EdgeSwitch - Privacy

Overview

This article specifies what data is shared with Ubiquiti via the automatic stability issues reporting.

Table of Contents

  1. Introduction
  2. Sample Data Export

Introduction

Back to Top

Ubiquiti’s goal is to improve products intelligently, by tracking and prioritizing the most common errors and analyzing device usage scenarios. Issue Reporting enables the team to fix issues quickly and improve product design by having a better understanding of real customers’ use cases. With that in mind, the data shared with the developer team is limited to information and configuration which doesn’t have personal character. That is why all IP addresses, MAC addresses, SSIDs and any unnecessary information is omitted from the reported data. No sensitive configuration files nor memory content that could contain private data is disclosed during the crash report. Please see an example of a real set of reported data in the section below.

Reporting of the stability issues is always disabled by default. When enabled, it can be turned off at any time in the Device Reporting section of the System Settings.

Sample Data Export

Back to Top

The crash report example below is from a real case and is shown unencrypted to reveal the data that is being sent. Please note that in reality, all this data is sent encrypted.

=> Send header, 241 bytes (0xf1)
0000: POST /api/v1/core-dump HTTP/1.1
0021: Host: crash.ubncloud.com
003b: User-Agent: curl/7.65.3-DEV
0058: Accept: text/plain
006c: Content-Length: 10570
0083: Content-Type: multipart/form-data; boundary=--------------------
00c3: ----4ae8a92fb24b42a7
00d9: Expect: 100-continue
00ef:
<= Recv SSL data, 5 bytes (0x5)
0000: ....1
== Info: Mark bundle as not supporting multiuse
<= Recv header, 23 bytes (0x17)
0000: HTTP/1.1 100 Continue
=> Send SSL data, 5 bytes (0x5)
0000: ...)b
=> Send data, 10570 bytes (0x294a)
0000: --------------------------4ae8a92fb24b42a7
002c: Content-Disposition: form-data; name="device_id"
005e:
0060: 776e647e4bf5f44c6e9f15545f725e99
0082: --------------------------4ae8a92fb24b42a7
00ae: Content-Disposition: form-data; name="bomrev"
00dd:
00df: 2846-4
00e7: --------------------------4ae8a92fb24b42a7
0113: Content-Disposition: form-data; name="model"
0141:
0143: UBNT_ES10XP
014f: --------------------------4ae8a92fb24b42a7
017b: Content-Disposition: form-data; name="version"
01ab:
01ad: 1.2.0-beta.1
01bb: --------------------------4ae8a92fb24b42a7
01e7: Content-Disposition: form-data; name="system_time"
021b:
021d: 2020-01-04T18:04:21
0232: --------------------------4ae8a92fb24b42a7
025e: Content-Disposition: form-data; name="kernel_version"
0295:
0297: 3.18.24
02a0: --------------------------4ae8a92fb24b42a7
02cc: Content-Disposition: form-data; name="architecture"
0301:
0303: mips
0309: --------------------------4ae8a92fb24b42a7
0335: Content-Disposition: form-data; name="load_average"
036a:
036c: 1.31 1.00 0.77
037c: --------------------------4ae8a92fb24b42a7
03a8: Content-Disposition: form-data; name="df"
03d3:
03d5: Filesystem 1K-blocks Used Available Use% Mounted
0415: on./dev/loop0 4096 4096 0 100% /sqfs
0455: ./dev/mtdblock3 1024 220 804 21% /mnt./d
0495: ev/mtdblock4 1024 204 820 20% /mntlog
04d4: --------------------------4ae8a92fb24b42a7
0500: Content-Disposition: form-data; name="free"
052d:
052f: total used free shared buffers.Mem:
056f: 126276 63188 63088 2348 2560
05af: .-/+ buffers: 60628 65648.Swap: 0
05ef: 0 0
060b: --------------------------4ae8a92fb24b42a7
0637: Content-Disposition: form-data; name="ps"
0662:
0664: PID USER VSZ STAT COMMAND. 1 root 1252 S init.
06a4: 2 root 0 SW [kthreadd]. 3 root 0 SW [k
06e4: softirqd/0]. 4 root 0 SW [kworker/0:0]. 5 root
0724: 0 SW< [kworker/0:0H]. 6 root 0 SW [kworker/
0764: u2:0]. 7 root 0 SW< [khelper]. 8 root 0 S
07a4: W< [writeback]. 9 root 0 SW< [bioset]. 10 root
07e4: 0 SW< [kblockd]. 11 root 0 SW [kworker/0:1].
0824: 12 root 0 SW [kswapd0]. 13 root 0 SW [kw
0864: orker/u2:1]. 20 root 0 SW< [ipv6_addrconf]. 21 root
08a4: 0 SW< [deferwq]. 34 root 0 SW< [loop0]. 4
08e4: 0 root 0 SWN [jffs2_gcd_mtd3]. 43 root 0 SWN
0924: [jffs2_gcd_mtd4]. 58 root 0 SW< [waMon 500]. 59 ro
0964: ot 0 SW< [waMon 1000]. 76 root 0 SW< [LinkMo
09a4: nIsrThrea]. 77 root 0 SW< [Port Monitor Th]. 78 roo
09e4: t 0 SW< [Limit Learn Han]. 79 root 0 SW< [L2
0a24: Monitor]. 80 root 0 SW< [PSECURE Thread]. 81 root
0a64: 0 SW< [Rsv ACL Rate Ch]. 82 root 0 SW< [ACL
0aa4: Shutdown Th]. 83 root 0 SW< [Borad Monitor T]. 88 r
0ae4: oot 0 SW< [Voice VLAN Time]. 91 root 0 SW< [
0b24: Surveillance VL]. 94 root 0 SW< [GVRP RX Thread]. 9
0b64: 7 root 0 SW< [STP RX Thread]. 98 root 0 SW<
0ba4: [MSTP FSM Thread]. 99 root 0 SW< [MSTP Routine Th].
0be4: 100 root 0 SW< [MSTP Tick Threa]. 104 root 0 S
0c24: W< [AUTHMGR EAPOL R]. 107 root 0 SW< [LACP RX Thread]
0c64: . 110 root 0 SW< [IGMP RX Thread]. 111 root 0
0ca4: SW< [MLD RX Thread]. 114 root 0 SW< [ISG Thread]. 1
0ce4: 17 root 0 SW< [DHCP RL Thread]. 120 root 0 SW<
0d24: [ARP RL Thread]. 123 root 0 SW< [LLDP RX Thread]. 1
0d64: 24 root 0 SW< [TX Thread]. 125 root 0 SW< [Ti
0da4: mer Thread]. 128 root 0 SW< [UDLD RX Thread]. 129 roo
0de4: t 0 SW< [UDLD Tick Threa]. 152 root 9576 S ksi
0e24: d. 357 root 2384 S syslogd. 358 root 2380 S sy
0e64: slogd. 367 root 888 S inetd. 368 root 7388 S
0ea4: polld. 369 root 7368 S timed. 371 root 1240 S
0ee4: klogd. 444 root 1252 S crond. 447 root 1260 S
0f24: /bin/sh. 448 root 9248 S /bin/udapi-bridge -w -g -l - -
0f64: x -. 452 root 7536 S /bin/ubnt-discovery. 467 root
0fa4: 9700 S {exe} /bin/udapi-bridge -w -g -l - -x -. 2537 root
0fe4: 10072 S /bin/udapi-server. 2862 root 1276 S {crash
1024: -handler.s} /bin/sh --nocli /usr/bin/crash-handler.sh app-crash
1064: udapi-server 2537 11 !sqfs!bin!udap. 2903 root 1248 R ps
10a4: w
10a8: --------------------------4ae8a92fb24b42a7
10d4: Content-Disposition: form-data; name="uptime"
1103:
1105: 324277.66
1110: --------------------------4ae8a92fb24b42a7
113c: Content-Disposition: form-data; name="cmd"
1168:
116a: udapi-server
1178: --------------------------4ae8a92fb24b42a7
11a4: Content-Disposition: form-data; name="cmd_fullpath"
11d9:
11db: !sqfs!bin!udapi-server
11f3: --------------------------4ae8a92fb24b42a7
121f: Content-Disposition: form-data; name="cmd_envvars"
1253:
1255: HOME=/.TERM=vt102.PATH=/sbin:/usr/sbin:/bin:/usr/bin.SHELL=/bin/
1295: sh.USER=root
12a3: --------------------------4ae8a92fb24b42a7
12cf: Content-Disposition: form-data; name="cmdline_params"
1306:
1308: /bin/udapi-server
131b: --------------------------4ae8a92fb24b42a7
1347: Content-Disposition: form-data; name="signal"
1376:
1378: 11
137c: --------------------------4ae8a92fb24b42a7
13a8: Content-Disposition: form-data; name="file_descriptors"
13e1:
13e3: dr-x------ 2 0 Jan 4 18:04 ..dr-xr-xr-x 7
1423: 0 Jan 4 18:04 ...lrwx------ 1 64 Jan 4 18:04 0 -> /
1463: dev/null.lrwx------ 1 64 Jan 4 18:04 1 -> /dev/null.l
14a3: rwx------ 1 64 Jan 4 18:04 2 -> /dev/null.lrwx------
14e3: 1 64 Jan 4 18:04 3 -> socket:[562791].lrwx------ 1
1523: 64 Jan 4 18:04 4 -> socket:[562793]
1551: --------------------------4ae8a92fb24b42a7
157d: Content-Disposition: form-data; name="memory_map"
15b0:
15b2: 00400000-00467000 r-xp 00000000 07:00 36 /sqfs/bin/udapi
15f2: -server.00477000-00478000 rw-p 00067000 07:00 36 /sqfs/b
1632: in/udapi-server.00478000-00483000 rwxp 00000000 00:00 0
1672: [heap].77418000-77419000 ---p 00000000 00:00 0 .77419000-776180
16b2: 00 rw-p 00000000 00:00 0 [stack:2538].77618000-7775a000
16f2: rw-s 00000000 00:04 0 /SYSVffffffff (deleted).7775b000
1732: -7775e000 r-xp 00000000 00:01 221 /lib/libdl-0.9.33.so.77
1772: 75e000-7776d000 ---p 00000000 00:00 0 .7776d000-7776e000 r--p 00
17b2: 002000 00:01 221 /lib/libdl-0.9.33.so.7776e000-7776f000 r
17f2: w-p 00003000 00:01 221 /lib/libdl-0.9.33.so.7776f000-7778
1832: 6000 r-xp 00000000 00:01 226 /lib/libgcc_s.so.1.77786000-
1872: 77795000 ---p 00000000 00:00 0 .77795000-77796000 rw-p 00016000
18b2: 00:01 226 /lib/libgcc_s.so.1.77796000-77797000 r-xp 00000
18f2: 000 00:01 251 /lib/libubacktrace-0.9.33.so.77797000-777a7
1932: 000 ---p 00000000 00:00 0 .777a7000-777a8000 rw-p 00001000 00:01
1972: 251 /lib/libubacktrace-0.9.33.so.777a8000-77815000 r-xp
19b2: 00000000 00:01 247 /lib/libuClibc-0.9.33.so.77815000-7782
19f2: 4000 ---p 00000000 00:00 0 .77824000-77825000 r--p 0006c000 00:0
1a32: 1 247 /lib/libuClibc-0.9.33.so.77825000-77826000 rw-p 000
1a72: 6d000 00:01 247 /lib/libuClibc-0.9.33.so.77826000-7782c00
1ab2: 0 rw-p 00000000 00:00 0 .7782c000-77843000 r-xp 00000000 00:01 2
1af2: 27 /lib/libm-0.9.33.so.77843000-77852000 ---p 00000000 00
1b32: :00 0 .77852000-77853000 rw-p 00016000 00:01 227 /lib/lib
1b72: m-0.9.33.so.77853000-77865000 r-xp 00000000 00:01 233 /li
1bb2: b/libpthread-0.9.33.so.77865000-77874000 ---p 00000000 00:00 0 .
1bf2: 77874000-77875000 r--p 00011000 00:01 233 /lib/libpthread
1c32: -0.9.33.so.77875000-77876000 rw-p 00012000 00:01 233 /lib
1c72: /libpthread-0.9.33.so.77876000-77878000 rw-p 00000000 00:00 0 .7
1cb2: 7878000-77a25000 r-xp 00000000 07:00 53 /sqfs/lib/libcry
1cf2: pto.so.1.0.0.77a25000-77a35000 ---p 00000000 00:00 0 .77a35000-7
1d32: 7a4d000 rw-p 001ad000 07:00 53 /sqfs/lib/libcrypto.so.1.
1d72: 0.0.77a4d000-77a50000 rw-p 00000000 00:00 0 .77a50000-77a56000 r
1db2: -xp 00000000 00:01 218 /lib/libcrypt-0.9.33.so.77a56000-7
1df2: 7a65000 ---p 00000000 00:00 0 .77a65000-77a66000 rw-p 00005000 0
1e32: 0:01 218 /lib/libcrypt-0.9.33.so.77a66000-77a77000 rw-p 0
1e72: 0000000 00:00 0 .77a77000-77acd000 r-xp 00000000 07:00 52
1eb2: /sqfs/lib/libssl.so.1.0.0.77acd000-77add000 ---p 00000000 00:0
1ef2: 0 0 .77add000-77ae3000 rw-p 00056000 07:00 52 /sqfs/lib/
1f32: libssl.so.1.0.0.77ae3000-77ae7000 r-xp 00000000 07:00 63
1f72: /sqfs/lib/libradius.so.0.0.77ae7000-77af7000 ---p 00000000 00:0
1fb2: 0 0 .77af7000-77af8000 rw-p 00004000 07:00 63 /sqfs/lib/
1ff2: libradius.so.0.0.77af8000-77aff000 r-xp 00000000 07:00 61
2032: /sqfs/lib/libtacplus.so.0.2.77aff000-77b0e000 ---p 00000000 00
2072: :00 0 .77b0e000-77b0f000 rw-p 00006000 07:00 61 /sqfs/li
20b2: b/libtacplus.so.0.2.77b0f000-77b12000 r-xp 00000000 07:00 62
20f2: /sqfs/lib/libcustom.so.0.0.77b12000-77b21000 ---p 00000000
2132: 00:00 0 .77b21000-77b22000 rw-p 00002000 07:00 62 /sqfs/
2172: lib/libcustom.so.0.0.77b22000-77b34000 r-xp 00000000 07:00 56
21b2: /sqfs/lib/libvty.so.0.0.77b34000-77b44000 ---p 00000000 00
21f2: :00 0 .77b44000-77b45000 rw-p 00012000 07:00 56 /sqfs/li
2232: b/libvty.so.0.0.77b45000-77c0f000 r-xp 00000000 07:00 58
2272: /sqfs/lib/libclicmd.so.0.0.77c0f000-77c1e000 ---p 00000000 00:0
22b2: 0 0 .77c1e000-77c26000 rw-p 000c9000 07:00 58 /sqfs/lib/
22f2: libclicmd.so.0.0.77c26000-77c2b000 r-xp 00000000 07:00 57
2332: /sqfs/lib/libcmd.so.0.0.77c2b000-77c3a000 ---p 00000000 00:00
2372: 0 .77c3a000-77c3b000 rw-p 00004000 07:00 57 /sqfs/lib/li
23b2: bcmd.so.0.0.77c3b000-77c49000 r-xp 00000000 07:00 54 /sq
23f2: fs/lib/libfds.so.0.0.77c49000-77c58000 ---p 00000000 00:00 0 .77
2432: c58000-77c59000 rw-p 0000d000 07:00 54 /sqfs/lib/libfds.
2472: so.0.0.77c59000-77c5b000 r-xp 00000000 07:00 60 /sqfs/li
24b2: b/libcfgtbl.so.0.0.77c5b000-77c6a000 ---p 00000000 00:00 0 .77c6
24f2: a000-77c6b000 rw-p 00001000 07:00 60 /sqfs/lib/libcfgtbl
2532: .so.0.0.77c6b000-77c88000 r-xp 00000000 07:00 59 /sqfs/l
2572: ib/libcfg.so.0.0.77c88000-77c97000 ---p 00000000 00:00 0 .77c970
25b2: 00-77c98000 rw-p 0001c000 07:00 59 /sqfs/lib/libcfg.so.0
25f2: .0.77c98000-77d33000 r-xp 00000000 07:00 55 /sqfs/lib/li
2632: bsal.so.0.0.77d33000-77d43000 ---p 00000000 00:00 0 .77d43000-77
2672: d4b000 rw-p 0009b000 07:00 55 /sqfs/lib/libsal.so.0.0.77
26b2: d4b000-77d4c000 rw-p 00000000 00:00 0 .77d4c000-77d53000 r-xp 00
26f2: 000000 00:01 212 /lib/ld-uClibc-0.9.33.so.77d5e000-77d5f0
2732: 00 r--s 00000000 00:01 156 /dev/defdb.77d60000-77d62000 r
2772: w-p 00000000 00:00 0 .77d62000-77d63000 r--p 00006000 00:01 212
27b2: /lib/ld-uClibc-0.9.33.so.77d63000-77d64000 rw-p 00007000
27f2: 00:01 212 /lib/ld-uClibc-0.9.33.so.77d64000-77d65000 rw-p
2832: 00000000 00:00 0 .7fb3a000-7fb5b000 rwxp 00000000 00:00 0
2872: [stack].7fff7000-7fff8000 r-xp 00000000 00:00 0 [vd
28b2: so]
28b7: --------------------------4ae8a92fb24b42a7
28e3: Content-Disposition: form-data; name="crash_log"
2915:
2917: xxx
291c: --------------------------4ae8a92fb24b42a7--
== Info: We are completely uploaded and fine
<= Recv SSL data, 5 bytes (0x5)
0000: .....
== Info: Mark bundle as not supporting multiuse
<= Recv header, 17 bytes (0x11)
0000: HTTP/1.1 200 OK
<= Recv header, 31 bytes (0x1f)
0000: Server: nginx/1.14.0 (Ubuntu)
<= Recv header, 37 bytes (0x25)
0000: Date: Mon, 17 Feb 2020 10:10:34 GMT
<= Recv header, 41 bytes (0x29)
0000: Content-Type: text/plain; charset=utf-8
<= Recv header, 19 bytes (0x13)
0000: Content-Length: 2
<= Recv header, 24 bytes (0x18)
0000: Connection: keep-alive
<= Recv header, 25 bytes (0x19)
0000: cache-control: no-cache
<= Recv header, 2 bytes (0x2)
0000:
<= Recv data, 2 bytes (0x2)
0000: OK

Apart from the crash reports, devices also report their basic feature usage statistics and system health metrics periodically. Just like the crash reports, no sensitive information is present in these reports. See an example of such report content below:

{
  "coredumps": {
    "total": 0
  },
  "device": {
    "identifier": "fd4c72822cc72f77366bd107d9b9781c",
    "bom": "2608-7",
    "family": "esx",
    "fwVersion": "1.2.0-beta.1",
    "fwMeta": "ES.rtl838x.v1.2.0-beta.1.0.200211.1432",
    "fwStage": "testing",
    "model": "ES-10XP"
  },
  "interfaces": {
    "link": {
      "connectedCount": 4,
      "interfaces10M": 0,
      "interfaces100M": 0,
      "interfaces1G": 4,
      "interfaces10G": 0
    },
    "poe": {
      "count": 8,
      "enabledCount": 1,
      "enabled24V": 1
    },
    "sfp": {
      "count": 2,
      "insertedCount": 2
    },
    "count": 10
  },
  "network": {
    "config": {
      "ipv6Enabled": false
    },
    "interfaces": {
      "loadBalancing": 0
    },
    "switching": {
      "jumboFrames": false,
      "stpEnabled": true,
      "stpMode": "RSTP",
      "trunkUndefinedVLANs": false,
      "vlanCount": 2
    }
  },
  "reporter": {
    "schema": "0.1.0",
    "version": "0.1.0"
  },
  "services": {
    "discoveryEnabled": true,
    "firewallEnabled": true,
    "httpEnabled": true,
    "httpsEnabled": true,
    "ntpEnabled": false,
    "qosEnabled": false,
    "snmpEnabled": false,
    "sshEnabled": true,
    "syslogRemoteEnabled": false,
    "unmsConnected": true,
    "unmsEnabled": true
  },
  "system": {
    "loadAvg15": 0.690000,
    "memUsedKB": 36888,
    "memUsage": 29,
    "rebootReason": "user",
    "uptime": 500767
  },
  "meta": {
    "reason": "periodic"
  }
}
Was this article helpful?
4 out of 6 found this helpful
Can't find what you're looking for?
Visit our worldwide community of Ubiquiti experts for more answers
Visit the Ubiquiti Community
Can't find what you're looking for?