Advertisement
RickJamesBish

openwrt

Aug 11th, 2021
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.19 KB | None | 0 0
  1. login as: root
  2. root@xxx.xxx.x.1's password:
  3.  
  4.  
  5. BusyBox v1.33.1 (2021-07-31 17:21:01 UTC) built-in shell (ash)
  6.  
  7. _______ ________ __
  8. | |.-----.-----.-----.| | | |.----.| |_
  9. | - || _ | -__| || | | || _|| _|
  10. |_______|| __|_____|__|__||________||__| |____|
  11. |__| W I R E L E S S F R E E D O M
  12. -----------------------------------------------------
  13. OpenWrt 21.02.0-rc4, r16256-2d5ee43dc6
  14. -----------------------------------------------------
  15. root@OpenWrt:~# ubus call system board; uci show network; uci show dhcp; uci sho
  16. w firewall; \
  17. > ip neigh show; ip address show; ip route show table all; ip rule show
  18. {
  19. "kernel": "5.4.137",
  20. "hostname": "OpenWrt",
  21. "system": "ARMv7 Processor rev 1 (v7l)",
  22. "model": "Linksys WRT1900ACS",
  23. "board_name": "linksys,wrt1900acs",
  24. "release": {
  25. "distribution": "OpenWrt",
  26. "version": "21.02.0-rc4",
  27. "revision": "r16256-2d5ee43dc6",
  28. "target": "mvebu/cortexa9",
  29. "description": "OpenWrt 21.02.0-rc4 r16256-2d5ee43dc6"
  30. }
  31. }
  32. network.loopback=interface
  33. network.loopback.device='lo'
  34. network.loopback.proto='static'
  35. network.loopback.ipaddr='xxx.0.0.1'
  36. network.loopback.netmask='255.0.0.0'
  37. network.globals=globals
  38. network.@device[0]=device
  39. network.@device[0].name='br-lan'
  40. network.@device[0].type='bridge'
  41. network.@device[0].ports='lan1' 'lan2' 'lan3' 'lan4'
  42. network.lan=interface
  43. network.lan.device='br-lan'
  44. network.lan.proto='static'
  45. network.lan.ipaddr='xxx.xxx.1.x'
  46. network.lan.netmask='255.255.255.0'
  47. network.lan.ip6assign='60'
  48. network.@device[1]=device
  49. network.@device[1].name='wan'
  50. network.@device[1].macaddr=''
  51. network.wan=interface
  52. network.wan.device='wan'
  53. network.wan.proto='dhcp'
  54. dhcp.@dnsmasq[0]=dnsmasq
  55. dhcp.@dnsmasq[0].domainneeded='1'
  56. dhcp.@dnsmasq[0].boguspriv='1'
  57. dhcp.@dnsmasq[0].filterwin2k='0'
  58. dhcp.@dnsmasq[0].localise_queries='1'
  59. dhcp.@dnsmasq[0].rebind_protection='1'
  60. dhcp.@dnsmasq[0].rebind_localhost='1'
  61. dhcp.@dnsmasq[0].local='/lan/'
  62. dhcp.@dnsmasq[0].domain='lan'
  63. dhcp.@dnsmasq[0].expandhosts='1'
  64. dhcp.@dnsmasq[0].nonegcache='0'
  65. dhcp.@dnsmasq[0].authoritative='1'
  66. dhcp.@dnsmasq[0].readethers='1'
  67. dhcp.@dnsmasq[0].leasefile='/tmp/dhcp.leases'
  68. dhcp.@dnsmasq[0].resolvfile='/tmp/resolv.conf.d/resolv.conf.auto'
  69. dhcp.@dnsmasq[0].nonwildcard='1'
  70. dhcp.@dnsmasq[0].localservice='1'
  71. dhcp.@dnsmasq[0].ednspacket_max='1232'
  72. dhcp.lan=dhcp
  73. dhcp.lan.interface='lan'
  74. dhcp.lan.start='100'
  75. dhcp.lan.limit='150'
  76. dhcp.lan.leasetime='12h'
  77. dhcp.lan.dhcpv4='server'
  78. dhcp.lan.ra_flags='none'
  79. dhcp.wan=dhcp
  80. dhcp.wan.interface='wan'
  81. dhcp.wan.ignore='1'
  82. dhcp.odhcpd=odhcpd
  83. dhcp.odhcpd.maindhcp='0'
  84. dhcp.odhcpd.leasefile='/tmp/hosts/odhcpd'
  85. dhcp.odhcpd.leasetrigger='/usr/sbin/odhcpd-update'
  86. dhcp.odhcpd.loglevel='4'
  87. dhcp.@domain[0]=domain
  88. dhcp.@domain[0].name='GhostAddress' {added this hostname myself to make it easier to spot in logs}
  89. dhcp.@domain[0].ip='192.168.0.34' {this is the IP that is unaccounted for}
  90. firewall.@defaults[0]=defaults
  91. firewall.@defaults[0].syn_flood='1'
  92. firewall.@defaults[0].input='ACCEPT'
  93. firewall.@defaults[0].output='ACCEPT'
  94. firewall.@defaults[0].forward='REJECT'
  95. firewall.@zone[0]=zone
  96. firewall.@zone[0].name='lan'
  97. firewall.@zone[0].input='ACCEPT'
  98. firewall.@zone[0].output='ACCEPT'
  99. firewall.@zone[0].forward='ACCEPT'
  100. firewall.@zone[0].network='lan'
  101. firewall.@zone[1]=zone
  102. firewall.@zone[1].name='wan'
  103. firewall.@zone[1].input='REJECT'
  104. firewall.@zone[1].output='ACCEPT'
  105. firewall.@zone[1].forward='REJECT'
  106. firewall.@zone[1].masq='1'
  107. firewall.@zone[1].mtu_fix='1'
  108. firewall.@zone[1].network='wan'
  109. firewall.@forwarding[0]=forwarding
  110. firewall.@forwarding[0].src='lan'
  111. firewall.@forwarding[0].dest='wan'
  112. firewall.@rule[0]=rule
  113. firewall.@rule[0].name='Allow-DHCP-Renew'
  114. firewall.@rule[0].src='wan'
  115. firewall.@rule[0].proto='udp'
  116. firewall.@rule[0].dest_port='xx'
  117. firewall.@rule[0].target='ACCEPT'
  118. firewall.@rule[0].family='ipv4'
  119. firewall.@rule[1]=rule
  120. firewall.@rule[1].name='Allow-Ping'
  121. firewall.@rule[1].src='wan'
  122. firewall.@rule[1].proto='icmp'
  123. firewall.@rule[1].icmp_type='echo-request'
  124. firewall.@rule[1].family='ipv4'
  125. firewall.@rule[1].target='ACCEPT'
  126. firewall.@rule[2]=rule
  127. firewall.@rule[2].name='Allow-IGMP'
  128. firewall.@rule[2].src='wan'
  129. firewall.@rule[2].proto='igmp'
  130. firewall.@rule[2].family='ipv4'
  131. firewall.@rule[2].target='ACCEPT'
  132. firewall.@rule[3]=rule
  133. firewall.@rule[3].name='Allow-DHCPv6'
  134. firewall.@rule[3].src='wan'
  135. firewall.@rule[3].proto='udp'
  136. firewall.@rule[3].src_ip='fc00::/6'
  137. firewall.@rule[3].dest_ip='fc00::/6'
  138. firewall.@rule[3].dest_port='546'
  139. firewall.@rule[3].family='ipv6'
  140. firewall.@rule[3].target='ACCEPT'
  141. firewall.@rule[4]=rule
  142. firewall.@rule[4].name='Allow-MLD'
  143. firewall.@rule[4].src='wan'
  144. firewall.@rule[4].proto='icmp'
  145. firewall.@rule[4].src_ip='fe80::/10'
  146. firewall.@rule[4].icmp_type='130/0' '131/0' '132/0' '143/0'
  147. firewall.@rule[4].family='ipv6'
  148. firewall.@rule[4].target='ACCEPT'
  149. firewall.@rule[5]=rule
  150. firewall.@rule[5].name='Allow-ICMPv6-Input'
  151. firewall.@rule[5].src='wan'
  152. firewall.@rule[5].proto='icmp'
  153. firewall.@rule[5].icmp_type='echo-request' 'echo-reply' 'destination-unreachable' 'packet-too-big' 'time-exceeded' 'bad-header' 'unknown-header-type' 'router-solicitation' 'neighbour-solicitation' 'router-advertisement' 'neighbour-advertisement'
  154. firewall.@rule[5].limit='1000/sec'
  155. firewall.@rule[5].family='ipv6'
  156. firewall.@rule[5].target='ACCEPT'
  157. firewall.@rule[6]=rule
  158. firewall.@rule[6].name='Allow-ICMPv6-Forward'
  159. firewall.@rule[6].src='wan'
  160. firewall.@rule[6].dest='*'
  161. firewall.@rule[6].proto='icmp'
  162. firewall.@rule[6].icmp_type='echo-request' 'echo-reply' 'destination-unreachable' 'packet-too-big' 'time-exceeded' 'bad-header' 'unknown-header-type'
  163. firewall.@rule[6].limit='1000/sec'
  164. firewall.@rule[6].family='ipv6'
  165. firewall.@rule[6].target='ACCEPT'
  166. firewall.@rule[7]=rule
  167. firewall.@rule[7].name='Allow-IPSec-ESP'
  168. firewall.@rule[7].src='wan'
  169. firewall.@rule[7].dest='lan'
  170. firewall.@rule[7].proto='esp'
  171. firewall.@rule[7].target='ACCEPT'
  172. firewall.@rule[8]=rule
  173. firewall.@rule[8].name='Allow-ISAKMP'
  174. firewall.@rule[8].src='wan'
  175. firewall.@rule[8].dest='lan'
  176. firewall.@rule[8].dest_port='500'
  177. firewall.@rule[8].proto='udp'
  178. firewall.@rule[8].target='ACCEPT'
  179. firewall.@rule[9]=rule
  180. firewall.@rule[9].name='Support-UDP-Traceroute'
  181. firewall.@rule[9].src='wan'
  182. firewall.@rule[9].dest_port='33434:33689'
  183. firewall.@rule[9].proto='udp'
  184. firewall.@rule[9].family='ipv4'
  185. firewall.@rule[9].target='REJECT'
  186. firewall.@include[0]=include
  187. firewall.@include[0].path='/etc/firewall.user'
  188. 192.168.0.1 dev wan lladdr ref 1 used 0/0/0 probes 1 REACHABLE
  189. 192.168.0.34 dev wan lladdr ref 1 used 0/0/0 probes 1 DELAY
  190. 192.168.1.195 dev br-lan lladdr ref 1 used 0/0/0 probes 1 REACHABLE
  191. 192.168.1.101 dev br-lan lladdr ref 1 used 0/0/0 probes 1 REACHABLE
  192. 192.168.1.190 dev br-lan lladdr ref 1 used 0/0/0 probes 1 DELAY
  193. fe80::b67c:9cff:xxxxx dev br-lan lladdr used 0/0/0 probes 0 STALE
  194. fe80::c2c5:22ff:xxxxx dev wan lladdr router used 0/0/0 probes 0 STALE
  195. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
  196. link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  197. inet 127.0.0.1/8 scope host lo
  198. valid_lft forever preferred_lft forever
  199. inet6 ::1/128 scope host
  200. valid_lft forever preferred_lft forever
  201. 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1508 qdisc mq state UP qlen 1024
  202. link/ether brd ff:ff:ff:ff:ff:ff
  203. inet6 fe80::c256:27ff:fecc:xxxxx scope link
  204. valid_lft forever preferred_lft forever
  205. 3: lan4@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN qlen 1000
  206. link/ether brd ff:ff:ff:ff:ff:ff
  207. 4: lan3@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN qlen 1000
  208. link/ether brd ff:ff:ff:ff:ff:ff
  209. 5: lan2@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN qlen 1000
  210. link/ether brd ff:ff:ff:ff:ff:ff
  211. 6: lan1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
  212. link/ether brd ff:ff:ff:ff:ff:ff
  213. 7: wan@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
  214. link/ether brd ff:ff:ff:ff:ff:ff
  215. inet xxx.xxx.0.61/24 brd xxx.xxx.0.255 scope global wan
  216. valid_lft forever preferred_lft forever
  217. inet6 fe80::c056:27ff:fecc:xxxx scope link
  218. valid_lft forever preferred_lft forever
  219. 10: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
  220. link/ether brd ff:ff:ff:ff:ff:ff
  221. inet xxx.xxx.x.1/24 brd 192.168.1.255 scope global br-lan
  222. valid_lft forever preferred_lft forever
  223. inet6 fe80::c256:27ff:fecc:xxxx scope link
  224. valid_lft forever preferred_lft forever
  225. 11: wlan1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-lan state UP qlen 1000
  226. link/ether brd ff:ff:ff:ff:ff:ff
  227. inet6 fe80::c256:27ff:fecc:xxxx scope link
  228. valid_lft forever preferred_lft forever
  229. 12: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-lan state UP qlen 1000
  230. link/ether brd ff:ff:ff:ff:ff:ff
  231. inet6 fe80::c256:27ff:fecc:xxxx scope link
  232. valid_lft forever preferred_lft forever
  233. default via xxx.xxx.0.1 dev wan src xxx.xxx.0.61
  234. xxx.xxx.0.0/24 dev wan scope link src xxx.xxx.0.61
  235. xxx.xxx.1.0/24 dev br-lan scope link src xxx.xxx.1.1
  236. broadcast 127.0.0.0 dev lo table local scope link src 127.0.0.1
  237. local 127.0.0.0/8 dev lo table local scope host src 127.0.0.1
  238. local 127.0.0.1 dev lo table local scope host src 127.0.0.1
  239. broadcast 127.255.255.255 dev lo table local scope link src 127.0.0.1
  240. broadcast xxx.xxx.0.0 dev wan table local scope link src xxx.xxx.0.61
  241. local xxx.xxx.0.61 dev wan table local scope host src xxx.xxx.0.61
  242. broadcast xxx.xxx.0.255 dev wan table local scope link src xxx.xxx.0.61
  243. broadcast xxx.xxx.1.0 dev br-lan table local scope link src xxx.xxx.1.1
  244. local xxx.xxx.1.1 dev br-lan table local scope host src xxx.xxx.1.1
  245. broadcast xxx.xxx.1.255 dev br-lan table local scope link src xxx.xxx.1.1
  246. fe80::/64 dev eth0 metric 256
  247. fe80::/64 dev br-lan metric 256
  248. fe80::/64 dev wlan0 metric 256
  249. fe80::/64 dev wan metric 256
  250. fe80::/64 dev wlan1 metric 256
  251. local ::1 dev lo table local metric 0
  252. anycast fe80:: dev eth0 table local metric 0
  253. anycast fe80:: dev br-lan table local metric 0
  254. anycast fe80:: dev wlan0 table local metric 0
  255. anycast fe80:: dev wan table local metric 0
  256. anycast fe80:: dev wlan1 table local metric 0
  257. local xxx::xxx:27ff:fecc:7982 dev wan table local metric 0
  258. local xxx::xxx:27ff:fecc:7982 dev eth0 table local metric 0
  259. local xxx::xxx:27ff:fecc:7982 dev br-lan table local metric 0
  260. local xxx::xxx:27ff:fecc:7983 dev wlan1 table local metric 0
  261. local xxx::xxx:27ff:fecc:7984 dev wlan0 table local metric 0
  262. multicast ff00::/8 dev eth0 table local metric 256
  263. multicast ff00::/8 dev br-lan table local metric 256
  264. multicast ff00::/8 dev wlan0 table local metric 256
  265. multicast ff00::/8 dev wan table local metric 256
  266. multicast ff00::/8 dev wlan1 table local metric 256
  267. 0: from all lookup local
  268. 32766: from all lookup main
  269. 32767: from all lookup default
  270.  
  271.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement