Forwarding your Traffic through SSH
avatar

As a consultant I am always on networks which can not be trusted.  One way to make sure no one is sniffing my traffic, I run my connection through an SSH tunnel.  This is something which is incredibly simple to do and just requires a machine which you can connect to through SSH.

The first thing you need to do is make sure you have tunneling setup on the machine you are going to connect to. This is in the /etc/ssh/sshd_config settings file.  You want to make sure you have the line:

PermitTunnel yes

Once you have that set you just need to restart sshd service, on CentOS/Fedora/Red Hat that would be:

service sshd restart

Now you are ready to connect to the tunnel.  What is nice is that no matter what services are being blocked as long as you can ssh out you will be able to connect anywhere.  To create the tunnel run the command:

ssh -fN -D <port number> <username>:<server>

The -fN creates the connection in the background.  If you want to run it in the foreground just leave that out.  The next parameter is the -D this defines the port you want to use for the Dynamic port forwarding (SOCKS Connection).  You can use any port, just make sure it isn’t already in use on the current machine.

The next and final step is just to configure your browser or computer to use the tunnel.  This is done in the network settings section of your OS or your Browser (depending on what you want to send through the tunnel).

NOTE:  Make sure you clear out any other fields in there and only leave the settings for SOCK or the application/OS may not use the tunnel. 

Posted in Linux | Tagged , , | Leave a comment

Keeping bash history in sync on disk and between multiple terminals
avatar

This is something I personally don’t find too useful but others may so I thought I would share it.

 

briancarper.net λ – Keeping bash history in sync on disk and between multiple terminals.

Posted in Linux | Tagged , , | Leave a comment

PHP IP Logger Android App Update
avatar

The PHP IP Logger app has been updated to backup your settings to the Google Backup service so now if you uninstall and re-install the app your settings will come back.

Posted in Android, Android Apps, News, Our Apps, PHP IP Logger | Tagged | Leave a comment

Harptabs.com Android App Updated
avatar

The Harptabs.com Android App to now backup your settings to the Google Backup Service.  So now when you get a new phone or reinstall the app all of your settings will be there.

I also added a pop-up asking people to rate the app.  The more ratings the app has the higher it is listed when people search.

Posted in Android, Android Apps, Harptabs.com, Harptabs.com Mobile App, News, Our Apps | Tagged | Leave a comment

Root your Motorola Droid Razr
avatar

I just recently got a Motorola Droid Razr and was disappointed to find out that the rooting apps and guides out there were not working.  So I created a quick one myself.  It is self contained and will only run on Linux but I figured I would make it available to everyone.

It uses the motofail exploit.

Download Link:  http://www.djlactose.com/Root_Razr.tgz

Version
1.01 – Updated to make the run script executable and updated it to pause after each reboot.
1.00 – Initial Release

Posted in Android, Linux, News | Tagged , , | Leave a comment