學術及資源的交流園地 ^_^

dmesg

 

examine or control the kernel ring buffer

-c                 # Clear

-s bufsize      # Default: 16392 (16Kbyte)

 -n level         # When the -n option is used, dmesg will not  print  or  clear  the kernel ring buffer.

netconsole

最後更新: 2020-05-21

介紹

把本機的 dmesg 資訊透過 network 送到另一機上

 

driver

 

問題:

update-initramfs: Generating /boot/initrd.img-2.6.32-5-openvz-686

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8105e-1.fw for module r8169
.........................

解決:

apt-get install firmware-realtek

update-initramfs -u

 


 

我與 iptables

Q1. 有紅色那一條rule了, 為何仍有 connect 入唔到

iptables -nL | head

Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           ctstate RELATED,ESTABLISHED
DROP       all  --  0.0.0.0/0            0.0.0.0/0           ctstate INVALID
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0
syn_flood  tcp  --  0.0.0.0/0            0.0.0.0/0           tcp flags:0x17/0x02
input_rule  all  --  0.0.0.0/0            0.0.0.0/0
input      all  --  0.0.0.0/0            0.0.0.0/0

A1. 行以下指令你會知發生咩事~

iptables -vnL

 


 

Q2. 為何以下指令會出事

RSS feed