2019 Ubiquiti EdgeRouter 6P

Purchased new in 2019 to replace my ISP supplied ONT (optical network terminal). The SFP module in the ONT works perfectly in the EdgeRouter. The function of this machine is to route packets, do NAT, firewall, serve recursive DNS (with blacklists), serve DHCP, and be a multicast proxy for IPTV.

Contents

2019
2021
2022

2019

EdgeOS

This is the stock operating system that came with the device. It was only booted long enough to capture this output.

dmesg
Linux version 3.10.107-UBNT (root@1e6643e35170) (gcc version 4.7.0 (Cavium Inc. Version: SDK_BUILD build 51) ) #1 SMP Mon Oct 1 13:07:43 UTC 2018
CVMSEG size: 3 cache lines (384 bytes)
Cavium Inc. SDK-3.1.2
bootconsole [early0] enabled
CPU revision is: 000d9602 (Cavium Octeon III)
FPU revision is: 00739600
Checking for the multiply/shift bug... no.
Checking for the daddiu bug... no.
Determined physical RAM map:
 memory: 0000000000400000 @ 0000000000400000 (usable)
 memory: 00000000005c1000 @ 0000000000800000 (kernel data and code)
 memory: 000000000004f000 @ 0000000000dc1000 (usable after init)
 memory: 0000000000123000 @ 0000000000e10000 (kernel data and code)
 memory: 000000000ec00000 @ 0000000001100000 (usable)
 memory: 000000002ec00000 @ 0000000020300000 (usable)
Using passed Device Tree <800000000fdb0900>.
software IO TLB [mem 0x01f19000-0x01f59000] (0MB) mapped at [8000000001f19000-8000000001f58fff]
Zone ranges:
  DMA32    [mem 0x00400000-0xefffffff]
  Normal   empty
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x00400000-0x00f32fff]
  node   0: [mem 0x01100000-0x0fcfffff]
  node   0: [mem 0x20300000-0x4eefffff]
On node 0 totalpages: 254771
  DMA32 zone: 3484 pages used for memmap
  DMA32 zone: 0 pages reserved
  DMA32 zone: 254771 pages, LIFO batch:31
Primary instruction cache 78kB, virtually tagged, 39 way, 16 sets, linesize 128 bytes.
Primary data cache 32kB, 32-way, 8 sets, linesize 128 bytes.
Secondary unified cache 512kB, 4-way, 1024 sets, linesize 128 bytes.
PERCPU: Embedded 10 pages/cpu @8000000001f72000 s11008 r8192 d21760 u40960
pcpu-alloc: s11008 r8192 d21760 u40960 alloc=10*4096
pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
Built 1 zonelists in Node order, mobility grouping on.  Total pages: 251287
Policy zone: DMA32
Kernel command line:  root=/dev/mmcblk0p2 rootdelay=10 rw rootsqimg=squashfs.img rootsqwdir=w mtdparts=spi32766.0:1024k(boot0),3072k(boot1),64k(eeprom) console=ttyS0,115200
PID hash table entries: 4096 (order: 3, 32768 bytes)
Memory: 996780k/1011712k available (4183k kernel code, 14932k reserved, 1706k data, 316k init)
Hierarchical RCU implementation.
	Additional per-CPU info printed with stalls.
NR_IRQS:767 nr_irqs:767 9
CIB interrupt controller probed: 800107000000e000 23 bits
CIB interrupt controller probed: 800107000000e200 12 bits
CIB interrupt controller probed: 800107000000e400 6 bits
CIB interrupt controller probed: 800107000000ec00 15 bits
CIB interrupt controller probed: 800107000000e600 4 bits
CIB interrupt controller probed: 800107000000e800 11 bits
CIB interrupt controller probed: 800107000000e900 11 bits
Calibrating delay loop (skipped) preset value.. 2000.00 BogoMIPS (lpj=10000000)
pid_max: default: 32768 minimum: 501
Security Framework initialized
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
Mount-cache hash table entries: 256
Checking for the daddi bug... no.
SMP: Booting CPU01 (CoreId  1)...
CPU revision is: 000d9602 (Cavium Octeon III)
FPU revision is: 00739600
SMP: Booting CPU02 (CoreId  2)...
CPU revision is: 000d9602 (Cavium Octeon III)
FPU revision is: 00739600
SMP: Booting CPU03 (CoreId  3)...
CPU revision is: 000d9602 (Cavium Octeon III)
FPU revision is: 00739600
Brought up 4 CPUs
NET: Registered protocol family 16
Installing handlers for error tree at: ffffffff80d3dda0
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
Switching to clocksource OCTEON_CVMCOUNT
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 5, 131072 bytes)
TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
octeon_pci_console: Initialized.
HugeTLB registered 2 MB page size, pre-allocated 0 pages
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering unionfs 2.5.13 (for 3.10.34)
aufs 3.10.x-20141215
msgmni has been set to 1946
io scheduler noop registered
io scheduler cfq registered (default)
octeon_gpio 1070000000800.gpio-controller: OCTEON GPIO: base = 0
Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
1180000000800.serial: ttyS0 at MMIO 0x1180000000800 (irq = 34) is a OCTEON
console [ttyS0] enabled, bootconsole disabled
1180000000c00.serial: ttyS1 at MMIO 0x1180000000c00 (irq = 35) is a OCTEON
loop: module loaded
m25p80 spi32766.0: mx25l6405d (8192 Kbytes)
3 cmdlinepart partitions found on MTD device spi32766.0
Creating 3 MTD partitions on "spi32766.0":
0x000000000000-0x000000100000 : "boot0"
0x000000100000-0x000000400000 : "boot1"
0x000000400000-0x000000410000 : "eeprom"
spi-octeon 1070000001000.spi: OCTEON SPI bus driver
libphy: mdio-octeon: probed
mdio-octeon 1180000001800.mdio: Version 1.0
libphy: mdio-octeon: probed
mdio-octeon 1180000001900.mdio: Version 1.0
octeon-ethernet 2.0
Node 0 Interface 0 has 4 ports (QSGMII)
Node 0 Interface 1 has 4 ports (QSGMII)
Node 0 Interface 2 has 4 ports (NPI)
Node 0 Interface 3 has 4 ports (LOOP)
Node 0 Interface 4 has 1 ports (AGL)
platform 1180068000000.uctl: clocks initialized.
platform 1180069000000.uctl: clocks initialized.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
xhci-hcd xhci-hcd.0.auto: irq 25, io mem 0x1680000000000
xHCI xhci_add_endpoint called for root hub
xHCI xhci_check_bandwidth called for root hub
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
xHCI xhci_add_endpoint called for root hub
xHCI xhci_check_bandwidth called for root hub
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
xhci-hcd xhci-hcd.1.auto: irq 26, io mem 0x1690000000000
xHCI xhci_add_endpoint called for root hub
xHCI xhci_check_bandwidth called for root hub
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
xHCI xhci_add_endpoint called for root hub
xHCI xhci_check_bandwidth called for root hub
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
i2c-octeon 1180000001000.i2c: version 2.6
i2c-octeon 1180000001200.i2c: version 2.6
octeon_wdt: Initial granularity 5 Sec
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
TCP: cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
Waiting 10sec before mounting root device...
mmc0: BKOPS_EN bit is not set
mmc0: new high speed DDR MMC card at address 0001
mmcblk0: mmc0:0001 MMC4GB 3.64 GiB 
mmcblk0boot0: mmc0:0001 MMC4GB partition 1 2.00 MiB
mmcblk0boot1: mmc0:0001 MMC4GB partition 2 2.00 MiB
mmcblk0rpmb: mmc0:0001 MMC4GB partition 3 512 KiB
 mmcblk0: p1 p2
 mmcblk0boot1: unknown partition table
 mmcblk0boot0: unknown partition table
kjournald starting.  Commit interval 3 seconds
EXT3-fs (mmcblk0p2): using internal journal
EXT3-fs (mmcblk0p2): mounted filesystem with journal data mode
VFS: Mounted root (aufs filesystem) on device 0:11.
Freeing unused kernel memory: 316K (ffffffff80dc1000 - ffffffff80e10000)
ubnt_platform: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
octeon_rng octeon_rng: Octeon Random Number Generator
Init chrdev /dev/detector with major 190
tdts: tcp_conn_max = 32000

tdts: tcp_conn_timeout = 300 sec

IMQ driver loaded successfully. (numdevs = 1, numqueues = 1)
	Hooking IMQ after NAT on PREROUTING.
	Hooking IMQ before NAT on POSTROUTING.
NET: Registered protocol family 10
eth0: 1000 Mbps Full duplex, port 1
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
eth1: Link down
IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
eth2: Link down
IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
eth3: Link down
IPv6: ADDRCONF(NETDEV_UP): eth3: link is not ready
eth4: Link down
IPv6: ADDRCONF(NETDEV_UP): eth4: link is not ready
eth5: Link down
IPv6: ADDRCONF(NETDEV_UP): eth5: link is not ready
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Netfilter messages via NETLINK v0.30.
ip_set: protocol 6
ip_tables: (C) 2000-2006 Netfilter Core Team
warning: process `nsm' used the deprecated sysctl system call with 3.5.58.
Changing the IPv4 forwarding cache table size from 8192 to 16384
	

2021

OpenBSD 7.0

dmesg
[ using 759768 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2021 OpenBSD. All rights reserved.  https://www.OpenBSD.org

OpenBSD 7.0 (GENERIC.MP) #698: Thu Sep 30 21:07:33 MDT 2021
    deraadt@octeon.openbsd.org:/usr/src/sys/arch/octeon/compile/GENERIC.MP
real mem = 1073741824 (1024MB)
avail mem = 1035436032 (987MB)
random: good seed from bootblocks
mainbus0 at root: board 20300 rev 1.23, model cavium,ubnt_e300
cpu0 at mainbus0: CN70xx/CN71xx CPU rev 0.2 1000 MHz, CN70xx/CN71xx FPU rev 0.0
cpu0: cache L1-I 78KB 39 way D 32KB 32 way, L2 1024KB 8 way
cpu1 at mainbus0: CN70xx/CN71xx CPU rev 0.2 1000 MHz, CN70xx/CN71xx FPU rev 0.0
cpu1: cache L1-I 78KB 39 way D 32KB 32 way, L2 1024KB 8 way
cpu2 at mainbus0: CN70xx/CN71xx CPU rev 0.2 1000 MHz, CN70xx/CN71xx FPU rev 0.0
cpu2: cache L1-I 78KB 39 way D 32KB 32 way, L2 1024KB 8 way
cpu3 at mainbus0: CN70xx/CN71xx CPU rev 0.2 1000 MHz, CN70xx/CN71xx FPU rev 0.0
cpu3: cache L1-I 78KB 39 way D 32KB 32 way, L2 1024KB 8 way
clock0 at mainbus0: int 5
octcrypto0 at mainbus0
iobus0 at mainbus0
simplebus0 at iobus0: "soc"
"bootbus" at simplebus0 not configured
octciu0 at simplebus0
octcib0 at simplebus0: max-bits 23
octcib1 at simplebus0: max-bits 12
octcib2 at simplebus0: max-bits 6
octcib3 at simplebus0: max-bits 15
octcib4 at simplebus0: max-bits 4
octcib5 at simplebus0: max-bits 11
octcib6 at simplebus0: max-bits 11
octgpio0 at simplebus0: 20 pins, xbit 16
octsmi0 at simplebus0
octsmi1 at simplebus0
octpip0 at simplebus0
octgmx0 at octpip0 interface 0
cnmac0 at octgmx0: port 0 SGMII, address 74:83:c2:7a:a0:88
ukphy0 at cnmac0 phy 4: Generic IEEE 802.3u media interface, rev. 2: OUI 0x0001c1, model 0x000c
cnmac1 at octgmx0: port 1 SGMII, address 74:83:c2:7a:a0:89
ukphy1 at cnmac1 phy 5: Generic IEEE 802.3u media interface, rev. 2: OUI 0x0001c1, model 0x000c
cnmac2 at octgmx0: port 2 SGMII, address 74:83:c2:7a:a0:8a
ukphy2 at cnmac2 phy 6: Generic IEEE 802.3u media interface, rev. 2: OUI 0x0001c1, model 0x000c
cnmac3 at octgmx0: port 3 SGMII, address 74:83:c2:7a:a0:8b
ukphy3 at cnmac3 phy 7: Generic IEEE 802.3u media interface, rev. 2: OUI 0x0001c1, model 0x000c
octgmx1 at octpip0 interface 1
cnmac4 at octgmx1: port 16 SGMII, address 74:83:c2:7a:a0:8c
ukphy4 at cnmac4 phy 8: Generic IEEE 802.3u media interface, rev. 0: OUI 0x0001c1, model 0x0027
cnmac5 at octgmx1: port 17 SGMII, address 74:83:c2:7a:a0:8d
ukphy5 at cnmac5 phy 9: Generic IEEE 802.3u media interface, rev. 0: OUI 0x0001c1, model 0x0027
octsctl0 at simplebus0: disabled
octxctl0 at simplebus0: DWC3 rev 0x250a
xhci0 at octxctl0, xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr 1
octxctl1 at simplebus0: DWC3 rev 0x250a
xhci1 at octxctl1, xHCI 1.0
usb1 at xhci1: USB revision 3.0
uhub1 at usb1 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr 1
"i2c" at simplebus0 not configured
"i2c" at simplebus0 not configured
com0 at simplebus0: ns16550a, 64 byte fifo
com0: console
com1 at simplebus0: ns16550a, 64 byte fifo
com1: probed fifo depth: 0 bytes
octmmc0 at simplebus0
sdmmc0 at octmmc0: 8-bit, mmc high-speed
"spi" at simplebus0 not configured
"ocla0" at simplebus0 not configured
"dma-engine" at simplebus0 not configured
"dma-engine" at simplebus0 not configured
octrng0 at iobus0 base 0x1400000000000 irq 0
octpcie0 at iobus0: 3 ports
octpcie0 port 0: link timeout
octpcie0 port 1: reset timeout
octpcie0 port 2: reset timeout
scsibus0 at sdmmc0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <Kingston, MMC4GB, 0000> removable
sd0: 3728MB, 512 bytes/sector, 7634944 sectors
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (ceac3b1aaad9d726.a) swap on sd0b dump on sd0b
WARNING: CHECK AND RESET THE DATE!
	

2022

OpenBSD 7.1

dmesg
[ using 755624 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2022 OpenBSD. All rights reserved.  https://www.OpenBSD.org

OpenBSD 7.1 (GENERIC.MP) #905: Tue Apr 12 02:23:11 MDT 2022
    deraadt@octeon.openbsd.org:/usr/src/sys/arch/octeon/compile/GENERIC.MP
real mem = 1073741824 (1024MB)
avail mem = 1035534336 (987MB)
random: good seed from bootblocks
mainbus0 at root: board 20300 rev 1.23, model cavium,ubnt_e300
cpu0 at mainbus0: CN70xx/CN71xx CPU rev 0.2 1000 MHz, CN70xx/CN71xx FPU rev 0.0
cpu0: cache L1-I 78KB 39 way D 32KB 32 way, L2 1024KB 8 way
cpu1 at mainbus0: CN70xx/CN71xx CPU rev 0.2 1000 MHz, CN70xx/CN71xx FPU rev 0.0
cpu1: cache L1-I 78KB 39 way D 32KB 32 way, L2 1024KB 8 way
cpu2 at mainbus0: CN70xx/CN71xx CPU rev 0.2 1000 MHz, CN70xx/CN71xx FPU rev 0.0
cpu2: cache L1-I 78KB 39 way D 32KB 32 way, L2 1024KB 8 way
cpu3 at mainbus0: CN70xx/CN71xx CPU rev 0.2 1000 MHz, CN70xx/CN71xx FPU rev 0.0
cpu3: cache L1-I 78KB 39 way D 32KB 32 way, L2 1024KB 8 way
clock0 at mainbus0: int 5
octcrypto0 at mainbus0
iobus0 at mainbus0
simplebus0 at iobus0: "soc"
"bootbus" at simplebus0 not configured
octciu0 at simplebus0
octcib0 at simplebus0: max-bits 23
octcib1 at simplebus0: max-bits 12
octcib2 at simplebus0: max-bits 6
octcib3 at simplebus0: max-bits 15
octcib4 at simplebus0: max-bits 4
octcib5 at simplebus0: max-bits 11
octcib6 at simplebus0: max-bits 11
octgpio0 at simplebus0: 20 pins, xbit 16
octsmi0 at simplebus0
octsmi1 at simplebus0
octpip0 at simplebus0
octgmx0 at octpip0 interface 0
cnmac0 at octgmx0: port 0 SGMII, address 74:83:c2:7a:a0:88
ukphy0 at cnmac0 phy 4: Generic IEEE 802.3u media interface, rev. 2: OUI 0x0001c1, model 0x000c
cnmac1 at octgmx0: port 1 SGMII, address 74:83:c2:7a:a0:89
ukphy1 at cnmac1 phy 5: Generic IEEE 802.3u media interface, rev. 2: OUI 0x0001c1, model 0x000c
cnmac2 at octgmx0: port 2 SGMII, address 74:83:c2:7a:a0:8a
ukphy2 at cnmac2 phy 6: Generic IEEE 802.3u media interface, rev. 2: OUI 0x0001c1, model 0x000c
cnmac3 at octgmx0: port 3 SGMII, address 74:83:c2:7a:a0:8b
ukphy3 at cnmac3 phy 7: Generic IEEE 802.3u media interface, rev. 2: OUI 0x0001c1, model 0x000c
octgmx1 at octpip0 interface 1
cnmac4 at octgmx1: port 16 SGMII, address 74:83:c2:7a:a0:8c
ukphy4 at cnmac4 phy 8: Generic IEEE 802.3u media interface, rev. 0: OUI 0x0001c1, model 0x0027
cnmac5 at octgmx1: port 17 SGMII, address 74:83:c2:7a:a0:8d
ukphy5 at cnmac5 phy 9: Generic IEEE 802.3u media interface, rev. 0: OUI 0x0001c1, model 0x0027
octsctl0 at simplebus0: disabled
octxctl0 at simplebus0: DWC3 rev 0x250a
xhci0 at octxctl0, xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr 1
octxctl1 at simplebus0: DWC3 rev 0x250a
xhci1 at octxctl1, xHCI 1.0
usb1 at xhci1: USB revision 3.0
uhub1 at usb1 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr 1
"i2c" at simplebus0 not configured
"i2c" at simplebus0 not configured
com0 at simplebus0: ns16550a, 64 byte fifo
com0: console
com1 at simplebus0: ns16550a, 64 byte fifo
com1: probed fifo depth: 0 bytes
octmmc0 at simplebus0
sdmmc0 at octmmc0: 8-bit, mmc high-speed
"spi" at simplebus0 not configured
"ocla0" at simplebus0 not configured
"dma-engine" at simplebus0 not configured
"dma-engine" at simplebus0 not configured
octrng0 at iobus0 base 0x1400000000000 irq 0
octpcie0 at iobus0: 3 ports
octpcie0 port 0: link timeout
octpcie0 port 1: reset timeout
octpcie0 port 2: reset timeout
scsibus0 at sdmmc0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <Kingston, MMC4GB, 0000> removable
sd0: 3728MB, 512 bytes/sector, 7634944 sectors
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (ceac3b1aaad9d726.a) swap on sd0b dump on sd0b
WARNING: CHECK AND RESET THE DATE!