BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old January 30th, 2006, 08:08 PM
Shpiz Shpiz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2005
Posts: 54 Shpiz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 h 54 m 28 sec
Reputation Power: 3
Question Block on PF

Hello all..

I have a little question on Packet Filter ..

How would you create a rule set for implicit block ?

I did that way:
on the top of the ruleset section in my pf.conf file, I have wrote:
block log all
I also tryed
block in log all
block out log all

( Tell me if I am Wrong .. )
those two rules hase the same meaning if I understand it right. Also it does not matter if I put it on the top or at the end of the ruleset section..

Also If I understand it right this rule should block every thing but not the rules that has been defined in the ruleset ?

if I am right why when I set this rule every thing is completly block even the other rules that allow traffic ..??

Thank you for your help on understanding this better ..
Cheers

Reply With Quote
  #2  
Old January 30th, 2006, 11:35 PM
murphy_young murphy_young is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 296 murphy_young User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 h 17 m 54 sec
Reputation Power: 0
You must put:

block in log all
block out log all

To the bottom of the file.
Also, why you use "log" ?

Reply With Quote
  #3  
Old January 31st, 2006, 05:20 PM
Shpiz Shpiz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2005
Posts: 54 Shpiz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 h 54 m 28 sec
Reputation Power: 3
you mean at the Bottom bottm of the pf.conf file ?

Reply With Quote
  #4  
Old February 4th, 2006, 03:37 AM
murphy_young murphy_young is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 296 murphy_young User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 h 17 m 54 sec
Reputation Power: 0
Yes

Reply With Quote
  #5  
Old February 4th, 2006, 08:02 AM
Shpiz Shpiz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2005
Posts: 54 Shpiz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 h 54 m 28 sec
Reputation Power: 3
Ok i did it but now nothing is blocked !

Reply With Quote
  #6  
Old February 10th, 2006, 12:41 PM
murphy_young murphy_young is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 296 murphy_young User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 h 17 m 54 sec
Reputation Power: 0
Maybe you have some lines in the file that open everything.
Let's see your file.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Block on PF


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway