Description Vasya has n days of vacations! So he decided to improve his IT skills and do sport. Vasya knows the following information about each of th ...
分类:
其他好文 时间:
2016-07-23 18:08:24
阅读次数:
238
Description Vasya has n days of vacations! So he decided to improve his IT skills and do sport. Vasya knows the following information about each of th ...
分类:
其他好文 时间:
2016-07-20 19:26:39
阅读次数:
197
Description Vasya has n days of vacations! So he decided to improve his IT skills and do sport. Vasya knows the following information about each of th ...
分类:
其他好文 时间:
2016-07-20 13:10:40
阅读次数:
208
TCP/IP基础UDP提供无连接服务
UDP的数据格式:#ifdef __FAVOR_BSD
struct udphdr {
u_int16_t uh_sport; /* source port */
u_int16_t uh_dport; /* destination port */
u_int16_t...
分类:
系统相关 时间:
2016-07-05 12:24:12
阅读次数:
238
首先,清除所有预设置 其次,设置只允许指定ip地址访问指定端口 上面这两条,请注意--dport为目标端口,当数据从外部进入服务器为目标端口;反之,数据从服务器出去则为数据源端口,使用 --sport同理,-s是指定源地址,-d是指定目标地址。 然后,关闭所有的端口 最后,保存当前规则 这种ipta ...
分类:
其他好文 时间:
2016-04-18 17:16:29
阅读次数:
103
1370 - Bi-shoe and Phi-shoe PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB Bamboo Pole-vault is a massively popular sport ...
分类:
其他好文 时间:
2016-04-14 08:13:28
阅读次数:
205
开始的时候觉得是DNS服务器出了问题,换了一个DNS服务器,发现仍旧不行,最后想肯定是防火墙的问题了域名解析用到了53端口, 需要把下面的设置配置到防火墙里即可。iptables -A INPUT -p udp --sport 53 -j ACCEPTiptables -A OUTPUT -p ud...
分类:
系统相关 时间:
2015-12-26 01:14:25
阅读次数:
213
防火墙的名字叫 netfilter 工具/命令叫iptables命令:iptables选项:-t 指定表-A 在最上面增加一条规则-I 在最下面增加一条规则-D 删除一条规则-A-I-D 后面跟链的名称 INPUT-s 跟源地址-p 跟协议 (tcp udp icmp)--sport/--dpor....
分类:
Web程序 时间:
2015-11-22 15:48:24
阅读次数:
160
$META_DB -N -e "use web_boss_rainbow;select iDsId, sDbname, sHost, sPort, sNameServiceKey,sDriver from t_boss_v2_page_datasource;">${sDataFile}sed -i ...
分类:
其他好文 时间:
2015-11-05 21:59:08
阅读次数:
213