OSSEC for CentOS 7

OSSEC’s official documentation sucks. I managed to compile full installation steps (via RPM) for OSSEC in CentOS. Read more.

What is OSSEC? OSSEC is a scalable, multi-platform, open source Host-based Intrusion Detection System (HIDS). It has a powerful correlation and analysis engine, integrating log analysis, file integrity checking, Windows registry monitoring, centralized policy enforcement, rootkit detection, real-time alerting and active response.It runs on most operating systems, including Linux, OpenBSD, FreeBSD, MacOS, Solaris and Windows. (source : http://ossec.github.io/about.html)

OSSEC Server
1. sudo -i
2. yum install mysql-devel postgresql-devel
3. wget -q -O – https://updates.atomicorp.com/installers/atomic |sh
4. yum install -y ossec-hids ossec-hids-server
5. /var/ossec/bin/ossec-control start
6. firewall-cmd –permanent –add-port=1514/udp
7. firewall-cmd –reload
8. /var/ossec/bin/manage_agent # ASSIGN unique key for OSSEC AGENT
9. /var/ossec/bin/ossec-control restart

1. sudo -i
2. wget -q -O – https://updates.atomicorp.com/installers/atomic |sh
3. yum install -y ossec-hids ossec-hids-client
4. /var/ossec/bin/ossec-control start
5. firewall-cmd –permanent –add-port=1514/udp
6. firewall-cmd –reload
7. /var/ossec/bin/manage_client # ADD unique key from OSSEC SERVER for the agent
8. vi /var/ossec/etc/ossec-agent.conf # EDIT OSSEC SERVER IP <server-ip>XXX.XXX.XXX.XXX</server-ip>
9. /var/ossec/bin/ossec-control restart

Schwalbe Rocket Ron (Grip) vs Racing Ralph (Speed)

For our tyre test we have used two bikes, two riders and two sets of Schwalbe tyres: Rocket Ron and Racing Ralph in 29 x 2.25” – one bike set up with Ralphs, the other with Rons to match the preferences of our riders.

The two tyres are not completely different – standing beside each other in Schwalbe’s line-up – with Racing Ralph being a faster roller due to its lower and more dense tread and Rocket Ron providing more grip due to its bigger knobs. The choice between them depends mainly on your riding style and personal preference with a mix of Ron at the front and Ralph at the back being an often-seen set up.

we covered over 66 hours and 800km of racing and we didn’t get any punctures on either the Racing Ralphs or the Rocket Rons

Rocket Ron is a favourite all-round tyre, they are very versatile and deliver excellent grip across a wide range of surfaces: hard-packed roads, gravel, leaves, mud, sand, roots or rocks. In wet muddy conditions, the big gaps between the knobs let the mud slide through while the thread bites into the trail. When cornering, the pronounced side knobs prevent the wheels from sliding away from under you.

Racing Ralphs give you slightly less grip on the corners because of its less aggressive thread, but for the same reason they roll faster so it’s up to you to decide what features you need most – grip (Ron) vs speed (Ralph).

We were also happy with how easy it was to set them tubeless. We paired them with Stan’s NoTubes wheels (Crest and Gold Race) – two scoops of the NoTubes sealant, a track pump and 5 minutes later they were ready to hit the trails.

Both tyres use Schwalbe’s Snakeskin technology: additional rubber applied to the sidewalls of the tyre protecting it from being cut by sharp rocks. The Snakeskin adds approx. 40-50g per tyre but our testing terrain was particularly rough so we decided not to take a chance and to go for this extra protection.

We tested them at the Andalucia Bike Race – a 6-day stage race through sharp Spanish rocks claiming countless victims of flats and torn tyres (I remember those riders standing on the side of the road, holding their wheels, asking every passing rider “Spare tyre? Anyone have a spare tyre?”). Together we covered over 66 hours and 800km of racing and we didn’t get any punctures on either Racing Ralph or Rocker Ron, only a few scratches on the side walls but these were merely cosmetic. We rode through dust, mud, rivers, grass, dirt roads, loose sand, snow, slippy rock slabs and canyons paved with sharp rocks – in all conditions the tyres did their job well providing all the grip needed. Needless to say we were delighted with their performance and reliability and we’re sticking with Schwalbe for the 2014 season. In the UK, we’ll be going for the Rocket Ron on wet and muddy days, or courses which are known to be slippery, where an advantage can be gained with a more aggressive tyre choice, while the Racing Ralphs will be used on dry days where speed rules.

Weight: Racing Ralph: 636g , Rocket Ron: 621g, however it can vary slightly from tyre to tyre. The non-Snakeskin, Pace Star, version  is 40-50g lighter.


Both Racing Ralph and Rocket Ron performed flawlessly, providing a lot of grip in various conditions and rolling fast. They are easy to set up tubeless and the Snakeskin technology protects the tyres from cuts on sharp rocks. Relatively low-weight, they are one of the top MTB tyres available on the market.

Source : https://www.bikesoup.com/magazine/review-schwalbe-rocket-ron-and-racing-ralph-tyres/

5 Utilities for Changing DNS Servers in Windows

Even though most people don’t care, there are the few geeks out there who like to change the DNS servers on their system for reasons like speed, privacy and security. I’ve previously written about how you can use OpenDNS, which has a free versions that include parental controls and built-in phishing protection.

Also, depending on where you live or where you travel to, the current DNS provider may not be the fastest. For example, if you’re in New York and you’re using OpenDNS and then you travel down to Los Angeles, you might learn that Google Public DNS is actually faster. You can easily find the fastest DNS server in your area by using a program called NameBench.


I’ve previously written a step-by-step guide to changing your DNS settings on Windows so that you can use these free public DNS servers instead of the ones provided by your ISP. However, who wants to keep changing DNS settings manually? A better way is to have a program do the work for you. In this article, I’ll mention five useful utilities for automating the process of changing DNS settings in Windows.

DNS Jumper

dns jumper

DNS Jumper is my favorite app for this process because it’s got all features that I need in a nice, clean interface. What I really like about it is that it’s portable, meaning you don’t have to install it onto your system. You can just run it from the disk or from a USB drive, if you like. Here are the features that makes this the best DNS switching program:

1. Restore and Default DNS Settings – Saves the original DNS settings, so you can revert back to the original DNS settings just as easily as you changed them. There are two options, restore and default. Restore will change the DNS settings back to the last set of servers you had configured and default will change it back to the ISP settings.

2. Find Fastest DNS Servers – Click the Fastest DNS button and you get a cool little dialog where you can choose the servers you want to test and immediately see which one is the fastest. Then you can click another button and set your DNS servers to the fastest one automatically! Sweet!

find fastest dns

3. Flush DNS – This clears out the DNS resolver cache, making sure that you connecting is using the new DNS settings rather than the old cached settings. Another great option that is very useful.

4. Manual DNS Server – Lastly, you get the option to manually enter DNS servers too, which is again a useful feature because there are times when I don’t want to use a server on the list.

Download DNS Jumper

ChrisPC DNS Switch

chrispc dns switch

ChrisPC DNS Switch is another nice utility that gets the job done, albeit not as well as DNS Jumper. For starters, this program does not let you instantly check the speeds of the various DNS servers in the database, so you have to use a separate program to get that information. Otherwise, it pretty much has all the other features: you can restore your original or previous DNS settings, it flushes the DNS cache when changing DNS servers and you can manually enter DNS servers if you like.

The other cool feature of this program is that it has some DNS Presets like Secure DNS (avoid malware/viruses), Family Safe (blocks porn, drugs, etc), and Anonymous DNS (no tracking). However, this program has to be installed in order to run and there is one small ad going across the bottom of the interface that links to his other software. However, these are minor annoyances overall.

Download ChrisPC DNS Switch



QuickSetDNS is from my favorite company, Nirsoft. These guys are always coming out with crazy useful tools and QuickSetDNS is one of them. The program is great and works all the way up to Windows 8 64-bit, but for whatever reason they decided to only include one option in the public DNS list! If you only plan to use Google Public DNS, it’s fine, but it would have been nice if they added at least a couple more popular options. You can manually add entries and it’s only a one-time task, but it’s still not something the user should have to do.

Overall, it does the switching effortlessly and can be run from USB stick, no install necessary. You can also revert back to the default DNS servers from your router. Hopefully, in a future update, they will add a couple of more DNS servers to the list, then it would be a top contender.

Download QuickSetDNS

Public DNS Server Tool

public dns server tool

Public DNS Server Tool has a smaller list of servers than DNS Jumper and ChrisPC DNS Switch, but it’s got a lot more than the one in QuickSetDNS. Again, though, this program does not have any way to test the speeds of the DNS servers, which is why my favorite is DNS Jumper. You can backup and restore the DNS settings in this program, but you have to manually do it and it saves the file out as a registry file.

One nice feature is the ability to select all network cards in case you have more than one and change the DNS servers for all of them. You also don’t need to install this program, which is nice. Lastly, there is an INIfile you can edit if you want to add more DNS servers to the program interface.

Download Public DNS Server Tool



Unlike the other apps mentioned above, NetSetMan is not designed specifically for changing DNS settings. However, it has features built into it so that you can use it to quickly change your DNS settings. With NetSetMan, you can go to File and click on Get Current Settings to grab the current settings for your computer, which includes the DNS entries.

Then you can create up to 5 additional sets of settings and each one can be set to a different public DNS server. You have to manually set this up, so it’ll take some more time, but if you need a program to manage some other settings in addition to DNS settings, this program is pretty sweet.

Download NetSetMan 

So those are five options for quickly changing your DNS settings on your Windows computer. Hopefully, you’ll be browsing faster, privately, and more securely using these DNS servers. Enjoy!

Source : http://helpdeskgeek.com/free-tools-review/5-utilities-changing-dns-servers-windows-reviewed/

Cycle Asia KL 2015

Kayuhan mencabar diri disebabkan daftar tanpa rider STC yang lain. Fee penyertaan yang overpriced tapi sebab nak mencuba, layankan aje. Format kayuhan 4 lap (1 lap bersamaan 12km). Disebabkan faktor cuaca yang hujan dari mula (6 pagi), organizer terpaksa pendekkan masa dan ada yang cuma sempat 3 lap saja (ada yang tak puas hati sebab tak sempat). Timing chip hancur (kualiti rendah, kertas tak ber laminate) menyebabkan rekod rasmi kayuhan tak dikira (rekod ada pada Strava & Garmin Connect). Verdict, berjaya juga redah 48km dengan Boardman bertayarkan saiz 2.2. Memang orang kata penat tapi aku anggap event ni cuma sebagai training. Kalau nak dikira berbaloi, pada aku berbaloi dari segi peluang merempit dalam hujan di tengah Kuala Lumpur dan pengalaman event ni tak dapat dicari di event lain. Boleh join lagi next year.

Screen Shot 2015-06-18 at 9.56.04 AM

Milk’s Benefits for Fit Guys

Got milk? If you’re trying to put on muscle, you better. Whole milk was once a staple for guys who were packing away calories and moving massive amounts of iron in order to go from pencil neck to bull neck. These days we know enough to shun or restrict the saturated-fat-filled whole variety in favor of skim, but even the fat-free version has its detractors. Some claims against milk link it to childhood diabetes, while others allege widespread pesticide contamination of dairy products. (more…)

GoPro Hero Photography Tips

The GoPro can be an incredible resource for the active photographer. But you don’t have to be an astronaut or adventure seeker to make the most of what this wide angle wonder can do.

Keep these GoPro Hero photography tips in mind and you can create some pretty amazing pictures with very little effort.

GoPro Hero Photography Tips:

  • Be aware that in bright day light conditions the sky can easily be overexposed. Keep this in mind and compose your shot with minimal sky to avoid large white areas in your pictures. Or, expose more for the sky but know that what lies beneath may be underexposed.
  • When using the GoPro as a street camera you probably don’t want to put it in any of its many casings and accessories because the additional bulk that stuff creates will negate the fact that the camera is small and inconspicuous. That said, if it’s raining, put your GoPro in its water-proof case and shoot with confidence knowing that your camera is well protected.
  • Forget zooming in. Using your GoPro on the street will force you to get closer to your subject. You’ll be surprised how close you can (and need to) get to your subject with the GoPro.
  • When taking pictures of people, a good rule of thumb is to stay arms-length away. If you get closer than that the fish eye lens will distort people’s faces. But that can be a fun thing too.
  • Because the GoPro has such a wide angle watch your fingers and toes to make sure they don’t accidentally end up in the shot. Assume anything in front of the camera is within the GoPro’s frame.
  • On a similar note, pay close attention to your shadow during the morning and evening hours when shadows are long. If you are not careful, your shadow will easily be captured by your GoPro.
  • The GoPro is great for landscape photography. Try to keep the horizon line in the center of the frame to avoid showing the curvature of the Earth.
  • You will not be able to control the exposure for your pictures. Everything is automatic with the GoPro.
  • When you are shooting with a naked GoPro keep in mind that the lens is exposed. Keep it clean.

– See more at: http://www.picture-power.com/gopro-hero-photography-tips.html#sthash.mxtykSh8.dpuf

Cycling Technique : Standing Climbing

An understanding of technique and how to use your strength are critical if you want to climb effectively out of the saddle.

Even more costly on the cardiovascular system than seated climbing, a standing climb uses more muscle groups and requires a fit and functional core if you are going to effectively transfer power from your upper to lower body and vice versa. Aside from sprinting, it is the most ‘whole body’ form of exercise on the bike for cyclists. (more…)

USIM MTB Jamboree 2015

Well organised jamboree. Jumlah penyertaan dihadkan kepada 500++ peserta. Kudos kepada USIM kerana pengurusan yang teratur dan tidak bercelaru. Signage jelas, Check Point (CP) di setiap 10km. Medic ada di mana2 (ada stop untuk riders yang nak medic spray betis yang cramp). Briefing pun jelas dan mudah difahami. Makanan & minuman cukup. Tarmac dan offroad trail yang mantap. Puas climbing uphill, rolling downhill.
Kali ni cuba push lebih lagi utk enjoy climbing & downhill disebabkan baru tukar wheelset Circus Monkey dan hasilnya amat memuaskan. Pelaburan upgrade wheelset yang berbaloi. Cuma masih takut-takut sekali sekala masa downhill akibat trauma accident tahun lepas. Dan masalah untuk maintain momentum climbing bila lalu single trail dan rider di depan terlalu perlahan, jadi off balance untuk elak pergeselan dan terpaksa tolak untuk naik. Harap dapat kekalkan momentum dan fitness level.

Screen Shot 2015-06-03 at 2.20.39 PM