🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.linux.sieci
Article #231834

Re: dhcpd3 i iptables

#231834
From: Lukasz Lacinski
Date: Mon, 17 Dec 2007 21:09
20 lines
1585 bytes
whitey pisze:
> Lukasz Lacinski wrote:
>> Na maszynie dziala serwer dhcp. Chcialbym na tej maszynie za pomoca 
>> iptables zablokowac pakiety generowane przez niego i wychodzace w 
>> siec. Jak to zrobic?
 >
> porty
> udp. 67 i 68
> 
> iptables -I INPUT –I ethX –p udp –-sport 67:68 –-dport 67:68 –j DROP
> iptables -A OUTPUT –I ethX –p udp –-dport 67:68 –-dport 67:68 –j DROP
> 
> ale moge sie mylic z pamieci pisalem, jak wroce do dom to sprawdze

Druga regula nie dziala. Niestety na iptablesy wchodzi tylko czesc 
pakietow wysylanych przez procesy w siec.
I jak tu polegac na ulogd albo na NFQUEUE. Ech!

Pozdrawiam
Lukasz Lacinski
Technical Details
Message-ID: <fk6no2$g8a$1@nemesis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!opal.futuro.pl!news.internetia.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <fk5sec$ove$1@achot.icm.edu.pl> <fk6bs3$iu7$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!opal.futuro.pl!news.internetia.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Lukasz Lacinski <latinWYTTONIJ@icis.pcz.pl>
Newsgroups: pl.comp.os.linux.sieci
Subject: Re: dhcpd3 i iptables
Date: Mon, 17 Dec 2007 22:09:06 +0100
Organization: tp.internet - http://www.tpi.pl/
Lines: 20
Message-ID: <fk6no2$g8a$1@nemesis.news.tpi.pl>
References: <fk5sec$ove$1@achot.icm.edu.pl> <fk6bs3$iu7$1@inews.gazeta.pl>
NNTP-Posting-Host: ub42.internetdsl.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.tpi.pl 1197924931 16650 80.55.131.42 (17 Dec 2007 20:55:31 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Mon, 17 Dec 2007 20:55:31 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
In-Reply-To: <fk6bs3$iu7$1@inews.gazeta.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit