<?xml version="1.0" encoding="utf-8"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>DaemonForums - OpenBSD Security</title>
		<link>http://www.daemonforums.org//</link>
		<description>Functionally paranoid!</description>
		<language>en</language>
		<lastBuildDate>Sun, 19 May 2013 22:44:25 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.daemonforums.org/images/misc/rss.jpg</url>
			<title>DaemonForums - OpenBSD Security</title>
			<link>http://www.daemonforums.org//</link>
		</image>
		<item>
			<title>A question about pf by default.</title>
			<link>http://www.daemonforums.org//showthread.php?t=7892&amp;goto=newpost</link>
			<pubDate>Sat, 11 May 2013 12:40:38 GMT</pubDate>
			<description>Hi all,  
 
 
I am new on OpenBSD, my level is not good about security : 
I installed OpenBSD 5.3, is the pf.conf by default enough to protect me ?!...</description>
			<content:encoded><![CDATA[<div>Hi all, <br />
<br />
<br />
I am new on OpenBSD, my level is not good about security :<br />
I installed OpenBSD 5.3, is the pf.conf by default enough to protect me ?!<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">#&nbsp; &nbsp; &nbsp;  $OpenBSD: pf.conf,v 1.52 2013/02/13 23:11:14 halex Exp $<br />
#<br />
# See pf.conf(5) for syntax and examples.<br />
# Remember to set net.inet.ip.forwarding=1 and/or net.inet6.ip6.forwarding=1<br />
# in /etc/sysctl.conf if packets are to be forwarded between interfaces.<br />
<br />
# increase default state limit from 10'000 states on busy systems<br />
#set limit states 100000<br />
<br />
set skip on lo<br />
<br />
# filter rules and anchor for ftp-proxy(8)<br />
#anchor &quot;ftp-proxy/*&quot;<br />
#pass in quick inet proto tcp to port ftp divert-to 127.0.0.1 port 8021<br />
<br />
# anchor for relayd(8)<br />
#anchor &quot;relayd/*&quot;<br />
<br />
block&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  # block stateless traffic<br />
pass&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # establish keep-state<br />
<br />
# rules for spamd(8)<br />
#table &lt;spamd-white&gt; persist<br />
#table &lt;nospamd&gt; persist file &quot;/etc/mail/nospamd&quot;<br />
#pass in on egress proto tcp from any to any port smtp \<br />
#&nbsp; &nbsp; rdr-to 127.0.0.1 port spamd<br />
#pass in on egress proto tcp from &lt;nospamd&gt; to any port smtp<br />
#pass in log on egress proto tcp from &lt;spamd-white&gt; to any port smtp<br />
#pass out log on egress proto tcp to any port smtp<br />
<br />
<br />
#block in quick from urpf-failed to any # use with care<br />
<br />
# By default, do not permit remote connections to X11 block in on ! lo0 proto tcp to port 6000:6010</code><hr />
</div>Thanks for any help.<br />
ripe</div>

]]></content:encoded>
			<category domain="http://www.daemonforums.org//forumdisplay.php?f=15">OpenBSD Security</category>
			<dc:creator>ripe</dc:creator>
			<guid isPermaLink="true">http://www.daemonforums.org//showthread.php?t=7892</guid>
		</item>
		<item>
			<title>Pf.conf:29 syntax error</title>
			<link>http://www.daemonforums.org//showthread.php?t=7861&amp;goto=newpost</link>
			<pubDate>Wed, 24 Apr 2013 16:00:44 GMT</pubDate>
			<description><![CDATA[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:...]]></description>
			<content:encoded><![CDATA[<div>Greetings to All,<br />
<br />
I'm running OpenBSD 5.2 GENERIC #339 i386<br />
<br />
I'm trying  to build my pf.conf. I have tried using the one posted here by Oko:<br />
<a href="http://www.daemonforums.org/showthread.php?t=4187" target="_blank">http://www.daemonforums.org/showthread.php?t=4187</a><br />
<br />
When I input the statement:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">scrub in all random-id fragment reassemble <br />
scrub out all random-id fragment reassemble</code><hr />
</div>I get syntax error. So, I removed the statements and run:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">pfctl -f /etc/pf.conf</code><hr />
</div>I get no errors. I decided to do a very simple statement as described in:<br />
<a href="http://www.openbsd.gr/faq/pf/scrub.html" target="_blank">http://www.openbsd.gr/faq/pf/scrub.html</a><br />
<br />
So I used the simple statement:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">scrub in all</code><hr />
</div>It produces error: <div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Pf.conf:29 syntax error<br />
pfctl: Syntax error in config file: pf rules not loaded</code><hr />
</div>I'm using nano to edit file and I'm not adding a carriage return.<br />
<br />
Questions: <br />
<br />
What am I doing wrong?<br />
<br />
Are all the rules not loaded because of this error?<br />
<br />
Thank you and regards to all</div>

]]></content:encoded>
			<category domain="http://www.daemonforums.org//forumdisplay.php?f=15">OpenBSD Security</category>
			<dc:creator>CyberJet</dc:creator>
			<guid isPermaLink="true">http://www.daemonforums.org//showthread.php?t=7861</guid>
		</item>
	</channel>
</rss>
