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

OPTIMIZE

 

OPTIMIZE=[value]

value: 2^n

0
disables all optimizations

1
created rules for the complete matrix of host groups defined by the zones, interfaces and hosts files.

2
suppresses superfluous ACCEPT rules in a policy chain that implements an ACCEPT policy.

4
causes short chains (those with less than 2 rules) to be optimized away.
不會對以下 chains 優化
    accounting chains (unless OPTIMIZE_ACCOUNTING=Yes)
    action chains (user-defined)
    'blacklst' chain
    dynamic
    forwardUPnP
    UPnP (nat table)

8

WPS 有漏洞

 

a message sent by the router when the PIN fails informs the hacker if the first four digits are correct, while the last digit of the key is used as a checksum and is given out by the router in negotiation.

Mail 的 Header Encode (Base64, Quoted-Printable Encoding)

最後更新: 2018-09-21

介紹

 

lxc - virsh

libvirt

environment variables

"init" 會獲得以下 variables

LIBVIRT_LXC_NAME
LIBVIRT_LXC_UUID
LIBVIRT_LXC_CMDLINE

virsh --connect lxc:/// define v1.xml
virsh --connect lxc:/// start vm1
virsh --connect lxc:/// console vm1
virsh --connect lxc:/// undefine vm1

XML:

<domain type='lxc'>
  <name>vm1</name>
  <memory>32768</memory>
  <os>
    <type>exe</type>
    <init>/init</init>
  </os>
  <vcpu>1</vcpu>

RSS feed