Evaggelos Balaskas - System Engineer

The sky above the port was the color of television, tuned to a dead channel

Blog
Posts
Wiki
About
Contact
rss.png twitter linkedin github gitlab profile for ebal on Stack Exchange

Next Page »
  -  
Dec
15
2014
Flowers for Algernon
Posted by ebal at 23:44:49 in blog, books

I like spending my free time reading books. Although i don’t have a good memory and my english are far from perfect, i prefer to read books in english.

A few days ago I was wondering what my potentials would be if i could remember everything i have ever read in my life. When discussing that with a good friend, she told me to read:

Flowers for Algernon

flowersforaglernon.jpg

The book is AMAZING !

Is about the life of a retarded person, Charlie Gordon, whom - through a brain surgery - was given the gift of intelligence. Th...

To see the entire article, click uppon article's title/link.
Thank you.
    Tag: books
Dec
11
2014
tinc-vpn on android
Posted by ebal at 21:42:25 in blog, wiki, planet_ellak, planet_Sysadmin

I ‘ve updated my wiki page to add an android section to my tinc-vpn setup.

So here it is my: tinc-vpn to a redirect-gateway instructions.

Dec
02
2014
genetics and police procedural
Posted by ebal at 22:06:12 in blog, books

From my previous book-related blog post, I ‘ve read NONE of them and started two new books:

  • CHIMERAS (Track Presius #1) by E.E. Giorgi
  • MOSAICS (Track Presius #2) by E.E. Giorgi

chimeras-final-waward.jpg

To see the entire article, click uppon article's title/link.
Thank you.

    Tag: books
Dec
01
2014
greek spammers part two
Posted by ebal at 10:02:14 in blog, planet_ellak, planet_Sysadmin

Nov 2 2014 - Dec 1 2014

Top spammers:


1. adsgreece.com
2. globalgreece.gr
3. nfs.gr
4. specisoft.biz
5. aldridge.com

Blocked via postfix:

/etc/postfix/header_checks


/massnews\.gr/                  REJECT "Plz stop sending SPAM id=1"
/glc-emea\.com/                 REJECT "Plz stop sending SP...
To see the entire article, click uppon article's title/link.
Thank you.
    Tag: greek, spam, postfix
Nov
28
2014
The problem of communication
Posted by ebal at 10:28:51 in blog, planet_ellak, planet_Sysadmin

There is a big difference between communication and understanding.

Here is a DNS story:

The Internet Bank of Ebal (paraphrasing customer’s name) has their own Authoritative NameServer for their zone.
In the company i am currently working, we provide a secondary dns service.

Bellow the steps/instructions we provide to our customers - in order of action:

  1. Inform the customer to allow zone transfer to our Lans
  2. We confirm the zone transfer
  3. Inform the customer to add our secondary NameServers to his zone
    (NS records inside their dns zone)
  4. Provisioning the service aka add configuration to our NameServers
    and finally
  5. inform customer to add our NameServers to the Registry of .gr Domain Names

Just to be perfectly clear - we keep these steps simply cause from our experience not every DNS administrator understand what they must/should do.

So here are the steps the bank’s administrator di...

To see the entire article, click uppon article's title/link.
Thank you.
    Tag: work_related
Nov
07
2014
pure HTML5/CSS3 show/hide help box
Posted by ebal at 15:29:05 in blog, planet_ellak, planet_Sysadmin

Just because i am a sysadmin, doesn’t mean that i can’t hack some HTML5/CSS3 code!

Or even do a better job than some “web” devs or devops !!!

In fact, here is an example of a pure HTML5/CSS3 show/hide help box:

 

The below code displays a ? on the HTML page,
so that when hovering over it, shows a help box.

 

HTML5 part


<span class="help">
    <font color=blue>  ?  </font>
    <div class=...
To see the entire article, click uppon article's title/link.
Thank you.
    Tag: HTML5, CSS3
Nov
02
2014
Deep Web
Posted by ebal at 11:57:55 in blog, books

After finishing my Cyberpunk reading of Burning Chrome a short story collection & Neuromance by William Gibson started to search for new books to read.

@comzeradd suggested the bellow books:

  • Ancillary Justice (2013) by Ann Leckie
  • Cryptonomicon (1999) by Neal Stephenson
  • Homeland (2013) by Cory Doctorow
  • Little Brother (2008) by Cory Doctorow
  • Pirate Cinema (2012) by Cory Doctorow
  • Robopocalypse (2011) by Daniel H. Wilson
  • Snow Crash (1992) by Neal Stephenson
  • Permutation City (1994) by Greg Egan
  • The Emperor’s New Mind (1989) by Roger Penrose

but (as always) something new caught my eye!

a tweet about fr...

To see the entire article, click uppon article's title/link.
Thank you.
    Tag: books
Oct
29
2014
greek spam 01
Posted by ebal at 19:38:10 in blog, planet_ellak

In 30 40 days of my new mail address and the top spammers are:



/massnews.gr/                  REJECT "Plz stop sending SPAM id=1"
/glc-emea.com/                 REJECT "Plz stop sending SPAM id=2"
/To:.*info@balaskas.gr/        REJECT "Plz stop sending SPAM id=3
To see the entire article, click uppon article's title/link.
Thank you.
    Tag: spam
Oct
19
2014
SatNOGS - Satellite Networked Open Ground Station
Posted by ebal at 22:17:53 in blog, planet_ellak, planet_Sysadmin

What started as a Nasa Space App Challenge now becomes an extraordinary opensource achievement on the top five finalist of hackaday.io.

What is SatNOGS in non technical words: imagine a cheap mobile openhardware ground station that can collaborate through the internet with other ground stations and gather satellite signals all together, participating in a holistic opensource/opendata and public accessible database/site !

If you are thinking, that cant be right, the answer is that it is!!!

The amazing team behind the SatNOGS is working around the clock...

To see the entire article, click uppon article's title/link.
Thank you.
    Tag: SatNOGS
Oct
15
2014
read it later
Posted by ebal at 10:45:04 in blog, planet_ellak, planet_Sysadmin

a blog post about Wallabag

Tons of information are passing through your eyes every day. People now are browsing than reading and there are some things you really want to store and read them when you have some free time. Bookmarks are pretty useful for storing the url but the actual content could be moved somewhere else or even removed from the original place.

read-it-later applications have worked their magic and offline (or caching) storing the actual content to another location. Some of these applications (or online services) have the ability to synchronize their content to your tablet/smartphone or even your ebook reader. The most known service is, of course, pocket.

But then again you have to register to another online service that uses your email for userid and now knows every single thing you like to read! And what will happen if the compan...

To see the entire article, click uppon article's title/link.
Thank you.
    Tag: wallabag
Oct
14
2014
Fairphone - How to disable the camera shutter sound
Posted by ebal at 22:28:42 in blog

Fairphone

How to disable the camera shutter sound:

code snippet only



[root@myhomepc platform-tools]# ./adb shell
shell@android:/ $ su
shell@android:/ # mount -o rw,remount /system                                  
shell@android:/ # echo '' > /system/media/audio/ui/camera_shutter.ogg 

Tag(s): fairphone
    Tag: fairphone
Oct
14
2014
Fairphone update #1
Posted by ebal at 10:27:10 in blog, planet_ellak, planet_Sysadmin

If you missed my previous blog post about fairphone click here: here.

this blog post document how to became root and do “advanced” staff.

iFixit

Fairphone comes with an iFixit app - and of course with some other apps too ;)
If you want to remove it, you can simply connect your phone with your linux box, open USB debugging and adb shell through your phone

Fairphone is already rooted, so when you connect to it via adb, simply type:



su 

to became root.

eg.



# adb shell
shell@android:/ $&n...
To see the entire article, click uppon article's title/link.
Thank you.
    Tag: fairphone
Oct
13
2014
Fairphone
Posted by ebal at 11:41:52 in blog, planet_ellak, planet_Sysadmin

I am a proud owner of a fairphone.
For about ~300 euros i bought a really cool smartphone.

When you boot up your phone for the first time, there is a widget to add support for google apps.
Just remove it and go on with your life. Nothing useful here.

[EDIT #1] Before we begin our beautiful opensource journey, you must have in mind that ALL your personal devices can be hacked, stolen or be destroyed (crashed/brick/whatever). You have to remember that - you should have your digital data elsewhere and sync/backup/encrypt EVERYTHING. So dont use your phone as an offline image gallery, dont save everything in our mails.

First thing: Encrypt the /sdcard

You need to add a PIN to screen lock (Settings –> Security –> Screen Lock –> PIN)
after that tap through: Settings –> Sec...

To see the entire article, click uppon article's title/link.
Thank you.
    Tag: fairphone
Oct
13
2014
Moving Away from Closed Source
Posted by ebal at 11:04:32 in blog, planet_ellak, planet_Sysadmin

The last couple months (all started when comzeradd ordered two fairphones) i am going through the Great Transition: “Moving Away from every closed source/service to free (opensource) software.”

As i have already mentioned: Moving to free/opensource applications isnt always easy. But then again, when freedom was an easy thing ?.

So the transition has a few bumps in the way.

Some of my decisions are in my twitter’s timeline and some on my wiki.

I will document EVERYTHING but I’ll do it on separated blog posts and code will be in my wiki so that the entire documentation will no be a huge mesh.

I am fortunate enough to have smarted people than me to suggest brilliant things all the time.
Their comments (twitter/blog/mail) have made my life easier and are helping me with this transition.

I would love to read your comments (just remember that i dont accept http links inside blog comments).

So let’s start !

Sep
25
2014
postgres nightmare
Posted by ebal at 21:51:18 in blog, planet_ellak, planet_Sysadmin

Some time in the last week, the iscsi volume of one of our PostgreSQL went up to 98% and nagios vomited on the standby mobile.

The specific postgres database holds customer’s preferences related to our webmail.

Unfortunately the webmail is a java web app (tomcat) - custom written by some company and the source code is a spaghetti mesh. The code has also gazillion bugs, so we took a decision to migrate to an opensource php based webmail. Hopefully in the near future we will official migrate to the new webmail platform and all known problems to humanity will cease to exist.

Till that time, we have to maintain the current webmail platform and figure out how a ~500Mb database has become a nearly ~50Gb nightmare!

My knowledge on databases are not basi...

To see the entire article, click uppon article's title/link.
Thank you.
    Tag: postgres
Sep
11
2014
The Cathedral and the Bazaar
Posted by ebal at 12:44:00 in blog, books

This amazing essay (you can find it here is one of the best reads you can have about the free & opensource movement.

the_cathedral__the_bazaar.jpg

If you havent read it yet, take a break and do it now

Tag(s): books
    Tag: books
Sep
02
2014
Dockerfile for Two-Factor Authentication
Posted by ebal at 21:48:19 in blog, wiki, planet_ellak, planet_Sysadmin

Most of the people that read this blog post should already know what Two-Factor Authentication is.

For those you don’t, in short terms 2FA is when you can login to a server/site/application using two things and not only one (your password).
Something you have and something you know, like when using your bank card (something you have) with it’s pin (something you know).

There are three (3) android apps at f-droid

  • Google Authenticator
  • FreeOTP
  • Gort

I dont want to use the google authenticator, and i havent yet tested FreeOTP, so i’ve chosen Gort to write about.
Gort ...

To see the entire article, click uppon article's title/link.
Thank you.
    Tag: barada, dockerfile
Sep
01
2014
reading books
Posted by ebal at 12:56:20 in blog, books

I like to read.

One of my biggest fears is that I ‘ll never be able to read all the books I’ve checked in my entire life. Even in this technological era that everything is easier and faster - the amount of free time is always less than the year before. That’s the way it is for me and it seems that i can’t do anything to fix it. So i like to keep a short book list - cause my long book list is about a million of unread books (give or take a few thousands). I understand that the previous statement is somehow an overstatement but as I’ve already mentioned in the begging of this blog post, i like to read (although i am not a very smart person).

I never had read William Gibson and I thought to start with the To see the entire article, click uppon article's title/link.
Thank you.

    Tag: books
Aug
29
2014
Web Proxy Autodiscovery Protocol with dnsmasq
Posted by ebal at 10:15:18 in planet_ellak, planet_Sysadmin

It seems that you can push a WPAD to desktops via dhcp.

My proxy is based on squid running on 8080.

I ‘ve build a WPAD file similar to the below:

wpad.dat



function FindProxyForURL(url, host)
{
        return "PROXY 192.168.1.2:8080; DIRECT";
}

next thing is to publish it via a web server.
I am using thttpd for static pages/files:

how to test it:


# curl -L 192.168.1.2/wpad.dat

after that a simple entry on Dnsmasq



dhcp-option=252,"http://192.168.1.2/wpad.dat"

and restart your dnsmasq

Dont forget to do a dhcp release on your windows machine

Tag(s): dnsmasq, squid, WPAD
    Tag: dnsmasq, squid, WPAD
Aug
28
2014
dnsmasq with custom hosts file
Posted by ebal at 18:14:20 in planet_ellak, planet_Sysadmin

Title: dnsmasq with custom hosts file - aka ban sites with dnsmasq

I ‘ve already said it too many times, but dnsmasq is a beautiful project for SOHO (small office/home office) environment.

I am using it as DNS caching server, DHCP server & tftpd (PXE) server and it’s amazing.

One thing i do with the dns section is that i “BAN” urls i dont like. Think something like AdBlock on firefox.
Two configuration changes:

A.

as root


wget http://winhelp2002.mvps.org/hosts.txt -O /etc/hosts.txt && 

and

B.

in /etc/dnsmasq.conf


addn-hosts=/etc/hosts.txt

You can also put the wget cmd in your crontab with the @monthly scheduler but you need to restart the dnsmasq every month!

Another amazing thing is that you can add your one entries:


echo 0.0.0.0 www.facebook.com >> /etc/hosts.txt

restart your dnsmasq service and check it:


# dig www.facebook.com @localhost +short
0.0.0.0
Tag(s): dnsmasq
    Tag: dnsmasq
Next Page »
  -  

Search

Admin area

  • Login

Categories

  • blog
  • wiki
  • pirsynd
  • midori
  • books
  • archlinux
  • movies
  • xfce
  • code
  • beer
  • planet_ellak
  • planet_Sysadmin
  • microblogging
  • UH572
  • KoboGlo
  • planet_fsfe

Archives

  • 2025
    • April
    • March
    • February
  • 2024
    • November
    • October
    • August
    • April
    • March
  • 2023
    • May
    • April
  • 2022
    • November
    • October
    • August
    • February
  • 2021
    • November
    • July
    • June
    • May
    • April
    • March
    • February
  • 2020
    • December
    • November
    • September
    • August
    • June
    • May
    • April
    • March
    • January
  • 2019
    • December
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2018
    • December
    • November
    • October
    • September
    • August
    • June
    • May
    • April
    • March
    • February
    • January
  • 2017
    • December
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2016
    • December
    • November
    • October
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2015
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • January
  • 2014
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2013
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2012
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2011
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2010
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2009
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
Ευάγγελος.Μπαλάσκας.gr

License GNU FDL 1.3 - CC BY-SA 3.0