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 20th July 2015
daemonbak daemonbak is offline
Fdisk Soldier
 
Join Date: Feb 2015
Posts: 51
Default DNSCRYPT-Proxy causes slowdown on one service only

Testing my new firewall running pf on OpenBSD I have noticed something quite odd.

All of my machines get a constant 60Mbps downstream. Except for he xbox. I had originally thought hat maybe one of my pf rules was causing the issue.

I have since narrowed it down to the dnxcrypt proxy.

If I keep this rule in place:
Code:
### Block Rogue DNS requests from LAN clients on port 53 then log and Redirect to use DNSCrypt and Unbound
block return out quick log on egress proto { tcp udp } from any to any port 53
pass in on em1 inet proto { tcp udp } from any to ! 192.168.10.1 port 53 rdr-to 192.168.10.1
My down speed goes from 66Mbps to ~9Mbps. If I comment out the first rule (block) above and then allow the xbox to use the old ns1.pbi.net dns, it gets it's speed back. Re-Enable the block rule and it slows to a crawl.

I have looked everywhere on google trying to see if I can find a reference to this and no go. i have tried specifying multiple dnscrypt servers on the list, turning dnssec off and no change.

How would one go about resolving this as it seems to be the dnscrypt that is causing the issues.

Could I just change the rules as follows (change in bold):
Code:
### Block Rogue DNS requests from LAN clients on port 53 then log and Redirect to use DNSCrypt and Unbound
block return out quick log on egress proto { tcp udp } from ! $xbox to any port 53
pass in on em1 inet proto { tcp udp } from any to ! 192.168.10.1 port 53 rdr-to 192.168.10.1
And if I were to do that change, would all other devices on the network still follow the original rool since I changed it from any to any TO ! $xbox to any

Open to any ideas to fix the speed issue with dnscrypt.

Thanks
Reply With Quote
 


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
DNSCrypt and local Unbound resolver Oko OpenBSD Security 1 28th December 2014 12:54 AM
dnscrypt-proxy build errors? gkbsd OpenBSD Packages and Ports 7 3rd May 2014 01:12 PM
Security DNSCrypt: a tool to encrypt all DNS traffic J65nko News 0 8th December 2011 08:13 PM
Good VPN service? guitarscn Off-Topic 2 15th December 2009 08:55 AM
service prioritization badguy OpenBSD General 1 29th July 2009 05:36 PM


All times are GMT. The time now is 03:43 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