News for hackers. Stuff that matters.
Re:Putting Freebsd on little Wi-Fi router devices by rsync on Monday May 18, 2015 @12:03PM (#9565170)
My primary use-case in small border firewalls like this is running sshuttle on them as a lightweight VPN.

The problem is, FreeBSD cannot properly run sshuttle - it can do it for regular traffic, and it works well, but it cannot do DNS lookups for the entire network over the tunnel. This shortcoming is documented by the sshuttle README @ github.[1]

I am very interested in having this fixed / worked around and am willing to PAY SOMEONE TO FIX IT. If anyone out there is interested in (finally) getting sshuttle working on FreeBSD, please email [email protected] and we can discuss.

[1] https://github.com/apenwarr/sshuttle

Re:Putting Freebsd on little Wi-Fi router devices by detaro on Monday May 18, 2015 @12:45PM (#9565409)
You sure you linked the right repo? There are forks with newer activity, and the linked readme doesn't say anything about DNS not working? (Or I'm to tired right now to find it) Is any of the forks a new "official" version?
Re:Putting Freebsd on little Wi-Fi router devices by erikarn on Monday May 18, 2015 @01:28PM (#9565697)
If this is still a problem then yeah, join #freebsd on efnet and ask for some help. :)
Re:Putting Freebsd on little Wi-Fi router devices by emaste on Monday May 18, 2015 @03:36PM (#9566409)
Avery hasn't put much effort into sshuttle for some time - you probably want Brian May's fork, which is now https://github.com/sshuttle/sshuttle

In any case, since 2011 sshuttle has supported DNS interception via a divert socket, so although it might not work today I suspect it should be somewhat straightforward to fix. I haven't looked into this yet as my only use case for sshuttle involves running it on the end host itself (typically my laptop).

Re:Putting Freebsd on little Wi-Fi router devices by rsync on Monday May 18, 2015 @04:43PM (#9566763)
Yes, you're right - I lazily linked to the original project.

However the new project has the same issues with DNS over VPN on FreeBSD. I have personally corresponded with the current maintainer, etc., and since they build and test only on Linux, it's not something that ever got fixed.

If you read the original HOWTO/README from the original project, it details the issues and I can confirm that no amount of settings changes or workarounds will allow you to get DNS over the tunnel on FreeBSD.

Re:Putting Freebsd on little Wi-Fi router devices by emaste on Tuesday May 19, 2015 @09:19PM (#9574153)
I see this issue has been discussed on the FreeBSD lists on occasion, but I can't find it on the sshuttle list in the four years of archives I've got. I also don't see a reference to this in the README.md in the original project.

The threads I have managed to find largely amount to "it doesn't work." Are you aware of anywhere the specific details of the issue are posted (debug logs from sshuttle, packet captures, etc.)?

Re:Putting Freebsd on little Wi-Fi router devices by X-Istence on Monday May 18, 2015 @02:21PM (#9566020)
Where in the README does it state that it is unable to do DNS?