| Machine: TP-Link TL-WR842N/ND v3 |
| Uptime: 1d, 00:00:08 |
| Load: 0.00 0.00 0.00 |
| Flash: total: 8.9MB, free: 8.5MB, used: 5% |
| Memory: total: 59.6MB, free: 40.9MB, used: 31% |
| WAN: |
| LAN: 192.168.2.1 |
| radio0: mode: sta, ssid: Zaksa2, channel: 6, conn: 1 |
| radio0: mode: ap, ssid: Sens42, channel: 6, conn: 3 |
----------------------------------------------------------------
root@TP842N:~# ifconfig -a
br-lan Link encap:Ethernet HWaddr EC:08:6B:56:BF:22
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:303354 errors:0 dropped:600 overruns:0 frame:0
TX packets:605036 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:33445237 (31.8 MiB) TX bytes:421932352 (402.3 MiB)
eth0 Link encap:Ethernet HWaddr EC:08:6B:56:BF:22
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:80568 errors:0 dropped:0 overruns:0 frame:0
TX packets:227063 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7054912 (6.7 MiB) TX bytes:122164556 (116.5 MiB)
Interrupt:5
eth1 Link encap:Ethernet HWaddr EC:08:6B:56:BF:23
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:4
gre0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-44-00-00-00-00-00-00-00-00
NOARP MTU:1476 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
gretap0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1462 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
imq0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:16000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:11000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
imq1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:16000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:11000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
teql0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr EC:08:6B:56:BF:22
inet addr:192.168.1.170 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:572868 errors:0 dropped:968 overruns:0 frame:0
TX packets:322052 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:419005703 (399.5 MiB) TX bytes:47055541 (44.8 MiB)
wlan0-1 Link encap:Ethernet HWaddr EE:08:6B:56:BF:22
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:224479 errors:0 dropped:0 overruns:0 frame:0
TX packets:485219 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:30870669 (29.4 MiB) TX bytes:322539258 (307.5 MiB)
root@TP842N:~# ps
PID USER VSZ STAT COMMAND
1 root 1408 S /sbin/procd
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
5 root 0 SW< [kworker/0:0H]
7 root 0 SW< [khelper]
27 root 0 SW< [writeback]
29 root 0 SW< [bioset]
30 root 0 SW< [kblockd]
31 root 0 SW [kswapd0]
32 root 0 SW [kworker/0:1]
101 root 0 SW [fsnotify_mark]
103 root 0 SW [spi0]
268 root 0 SW< [deferwq]
362 root 0 SW [kworker/0:2]
396 root 0 SWN [jffs2_gcd_mtd3]
470 root 892 S /sbin/ubusd
473 root 772 S /sbin/askfirst /bin/ash --login
781 root 0 SW< [rpciod]
799 root 0 SW< [nfsiod]
1013 root 0 SW< [cfg80211]
1295 root 1044 S /sbin/logd -S 16
1313 nobody 1028 S /usr/sbin/portmap
1332 root 1568 S /sbin/netifd
1397 root 1372 S /usr/sbin/ntpd -n -l -S /usr/sbin/ntpd-hotplug -p 0.
1438 root 1152 S /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p
1850 root 1656 S /usr/sbin/hostapd -P /var/run/wifi-phy0.pid -B /var/
2218 root 1604 S /usr/sbin/wpa_supplicant -B -P /var/run/wpa_supplica
3770 root 908 S /usr/sbin/relayd -I br-lan -I wlan0 -L 192.168.1.170
4835 root 3444 S /usr/sbin/uhttpd -f -h /www -r Gargoyle -x /cgi-bin
6778 root 0 SW [kworker/u2:1]
7411 root 1368 S udhcpc -p /var/run/udhcpc-wlan0.pid -s /lib/netifd/d
8587 root 1376 S /usr/sbin/crond -f -c /etc/crontabs -l 9
8591 root 0 SW [kworker/u2:0]
8789 root 1220 R /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p
8790 root 1372 S -ash
8905 root 1368 R ps
root@TP842N:~# netstat -apn
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1313/portmap
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 4835/uhttpd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1438/dropbear
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 4835/uhttpd
tcp 0 132 192.168.2.1:22 192.168.2.101:49913 ESTABLISHED 8789/dropbear
netstat: /proc/net/tcp6: No such file or directory
udp 0 0 0.0.0.0:111 0.0.0.0:* 1313/portmap
udp 0 0 0.0.0.0:123 0.0.0.0:* 1397/ntpd
netstat: /proc/net/udp6: No such file or directory
netstat: /proc/net/raw6: No such file or directory
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ] DGRAM 3074 2218/wpa_supplicant /tmp/wpa_ctrl_1922-1
unix 2 [ ] DGRAM 3097 2218/wpa_supplicant /var/run/wpa_supplicant/wlan0
unix 2 [ ACC ] STREAM LISTENING 295 470/ubusd /var/run/ubus.sock
unix 6 [ ] DGRAM 1725 1295/logd /dev/log
unix 3 [ ] DGRAM 2512 1850/hostapd /var/run/hostapd/wlan0-1
unix 3 [ ] STREAM CONNECTED 1728 470/ubusd /var/run/ubus.sock
unix 2 [ ] DGRAM 2086 1438/dropbear
unix 2 [ ] DGRAM 2142 1332/netifd
unix 2 [ ] DGRAM 1843 1313/portmap
unix 3 [ ] STREAM CONNECTED 2515 470/ubusd /var/run/ubus.sock
unix 3 [ ] STREAM CONNECTED 1873 470/ubusd /var/run/ubus.sock
unix 3 [ ] STREAM CONNECTED 1872 1332/netifd
unix 3 [ ] STREAM CONNECTED 300 1/procd
unix 3 [ ] STREAM CONNECTED 301 470/ubusd /var/run/ubus.sock
unix 3 [ ] STREAM CONNECTED 2514 1850/hostapd
unix 2 [ ] DGRAM 3289 1850/hostapd
unix 2 [ ] DGRAM 2167 1332/netifd
unix 3 [ ] STREAM CONNECTED 1727 1295/logd
root@TP842N:~# iptables -v -L
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
3007 263K bw_ingress all -- br-lan any anywhere anywhere
13933 1812K delegate_input all -- any any anywhere anywhere
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
289K 32M bw_ingress all -- br-lan any anywhere anywhere
56931 32M delegate_forward all -- any any anywhere anywhere
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
2534 1319K delegate_output all -- any any anywhere anywhere
Chain bw_ingress (2 references)
pkts bytes target prot opt in out source destination
292K 32M CONNMARK all -- any any anywhere anywhere CONNMARK and 0xffffff
2111 201K CONNMARK all -- any any anywhere 192.168.2.0/24 CONNMARK xset 0xf000000/0xff000000
289K 32M RETURN all -- any any anywhere anywhere connmark match 0x0/0xf000000
2796 238K CONNMARK all -- any any anywhere anywhere CONNMARK and 0xffffff
0 0 all -- any any anywhere anywhere bandwidth --id total1-download-2-449 --type combined --current_bandwidth 0 --reset_interval 2 --reset_time 2 --intervals_to_save 449
0 0 all -- any any anywhere anywhere bandwidth --id bdist1-download-minute-15 --type individual_dst --reset_interval minute --intervals_to_save 15
0 0 all -- any any anywhere anywhere bandwidth --id total2-download-minute-359 --type combined --current_bandwidth 0 --reset_interval minute --intervals_to_save 359
0 0 all -- any any anywhere anywhere bandwidth --id bdist2-download-900-24 --type individual_dst --reset_interval 900 --reset_time 900 --intervals_to_save 24
0 0 all -- any any anywhere anywhere bandwidth --id total3-download-180-479 --type combined --current_bandwidth 0 --reset_interval 180 --reset_time 180 --intervals_to_save 479
0 0 all -- any any anywhere anywhere bandwidth --id bdist3-download-hour-24 --type individual_dst --reset_interval hour --intervals_to_save 24
0 0 all -- any any anywhere anywhere bandwidth --id total4-download-7200-359 --type combined --current_bandwidth 0 --reset_interval 7200 --reset_time 7200 --intervals_to_save 359
0 0 all -- any any anywhere anywhere bandwidth --id bdist4-download-day-31 --type individual_dst --reset_interval day --intervals_to_save 31
0 0 all -- any any anywhere anywhere bandwidth --id total5-download-day-365 --type combined --current_bandwidth 0 --reset_interval day --intervals_to_save 365
0 0 all -- any any anywhere anywhere bandwidth --id bdist5-download-month-12 --type individual_dst --reset_interval month --intervals_to_save 12
Chain delegate_forward (1 references)
pkts bytes target prot opt in out source destination
56931 32M forwarding_rule all -- any any anywhere anywhere /* user chain for forwarding */
54347 32M ACCEPT all -- any any anywhere anywhere ctstate RELATED,ESTABLISHED
2563 157K zone_lan_forward all -- br-lan any anywhere anywhere
21 1142 zone_lan_forward all -- wlan0 any anywhere anywhere
0 0 zone_wan_forward all -- eth1 any anywhere anywhere
0 0 reject all -- any any anywhere anywhere
Chain delegate_input (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- lo any anywhere anywhere
13933 1812K input_rule all -- any any anywhere anywhere /* user chain for input */
1920 183K ACCEPT all -- any any anywhere anywhere ctstate RELATED,ESTABLISHED
62 2976 syn_flood tcp -- any any anywhere anywhere tcp flags:FIN,SYN,RST,ACK/SYN
437 50458 zone_lan_input all -- br-lan any anywhere anywhere
11576 1579K zone_lan_input all -- wlan0 any anywhere anywhere
0 0 zone_wan_input all -- eth1 any anywhere anywhere
Chain delegate_output (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- any lo anywhere anywhere
2534 1319K output_rule all -- any any anywhere anywhere /* user chain for output */
2528 1318K ACCEPT all -- any any anywhere anywhere ctstate RELATED,ESTABLISHED
0 0 zone_lan_output all -- any br-lan anywhere anywhere
6 456 zone_lan_output all -- any wlan0 anywhere anywhere
0 0 zone_wan_output all -- any eth1 anywhere anywhere
Chain forwarding_lan_rule (1 references)
pkts bytes target prot opt in out source destination
Chain forwarding_rule (1 references)
pkts bytes target prot opt in out source destination
Chain forwarding_wan_rule (1 references)
pkts bytes target prot opt in out source destination
Chain input_lan_rule (1 references)
pkts bytes target prot opt in out source destination
Chain input_rule (1 references)
pkts bytes target prot opt in out source destination
Chain input_wan_rule (1 references)
pkts bytes target prot opt in out source destination
Chain output_lan_rule (1 references)
pkts bytes target prot opt in out source destination
Chain output_rule (1 references)
pkts bytes target prot opt in out source destination
Chain output_wan_rule (1 references)
pkts bytes target prot opt in out source destination
Chain reject (3 references)
pkts bytes target prot opt in out source destination
0 0 REJECT tcp -- any any anywhere anywhere reject-with tcp-reset
0 0 REJECT all -- any any anywhere anywhere reject-with icmp-port-unreachable
Chain syn_flood (1 references)
pkts bytes target prot opt in out source destination
62 2976 RETURN tcp -- any any anywhere anywhere tcp flags:FIN,SYN,RST,ACK/SYN limit: avg 25/sec burst 50
0 0 DROP all -- any any anywhere anywhere
Chain zone_lan_dest_ACCEPT (4 references)
pkts bytes target prot opt in out source destination
21 1142 ACCEPT all -- any br-lan anywhere anywhere
2569 157K ACCEPT all -- any wlan0 anywhere anywhere
Chain zone_lan_forward (2 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- br-lan br-lan anywhere anywhere
2584 158K forwarding_lan_rule all -- any any anywhere anywhere /* user chain for forwarding */
2584 158K zone_wan_dest_ACCEPT all -- any any anywhere anywhere /* forwarding lan -> wan */
0 0 ACCEPT all -- any any anywhere anywhere ctstate DNAT /* Accept port forwards */
2584 158K zone_lan_dest_ACCEPT all -- any any anywhere anywhere
Chain zone_lan_input (2 references)
pkts bytes target prot opt in out source destination
12013 1629K input_lan_rule all -- any any anywhere anywhere /* user chain for input */
0 0 ACCEPT all -- any any anywhere anywhere ctstate DNAT /* Accept port redirections */
12013 1629K zone_lan_src_ACCEPT all -- any any anywhere anywhere
Chain zone_lan_output (2 references)
pkts bytes target prot opt in out source destination
6 456 output_lan_rule all -- any any anywhere anywhere /* user chain for output */
6 456 zone_lan_dest_ACCEPT all -- any any anywhere anywhere
Chain zone_lan_src_ACCEPT (1 references)
pkts bytes target prot opt in out source destination
437 50458 ACCEPT all -- br-lan any anywhere anywhere
11576 1579K ACCEPT all -- wlan0 any anywhere anywhere
Chain zone_wan_dest_ACCEPT (2 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- any eth1 anywhere anywhere
Chain zone_wan_dest_REJECT (1 references)
pkts bytes target prot opt in out source destination
0 0 reject all -- any eth1 anywhere anywhere
Chain zone_wan_forward (1 references)
pkts bytes target prot opt in out source destination
0 0 forwarding_wan_rule all -- any any anywhere anywhere /* user chain for forwarding */
0 0 zone_lan_dest_ACCEPT esp -- any any anywhere anywhere /* @rule[7] */
0 0 zone_lan_dest_ACCEPT udp -- any any anywhere anywhere udp dpt:isakmp /* @rule[8] */
0 0 ACCEPT all -- any any anywhere anywhere ctstate DNAT /* Accept port forwards */
0 0 zone_wan_dest_REJECT all -- any any anywhere anywhere
Chain zone_wan_input (1 references)
pkts bytes target prot opt in out source destination
0 0 input_wan_rule all -- any any anywhere anywhere /* user chain for input */
0 0 ACCEPT udp -- any any anywhere anywhere udp dpt:bootpc /* Allow-DHCP-Renew */
0 0 ACCEPT icmp -- any any anywhere anywhere icmp echo-request /* Allow-Ping */
0 0 ACCEPT igmp -- any any anywhere anywhere /* Allow-IGMP */
0 0 ACCEPT all -- any any anywhere anywhere ctstate DNAT /* Accept port redirections */
0 0 zone_wan_src_REJECT all -- any any anywhere anywhere
Chain zone_wan_output (1 references)
pkts bytes target prot opt in out source destination
0 0 output_wan_rule all -- any any anywhere anywhere /* user chain for output */
0 0 zone_wan_dest_ACCEPT all -- any any anywhere anywhere
Chain zone_wan_src_REJECT (1 references)
pkts bytes target prot opt in out source destination
0 0 reject all -- eth1 any anywhere anywhere
root@TP842N:~#