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 »
  -  
« Previous Page
Jan
13
2011
ebal: @kboukouvalas dude, i dont…
Posted by ebal at 08:35:17 in microblogging

identica.png@kboukouvalas dude, i dont understand how a Linux Certification is promotion of opensource or declaration of knowledge ?

from Updates from ebal on Identi.ca!

Jan
12
2011
ebal: if you love me,…
Posted by ebal timeline at 20:40:23

identica.pngif you love me, then buy me this: http://lnx.gr/2A4R

from Updates from ebal on Identi.ca!

  • Add a comment
Jan
12
2011
ebal: Yesterday a server was…
Posted by ebal timeline at 19:56:32

identica.pngYesterday a server was crached.Fsck fixed it,but took 1.5h to finish.The customer was angry with me cause i was just staring at the monitor!

from Updates from ebal on Identi.ca!

  • Add a comment
Jan
12
2011
ebal: i am not a…
Posted by ebal at 11:12:10 in microblogging

identica.pngi am not a star trek fun, so to understand the latest couple dilbert strips, i had to see this: http://www.youtube.com/watch?v=03zrxTiWzN4

from Updates from ebal on Identi.ca!

Jan
12
2011
ebal: Summer Glau at Cape…
Posted by ebal timeline at 08:48:01

identica.pngSummer Glau at Cape 2011, http://www.imdb.com/title/tt1593823/

from Updates from ebal on Identi.ca!

  • Add a comment
Jan
11
2011
ebal: Changing from Google ReCaptcha…
Posted by ebal timeline at 19:03:42

identica.pngChanging from Google ReCaptcha to Akismet. Perhaps now i can finally sleep easy. Google ReCaptcha sucks

from Updates from ebal on Identi.ca!

  • Add a comment
Jan
11
2011
ebal: @comzeradd thanks for your…
Posted by ebal timeline at 19:01:24

identica.png@comzeradd thanks for your help on gimp. I believe that my hackergotchi is better now. My head although … is another issue ;P

from Updates from ebal on Identi.ca!

  • Add a comment
Jan
11
2011
ebal: Greek SPAM from 93.115.240.0/23….
Posted by ebal timeline at 17:20:27

identica.pngGreek SPAM from 93.115.240.0/23. If you can block it.

from Updates from ebal on Identi.ca!

  • Add a comment
Jan
11
2011
ebal: One RSS to view…
Posted by ebal at 12:03:42 in microblogging

identica.pngOne RSS to view them all (identi.ca & twitter merged feeds), http://lnx.gr/ZD7F

from Updates from ebal on Identi.ca!

Jan
11
2011
One RSS to view them all (identi.ca & twitter merged feeds)
Posted by ebal at 12:01:39 in planet_ellak, planet_Sysadmin

You all know about identi.ca & twitter
If you dont, then perhaps your are that kind of people that have a life or even free time!

I am a newbie on both of them, but i I am already frustrate about twitter’s microblogging features.
The web layout is too complex, I cant login with my openid account but the most depressing thing is that i cant see my friends timeline via rss!

The main problem is that twitter have changed to oauth and you can use an application with twitter api.

But Why God, Why?

So i singed with gtweetapp to finally have my friend timeline to rss feed.

Then i wanted google reader to subscribe to my rss feeds (identi.ca and twitter) but google reader doesnt merge the rss feeds.

So i used yahoo pipes to merge, sort & unique feature and then subscribed the result of yahoo pipes to google reader.

And finally i can read all my notices & twitts and my “friends” notices & twitts in my RSS reader!

So is this worth it ?
we ‘ll see in near future :)

till then happy tw…. oh get some work done, you lazy bastards!

  • 2 comments
Jan
10
2011
ebal: @ltsampros
Posted by ebal at 13:02:30 in microblogging

identica.png@ltsampros http://blog.ltsampros.eu Error establishing a database connection

from Updates from ebal on Identi.ca!

Jan
10
2011
ebal: if you like firefox…
Posted by ebal timeline at 07:50:06

identica.pngif you like firefox firegestures plugin then you’ll love linux easystroke. Mouse gesture on desktop. http://lnx.gr/M4CU

from Updates from ebal on Identi.ca!

  • Add a comment
Jan
10
2011
ebal: @baphometx Wheel Bag &…
Posted by ebal timeline at 06:35:47

identica.png@baphometx Wheel Bag & washtub (2011)

from Updates from ebal on Identi.ca!

  • Add a comment
Jan
08
2011
ebal: I am using knockd…
Posted by ebal at 17:42:14 in microblogging

identica.pngI am using knockd with tcp wrappers, http://lnx.gr/NXgj to access my server from the road. A package clean up and my machine kicked me off

from Updates from ebal on Identi.ca!

Jan
07
2011
ebal: First 12 hours, 24spam…
Posted by ebal at 21:18:55 in microblogging

identica.pngFirst 12 hours, 24spam reports on spamcop.net

from Updates from ebal on Identi.ca!

Jan
07
2011
ebal: First stop: Kill spam….
Posted by ebal timeline at 20:02:58

identica.pngFirst stop: Kill spam. From today i am reporting spam to spamcop.net. Next stop: Take over the world

from Updates from ebal on Identi.ca!

  • 2 comments
Jan
07
2011
Web security via Strong Password Generator & xmarks
Posted by ebal at 17:02:33 in planet_ellak

Πριν από λίγο καιρό έγραψα ένα άρθρο για να εξηγήσω πως μπορείτε να έχετε διαφορετικό συνθηματικό σε κάθε εφαρμογή και παρόλα αυτά να τα θυμάστε μέσω μοτίβων: Security & passwords via patterns. Το άρθρο ήταν αρκετά δημοφιλή κι υπήρχαν σχόλια για να το κάνουν ακόμα καλύτερο.

Σήμερα θα ήθελα να προτείνω μια εναλλακτική λύση, που αφορά κυρίως web sites & web applications.
Αποτελεί μία από τις ασφαλέστερες λύσεις και είναι εξαιρετικά εύκολη στην χρήση.

Βήμα 1ο: Secure Password Sync

Στους υπολογιστές μας (επιτραπέζιους και μη) έχουμε έναν λογαριασμό με τις δικές μας ρυθμίσεις. Χρησιμοποιούμε σχεδόν πάντα τον ίδιο web browser γιατί πολύ απλά μας βολεύει. Είτε είστε fun του firefox είτε του chrome σίγουρα έχετε επιλέξει να αποθηκεύει τα συνθηματικά των web applications στην μνήμη του.

Εάν χρησιμοποιείτε πολλούς διαφορετικούς υπολογιστές (σπίτι, γραφείο, laptop, tablet, smartphone) τότε σίγουρα θέλετε συνθηματικά και bookmarks να είναι συγχρονισμένα σε όλους τους browsers σε όλα τα συστήματα. Έτσι λοιπόν καταλήγουμε σε δύο δημοφιλή plugins: xmarks & Firefox Sync.

Πριν από λίγο καιρό, για οικονομικούς λόγους το xmarks ανακοίνωσε ότι σταματά. Εξαγοράστηκε την τελευταία στιγμή από την εταιρεία: last pass. Τότε διάβασα τις οδηγίες κι εγκατέστησα έναν web dav server (οδηγίες εδώ για να εγκαταστήσω μία δική μου βάση για τα συνθηματικά και bookmarks μου.

Η σύνδεση είναι κρυπτογραφημένη κι έτσι πλέον όλοι οι browser μου, μιλάνε με τον δικό μου dav server.

Βήμα 2ο: Strong Password Generator

Αφού λοιπόν ΔΕΝ χρειάζεται να θυμόμαστε κάθε φορά το συνθηματικό που βάζουμε σε ένα web site/application γιατί να μην το κάνουμε διαφορετικό για κάθε login! Για όπου δεν υπάρχει επιλογή για OpenID χρησιμοποιείστε το παρακάτω site:

http://strongpasswordgenerator.com

Επιλέξτε ένα τυχαίο και δύσκολο συνθηματικό για κάθε online εφαρμογή.
Ακόμα κι εάν γίνει populate η database με τα συνθηματικά στο site που μόλις συνδεθήκατε, το συνθηματικό που θα διαρεύσει είναι μοναδικό και ΔΕΝ μπορεί να χρησιμοποιηθεί πουθενά αλλού.

Προβλήματα ?

  • Χρησιμοποιείτε browser σε δημόσιο υπολογιστή ή στο σύστημα ενός φίλου.

Πατήστε το κουμπί: I forgot the password που έχει κάθε online εφαρμογή και κάντε reset σε ένα νέο συνθηματικό εκείνη την στιγμή. Όταν θα βρεθείτε στον υπολογιστή σας, μην ξεχάσετε να το κάνετε και πάλι reset.

  • 4 comments
Jan
06
2011
Why donate some money for opensource project is important
Posted by ebal at 20:53:09 in planet_ellak, planet_Sysadmin

Ok, everybody loves opensource projects!

An opensource project has many good noticeable features.
It is nice, it is beautiful, it works, it is secure and it is free of charge.

We use every day opensource projects but we always forgot to give our gratitude to people behind our favorite program.

A thank you email is just fine to express our appreciation to the lonely programmer.
But a donation is the best solution for giving our thankfulness.

I have written an opensource project myself too: pirsyncd and i’ve been grateful for all the love i am getting about it.

I have received patches, t-shirts, thank you notes, publicity via blog entries and donations.
All the above are extremely useful for someone like me. I am always trying to balance around zero on my paypal account and give money to other opensource project or services too.

So dont forget to give some money to people, even a small amount is important!

Jan
05
2011
Use gmail to educate spamassassin
Posted by ebal at 10:22:42 in planet_ellak, planet_Sysadmin

It is a known fact that gmail’s spam filters get the job done.
I am working with spamassassin on local mail setups and i want spamassasin to learn automatically from my gmail Spam folder.

So is it possible?

Of course it is possible.

First we have to get all the mails from our gmail account into a local dummy mail account (easy we’ll use getmail) and then we have to educate spamassasin from our local dummy mail account (sa-learn).

one config file and two commands via cron will do the work.

First the getmailrc (i shall not bother with the getmail & spamassassin installation or setup).

/root/.getmail/getmailrc



[options]
delete = false
message_log = /var/log/getmail.log
verbose = 0
read_all = false

[retriever]
type = SimpleIMAPSSLRetriever
server = imap.gmail.com
mailboxes = ("[Gmail]/Spam",)
username = username@example.com
password = XXXXXXXXXXXXXXX

[destination]
type = Mboxrd
path = /var/spool/mail/gmail_spam
user = nobody

So now when we execute: getmail
every new mail is gmail spam folder will be downloaded into /var/spool/mail/gmail_spam

Next we need to execute sa-learn


sa-learn --spam --mbox /var/spool/mail/gmail_spam

Thats it!

Simple as that!

Dont forget to add the below cron entries:


@daily getmail &> /dev/null
@daily sa-learn --spam --mbox /var/spool/mail/gmail_spam &> /dev/null
Jan
04
2011
You can use vim to crash a server
Posted by ebal at 18:11:49 in planet_ellak

Το παρόν post αφορά κυρίως sysadmins, οι υπόλοιποι διαβάστε το για να πάρετε μια ιδέα πως είναι να εργάζεσαι ως sysadmin.

Διαβάζοντας το εξής άρθρο: Henry’s Techno-Musings: Philosophy of Troubleshooting: Sea of Troubles (ξέρω, ξέρω πολύ μεγάλος τίτλος. Μα είναι στο linux gazette, οπότε δώστε του μια ευκαιρία) θυμήθηκα κάτι από το 2006 όταν ξεκίνησα να εργάζομαι στην τωρινή μου θέση.

Πριν εξιστορήσω όμως την ιστορία, θα πρέπει να τονίσω ότι κάθε sysadmin που σέβεται τον εαυτό του ή θέλει να τον σέβονται οι άλλοι, θα πρέπει να γνωρίζει τι είναι τα semaphores ειδικά δε, εάν εργάζεται με τον apache web server.

[story]
Περί το τέλος του 2006 σε ένα ξεχασμένο datacenter, ένας ταπεινός sysadmin εργάζεται στο γραφείο του. Με ζήλο για την δουλειά του, νέος στον συγκεκριμένο χώρο, προσπαθεί να μαζέψει όλες τις απαραίτητες πληροφορίες ώστε να επιλύσει ένα πρόβλημα που ταλάνιζε πελάτες κι άλλους ταπεινούς sysadmins. Ο apache δεν δούλευε σωστά! Κι έτσι ο ταπεινός μας sysadmin σκέφτηκε να ρίξει μια ματιά στα logs. Θέλοντας τα δείξει ότι γνωρίζει τα μυστικά του vim, προσπάθησε να ανοίξει δύο log αρχεία με μία εντολή κι έτσι έγραψε:


vim -O logfile1 logfile2

Δεν κοίταξε όμως ποτέ το μέγεθος των αρχείων. Δεν είδε ποτέ ότι το κάθε αρχείο ήταν περίπου 2 με 2.5 gb και δεν κατάλαβε ποτέ γιατί ξαφνικά η ελεύθερη 4gb μνήμη γέμισε σε μερικά δευτερόλεπτα. Επίσης Δεν μπόρεσε να εξηγήσει εκείνη την στιγμή γιατί ο server έγινε κόκκινος στο monitor.
Σκέφτηκε ότι δεν μπορεί να φταίει αυτός, αυτός ένα vim άνοιξε!
Αλλά εν τέλη είχε καταφέρει να κρασάρει τον web server.

[/story]

Φυσικά κι αυτός ήμουν εγώ (σε άλλο άρθρο θα σας γράψω άλλη παρόμοια ιστορία).
Φυσικά από το τότε λάθος, έμαθα. Δεν είναι όμως πρέπον να μαθαίνεις μόνο από λάθη,
χρειάζεται να μαθαίνουμε κι από τα σωστά και τις εμπειρίες των άλλων.

Επίλογος:

Για επίλογο θα σας δώσω τρεις εντολές και πως χρησιμοποιούνται.

Το πρόβλημα είναι ότι ο apache έχει τερματιστεί και δεν σηκώνεται ή δεν έχει τερματιστεί καλά ή whatever, δεν παίζουν οι ινδιάνοι.

01.


lsof | egrep --color -i 'http|apache'

Βλέπουμε τα ανοιχτά αρχεία που έχουν δεσμευτεί από τον web server μας.

02.


ipcs -s

Χρειαζόμαστε την 2η στήλη με τα semid. Βλέπουμε ποιοι πόροι του συστήματός μας είναι δεσμευμένοι από τον web server μας.

03.


ipcrm -s SEMID

Αποδεσμεύουμε τον συγκεκριμένο πόρο από το σύστημά μας. Φυσικά μπορεί να χρειαστούν πολλά ipcrm και φυσικά πρέπει να αντικαταστήσετε το SEMID με το πραγματικό, αυτό που έχετε δει από το ipcs.

  • 2 comments
  -  
« Previous 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