-
Flock
( flock -n 9 || exit 1 # ... commands executed under lock ... ) 9>/var/lock/mylockfile
-
Glog No Append Mode
glog 也没有使用 append 模式打开日志文件,导致第三方 truncate 日志文件之后,glog 还继续原来的 offset 写。
-
Dns Injection
从 8.8.8.8 返回了多个 UDP 包。看起来,第一个返回时间太短,TTL 也不对。是不是被污染了?
[root@VMS160953 ~]# tcpdump -nn -vvvv host 8.8.8.8 tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes 16:36:18.031876 IP (tos 0x0, ttl 64, id 25326, offset 0, flags [none], proto UDP (17), length 126) 10.60.225.127.47457 > 8.8.8.8.53: [bad udp cksum 0xfc46 -> 0x6d26!] 55814+ [1au] A? prod-eu-central-1-starport-layer-bucket.s3.eu-central-1.amazonaws.com. ar: . OPT UDPsize=4096 (98) 16:36:18.035181 IP (tos 0x0, ttl 35, id 48898, offset 0, flags [DF], proto UDP (17), length 131) 8.8.8.8.53 > 10.60.225.127.47457: [udp sum ok] 55814 q: A? prod-eu-central-1-starport-layer-bucket.s3.eu-central-1.amazonaws.com. 1/0/0 prod-eu-central-1-starport-layer-bucket.s3.eu-central-1.amazonaws.com. [3m16s] A 104.244.46.186 (103) 16:36:18.035199 IP (tos 0x0, ttl 29, id 0, offset 0, flags [none], proto UDP (17), length 131) 8.8.8.8.53 > 10.60.225.127.47457: [udp sum ok] 55814 q: A? prod-eu-central-1-starport-layer-bucket.s3.eu-central-1.amazonaws.com. 1/0/0 prod-eu-central-1-starport-layer-bucket.s3.eu-central-1.amazonaws.com. [1m51s] A 4.78.139.54 (103) 16:36:18.271586 IP (tos 0x0, ttl 94, id 28433, offset 0, flags [none], proto UDP (17), length 163) 8.8.8.8.53 > 10.60.225.127.47457: [udp sum ok] 55814 q: A? prod-eu-central-1-starport-layer-bucket.s3.eu-central-1.amazonaws.com. 2/0/1 prod-eu-central-1-starport-layer-bucket.s3.eu-central-1.amazonaws.com. [33s] CNAME s3-r-w.eu-central-1.amazonaws.com., s3-r-w.eu-central-1.amazonaws.com. [1s] A 52.219.75.128 ar: . OPT UDPsize=512 (135) 16:36:18.271618 IP (tos 0xc0, ttl 64, id 47249, offset 0, flags [none], proto ICMP (1), length 191) 10.60.225.127 > 8.8.8.8: ICMP 10.60.225.127 udp port 47457 unreachable, length 171 IP (tos 0x0, ttl 94, id 28433, offset 0, flags [none], proto UDP (17), length 163) 8.8.8.8.53 > 10.60.225.127.47457: [udp sum ok] 55814 q: A? prod-eu-central-1-starport-layer-bucket.s3.eu-central-1.amazonaws.com. 2/0/1 prod-eu-central-1-starport-layer-bucket.s3.eu-central-1.amazonaws.com. [33s] CNAME s3-r-w.eu-central-1.amazonaws.com., s3-r-w.eu-central-1.amazonaws.com. [1s] A 52.219.75.128 ar: . OPT UDPsize=512 (135) ^C 5 packets captured 5 packets received by filter 0 packets dropped by kernel [root@VMS160953 ~]# ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=95 time=241 ms ^C --- 8.8.8.8 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 241.706/241.706/241.706/0.000 ms
-
Multiboot Specification
https://forum.osdev.org/viewtopic.php?t=22481
/* The magic field should contain this. */ #define MULTIBOOT2_HEADER_MAGIC 0xe85250d6 ... struct multiboot_header { /* Must be MULTIBOOT_MAGIC - see above. */ multiboot_uint32_t magic; /* Feature flags. */ multiboot_uint32_t flags; /* The above fields plus this one must equal 0 mod 2^32. */ multiboot_uint32_t checksum; ... };
-
Saisai
这两天都是妈妈带赛赛到小区大门口等着,车开走的时候就哇哇的哭。感觉要努力去银联上班了。。
-
Saisai
前天夜里,和昨天夜里,赛赛睡的都不太好,有点感冒,后半夜多次起来哭。
一到白天就活波起来了~,不过还是流鼻涕。我说“流鼻涕”,他也跟着学。
-
Saisai
昨天想要早点起,争取8点多起来,可是一到早晨又起不来了,最后快9点半了才起来。。
-
Life
一个经常出尔反尔变来变去的人,说出“可是已经答应别人了”,这样的话,就觉得有点怪怪的。
-
Saisai
今天一早心情就不太好,其实好多好多天了,心情都不好,压抑,不快乐。
然后对赛赛也有些冷淡,他叫爸爸的时候我也没有特别开心。陪他玩的时候,他从我手里拿胶囊,我逗他玩,捂住不给他。他就开始标志性的大声干哭,我也有些无动于衷。我觉得应该教育他不能用干哭来让别人妥协了。
-
Joke
越来越不喜欢开开玩笑了。
正常开玩笑没问题,但有些人,自己就套路很多,然后开了一个玩笑,说别人套路多。这听起来不仅不好笑,还让人恶心了。
自己做的干净,然后才能开别人玩笑。