Posts By: jonny

Blocking Attackers in ProFTPd

To manually block an IP address accessing ProFTPd you can use the following in the ProFTPd config file: <Limit LOGIN>Order deny,allowDeny from 111.222.111.222Allow from all</Limit></Global> Of course it would be better to use IPtables iptables -A INPUT -s 111.222.111.222 -j DROP To allow the IP address again: iptables -D INPUT -s 111.222.111.222 -j DROP Where… Read more »

Convert bin/cue to iso with bchunk

On Ubuntu install binchunker with: sudo apt-get install bchunk Then create the iso at the command-line with the following: bchunk myfile.bin myfile.cue newfile.iso More info here

Top of the Tops

A roundup of my top top utilities for troubleshooting problems on servers. htopIn terms of alternatives to the traditional top command htop is pretty good (being better than the older atop too). Maybe it is just the colours but it is also useful to get a view of the memory without the caches included. yum… Read more »

Samba Client

Smbclient operates like a command-line ftp client which allows sending commands to the samba server. The following syntax worked for me: /usr/bin/smbclient ‘//anotherserver/myshare’ -D ‘mydirectory/’ -c ‘mkdir “testlog5″‘ -U ‘myusername%mypass’ I got a bit confused when some directories where list with DA rather than D but these extra file attributes appear to be: A –… Read more »

Get iPlayer

The previous version of get_iplayer had stopped working for me but there is still people updating this script. Get it here: http://www.infradead.org/get_iplayer/html/get_iplayer.html

Android Screenshots

Download the Android SDK: http://developer.android.com/sdk/ Add the Path to the SDK Tools: export PATH=${PATH}:<your_sdk_dir>/tools Run ddms: # ddms Connect your Android device by USB and choose the ‘Sync’ method of connection. Choose your Device from  the left menu Then from the ddms menu bar choose Device > Screen Capture

WineTricks for Windows Dependencies

Download the WineTricks script from here: http://wiki.winehq.org/winetricks Make it executable and then move it to /usr/bin or /usr/local/bin Run it and a GUI will appear to tick the stuff you need e.g. 7zip, AdobeAIR, mono, corefonts and many more

Ubuntu Bibble libstdc++5

Error while trying to install Bibble 4: Error: Dependency is not satisfiable: libstdc++5 Got the DEB file from:http://packages.debian.org/stable/base/libstdc++5And the Bibble installer now works 🙂