摘要: Definition:The #define Directive You can use the #define directive to give a meaningful name to a constant in your program. The two forms of the syntax are: Syntax #define identifier token-stringopt #define identifier[( identifieropt, ... , identifieropt )] token-stringoptUsage:1. 简单的define定义#de... 阅读全文
posted @ 2013-03-15 16:12 功夫 熊猫 阅读(581) 评论(1) 推荐(0) 编辑
摘要: Hi dear fellows,I want to setup my network in the following way:1)unknown clients get a dynamic address from range A, with router R1, and DNS1 and DNS2.2)known clients (by specific MAC addresses) get a dynamic address from range B, with router R2, and DNS3 and DNS4.3)known clients (by specific MAC a 阅读全文
posted @ 2013-03-15 16:12 功夫 熊猫 阅读(705) 评论(0) 推荐(0) 编辑
摘要: 笔者的dhcp client 一次在不同的dhcp sever之间切换时 (从10.0.2.× 网段到10.0.9.x网段), 抓包如下:其中的第四个包NAK的数据内容如下:0110 00 00 00 00 00 00 63 82 53 63 35 01 06 36 04 0a ......c. Sc5..6..0120 00 09 01 38 1f 72 65 71 75 65 73 74 65 64 20 61 ...8.req uested a0130 64 64 72 65 73 73 20 6e 6f 74 20 61 76 61 69 6c ddress n ot ava 阅读全文
posted @ 2013-03-15 16:11 功夫 熊猫 阅读(560) 评论(2) 推荐(0) 编辑
摘要: Below are some examples which will help you to understand packet filtering better. Again, a word of warning, before performing packet filtering, make sure that you do not run it in promiscuous mode and you have permissions from your employer or you run it in your own network, better if you could cr. 阅读全文
posted @ 2013-03-15 16:11 功夫 熊猫 阅读(439) 评论(0) 推荐(0) 编辑
摘要: http://linux.die.net/man/5/dhcpd.confNamedhcpd.conf - dhcpd configuration fileDescriptionThe dhcpd.conf file contains configuration information for dhcpd, the Internet Systems Consortium DHCP Server.The dhcpd.conf file is a free-form ASCII text file. It is parsed by the recursive-descent parser buil 阅读全文
posted @ 2013-03-15 16:10 功夫 熊猫 阅读(2042) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示