Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Nov 2014 21:40:50 +1100 (EST)
From:      Dave Horsfall <dave@horsfall.org>
To:        FreeBSD PF List <freebsd-pf@freebsd.org>
Subject:   Re: Getting tables to work in PF
Message-ID:  <alpine.BSF.2.00.1411032123560.1220@aneurin.horsfall.org>
In-Reply-To: <CAPBZQG2DKNGSGRNu8%2BMAdEtyH5vj85dpxRUY2kMwDOZ44f7PJA@mail.gmail.com>
References:  <alpine.BSF.2.00.1411031433070.1220@aneurin.horsfall.org> <CAPBZQG2b7=iiGLsj-vtuiaWRUJ-Gk6n9JwCXxVjCMeVEqsuing@mail.gmail.com> <alpine.BSF.2.00.1411032002560.1220@aneurin.horsfall.org> <CAPBZQG2DKNGSGRNu8%2BMAdEtyH5vj85dpxRUY2kMwDOZ44f7PJA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--1483753691-1283304627-1415011250=:1220
Content-Type: TEXT/PLAIN; charset=UTF-8
Content-Transfer-Encoding: 8BIT

On Mon, 3 Nov 2014, Ermal Luçi wrote:

> - Full ruleset if you can disclose

As attached - no secrets in it.  It's somewhat loose because it's behind 
another firewall (the ADSL modem) that just lets SMTP/HTTP/SSH-secret-port 
through to it (I've masked the SSH port).

> - Make sure with output of pfctl -s all that pf is actually enabled to 
> do filtering on packets.

Attached; the empty "FILTER RULES" looks a bit suspicious...

> NOTE: You enable pf by running pfctl -e

I know; I was using "service pf restart" as well.

-- 
Dave Horsfall (VK2KFU)  "Bliss is a MacBook with a FreeBSD server."
http://www.horsfall.org/spam.html (and check the home page whilst you're there)
--1483753691-1283304627-1415011250=:1220
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=spammers
Content-Transfer-Encoding: BASE64
Content-ID: <alpine.BSF.2.00.1411032140500.1220@aneurin.horsfall.org>
Content-Description: spammers
Content-Disposition: attachment; filename=spammers

IyBuZXRtYW4uY3VzdC5mc2kuaW8NCjIxNi42Ni4xNS4xMjANCg==

--1483753691-1283304627-1415011250=:1220
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=pf.conf
Content-Transfer-Encoding: BASE64
Content-ID: <alpine.BSF.2.00.1411032140501.1220@aneurin.horsfall.org>
Content-Description: pf.conf
Content-Disposition: attachment; filename=pf.conf

Iw0KIyBTdHJpcHBlZCBkb3duIGhlYXZpbHkgZnJvbSBLRCAoT3BlbkJTRCku
DQojIFRoaXMgYm94IGhhcyBubyBvdGhlciBpbnRlcmZhY2VzLCBhbmQgaXMg
ZmFjaW5nIHRoZSBuZXQuDQojDQojIEluIG90aGVyIHdvcmRzLCB0aGVyZSBp
cyBubyBpbnRlcm5hbCBpbnRlcmZhY2U7IHRoaXMgYm94IGlzDQojIGFsbCB0
aGF0IHRoZXJlIGlzLCBoZW5jZSBpcyBzZWxmLWZpcmV3YWxsZWQuDQojDQoN
CmV4dF9pZiA9ICJmeHAwIg0KDQpzZXQgYmxvY2stcG9saWN5IGRyb3ANCnNl
dCBza2lwIG9uIGxvDQpzZXQgbG9naW50ZXJmYWNlIGVncmVzcwkjIENhbid0
IHJlbWVtYmVyIHdoYXQgdGhpcyBkb2VzDQojc2V0IHJ1bGVzZXQtb3B0aW1p
emF0aW9uIGJhc2ljDQoNCiMNCiMgRG9lcyB0aGlzIGFjdHVhbGx5IGNyZWF0
ZSB0aGUgdGFibGU/ICBCZWNhdXNlIGl0IHN1cmUgYXMgaGVsbCBkb2Vzbid0
DQojIGxvYWQgaXQuLi4gIEZvciB0aGF0IEkgbmVlZCAicGZjdGwgWy12XSAt
dCBzcGFtbWVycyAtVGFkZCB4LngueC54Ig0KIw0KdGFibGUgPHNwYW1tZXJz
PiBwZXJzaXN0IGZpbGUgIi9ldGMvc3BhbW1lcnMiDQoNCiMNCiMgU01UUCBt
b3N0bHksIGJ1dCBjb3VsZCB1c2UgZm9yIHd3dywgc3NoLCBldGMuDQojDQoj
IENsZWFuc2UgZXZlcnk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H0gdG8gYW55DQoNCiMg
V2hhdCBhYm91dCA0NC84Pw0KDQojIFRlc3RpbmcNCiNibG9jayBpbiBxdWlj
ayBsb2cgb24gJGV4dF9pZiBwcm90byB0Y3AgcG9ydCBzbXRwIGZyb20gYW55
IHRvIGFueQ0KDQojIEFsbG93ZWQgc2VydmljZXMgaGFuZGxlZCBoZXJlDQoN
CiMgREggLSBOTk5OIGlzIHdoZXJlIEkgcGFyayBteSBTU0hEDQpwYXNzIGlu
IHF1aWNrIG9uICRleHRfaWYgcHJvdG8gdGNwIGZyb20gYW55IHRvIGFueSBw
b3J0IFwNCgl7IHNtdHAsIHd3dywgZG9tYWluLCBOTk5OLCBzZnRwIH0gZmxh
Z3MgUy9TQSBrZWVwIHN0YXRlDQpwYXNzIGluIHF1aWNrIG9uICRleHRfaWYg
cHJvdG8gdWRwIGZyb20gYW55IHRvIGFueSBwb3J0IHsgZG9tYWluLCBudHAg
fSBrZWVwIHN0YXRlDQpwYXNzIGluIHF1aWNrIG9uICRleHRfaWYgaW5ldCBw
cm90byBpY21wIGZyb20gYW55IHRvIGFueSBpY21wLXR5cGUgdW5yZWFjaA0K
cGFzcyBpbiBxdWljayBvbiAkZXh0X2lmIGluZXQgcHJvdG8gaWdtcCBmcm9t
IGFueSB0byBhbnkNCg==

--1483753691-1283304627-1415011250=:1220
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=pfctl
Content-Transfer-Encoding: BASE64
Content-ID: <alpine.BSF.2.00.1411032140502.1220@aneurin.horsfall.org>
Content-Description: Output of pfctl -s all
Content-Disposition: attachment; filename=pfctl

RklMVEVSIFJVTEVTOg0KDQpJTkZPOg0KU3RhdHVzOiBFbmFibGVkIGZvciAw
IGRheXMgMTQ6MTA6MDkgICAgICAgICAgIERlYnVnOiBVcmdlbnQNCg0KU3Rh
dGUgVGFibGUgICAgICAgICAgICAgICAgICAgICAgICAgIFRvdGFsICAgICAg
ICAgICAgIFJhdGUNCiAgY3VycmVudCBlbnRyaWVzICAgICAgICAgICAgICAg
ICAgICAgICAgMCAgICAgICAgICAgICAgIA0KICBzZWFyY2hlcyAgICAgICAg
ICAgICAgICAgICAgICAgICAgMTE1Nzc4ICAgICAgICAgICAgMi4zL3MNCiAg
aW5zZXJ0cyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgMCAgICAg
ICAgICAgIDAuMC9zDQogIHJlbW92YWxzICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgIDAgICAgICAgICAgICAwLjAvcw0KQ291bnRlcnMNCiAgbWF0
Y2ggICAgICAgICAgICAgICAgICAgICAgICAgICAgIDExNTc3OCAgICAgICAg
ICAgIDIuMy9zDQogIGJhZC1vZmZzZXQgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgIDAgICAgICAgICAgICAwLjAvcw0KICBmcmFnbWVudCAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAwICAgICAgICAgICAgMC4wL3MNCiAg
c2hvcnQgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgMCAgICAg
ICAgICAgIDAuMC9zDQogIG5vcm1hbGl6ZSAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgIDAgICAgICAgICAgICAwLjAvcw0KICBtZW1vcnkgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAwICAgICAgICAgICAgMC4wL3MN
CiAgYmFkLXRpbWVzdGFtcCAgICAgICAgICAgICAgICAgICAgICAgICAgMCAg
ICAgICAgICAgIDAuMC9zDQogIGNvbmdlc3Rpb24gICAgICAgICAgICAgICAg
ICAgICAgICAgICAgIDAgICAgICAgICAgICAwLjAvcw0KICBpcC1vcHRpb24g
ICAgICAgICAgICAgICAgICAgICAgICAgICAgNDA4ICAgICAgICAgICAgMC4w
L3MNCiAgcHJvdG8tY2tzdW0gICAgICAgICAgICAgICAgICAgICAgICAgICAg
MCAgICAgICAgICAgIDAuMC9zDQogIHN0YXRlLW1pc21hdGNoICAgICAgICAg
ICAgICAgICAgICAgICAgIDAgICAgICAgICAgICAwLjAvcw0KICBzdGF0ZS1p
bnNlcnQgICAgICAgICAgICAgICAgICAgICAgICAgICAwICAgICAgICAgICAg
MC4wL3MNCiAgc3RhdGUtbGltaXQgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgMCAgICAgICAgICAgIDAuMC9zDQogIHNyYy1saW1pdCAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgIDAgICAgICAgICAgICAwLjAvcw0KICBzeW5w
cm94eSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAwICAgICAgICAg
ICAgMC4wL3MNCg0KVElNRU9VVFM6DQp0Y3AuZmlyc3QgICAgICAgICAgICAg
ICAgICAgMTIwcw0KdGNwLm9wZW5pbmcgICAgICAgICAgICAgICAgICAzMHMN
CnRjcC5lc3RhYmxpc2hlZCAgICAgICAgICAgODY0MDBzDQp0Y3AuY2xvc2lu
ZyAgICAgICAgICAgICAgICAgOTAwcw0KdGNwLmZpbndhaXQgICAgICAgICAg
ICAgICAgICA0NXMNCnRjcC5jbG9zZWQgICAgICAgICAgICAgICAgICAgOTBz
DQp0Y3AudHNkaWZmICAgICAgICAgICAgICAgICAgIDMwcw0KdWRwLmZpcnN0
ICAgICAgICAgICAgICAgICAgICA2MHMNCnVkcC5zaW5nbGUgICAgICAgICAg
ICAgICAgICAgMzBzDQp1ZHAubXVsdGlwbGUgICAgICAgICAgICAgICAgIDYw
cw0KaWNtcC5maXJzdCAgICAgICAgICAgICAgICAgICAyMHMNCmljbXAuZXJy
b3IgICAgICAgICAgICAgICAgICAgMTBzDQpvdGhlci5maXJzdCAgICAgICAg
ICAgICAgICAgIDYwcw0Kb3RoZXIuc2luZ2xlICAgICAgICAgICAgICAgICAz
MHMNCm90aGVyLm11bHRpcGxlICAgICAgICAgICAgICAgNjBzDQpmcmFnICAg
ICAgICAgICAgICAgICAgICAgICAgIDMwcw0KaW50ZXJ2YWwgICAgICAgICAg
ICAgICAgICAgICAxMHMNCmFkYXB0aXZlLnN0YXJ0ICAgICAgICAgICAgIDYw
MDAgc3RhdGVzDQphZGFwdGl2ZS5lbmQgICAgICAgICAgICAgIDEyMDAwIHN0
YXRlcw0Kc3JjLnRyYWNrICAgICAgICAgICAgICAgICAgICAgMHMNCg0KTElN
SVRTOg0Kc3RhdGVzICAgICAgICBoYXJkIGxpbWl0ICAgIDEwMDAwDQpzcmMt
bm9kZXMgICAgIGhhcmQgbGltaXQgICAgMTAwMDANCmZyYWdzICAgICAgICAg
aGFyZCBsaW1pdCAgICAgNTAwMA0KdGFibGVzICAgICAgICBoYXJkIGxpbWl0
ICAgICAxMDAwDQp0YWJsZS1lbnRyaWVzIGhhcmQgbGltaXQgICAyMDAwMDAN
Cg0KVEFCTEVTOg0Kc3BhbW1lcnMNCndvb2RwZWNrZXJzDQoNCk9TIEZJTkdF
UlBSSU5UUzoNCjY5NiBmaW5nZXJwcmludHMgbG9hZGVkDQo=

--1483753691-1283304627-1415011250=:1220--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1411032123560.1220>