2016年11月17日 星期四

2016年9月19日 星期一

ip range

google "ipinfo + asxxxxx"

facebook    as32934
google        as15169
microsoft    as8075

2016年3月29日 星期二

google 的 IP 位址

參考:
https://support.google.com/a/answer/60764?hl=zh-Hant



nslookup -q=TXT _spf.google.com 8.8.8.8

nslookup -q=TXT _netblocks.google.com 8.8.8.8
nslookup -q=TXT _netblocks2.google.com 8.8.8.8
nslookup -q=TXT _netblocks3.google.com 8.8.8.8



即可拿到IP清單

2015年10月16日 星期五

kernel: Limiting icmp unreach response from 299 to 200 packets/sec

/var/log/messages
Oct 15 09:38:32 machine kernel: Limiting icmp unreach response from 299 to 200 packets/sec

當出現以上訊息時,可能是RST攻擊,可以設定以下參數(預設為0)。

sysctl -w net.inet.tcp.blackhole=2
sysctl -w net.inet.udp.blackhole=1

然後在/etc/sysctl.conf加入
net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1


2015年10月13日 星期二

mail relay

#/etc/rc.conf加入
sendmail_enable="YES"


#新增 mail relay
cd /etc/mail/
ee access
#格式 192.168.1.1   RELAY
make
make restart