RE: lug-bg: iptables
- Subject: RE: lug-bg: iptables
- From: NAbromov@xxxxxxxx (Nikolai Abromov)
- Date: Fri, 9 Aug 2002 09:54:27 +0300
Zdrasti Sheib
tova s " " okolo $ beshe edno ot purvite neshta koito probvah da napravq
inache (inache versiata mi e v1.2.6a) i putq do scriptovete si e kakto
trqbva (pone na pruv pogled) i vse pak shte gi razgledam po-obstoino.
thanks
-----Original Message-----
From: sheib [mailto:sheib@xxxxxxxxxxxxxxxxx]
Sent: Thursday, August 08, 2002 8:55 PM
To: lug-bg@xxxxxxxxxxxxxxxxxx
Subject: Re: lug-bg: iptables
On Thu, 8 Aug 2002, Nikolai Abromov wrote:
zdrv.
variant 1 - updatenal si iptables do 1.2.6a, no v scripta ti
(/etc/init.d/iptables) ima pointvane kym chast(i) ot staria --
triabva da updatenesh linkovete/paths v nego.
variant 2 - sloji "" okolo $ v iptables scriptovete (save part).
pozdravi,
/s
> Zdraveyte list,
>
>
>
> imam maluk problem s iptables, pisah do iptables@xxxxxxxxxxxxxxxxxxx no oshte ne sa mi otgovorili
> zatova reshih da pisha na lug, znachi problema mi e slednia .. pravq si rule izpolzvaiki owner i limit
> modula - praviloto izglejda eto taka
>
> -A OUTPUT -m owner ! --uid-owner 0 -m limit ! --limit 1000/second -j DROP
>
>
> sled koeto si save-am rule-to "/etc/init.d/iptables save active" - spiram go
> i pak se opitvam da go pusna , efecta ot puskaneto beshe
>
> Loading iptables ruleset: load "active"iptables-restore v1.2.6a: Bad OWNER UID value `!root'
>
> sled koeto reshih da smenq v /var/lib/iptables/active !root s !0 - efetcata beshe sushtia.
>
> vtoria problem koito imam e che v statistikata nevijdam tozi invers koito pravq s ! -- limit 1000/second
>
> stat:
> DROP all -- anywhere anywhere OWNER UID match 340 limit: avg 1000/sec burst 5
>
> a izglejda che drop-va packatite koito sa pod 1000 koeto znachi che "!" nesrabotwa , zatova si napravih test i sas
> samostoqtelen user no i pri nego se drop-vaha packeti .. seshtam se za nachin po-koito moga da go opravq no
> ideqta e da go napisa na edin red tozi rule ako nqkoi e imal podoben problem shte se radvam ako spodeli kak go e opravil
>
>
> thanks in advance
>
>
>
> br,Nikolay Abromov
>
> .
>
>
>
>
>
>
>
>
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|