Tuesday, November 27, 2012

SSHblock Updated

I checked my servers today and i found no IP address gets blocked by SSHblock even though i think there were some IP addresses that should have been blocked.

After taking a closer look on the configuration files, i finally spotted the problem. It seems that i put a wrong log file to watch in the rc.sshblock script. I change it to the correct log file (/var/log/messages) and it finally works as intended.

I have re-submitted the SlackBuild package to SBo and also pushed the single change to my SlackHacks repository. I didn't bump the BUILD variable, so you just need to adjust the path according to this git commit and it will work.

Sunday, November 25, 2012

Swatch and SSHblock SlackBuilds on SlackHacks

After conducting more thorough testing on the SlackBuilds for swatch and SSHblock this morning, finally i pushed those two packages on my SlackHacks repository as well as to SBo project.

Since this is my first time building packages that utilizes Perl modules, i hope i did it correctly. Well, at least it didn't break my system during my own testing on my desktop. Anyway, i would like to give some tips prior building those two packages.

1. Upgrade your CPAN modules to the latest version. This could take some time to complete and not all of them can be upgraded as some of the modules requires a development version of Perl. You can ignore those packages. You can do this by performing this commands on your terminal (as root user):
  • perl -MCPAN -e shell
  • upgrade
 2. Swatch requires 3 PERL modules, and you have two options: 1) install using CPAN or 2) install using SlackBuilds. Two out of three modules are already available on SlackBuilds, and the last one was submitted before i submitted swatch, but that could take some time to be approved as well.
Suppose you decided to install using CPAN, from the previous cpan prompt, you can just install the dependencies using:
  • install Date::Calc
  • install Date::Manip
  • install File::Tail
3. For SSHblock, you might want to review the pre-defined configuration (sshblock.pl.tpl) that i made. It was made based on default installation using the source package (not by the SlackBuild). Suppose you want to change it, there are five entries that you should change:
  • never_block_these (IP addresses that won't get blocked)
  • history_file (location of the tracking file of the blocked IPs)
  • send_email (your email address)
  • email_level (how many counts before the application send you an email)
  • myhostname (your host name)
Suppose you change the history_file variable, you must update the location in rc.sshblock file, sshunblock.pl.tpl, and sshblock.SlackBuild as well. If you don't mind with my choice, just use the default path (/etc/ssh/block-history).

When you have done all above tips, you are ready to compile and install swatch and SSHblock using my SlackBuild. Give it a try and let me know if something goes wrong.

Saturday, November 24, 2012

Installing SSHblock

This morning, i tried to set up SSHblock which can be used to block users who are abusing the SSH protocol and tried to brute force and gained access to the server.

It's really simple to configure SSHblock since the installation script has done it for you and all you have to do is read the instructions and or warning that came out and fix that and re-run the script again. Even though the script couldn't find the path used in Slackware, but it seems that it will finally place the rc scripts to /etc/rc.d/, which is the correct place in Slackware. That's awesome.

Since it's a PERL scripts, it requires other CPAN modules. SSHblock originally only requires SWATCH to be installed, but SWATCH itself requires 3 modules to be installed:
  • Date::Calc
  • Date::Manip
  • File::Tail
Don't forget to install iptables as well since it will be used to block the IP addresses who tried to enter our server.

You can start the SSHblock service by adding execute permission on /etc/rc.d/rc.sshblock and then start it using /etc/rc.d/rc.sshblock start

If you wish to see the list of IP blocked, you can use /etc/rc.d/rc/sshblock list and if you wish to clear all the blocked IPs, use /etc/rc.d/rc.sshblock clear

Monday, November 19, 2012

FileZilla 3.6.0.1 Released

Tim Kosse has released a minor update to FileZilla to fix some problems with their first major release, 3.6.0 and also to improve some performance.

Based on their ChangeLog:
- Fix problems with TLS cipher selection, including a bugfix for GnuTLS
- Fix a crash on shutdown
- Add log message for servers not using UTF-8
- Small performance and memory optimizations getting file types
- Improve formatting of transfer speeds

Hopefully, this version fixed some problem some people experienced when they are using other FTP client, such as pureftp and proftpd that was compiled with an older version of GnuTLS.

I have updated my SlackBuild in SlackHacks and i have re-submit this update to SBo, but it will take some time before they will be approved by the admins, so for now, you can use the same SlackBuild from my SlackHacks

Sunday, November 18, 2012

VMWare Workstation 9.0.1 and Linux Kernel 3.7

We might have another good news for those who works with VMWare Workstation or VMWare Player. I found another person, Robert Gadsdon who are testing VMWare Workstation on newer Linux Kernel.

He mentioned that VMWare Workstation 9.0.1 is working with Linux Kernel 3.7-rc without needing any new patches, BUT there's still some problems: standard VMware (re)compile/install script vmware-modconfig still doesn’t find the ‘relocated’ version.h in the 3.7 series kernels. He also posted the solution to this problem by creating a symlink from the old location:

ln -s /usr/src/linux-3.7-rc6/include/generated/uapi/linux/version.h \
/usr/src/linux-3.7-rc6/include/linux/version.h



When Linux Kernel 3.7 gets released, you only need to change the path to reflect your real path in your own system.

This should be a good news to all Linux users who also VMWare users.

Wednesday, November 14, 2012

SBo Now Receiving Submissions Again

After resting for some time, finally the admins in SBo are ready to accept submissions again for Slackware 14.0 packages. I just noticed this when browsing LQ forum. Apparently, there are no notification in the mailing list or even in the web. They silently opened up the submission.

Anyway, i have submitted some of my packages that needs to be updated for Slackware 14.0. I also add some one new package that relates to one of my maintained package. The list is growing big and if they are not processed quickly, they will be tons of packages waiting in the queue line.

Sunday, November 11, 2012

FileZilla 3.6.0 Released

FileZilla, a free, Open Source FTP Client (and Server) application has just released FileZilla 3.6.0. It's been some time since FileZilla released a new version, so it's a worthy update.

Here are the new features found on 3.6.0:
  • Auto-scroll file lists if dragging an item near the top or bottom
  • Add option to create empty files to the remote file list context menu
  • Support legacy servers sending directory listings in EBCDIC
  • Added Tango icon set
  • First-time users now get prompted whether they want to save passwords when first using the quickconnect bar
  • Greatly improve TLS performance by updating to GnuTLS 3.1.x with Nettle backend 
Here are some bug fixes and minor changes found on 3.6.0:
  • FTP proxies now work with IPv6 addresses as proxy address
  • Handle expired TLS sessions when trying to reuse a session
  • TLS session reusing no longer fails with newer GnuTLS versions due to changed semantics of gnutls_session_get_data
  • Directory listings no longer sporadically fail if two connections try to list the same directory in parallel
  • Partially work around a Ubuntu-specific problem with modal dialogs not being modal resulting in crashes
  • Do not show "Remember passwords?" dialog if connecting anonymously
  • Make wording in "Remember passwords?" dialog consistent.
  • Increase default TLS session lifetime
  • When asking for confirmation to delete files, state whether it's local or on the server
  • Fix right-to-left rendering of progress line in the transfer queue
  • Fix a crash introduced since 3.5.3
  • IPv6-only hosts should no longer cause a crash in the network configuration wizard
I maintained FileZilla on SlackBuilds, but it still contains the previous version (3.5.3). I have submitted the updated SlackBuild to the mailing list, but it would take some time to get into the repository, mainly since because the submission is still closed and the admins are still resting from major development of Slackware.

For those who wanted to try FileZilla 3.6.0, i have placed updated SlackBuild on my SlackHacks repository which already been updated to version 3.6.0. Grab it from there and you can build FileZilla 3.6.0 on your machine like i did on my own machine.

Enjoy FileZilla :)

Thursday, November 8, 2012

VMWare Workstation 9.0.1 and Linux Kernel 3.6

VMWare Workstation 9.0.1 along with VMWare Player 5.0.1 has been released by VMWare. This is a maintenance release, focusing on fixing bugs that has been found since their first major release of VMWare Workstation 9.0.0 some time ago. On this release, Ubuntu 12.10 and Solaris 11 has been added as host and guest (only guest for Solaris). For complete changes, please refer to their Release Notes.

I was kinda reluctant to test this version as previous version was a disaster and it failed completely on my machine, so i tried to stay away from VMWare Workstation 9 until VMWare updated their product. But then i looked at the release note and found out that they fixed the problem with Linux Kernel 3.5 and i was hoping for good news.

First, i tested on my workstation and surprisingly, i found it smoother than i thought. I don't need to find any patches in order to have this product work with Linux Kernel 3.6 (I'm using Linux Kernel 3.6.6). After confirming it to work on my workstation, i perform the same routine on my desktop and it's also working well.

On both of my system, i have to perform the installation twice or i will get an error on virtual ethernet. I don't know why, but after reinstalling for the second time, there was no error again and i'm happy with that instead of finding patches just to make this whole thing worked like i intended.

Welcome back VMWare Workstation on Slackware :)

Wednesday, November 7, 2012

KDE 4.9.3 Released

KDE has released a monthly update KDE 4.9.3 which focused on bug fixing and translations updates. The list of bug fixed is quite big, 86 and several key components that gets the most update are Kate editor and Kontact email and groupware client. For detailed information about those bug fixes, please head on to their bug tracker.



Eric Hameleers has published his work on KDE 4.9.3 on his KTown and it's also available on several mirror sites below:
Enjoy KDE 4.9.3 :)

Sunday, November 4, 2012

LibreOffice 3.6.3 Package for Slackware

LibreOffice 3.6.3 has been released and it's another maintenance release that focused on stability and bug fixing only. In fact, they fixed a lot of bugs on this release.

Eric Hameleers has build this package for Slackware 13.37 (and it works for Slackware 14.0 as well) and upload it on his repository which is already mirrored on several sites below:
There's a bug report on Eric's blog about a minor problem that was found during LibreOffice 3.6.2 and i can confirm this bug which is you can't open more than one file at the same time in the File Open dialog. If you select more than one file, it won't open any files at all. The temporary solution is to open the files one by one. This is a minor problem though.

Saturday, November 3, 2012

Slackware Mayan Tee Shirt Arrived

On October, me and some fellow of Indonesian Slackware Community decided to help Slackware Linux Project by buying some items from Slackware Store and we decided to buy the new Mayan Tee Shirt. In total, there were 15 people who joined since i limit the number of buyers. I was afraid that my credit card limit wasn't sufficient to pay too much items.

Few days ago, the package has arrived in the custom and the officer called me about this package and i have to pay tax for this package. I paid the tax as of this morning and finally i got the package on my hand today. The items are already being re-packaged to be delivered to the buyers around Indonesia next Monday.

Thanks to the Indonesian Slackware Community who have generously participating on this event and big thanks to Theresa and Toni from Slackware Store for helping me get this order processed smoothly. I'm sorry for those who couldn't join this event this time. Maybe you can ask for other member to be the coordinator for the second batch?