DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Security

OpenBSD Security Functionally paranoid!

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 24th April 2013
CyberJet's Avatar
CyberJet CyberJet is offline
Real Name: Ramon
BSD Student
 
Join Date: Feb 2009
Location: Miami FL
Posts: 98
Default Pf.conf:29 syntax error

Greetings to All,

I'm running OpenBSD 5.2 GENERIC #339 i386

I'm trying to build my pf.conf. I have tried using the one posted here by Oko:
http://www.daemonforums.org/showthread.php?t=4187

When I input the statement:
Code:
scrub in all random-id fragment reassemble 
scrub out all random-id fragment reassemble
I get syntax error. So, I removed the statements and run:
Code:
pfctl -f /etc/pf.conf
I get no errors. I decided to do a very simple statement as described in:
http://www.openbsd.gr/faq/pf/scrub.html

So I used the simple statement:
Code:
scrub in all
It produces error:
Code:
Pf.conf:29 syntax error
pfctl: Syntax error in config file: pf rules not loaded
I'm using nano to edit file and I'm not adding a carriage return.

Questions:

What am I doing wrong?

Are all the rules not loaded because of this error?

Thank you and regards to all
__________________
Speak softly and carry BSD!
Reply With Quote
 

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Am I blind? syntax error: `(' unexpected guitarscn Programming 1 10th November 2010 08:53 PM
shc unistd.h:239: error: syntax error before '&' token laraaj OpenBSD General 3 11th September 2010 07:21 AM
difference between rc.conf and loader.conf disappearedng FreeBSD General 5 3rd September 2008 05:54 AM
I need help with make.conf syntax troberts FreeBSD Ports and Packages 4 1st June 2008 03:58 AM
relayd (and hoststated) give syntax error for 'check script' gwl OpenBSD Security 2 2nd May 2008 04:53 PM


All times are GMT. The time now is 04:35 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick