osx-mavericks

Using PacketFilter to transparently proxy packets in OS X

你说的曾经没有我的故事 提交于 2019-12-03 08:35:33
问题 There is a cool utility out there called sshuttle. It has depended on ipfw to forward packets in the past. It appears that ipfw is mostly broken in Mavericks and the advice is to use PacketFilter for this now. I've spent most of the day looking at PacketFilter and it appears ipfw has a feature that PacketFilter does not support (hope I'm wrong about this). The following rule: ipfw -q add 12300 fwd 127.0.0.1,12300 tcp from any to any not ipttl 42 keep-state setup will forward all traffic to

osx Mavericks: dnsmasq stops working

瘦欲@ 提交于 2019-12-03 07:25:02
I have been using dnsmasq on mac osx mountain lion which was installed via mac ports. Recently,I upgraded to Osx Mavericks and all of a sudden it has stopped working. I examined the dnsmasq.conf and resolv.conf in /opt/local/etc/ which are unchanged. In addition the dnsmasq process is displayed running in the os activity monitor. I tried a force quit of the dnsmasq process as well. Any suggestions? Has anyone experienced a similar problem? Artem Gordinsky Solved mine by doing the following: mkdir -pv $(brew --prefix)/etc/ echo 'address=/ .dev /127.0.0.1' > $(brew --prefix)/etc/dnsmasq.conf

Link error installing Rcpp “library not found for -lintl”

前提是你 提交于 2019-12-03 06:17:40
I just stumbled over a linker error when trying to install some R packages which have Rcpp as a dependency. My setup is Mac OS X 10.9.1 (Mavericks), R 3.0.2 installed by Homebrew. Here's the error output: > install.packages('Rcpp') trying URL 'http://cran.fhcrc.org/src/contrib/Rcpp_0.10.6.tar.gz' Content type 'application/x-gzip' length 1985569 bytes (1.9 Mb) opened URL ================================================== downloaded 1.9 Mb * installing *source* package ‘Rcpp’ ... ** package ‘Rcpp’ successfully unpacked and MD5 sums checked ** libs clang++ -I/usr/local/Cellar/r/3.0.2/R.framework

CGEventTapCreateForPSN in Mavericks+ (GetCurrentProcess deprecated)

守給你的承諾、 提交于 2019-12-03 05:18:07
I am using CGEventTapCreateForPSN to trap and filter keys for my application. I'm not interested in intercepting events for other applications. I'm pretty sure an event tap is too heavy handed for my purpose, but I've been unable to find a better way, and using the event tap works. Specifically, this code does what I want. GetCurrentProcess(&psn); CFMachPortRef eventTap = CGEventTapCreateForPSN( &psn, kCGHeadInsertEventTap, kCGEventTapOptionDefault, CGEventMaskBit(kCGEventKeyDown) | CGEventMaskBit(kCGEventKeyUp), eventCallback, userInfo); And my callback is handled nicely, with the events

Git push keep getting permission denied after mac 10.9.2 update

守給你的承諾、 提交于 2019-12-03 05:04:02
Wondering if anyone experiencing the same issue with OSX 10.9.2 Update. After installing that update, I couldn't do git push anymore, keep getting permission denied(public key). Have tried to generate a new ssh pair, and reenter the new key to server, but still no luck. Also tried to do it on another git hosting after inserting a new key, still doesnt work. So I guess its not a server problem, but a OSX 10.9.2 issue. Any suggestion would be appreciated. Thanks! I ran into the same problem with the Mavericks 10.9.2 update. Anything using your ssh public key (ssh, git, svn, etc) will have a

Error on loading Genymotion Device on OS X Mavericks

放肆的年华 提交于 2019-12-03 03:51:30
I have been using Genymotion on OS X 10.8 but after I updated it to Mavericks, the Genymotion device does not work properly. The three buttons which should be at the bottom appear at the top. However the touch is uneffected. Thus while the buttons are shifted to top, they are sensitive to touch only when touched at bottom. Here is a sample screenshot Edit - One of the answers suggest that the problem might also depend on the Mac model I am using. I am using a 13" Macbook Retina Pro. Edit 2 - A couple of applications are also running upside down. For example, the Music App the problem should

Can't sign kext in Mavericks/Yosemite?

纵然是瞬间 提交于 2019-12-03 03:30:59
Goal: to sign my own packages, and my own kernel extensions. "My own" in the context means "that I wrote, or that I picked elsewhere, recompiled myself from their sources, and want to install on my machine. Problem: Mavericks does not accept my signature with Code Signing Failure: code signature is invalid (but loads the kext), Yosemite won't even load it. I have my own CA, and code-signing certs. I've been able to successfully sign code and set up policies that would allow code signed by the given certs to be installed and executed - both codesign and spctl like it, as you see in the output

OSX Mavericks - BIND no longer installed… how to get local DNS server working?

空扰寡人 提交于 2019-12-03 03:13:54
问题 I have always used BIND on OSX to provide a local DNS resolver for my local development machines, particularly to facilitate virtual machines accessing my local dev environment. Foolishly I decided to upgrade to OSX Mavericks overnight and it appears BIND is no longer installed - even when the command line developer tools are added. Anyone have a suggestion of how to restore this functionality, or if the latest OSX has an alternative DNS solution in place? Thanks, Steve 回答1: You can install

pecl installs for previous php version

旧街凉风 提交于 2019-12-03 02:46:38
问题 I've upgraded my MacBook to Mavericks and ruined my development environment. The problem I have right now is that my pear/pecl still tries to install for my previous (5.3) version of PHP instead of version 5.4. PHP version: $ php -v PHP 5.4.17 (cli) (built: Aug 25 2013 02:03:38) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans Pear $ pear version PEAR Version: 1.9.4 PHP Version: 5

Selector name found in current argument registers: isEqual:

被刻印的时光 ゝ 提交于 2019-12-03 02:04:07
I am looking for some assistance with squashing a bug in an OSX app that i just can't work out. I am getting a logged error of: Selector name found in current argument registers: isEqual: But i can't for the life of me work out where it's coming from as the log is very unhelpful. Also i can't reproduce this on my own test systems, but it seems to be happening quite a lot on some of the beta testers machines. This only seems to happen on 10.9. Here is the log file for the crash: Incident Identifier: 77FAD32D-0316-489E-B898-9C084A4FF48A CrashReporter Key: A9FEF4E7-53F7-5FD1-AEDE-915C87BD437F