<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-12627</id>
	<title>Nabble - openbsd - packet filter</title>
	<updated>2009-11-13T09:03:24Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/openbsd---packet-filter-f12627.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/openbsd---packet-filter-f12627.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26339870</id>
	<title>pf is blocking too much connections?</title>
	<published>2009-11-13T09:03:24Z</published>
	<updated>2009-11-13T09:03:24Z</updated>
	<author>
		<name>LeiV</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;I have a openbsd pf firewall protecting a web server, I have noticed that some pages gives me errors when browsing through my site (sometimes it works sometimes not), then I looked at pf and saw that is blocking a lot of connectyions, how do I know which connections is blocking?
&lt;br&gt;&lt;br&gt;# pfctl -s info
&lt;br&gt;Status: Enabled for 202 days 23:34:57 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Debug: Urgent
&lt;br&gt;&lt;br&gt;Interface Stats for bge0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IPv4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IPv6
&lt;br&gt;&amp;nbsp; Bytes In &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1637636412652 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1992
&lt;br&gt;&amp;nbsp; Bytes Out &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1954253582327 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0
&lt;br&gt;&amp;nbsp; Packets In
&lt;br&gt;&amp;nbsp; &amp;nbsp; Passed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6000993286 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 31
&lt;br&gt;&amp;nbsp; &amp;nbsp; Blocked &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;125620228 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0
&lt;br&gt;&amp;nbsp; Packets Out
&lt;br&gt;&amp;nbsp; &amp;nbsp; Passed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6379190130 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0
&lt;br&gt;&amp;nbsp; &amp;nbsp; Blocked &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 43305301 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0
&lt;br&gt;&lt;br&gt;State Table &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Total &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Rate
&lt;br&gt;&amp;nbsp; current entries &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 9656
&lt;br&gt;&amp;nbsp; searches &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 25855533798 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1474.3/s
&lt;br&gt;&amp;nbsp; inserts &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2050396787 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;116.9/s
&lt;br&gt;&amp;nbsp; removals &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2050387131 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;116.9/s
&lt;br&gt;Counters
&lt;br&gt;&amp;nbsp; match &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2334111432 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;133.1/s
&lt;br&gt;&amp;nbsp; bad-offset &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0/s
&lt;br&gt;&amp;nbsp; fragment &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;64 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0/s
&lt;br&gt;&amp;nbsp; short &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0/s
&lt;br&gt;&amp;nbsp; normalize &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0/s
&lt;br&gt;&amp;nbsp; memory &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 240838837 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 13.7/s
&lt;br&gt;&amp;nbsp; bad-timestamp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0/s
&lt;br&gt;&amp;nbsp; congestion &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 118 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0/s
&lt;br&gt;&amp;nbsp; ip-option &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0/s
&lt;br&gt;&amp;nbsp; proto-cksum &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0/s
&lt;br&gt;&amp;nbsp; state-mismatch &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;275884 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0/s
&lt;br&gt;&amp;nbsp; state-insert &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;33110230 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1.9/s
&lt;br&gt;&amp;nbsp; state-limit &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0/s
&lt;br&gt;&amp;nbsp; src-limit &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0/s
&lt;br&gt;&amp;nbsp; synproxy &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0/s
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/pf-is-blocking-too-much-connections--tp26339870p26339870.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25777600</id>
	<title>access to outlook web access through Openbsd</title>
	<published>2009-10-06T15:28:19Z</published>
	<updated>2009-10-06T15:28:19Z</updated>
	<author>
		<name>Big John B</name>
	</author>
	<content type="html">I changed OWA to allow anybody in the Exchange folder on the 2003 server. Did not add any security , just wanted to make work before I tightened it up. Updated the pf.conf to redirect to the internal Exchange 2003. Can't seem to get there. Works internally.
&lt;br&gt;Openbsd 4.0
&lt;br&gt;&lt;br&gt;rdr pass on $ext_if proto tcp from any to any port 80 -&amp;gt; 192.168.254.99 port 80
&lt;br&gt;pass in quick on $ext_if proto { tcp, udp } from any to 192.168.254.99 port 80 keep state
&lt;br&gt;&lt;br&gt;Problem with my rdr and pass in?
&lt;br&gt;&lt;br&gt;thanks</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/access-to-outlook-web-access-through-Openbsd-tp25777600p25777600.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25022682</id>
	<title>Bridge architecture question</title>
	<published>2009-08-18T04:06:38Z</published>
	<updated>2009-08-18T04:06:38Z</updated>
	<author>
		<name>wreckman</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I've got a SDSL line with a 8 public IP bloc
&lt;br&gt;&lt;br&gt;I would like to build an openBSD 4.5 in a bridge configuration with 3 interface.
&lt;br&gt;&lt;br&gt;Here is the architecture :
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=== [ rl1 ] ===== SERVER1 PUB_IP_1 ======|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;br&gt;SDSL =====[ rl0 ]= OpenBSD ===== &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|====== LAN
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=== [ rl2 ] ===== SERVER2 PUB_IP_2 ======
&lt;br&gt;&lt;br&gt;The clients will be acceding to both services offered by SERVER1 and SERVER2 :
&lt;br&gt;- SERVER1 is a full H323 video conferencing server and is the gatekeeper
&lt;br&gt;- SERVER2 is a web video conferencing server over HTTP/HTTPS
&lt;br&gt;&lt;br&gt;My goal is to build the OpenBSD machine as a bridge with multiple public IPs (in order not to mess with H323 and NAT problems)
&lt;br&gt;&lt;br&gt;Is this configuration possible ?
&lt;br&gt;Will both SERVERS receive their IP and will be able to communicate over the SDSL link ?
&lt;br&gt;&lt;br&gt;I also would like to :
&lt;br&gt;-	Limit global SDSL link at 4 megs
&lt;br&gt;-	Allow each link to use all of the bandwith up to 4 mega if the other is unused
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; But try to give an equal bandwidth to each link
&lt;br&gt;-	Filters some dangerous ports with pf
&lt;br&gt;&lt;br&gt;Can somebody give me some help with this case ?
&lt;br&gt;&lt;br&gt;Regards Romain</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bridge-architecture-question-tp25022682p25022682.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24762848</id>
	<title>OpenBSD Loose UDP Routing?</title>
	<published>2009-07-31T13:47:12Z</published>
	<updated>2009-07-31T13:47:12Z</updated>
	<author>
		<name>spiller37</name>
	</author>
	<content type="html">This is a quote from one of their Knowledge Base articles. &amp;nbsp;Is it possible to enable this in OpenBSD?
&lt;br&gt;&lt;br&gt;The reason for this is AC uses &amp;nbsp;&amp;quot;Loose UDP Routing&amp;quot;. What this means is that information that comes back from the servers is on a &amp;nbsp;different port than information that is sent to them.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenBSD-Loose-UDP-Routing--tp24762848p24762848.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24237193</id>
	<title>Packet Logging Through Syslog, cannot get any logs from txt file</title>
	<published>2009-06-27T15:27:05Z</published>
	<updated>2009-06-27T15:27:05Z</updated>
	<author>
		<name>eigenheit</name>
	</author>
	<content type="html">I did everything as described in the faq, but for some reason I don't see any log in my new /var/log/pflog.txt file. 
&lt;br&gt;Do I need a fresh reboot, Even though I have restarted the syslog.pid process. ?
&lt;br&gt;&lt;br&gt;I have a block log all by default, but did not assign a pass to pflog0, is there a possible issue?
&lt;br&gt;&lt;br&gt;Thanks for any help. 
&lt;br&gt;&amp;nbsp; </content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Packet-Logging-Through-Syslog%2C-cannot-get-any-logs-from-txt-file-tp24237193p24237193.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21343304</id>
	<title>Cannot rdr from internal network to a squid proxy running on pf bridge firewall.</title>
	<published>2009-01-07T16:05:50Z</published>
	<updated>2009-01-07T16:05:50Z</updated>
	<author>
		<name>arc_gabriel</name>
	</author>
	<content type="html">Hi Guys,
&lt;br&gt;&lt;br&gt;I have researching and investigating on doing squid transparent proxying with the use of pf in bridge mode. But I could not still find a way to make it work.
&lt;br&gt;I have read heaps of stuff across the net but nothing seems to work for me.
&lt;br&gt;&lt;br&gt;I want all my clients on the internal network to be redirected to squid on localhost (127.0.0.1 3128) whenever they do http request. The firewall is in bridge mode.
&lt;br&gt;&lt;br&gt;Looking at the tcpdump on pflog0, the rdr rule is being hit but the rule with route-to is not.
&lt;br&gt;&lt;br&gt;Here is a tcpdump for the traffic:
&lt;br&gt;1231295472.541029 rule 0/(match) rdr in on em0: freebsd-testmach.auckland.ac.nz.56875 &amp;gt; localhost.auckland.ac.nz.3128: [|tcp] (DF)
&lt;br&gt;1231295472.541048 rule 3/(match) pass out on em1: freebsd-testmach.auckland.ac.nz.56875 &amp;gt; localhost.auckland.ac.nz.3128: [|tcp] (DF)
&lt;br&gt;&lt;br&gt;The first line matches the rdr rule on em0 but the second line tells that is has passed out on the external interface(em1) which is wrong.
&lt;br&gt;&lt;br&gt;Can you please help me out with this dilemma.
&lt;br&gt;&lt;br&gt;Below is my setup/configuration. I am running squid squid-3.0.STABLE11 and have configured squid with this options ./configure --prefix=/var/squid --with-pthreads --enable-pf-transparent
&lt;br&gt;&lt;br&gt;bridge0 = em0 + em1
&lt;br&gt;# cat /etc/bridgename.bridge0 down
&lt;br&gt;add em0
&lt;br&gt;add em1
&lt;br&gt;addspan em0
&lt;br&gt;addspan em1
&lt;br&gt;-learn em1
&lt;br&gt;-learn em0
&lt;br&gt;discover em0
&lt;br&gt;discover em1
&lt;br&gt;autoptp em0
&lt;br&gt;autoptp em1
&lt;br&gt;maxaddr 400
&lt;br&gt;fwddelay 6
&lt;br&gt;-link0
&lt;br&gt;-link1
&lt;br&gt;up
&lt;br&gt;&lt;br&gt;# cat /etc/sysctl.conf net.inet.ip.forwarding=1 # 1=Permit forwarding (routing) of IPv4 packets
&lt;br&gt;&lt;br&gt;# cat /etc/pf.conf
&lt;br&gt;&lt;br&gt;ext_if=&amp;quot;em1&amp;quot;
&lt;br&gt;int_if=&amp;quot;em0&amp;quot;
&lt;br&gt;set loginterface $ext_if
&lt;br&gt;scrub in
&lt;br&gt;&lt;br&gt;rdr pass log on $int_if inet proto tcp from any to any port 80 -&amp;gt; 127.0.0.1 port 3128
&lt;br&gt;pass in quick log on $int_if route-to 127.0.0.1 proto tcp from any to 127.0.0.1 port 3128
&lt;br&gt;&lt;br&gt;pass in log all
&lt;br&gt;pass out log on $int_if all
&lt;br&gt;pass out log on $ext_if all
&lt;br&gt;&lt;br&gt;Thanks in advance. Your help is mostly appreciated.
&lt;br&gt;&lt;br&gt;Best Regards,
&lt;br&gt;&lt;br&gt;Mark Pagulayan
&lt;br&gt;University of Auckland</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Cannot-rdr-from-internal-network-to-a-squid-proxy-running-on-pf-bridge-firewall.-tp21343304p21343304.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-20303258</id>
	<title>Reflect SNMP traps to multiple destinations.</title>
	<published>2008-11-03T06:01:34Z</published>
	<updated>2008-11-03T06:01:34Z</updated>
	<author>
		<name>cyberclogs</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I am attempting to forward traps from a device to multiple management stations.
&lt;br&gt;For example,
&lt;br&gt;&lt;br&gt;Router A sends a trap to a node (NMS-A). When this trap passes the firewall, I would like to pick up the packet, and duplicate this packet to NMS-B, NMS-C etc).
&lt;br&gt;&lt;br&gt;I have looked at pf.conf, attempting several rule types.
&lt;br&gt;Firstly, I tried the rdr statement, but it only forwards round-robin (so either of the NMSs, but not all - which is what I want it to do).
&lt;br&gt;&lt;br&gt;Then I looked at the dup-to syntaxes, but I cannot see the traps being sent to any other NMS than one of them.
&lt;br&gt;&lt;br&gt;This rule (in my head), would look at all traps sent to nms-a, and duplicate the traps for nms-b and nms-c
&lt;br&gt;&lt;br&gt;pass in on $int_if dup-to ($nms_if $nms-b) proto udp from 10.10.10.1 to $nms-a port 162
&lt;br&gt;pass in on $int_if dup-to ($nms_if $nms-c) proto udp from 10.10.10.1 to $nms-a port 162
&lt;br&gt;&lt;br&gt;# Router A is 10.10.10.1
&lt;br&gt;&lt;br&gt;Where am I going wrong? I have tried a lot of options now, but all I see when tcpduping the nms_if are traps goin gto nms-a....
&lt;br&gt;&lt;br&gt;Please help...
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Simon (aka Cyberclogs).</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Reflect-SNMP-traps-to-multiple-destinations.-tp20303258p20303258.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-13634878</id>
	<title>Re: PFW... ever used it?</title>
	<published>2007-11-07T12:04:26Z</published>
	<updated>2007-11-07T12:04:26Z</updated>
	<author>
		<name>kenneth2k1</name>
	</author>
	<content type="html">So I guess that's a no?</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/PFW...-ever-used-it--tp13594236p13634878.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-13594236</id>
	<title>PFW... ever used it?</title>
	<published>2007-11-05T11:57:03Z</published>
	<updated>2007-11-05T11:57:03Z</updated>
	<author>
		<name>kenneth2k1</name>
	</author>
	<content type="html">I am very very new to Open BSD, and we have a Twinguard firewall, with this pfw app installed. It allows for a web browser to configure the packet filter. I have some general questions if someone would like to help...
&lt;br&gt;&lt;br&gt;Does the syntax &amp;quot;any&amp;quot; work as a source or destination when setting up my rule?
&lt;br&gt;&lt;br&gt;Is a protocol always necessary on my rules? 
&lt;br&gt;&lt;br&gt;What does the Family Address represent? What does inet mean and when should I use it?
&lt;br&gt;&lt;br&gt;Here is what the pfw interface has as my rules after I configured them in the web browser. I am sure there are mistakes here, so if someone could show me what I'm doing wrong, that would be GREAT!!!
&lt;br&gt;&lt;br&gt;Thanks!!
&lt;br&gt;&lt;br&gt;# Network Rules
&lt;br&gt;pass in log on $ext_if from ipsec_users to 172.20.0.0 # Any in
&lt;br&gt;pass out log on $ext_if from 172.20.0.0 to ipsec_users # Any out
&lt;br&gt;pass in on $ext_if proto tcp from any to 172.20.255.108 port 5190 # AOL in
&lt;br&gt;pass out log on $ext_if proto tcp from 172.20.255.108 to any port 5190 # AOL out
&lt;br&gt;pass in on $ext_if from any to 172.20.255.108 port 5190 # AOL in
&lt;br&gt;pass out log on $ext_if proto tcp from 172.20.1.110 port 80 to any # Filtered-HTTP
&lt;br&gt;pass in on $ext_if proto tcp from any to 172.20.255.108 port 25 # Filtered-SMTP in
&lt;br&gt;pass out log on $ext_if proto tcp from 172.20.255.108 port 25 to any # Filtered-SMTP out
&lt;br&gt;pass in log on $ext_if proto FTP from 208.57.255.187 port 21 to 172.20.99.6 # FTP in
&lt;br&gt;pass out log on $ext_if proto FTP from 172.20.99.6 to any port 21 # FTP out
&lt;br&gt;pass in log on $ext_if proto tcp from 208.57.255.187 port 443 to 172.20.255.189 # HTTPS_Synxis in 
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/PFW...-ever-used-it--tp13594236p13594236.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-12598528</id>
	<title>SIP connection tracking via PF</title>
	<published>2007-09-10T11:44:49Z</published>
	<updated>2007-09-10T11:44:49Z</updated>
	<author>
		<name>lancer_97</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Is there an openbsd counterpart for linux sip connection tracking module? We have a voip setup (host based) wherein we have agents pc w/ xlite on windows connecting to a dialer outside our LAN. Our previous setup was openbsd 4.1 w/ PF enabled. I tried making calls but connection cannot be established. I tried removing all filtering/blocking but still of no avail. Then I heard about the sip connection tracking module of linux w/c I loaded upon start of the server then do the necessary Iptables config, voila ,, it works! I'm an openbsd for almost 4 yrs and I really love PF. Is there a way I could work this out using PF ? 
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Appie</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SIP-connection-tracking-via-PF-tp12598528p12598528.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-1726023</id>
	<title>Re: I have $300</title>
	<published>2005-11-30T15:13:10Z</published>
	<updated>2005-11-30T15:13:10Z</updated>
	<author>
		<name>Ian-22</name>
	</author>
	<content type="html">Awesome - good deal. I have a Netra X1 running openbsd and it's rock solid.
&lt;br&gt;&lt;br&gt;Good luck,
&lt;br&gt;&lt;br&gt;-Ian
&lt;br&gt;&lt;br&gt;On 11/30/05, Bob Ababurko &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=1726023&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ababurko@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I totally appreciate everybodies comments and I have in fact decided to
&lt;br&gt;&amp;gt; pass over the embedded solution. &amp;nbsp;We just picked up a Sun Netra T105
&lt;br&gt;&amp;gt; (440Mhz, 512MB)on ebay. &amp;nbsp;It was about $135 shipped and have two onboard
&lt;br&gt;&amp;gt; NIC's. &amp;nbsp;I have always like Sun hardware and it works well with OpenBSD,
&lt;br&gt;&amp;gt; it is some of the best in quality. &amp;nbsp;Fits in one rack unit and will be
&lt;br&gt;&amp;gt; cheap to grab another to do a failover when the time comes. &amp;nbsp;I can even
&lt;br&gt;&amp;gt; dd the drive to make a disk for the new unit when I implement it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I understand that running two cheap ones is better than running one
&lt;br&gt;&amp;gt; solid state machine. &amp;nbsp;Plus the horsepower leaves little to work with in
&lt;br&gt;&amp;gt; some of these tiny contraptions(soekris comes to mind). &amp;nbsp;Not to say that
&lt;br&gt;&amp;gt; they do not have their place, but I feel that this is the best answer.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -Bob
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-I-have-%24300-tp1722656p1726023.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-1722656</id>
	<title>Re: I have $300</title>
	<published>2005-11-30T11:56:52Z</published>
	<updated>2005-11-30T11:56:52Z</updated>
	<author>
		<name>Bob Ababurko-2</name>
	</author>
	<content type="html">I totally appreciate everybodies comments and I have in fact decided to
&lt;br&gt;pass over the embedded solution. &amp;nbsp;We just picked up a Sun Netra T105
&lt;br&gt;(440Mhz, 512MB)on ebay. &amp;nbsp;It was about $135 shipped and have two onboard
&lt;br&gt;NIC's. &amp;nbsp;I have always like Sun hardware and it works well with OpenBSD,
&lt;br&gt;it is some of the best in quality. &amp;nbsp;Fits in one rack unit and will be
&lt;br&gt;cheap to grab another to do a failover when the time comes. &amp;nbsp;I can even
&lt;br&gt;dd the drive to make a disk for the new unit when I implement it.
&lt;br&gt;&lt;br&gt;I understand that running two cheap ones is better than running one
&lt;br&gt;solid state machine. &amp;nbsp;Plus the horsepower leaves little to work with in
&lt;br&gt;some of these tiny contraptions(soekris comes to mind). &amp;nbsp;Not to say that
&lt;br&gt;they do not have their place, but I feel that this is the best answer.
&lt;br&gt;&lt;br&gt;-Bob
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-I-have-%24300-tp1722656p1722656.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-1530530</id>
	<title>Re: carp + no ip address on iface (only master can receive acks)</title>
	<published>2005-11-17T05:55:13Z</published>
	<updated>2005-11-17T05:55:13Z</updated>
	<author>
		<name>Jon Hart-2</name>
	</author>
	<content type="html">On Thu, Nov 17, 2005 at 10:02:46PM +1100, Alex Strawman wrote:
&lt;br&gt;&amp;gt; &amp;gt; Traffic shouldn't even be getting OUT on the backup in this situation.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; i agree - there is no correct solution without using an ip addr for
&lt;br&gt;&amp;gt; each real interface.
&lt;br&gt;&lt;br&gt;&amp;gt; would be nice to for example use an external ntp server to sync with,
&lt;br&gt;&amp;gt; but unless it uses another route (rather than ip-less carp'd
&lt;br&gt;&amp;gt; interface), it cannot (without dodgy work-arounds).
&lt;br&gt;&lt;br&gt;Assuming you are also using pfsync, that means you've got another
&lt;br&gt;interface that directly connects both firewalls. &amp;nbsp;Assign normal,
&lt;br&gt;non-multicast addresses to those physical pfsync interfaces and ensure
&lt;br&gt;that you can pass traffic between the two. &amp;nbsp;Configure pf on both boxes
&lt;br&gt;to NAT traffic out over its external carp'd IP address when it is coming
&lt;br&gt;in on $pfsync_if from $pfsync_net.
&lt;br&gt;&lt;br&gt;This allows your carp backup to still have outbound net so things like
&lt;br&gt;NTP, mail and external DNS lookups still work. &amp;nbsp;Yes, there are ways you
&lt;br&gt;could run these and other various services internally but there may be
&lt;br&gt;reasons you cannot do this. &amp;nbsp;In the end, having outbound connectivity
&lt;br&gt;for an otherwise unreachable host is a good thing, IMO. &amp;nbsp;
&lt;br&gt;&lt;br&gt;The catch here is that when the backup carp host is a backup, its
&lt;br&gt;routing table must be aware that its route is no longer out over the
&lt;br&gt;carp'd interface, but rather over your pfsync interface and the
&lt;br&gt;receiving end is going to nat for you. &amp;nbsp;There may be other ways to
&lt;br&gt;accomplish this (ospf, perhaps), but I went with ifstated. &amp;nbsp;
&lt;br&gt;&lt;br&gt;In my case, carp5/em5 on each box points upstream and each box has
&lt;br&gt;a single external IP address assigned to it. &amp;nbsp;The two boxes each have
&lt;br&gt;the same two failover upstream gateways (not under my control -- a.b.c.d
&lt;br&gt;and w.x.y.z). &amp;nbsp;Yes, this setup is different than yours, but it should
&lt;br&gt;give you enough to help you figure out the routing bit.
&lt;br&gt;&lt;br&gt;The config below is for the backup carp host. &amp;nbsp;A similar one exists for
&lt;br&gt;the master (all that is different is that the primary/secondary routes
&lt;br&gt;are different and the pfsync IP to route to is different (.3 vs .2)).
&lt;br&gt;&lt;br&gt;Pretty? &amp;nbsp;Depends who you ask. &amp;nbsp;The right solution? &amp;nbsp;Likely not, but it
&lt;br&gt;got me out of a hole that I needed a way out of quickly, &amp;nbsp;and it may
&lt;br&gt;help you too.
&lt;br&gt;&lt;br&gt;-jon
&lt;br&gt;&lt;br&gt;&lt;br&gt;#####
&lt;br&gt;&lt;br&gt;init-state wan_master 
&lt;br&gt;wan_carp_up = &amp;quot;carp5.link.up&amp;quot;
&lt;br&gt;wan_carp_init = &amp;quot;carp5.link.unknown&amp;quot;
&lt;br&gt;wan_iface_up = &amp;quot;em5.link.up&amp;quot;
&lt;br&gt;wan_primary_route_up = '&amp;quot;ping -q -c1 -w1 a.b.c.d 2&amp;gt; /dev/null 1&amp;gt; /dev/null&amp;quot; every 2'
&lt;br&gt;wan_secondary_route_up = '&amp;quot;ping -q -c1 -w1 w.x.y.z 2&amp;gt; /dev/null 1&amp;gt; /dev/null&amp;quot; every 2'
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;state wan_master {
&lt;br&gt;&amp;nbsp; &amp;nbsp;init {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; run &amp;quot;echo WAN master at `date` | mail -s 'WAN master change' \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=1530530&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;someone@...&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;# probably just came up. &amp;nbsp;give things a chance to sync
&lt;br&gt;&amp;nbsp; &amp;nbsp;if ($wan_carp_init)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; run &amp;quot;sleep 5&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;if (! $wan_carp_up)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; set-state wan_slave
&lt;br&gt;&amp;nbsp; &amp;nbsp;if ($wan_primary_route_up)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; set-state primary_route 
&lt;br&gt;&amp;nbsp; &amp;nbsp;if (! $wan_primary_route_up) &amp;&amp; ($wan_secondary_route_up)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; set-state secondary_route
&lt;br&gt;&amp;nbsp; &amp;nbsp;if (! $wan_primary_route_up) &amp;&amp; (! $wan_secondary_route_up)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; run &amp;quot;echo THIS SHOULD NEVER HAPPEN!&amp;quot;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;state wan_slave {
&lt;br&gt;&amp;nbsp; &amp;nbsp;init {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; # simple. &amp;nbsp;drop the default route and route over $SYNC_IF
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; run &amp;quot;route change default 192.168.0.2&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; run &amp;quot;echo WAN slave at `date` &amp;nbsp;| mail -s 'WAN slave change' \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=1530530&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;someone@...&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;# if our link(s) come up, become the master 
&lt;br&gt;&amp;nbsp; &amp;nbsp;if ($wan_carp_up)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; set-state wan_master 
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;state primary_route {
&lt;br&gt;&amp;nbsp; &amp;nbsp;init {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; run &amp;quot;route change default a.b.c.d&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; run &amp;quot;echo Using primary route at `date` &amp;nbsp;| mail -s 'Primary route change' &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=1530530&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;someone@...&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;# if our link(s) go down, become the slave
&lt;br&gt;&amp;nbsp; &amp;nbsp;if (! $wan_carp_up)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; set-state wan_slave
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;if (! $wan_primary_route_up)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; set-state secondary_route
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;state secondary_route {
&lt;br&gt;&amp;nbsp; &amp;nbsp;init {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; run &amp;quot;route change default w.x.y.z&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; run &amp;quot;echo Using secondary route at `date` &amp;nbsp;| mail -s 'Secondary route change' &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=1530530&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;someone@...&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp;# if our link(s) go down, become the slave
&lt;br&gt;&amp;nbsp; &amp;nbsp;if (! $wan_carp_up)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; set-state wan_slave
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;if (! $wan_secondary_route_up)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; set-state primary_route
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/carp-%2B-no-ip-address-on-iface-%28only-master-can-receive-acks%29-tp1524792p1530530.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-1527940</id>
	<title>Re: carp + no ip address on iface (only master can receive acks)</title>
	<published>2005-11-17T03:02:46Z</published>
	<updated>2005-11-17T03:02:46Z</updated>
	<author>
		<name>Alex Strawman</name>
	</author>
	<content type="html">&amp;gt; Traffic shouldn't even be getting OUT on the backup in this situation.
&lt;br&gt;&lt;br&gt;i agree - there is no correct solution without using an ip addr for
&lt;br&gt;each real interface.
&lt;br&gt;&lt;br&gt;would be nice to for example use an external ntp server to sync with,
&lt;br&gt;but unless it uses another route (rather than ip-less carp'd
&lt;br&gt;interface), it cannot (without dodgy work-arounds).
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/carp-%2B-no-ip-address-on-iface-%28only-master-can-receive-acks%29-tp1524792p1527940.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-1526155</id>
	<title>Re: carp + no ip address on iface (only master can receive acks)</title>
	<published>2005-11-17T00:02:39Z</published>
	<updated>2005-11-17T00:02:39Z</updated>
	<author>
		<name>Ryan McBride-3</name>
	</author>
	<content type="html">On Thu, Nov 17, 2005 at 03:02:56PM +1100, Alex Strawman wrote:
&lt;br&gt;&amp;gt; ok, now this makes sense, how is the next hop meant to send packets
&lt;br&gt;&amp;gt; back? it sends them to the mac address the carp0 is broadcasting,
&lt;br&gt;&amp;gt; which the master happily accepts, only to see its not in its state
&lt;br&gt;&amp;gt; table, and drops it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; the backup system doesn't get it's acks back..
&lt;br&gt;&lt;br&gt;Traffic shouldn't even be getting OUT on the backup in this situation.
&lt;br&gt;&lt;br&gt;&amp;gt; is there currently a way around this
&lt;br&gt;&lt;br&gt;Get more IP addresses.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/carp-%2B-no-ip-address-on-iface-%28only-master-can-receive-acks%29-tp1524792p1526155.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-1524792</id>
	<title>carp + no ip address on iface (only master can receive acks)</title>
	<published>2005-11-16T20:02:56Z</published>
	<updated>2005-11-16T20:02:56Z</updated>
	<author>
		<name>Alex Strawman</name>
	</author>
	<content type="html">one small problem with carp and ip-less interfaces..
&lt;br&gt;&lt;br&gt;scenario: you have no ip address bound to each of the real interfaces,
&lt;br&gt;and carp is sharing the one address for you (isp only gives you 1
&lt;br&gt;address).
&lt;br&gt;&lt;br&gt;only the master can craft packets out (assuming this shared carp'ed
&lt;br&gt;address is the external).
&lt;br&gt;&lt;br&gt;ok, now this makes sense, how is the next hop meant to send packets
&lt;br&gt;back? it sends them to the mac address the carp0 is broadcasting,
&lt;br&gt;which the master happily accepts, only to see its not in its state
&lt;br&gt;table, and drops it.
&lt;br&gt;&lt;br&gt;the backup system doesn't get it's acks back..
&lt;br&gt;&lt;br&gt;is there currently a way around this?
&lt;br&gt;&lt;br&gt;i bashed a quick thing to route via the other system (via pfsync
&lt;br&gt;interface), and if the host is down or this box (the backup) becomes a
&lt;br&gt;master, then remove the route and resort back to the default (via the
&lt;br&gt;carp0 interface, which the next hop will now reply too, or should i
&lt;br&gt;say, the carp0 will now accept to/from)
&lt;br&gt;&lt;br&gt;buts thats fair hokey
&lt;br&gt;&lt;br&gt;&lt;br&gt;Alex
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/carp-%2B-no-ip-address-on-iface-%28only-master-can-receive-acks%29-tp1524792p1524792.html" />
</entry>

</feed>
