From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.4 X-Injected-Via-Gmane: http://gmane.org/ To: community@lists.altlinux.org From: Van Petrov Date: Fri, 27 Jun 2008 18:42:07 +0700 Message-ID: References: <48635A3B.3060907@rambler.ru> <486392CA.8060803@rambler.ru> <4863A519.5000501@rambler.ru> <4863B451.4010408@rambler.ru> <20080627052940.GA10951@localhost.localdomain> <20080627095155.GA18633@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: host89-251-107-2.hnet.ru User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: <20080627095155.GA18633@localhost.localdomain> Sender: news Subject: Re: [Comm] [OBORONA-SPAM] Re: etcnet X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 11:45:04 -0000 Archived-At: List-Archive: List-Post: Alexey Novikov пишет: > On Fri, Jun 27, 2008 at 09:29:41AM +0400, Alexey Novikov wrote: >> Меня же больше интересует такой вопрос: а можно ли как-то >> блокировать ответы от таких серверов? Судя по ману dhcpcd это >> делать не умеет. Т.е. я знаю из какого диапазона мне выдадут >> адрес и может быть я знаю MAC-адрес этого левого сервера. > > Отвечаю сам себе: в пакете dhcp-client есть dhclient имеющий > опцию -s (пока еще не проверял): > > The DHCP client normally transmits any protocol > messages it sends before acquiring an IP address to, > 255.255.255.255, the IP limited broadcast address. > For debugging purposes, it may be useful to have > the server transmit these messages to some other address. > This can be specified with the -s flag, followed by > the IP address or domain name of the destination. Т.е. где то там надо прописать -s + адрес DNS сервера провайдера? Или адрес dhcp сервера провайдера? И.П.