Metin bey,

 Su anki pf.conf dosyam ekteki gibidir. http ve mail  portlarini acip digerlerini kapatmak istiyorum kapali bir system uygulamak istiyorum gerektiginde portlari eklerim diye dusunuyorum.

#

#

#

#

Invalid hatasi aldigim makina girdigim degerleri;

 

Host                   :game

Domain              :cap.com

Ipv4 gateway      : 194.85.131.93

Name server : 194.85.129.80

Netmask            :255.255.255.252

 

Sevgiler ve saygilar

abdullah

 

 


From: Metin Pasaoglu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 22, 2006 4:12 PM
To: [email protected]
Subject: RE: [FreeBSD] pf.conf hatasi

 

Merhaba Abdullah bey,

 

Su anki pf.conf dosyanizi gonderirseniz eminim yardimci olabiliriz. Bir de ne yapma kistediginizi, hangi portlara veya servislere erismek istediginizi soylerseniz guzel olur.

 

Bu arada invalid ip hatasi aldiginiz zaman girdiginiz tum degerleri buraya gonderebilir misiniz?

 

Kolay gelsin.

 

Metin Paşaoğlu

Security Expert

Bilgi Güvenlik

Tel      : +90 232 4697063
Fax     : +90 232 4697064

www.bilgiguvenlik.com

 

 


From: Abdullah OZTURK [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 22, 2006 2:24 PM
To: [email protected]
Subject: RE: [FreeBSD] pf.conf hatasi

 

Merhaba metin bey,

 

Quick leri kaldirdim ssh ile baglantiyi saglayabildim ama http ile baglantim kesildi kismen de olsa baglanti geri geldi simdi bundan sonrasina bakacagiz artik…

 

Iyi calismalar

abdullah

 


From: Metin Pasaoglu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 21, 2006 4:39 PM
To: [email protected]
Subject: RE: [FreeBSD] pf.conf hatasi

 

Merhaba Abdullah bey,

 

Konfigurasyonda “quick” kullanırken dikkat edin. Quick demek bu satir uydugu an, alt satira inmeden uygula demektir. Bu yuzden en ustte block satirlari yazmissiniz. Hem de any to any seklinde. Bunun yerine en ustte izin verdiklerinizi yazip, alta

 

Block in all

Block out all

 

 Seklinde ekleme yaparsaniz, ustte kurali olmayan tum paketler blocklanir.

 

Iyi calismalar,

 

Metin Paşaoğlu

Security Expert

Bilgi Güvenlik

Tel      : +90 232 4697063
Fax     : +90 232 4697064

www.bilgiguvenlik.com

 

 


From: Abdullah OZTURK [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 21, 2006 3:26 PM
To: [email protected]
Subject: [FreeBSD] pf.conf hatasi

 

 

Pf conf da boyle bir kurallar tanimladim calistirdigim zaman butun baglantilari kopariyor sadece block in all u kaldirdigim zaman gecise izin veriyor asagida gerekli izinleri verdigim halde neden blocklama yapiyor

Yardimci olabilirseniz sevinirim  zira cok ugrasmama ragmen bilgi yetersizliginden bulamadim .

 

#1kisaltmalar;

d_f="fxp0"  

if="rl0"   

i_n="192.168.1.0/24"

da="x.x.x.x"

gw="192.168.1.1"

ms="192.168.1.2"

ws="192.168.1.2"

gp="{22,25,43,53,80,110,443,9100}"

rd="192.168.1.78 "

pr="192.168.1.65"

ftp="{ 192.168.1.78, 192.168.1.1 }"

 

 

 

#17nat kurallari

nat on $d_f from $i_n to any port $gp -> $da

 

#27bloklamalar;

block in all

block out all

block in log quick on $d_f proto tcp from any to any flags SF/SFRA

block in log quick on $d_f proto tcp from any to any flags /SFRA

block in log quick on $d_f from $i_n to any

block in log quick on $d_f from any to $i_n

 

#35izinler;

pass in quick on lo0 all

pass out quick on lo0 all

pass in on  $if  from $i_n to $gw

pass in quick on $d_f  proto tcp from any to any port ssh flags S/SA keep state

pass in quick on $if  proto tcp from any to any port ssh

pass in log on $if inet proto tcp from $ftp  to any port 21 keep state

pass in  on $if inet proto tcp from any to 127.0.0.1 port 3128 keep state

pass out on $d_f inet proto tcp from any to any port www keep state

pass in log on $d_f proto { tcp, udp } from any to any port 80 keep state

 

 

 


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.2.6/286 - Release Date: 3/20/2006


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.2.6/286 - Release Date: 3/20/2006


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.2.6/287 - Release Date: 3/21/2006


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.2.6/287 - Release Date: 3/21/2006

Attachment: pf.conf
Description: Binary data

---------------------------------------------------------------------
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org
Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php

Cevap