Using SiriProxy over 3G
So now that the 4S is jailbroken, theoretically we should be able to access SiriProxy through our 3G by adding an entry to the /etc/hosts file. I did that and I get nothing. What am I doing wrong/not doing at all??
My IP address has been replaced with stars for purposes of this post.
Host Database
localhost is used to configure the loopback interface
when the system is booting. Do not change this entry.
127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost fe80::1%lo0 localhost ... guzzoni.apple.com
*edit: my friend was able to succesfully accomplish this using SiriSpire on the 3Gs
I'm working on getting a Cydia tool working for redirecting Siri to a proxy. Should be done later today or tomorrow.
In the meantime, I don't see any stars anywhere. Did you put your ip address in the host file in the form: ip.ip.ip.ip guzzoni.apple.com
Sweet! Let me know when it's ready man, it'd be much appreciated. Yes, I did, the stars were removed from the comment? It's weird.
I was able to get this woking on the 4S by adding this line to the /etc/hosts fiel:
myserver.dyndns.org guzzoni.apple.com
then using ifile, go into /var/mobile/Library/Preferences -> com.apple.assistant.plist (edit with Property List Viewer) Accounts > [lots of numbers] > Hostname and change the server to https://myserver.dyndns.org
It seems to connect now but I get: Create server for iPhone connection start conn #, @zip_stream=#Zlib::Deflate:0xa37c7b0, @consumed_ace=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#>]
And it just hangs. Siri tells me that it can't do anything and to check back later.
Could you post a copy of your new .plist? (with your keys blacked out) I think you might be missing a field or something. Did you remember to use https instead of http?
Ok so I just setup my server and I'm forwarding 443 and 53 from my router to virtualbox Ubuntu SiriProxy that I just setup... also I edited /etc/hosts on my iphone4s and the plist file mentioned above with my Public IP address of my router but Siri says "really sorry about this.. somethings wrong bla bla" and on my SiriProxy I see the below:
Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x8a38984 @signature=81, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x8a3881c, @zip_stream=#Zlib::Deflate:0x8a387f4, @consumed_ace=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x8a37890 @manager=#<SiriProxy::PluginManager:0x8a383e4 @plugins=[...]>>]
Update.. I got it working! Will post how I resolved it shortly..
Awesomeness! Please do tell us how you did it!
In other news, I got my Cydia tweak working and am now working hard now at making a decent icon for it and uploading it to Cydia's bigboss repo as fast as I can. In the meantime check out these development screenshots of SiriSwitch here: http://www.flickr.com/photos/60598968@N04/sets/72157629009104211/
Just flick the switch to go from SiriProxy to Guzzoni and back again! On 3G, EDGE or WIFI!
@xtremd SiriSwitch looks very interesting, could you elaborate on what is does in terms of the plist host and the /etc/hosts file when it is switched on and off?
xtremd, To fix it I had to put both names in the cert (dyndns & guzzoni) per the instructions in the script located here: https://gist.github.com/1552448
This thread is probably dead by now, but I've compiled, tested, and submitted the tweak to Cydia's bigboss repo. They say it should take less than 24 hours for it to be synced into their repo and become available to iPhone4S users. SiriSwitch is on it's way! Hopefully you guys should find it useful for quickly switching between the proxies and Apple's Guzzoni servers.
@ntetreau If you're interested, the code for the tweak can be found here: https://github.com/xtremd/SiriSwitch Basically, the tweak utilizes MobileSubstrate to catch and then override Siri's internal system call for the Siri hostname. It then redirects Siri to the domain of your choice based on the settings you set in the settings pane. This way, the plist never gets touched and Siri alone is redirected through the proxy server.
Hi,
I installed SiriProxy in ubuntu 11.10, generated ca.crt with dual cn and sent it to iPhone 4 & 4s. I'm able to connect to siriproxy over 3g through my 4 but not through my 4s.
Any suggestions will be appreciated greatly. Thanks in advance.
Where do I direct my dyndns server to? External? Internal?
On the 4 and 4s, I have the same /etc/hosts proxyserver.dyndns.org guzzoni.apple.com
And in ifile /var/mobile/library/preferences assistant.plist Hostname pointing to proxyserver.dyndns.org
That combination seems to work perfectly for me.
Host name in the plist is actually: Https://proxyserver.dyndns.org
What do I put for the IP in dyndns? External? Internal?
External, then port forward 443 from your router to the internal ip of your siriproxy
Dns wont let me add a port to the hostname.
Ip.ip.ip.ip:443. Is invalid. "must enter a valid IP"
Dont add the port to the DNs, just put your external ip. Then on your router, forward port 443 to your internal ip
Alright, I give up, I cannot find how I forward port 443 to my internal IP.