Last active
August 29, 2015 14:17
-
-
Save faddah/5b71dbaa74cc58c8adbd to your computer and use it in GitHub Desktop.
faddah's ifconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ifconfig | |
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 | |
inet 192.168.7.1 netmask 255.255.255.252 broadcast 192.168.7.3 | |
inet6 fe80::6eec:ebff:fead:341f prefixlen 64 scopeid 0x20<link> | |
ether 6c:ec:eb:ad:34:1f txqueuelen 1000 (Ethernet) | |
RX packets 1048 bytes 106629 (104.1 KiB) | |
RX errors 0 dropped 0 overruns 0 frame 0 | |
TX packets 1918 bytes 316054 (308.6 KiB) | |
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 | |
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 | |
inet 127.0.0.1 netmask 255.0.0.0 | |
inet6 ::1 prefixlen 128 scopeid 0x10<host> | |
loop txqueuelen 0 (Local Loopback) | |
RX packets 154 bytes 10432 (10.1 KiB) | |
RX errors 0 dropped 0 overruns 0 frame 0 | |
TX packets 154 bytes 10432 (10.1 KiB) | |
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 | |
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 | |
inet 192.168.1.11 netmask 255.255.255.0 broadcast 192.168.1.255 | |
inet6 fe80::9ed2:1eff:fe5b:a5f5 prefixlen 64 scopeid 0x20<link> | |
ether 9c:d2:1e:5b:a5:f5 txqueuelen 1000 (Ethernet) | |
RX packets 306226 bytes 321253164 (306.3 MiB) | |
RX errors 0 dropped 0 overruns 0 frame 0 | |
TX packets 203316 bytes 80152357 (76.4 MiB) | |
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 | |
# iptables -L -t nat | |
Chain PREROUTING (policy ACCEPT) | |
target prot opt source destination | |
Chain INPUT (policy ACCEPT) | |
target prot opt source destination | |
Chain OUTPUT (policy ACCEPT) | |
target prot opt source destination | |
Chain POSTROUTING (policy ACCEPT) | |
target prot opt source destination | |
MASQUERADE all -- anywhere anywhere | |
MASQUERADE all -- anywhere anywhere | |
MASQUERADE all -- anywhere anywhere | |
MASQUERADE all -- anywhere anywhere | |
# iptables -L | |
Chain INPUT (policy DROP) | |
target prot opt source destination | |
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED | |
ACCEPT all -- anywhere anywhere | |
ACCEPT icmp -- anywhere anywhere | |
ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns | |
NFQUEUE udp -- anywhere anywhere NFQUEUE num 10000 | |
Chain FORWARD (policy DROP) | |
target prot opt source destination | |
ACCEPT all -- anywhere anywhere | |
ACCEPT all -- anywhere anywhere | |
ACCEPT all -- anywhere anywhere | |
Chain OUTPUT (policy DROP) | |
target prot opt source destination | |
NFQUEUE udp -- anywhere 239.255.255.250 udp dpt:1900 NFQUEUE num 10001 | |
ACCEPT all -- anywhere anywhere ctstate NEW,RELATED,ESTABLISHED | |
ACCEPT all -- anywhere anywhere | |
# iptables -L -v | |
Chain INPUT (policy DROP 0 packets, 0 bytes) | |
pkts bytes target prot opt in out source destination | |
38978 28M ACCEPT all -- any any anywhere anywhere ctstate RELATED,ESTABLISHED | |
69 4286 ACCEPT all -- lo any anywhere anywhere | |
2 120 ACCEPT icmp -- any any anywhere anywhere | |
143 25845 ACCEPT udp -- any any anywhere 224.0.0.251 udp dpt:mdns | |
560 142K NFQUEUE udp -- any any anywhere anywhere NFQUEUE num 10000 | |
Chain FORWARD (policy DROP 0 packets, 0 bytes) | |
pkts bytes target prot opt in out source destination | |
0 0 ACCEPT all -- eth0 any anywhere anywhere | |
0 0 ACCEPT all -- eth0 any anywhere anywhere | |
Chain OUTPUT (policy DROP 0 packets, 0 bytes) | |
pkts bytes target prot opt in out source destination | |
152 30856 NFQUEUE udp -- any any anywhere 239.255.255.250 udp dpt:1900 NFQUEUE num 10001 | |
37521 9388K ACCEPT all -- any any anywhere anywhere ctstate NEW,RELATED,ESTABLISHED | |
0 0 ACCEPT all -- any lo anywhere anywhere | |
# iptables -L -t nat -v | |
Chain PREROUTING (policy ACCEPT 61 packets, 15722 bytes) | |
pkts bytes target prot opt in out source destination | |
Chain INPUT (policy ACCEPT 5 packets, 2604 bytes) | |
pkts bytes target prot opt in out source destination | |
Chain OUTPUT (policy ACCEPT 155 packets, 29639 bytes) | |
pkts bytes target prot opt in out source destination | |
Chain POSTROUTING (policy ACCEPT 2 packets, 271 bytes) | |
pkts bytes target prot opt in out source destination | |
453 78333 MASQUERADE all -- any wlan0 anywhere anywhere | |
0 0 MASQUERADE all -- any wlan0 anywhere anywhere | |
# lsmod | |
Module Size Used by | |
ipt_MASQUERADE 12352 2 | |
iptable_nat 12352 1 | |
nf_nat_ipv4 12406 1 iptable_nat | |
nf_nat 17376 3 ipt_MASQUERADE,nf_nat_ipv4,iptable_nat | |
nls_iso8859_1 12352 1 | |
nls_cp437 16448 1 | |
vfat 16448 1 | |
fat 46703 1 vfat | |
i2c_dev 12352 0 | |
uinput 16448 0 | |
ath3k 12352 0 | |
btusb 20544 0 | |
snd_hda_codec_realtek 32832 1 | |
rndis_wlan 28736 0 | |
memconsole 12352 0 | |
rndis_host 12585 1 rndis_wlan | |
cdc_ether 12524 1 rndis_host | |
usbnet 21959 3 rndis_host,rndis_wlan,cdc_ether | |
uvcvideo 67475 0 | |
videobuf2_vmalloc 12313 1 uvcvideo | |
videobuf2_memops 12432 1 videobuf2_vmalloc | |
videobuf2_core 30073 1 uvcvideo | |
videodev 89883 2 uvcvideo,videobuf2_core | |
bluetooth 211859 23 ath3k,btusb | |
snd_hda_codec_hdmi 33201 1 | |
zram 16620 1 | |
lzo_compress 12354 1 zram | |
zsmalloc 12659 1 zram | |
snd_hda_intel 36928 9 | |
isl29018 16448 0 | |
snd_hda_codec 118597 3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel | |
industrialio 21724 1 isl29018 | |
snd_hwdep 12390 1 snd_hda_codec | |
snd_pcm 69703 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel | |
snd_page_alloc 12806 2 snd_pcm,snd_hda_intel | |
snd_timer 25190 1 snd_pcm | |
fuse 63981 0 | |
nf_conntrack_ipv6 12352 2 | |
nf_defrag_ipv6 12569 1 nf_conntrack_ipv6 | |
ip6table_filter 12352 1 | |
ip6_tables 20721 1 ip6table_filter | |
ath9k_btcoex 122464 0 | |
ath9k_common_btcoex 12780 1 ath9k_btcoex | |
ath9k_hw_btcoex 353366 2 ath9k_btcoex,ath9k_common_btcoex | |
ath 21105 3 ath9k_btcoex,ath9k_hw_btcoex,ath9k_common_btcoex | |
mac80211 330382 1 ath9k_btcoex | |
cfg80211 141270 4 ath,ath9k_btcoex,mac80211,rndis_wlan | |
joydev 16448 0 | |
ppp_async 16448 0 | |
ppp_generic 21018 1 ppp_async | |
slhc 12531 1 ppp_generic | |
tun 20583 0 | |
# dmesg | tail -n30 | |
[ 46.829738] wlan0: moving STA 20:e5:2a:02:a0:5d to state 4 | |
[ 51.090304] zram: open attempted while zram0 claimed (count: 3) | |
[ 51.105606] zram: open attempted while zram0 claimed (count: 3) | |
[ 60.609655] zram: open attempted while zram0 claimed (count: 3) | |
[ 60.627138] zram: open attempted while zram0 claimed (count: 3) | |
[ 85.390081] zram: open attempted while zram0 claimed (count: 3) | |
[ 85.629907] zram: open attempted while zram0 claimed (count: 3) | |
[ 85.646624] EXT4-fs (sda3): re-mounted. Opts: (null) | |
[ 341.649820] entering low_mem (avail RAM = 101308 kB, avail swap 290204 kB) with lowest seen anon mem: 1042780 kB | |
[ 344.519183] entering low_mem (avail RAM = 101340 kB, avail swap 255404 kB) with lowest seen anon mem: 1031600 kB | |
[ 378.452886] entering low_mem (avail RAM = 101304 kB, avail swap 350552 kB) with lowest seen anon mem: 1017440 kB | |
[ 433.444445] zram: open attempted while zram0 claimed (count: 3) | |
[ 433.475590] zram: open attempted while zram0 claimed (count: 3) | |
[ 433.477043] EXT4-fs (sda3): re-mounted. Opts: (null) | |
[ 737.886413] entering low_mem (avail RAM = 101296 kB, avail swap 299400 kB) with lowest seen anon mem: 1000596 kB | |
[ 742.312753] entering low_mem (avail RAM = 101324 kB, avail swap 275108 kB) with lowest seen anon mem: 974768 kB | |
[ 1111.512964] zram: open attempted while zram0 claimed (count: 3) | |
[ 1111.637132] zram: open attempted while zram0 claimed (count: 3) | |
[ 1111.638251] EXT4-fs (sda3): re-mounted. Opts: (null) | |
[ 1161.054162] entering low_mem (avail RAM = 101252 kB, avail swap 135248 kB) with lowest seen anon mem: 960980 kB | |
[ 1164.223866] entering low_mem (avail RAM = 101292 kB, avail swap 85288 kB) with lowest seen anon mem: 943780 kB | |
[ 1184.531116] nf_conntrack: falling back to vmalloc. | |
[ 1184.540395] nf_conntrack: falling back to vmalloc. | |
[ 1184.544216] nf_conntrack: falling back to vmalloc. | |
[ 1250.319602] zram: open attempted while zram0 claimed (count: 3) | |
[ 1250.428764] zram: open attempted while zram0 claimed (count: 3) | |
[ 1250.429533] EXT4-fs (sda3): re-mounted. Opts: (null) | |
[ 1356.628677] zram: open attempted while zram0 claimed (count: 3) | |
[ 1356.740395] zram: open attempted while zram0 claimed (count: 3) | |
[ 1356.742937] EXT4-fs (sda3): re-mounted. Opts: (null) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment