Summer Glau at Cape 2011, http://www.imdb.com/title/tt1593823/
Changing from Google ReCaptcha to Akismet. Perhaps now i can finally sleep easy. Google ReCaptcha sucks
@comzeradd thanks for your help on gimp. I believe that my hackergotchi is better now. My head although … is another issue ;P
Greek SPAM from 93.115.240.0/23. If you can block it.
One RSS to view them all (identi.ca & twitter merged feeds), http://lnx.gr/ZD7F
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!
@ltsampros http://blog.ltsampros.eu Error establishing a database connection
if you like firefox firegestures plugin then you’ll love linux easystroke. Mouse gesture on desktop. http://lnx.gr/M4CU
@baphometx Wheel Bag & washtub (2011)
I 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
First 12 hours, 24spam reports on spamcop.net
First stop: Kill spam. From today i am reporting spam to spamcop.net. Next stop: Take over the world
Πριν από λίγο καιρό έγραψα ένα άρθρο για να εξηγήσω πως μπορείτε να έχετε διαφορετικό συνθηματικό σε κάθε εφαρμογή και παρόλα αυτά να τα θυμάστε μέσω μοτίβων: 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.
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!
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
Το παρόν 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.
I am supporting a greek company with two linux servers.
These two linux boxes have a lot of services,
including a mail server and they are set upped as active/passive.
In the past week they lost their internet adsl connection.
This is a true and horrible story, but for that i’ll write another post in near future.
So without an internet connection there werent a lot of things i’ve could do.
Thanks to Santa Claus i had predict this problem and i have installed a linux vps server outside of the company as a backup mx/mail server to queue all the undelivered mail.
From the company, i ‘ve been asked if i could keep all the mails in queue and also provide a copy to a gmail account. After google searching about postfix rewrite and re-queue i ‘ve came to automatic recipient bcc.
In my /etc/postfix/main.cf (or you can use postconf) i added this line:
recipient_bcc_maps = regexp:/etc/postfix/recipient_bcc_maps
If you are a careful reader then you have noticed that i wrote regexp for my recipient map file.
And the reason is that i wanted to combine all the mails that came to the backup mx server.
This is my /etc/postfix/recipient_bcc_maps:
/@example.com/ example.com@gmail.com
Of course i had to reload postfix in the vps and send a test email to verify that the blind copy for all the domain is working.
If you want to re-queue all the mails then you have to do something like this:
postsuper -r ALL
PS: As the Journey have said: Don’t Stop Believing …. in Santa Claus
Have a nice holiday :)
Σήμερα επέστρεψα από Βερολίνο.
Πέντε μέρες στους -15 και στο χιονισμένο και πανέμορφο Βερολίνο
επέστρεψα Ελλάδα και στους +15
Η διαφορά παιδείας/κουλτούρας/ζωής κι ότι άλλο θέλετε είναι πραγματικά η μέρα με την νύχτα.
Το βερολίνο είναι μια πόλη που αξίζει να ζεις. Χαμηλές τιμές, απίστευτα μέσα μαζικής μεταφοράς, άνθρωποι, μαγαζιά, ζωή, τα πάντα είναι εκπληκτικά.
Λόγω της 24ώρης απεργίας την Πέμπτη 16.12.2010 είχα αφήσει το αυτοκίνητό μου στο σπίτι ενός φίλου. Σήμερα λοιπόν Δευτέρα 20.12.2010, το βρήκα κυριολεκτικά άλλο χρώμα από τα δωράκια που μου είχαν αφήσει τα πουλιά της γειτονιάς του! Δεν έχω ξαναδεί ποτέ στην ζωή μου το αμαξάκι μου τόσο … περιποιημένο.
Μετά το αρχικό σοκ, παίρνω τον δρόμο της επιστροφής για το σπίτι μου.
Δυστυχώς πέρασα από Μεσογείων για να βγω Αλεξάνδρας.
Κίνηση όσο δεν φαντάζεσαι. Στην διασταύρωση Αλεξάνδρας - Κηφισίας υπάρχουν δύο (μάλιστα δύο) τροχονόμοι για να ρυθμίσουν την κίνηση.
Ακριβώς λοιπόν στην διασταύρωση Αλεξάνδρας - Κηφισίας και μόλις μας κάνει σήμα να προχωρήσουμε, από αριστερά με κόβει ένας με το αμάξι του και με σφήνα μπαίνει μπροστά μου, ενώ έμπαινα στην αλεξάνδρας στην αριστερή λωρίδα (ερχόμουν Φειδιππίδου - ευθεία στην λωρίδα μου). Φρένα για να μην τρακάρουμε ή το χειρότερο μην με πετάξει εκτός λωρίδας και χτυπήσω με κάποιον άλλο, μιας και για να μην πέσει στο διαχωριστικό κόβει το αμάξι αριστερά, απευθείας πάνω μου.
Και μπαμ ο πίσω !
Όλα αυτά έγιναν φυσικά μπροστά στα μάτια των δύο (μάλιστα δύο) τροχονόμων. Που η μοναδική τους παρηγοριά ήταν εάν θέλω, να δηλώσουν το τρακάρισμα στην τροχαία για να έρθει περιπολικό της τροχαίας. Επαναλαμβάνω για όσους δεν κατάλαβαν, οι δύο ΤΡΟΧΟΝΟΜΟΙ, με ρώτησαν εάν έπρεπε να καλέσουν την ΤΡΟΧΑΙΑ για να καταγράψει το συμβάν. Κι ενώ φυσικά ο φίλος σουμάχερ που δημιούργησε το όλο τροχαίο έχει ήδη εξαφανιστεί, μιας και κανείς δεν τον σταμάτησε!
Κοιτώντας πίσω τον προφυλακτήρα μου, δεν είδα κάτι πολύ κακό, ενώ ο πίσω έπαθε μεγαλύτερη ζημιά. Με έπιασε το παράπονο, δεν είχα ούτε μια ώρα στην ελλάδα!
Δεν ήθελα να καθυστερήσω άλλο, δεν είχα πάθει κάποια ζημιά και του είπα να φύγουμε.
Έτσι λοιπόν για να μην ξεχνιόμαστε, αυτή είναι η Ελλάδα που μας αξίζει σε όλους μας.
Εάν και λίγο ξεχάστηκα με το βερολίνο, αμέσως με επανέφεραν στην ελληνική πραγματικότητα.
This time, only code and no comments:
installation
git clone git://git.berlios.de/iat iat.git
cd iat.git
./autogen.sh
./configure
make
sudo make install
Usage
$ /usr/local/bin/iat -i image.mdf --iso
RAW Block :2352
100% [:=====================:]
Verification
$ file image.iso
image.iso: ISO 9660 CD-ROM filesystem data 'image'
A long time ago, i had created an account on a site to use their online service
(the site/company and the service is irrelevant to this story).
This evening i had to use this service again, but i couldnt remember my password!
Thats not a problem, i hit “You forgot your password” button and i followed their instructions.
Just a few clicks and some seconds ago, i was reseting my password to something new.
So i ‘ve tried the login page on the site.
Email or password incorrect.
My first thought was, that i had misspelled my password on the reset form.
I did the reset procedure once again.
This time i wrote the password to an empty text file (just to be sure) and i copied the password from the text file to password & rewrite password text field on the reset page.
After that and one more time:
Email or password incorrect.
So i clicked “support & help, follow this link”.
Thats nice …..
To use their support & help & faq & whatever else they have, i must logon to their site!
HELLLOOOOOO guys
i have problem with your fuc@#$@#$ login page,
how on earth i can login to your help page to open o fuc@#$@# ticket when
my problem is your login page !!!
The Horror! The Horror!
why people are so stupid ?