Recently a scramble bot appeared to the #room channel, and everyone was thrilled with it. Epic wars took place in order to make the best score @ the (un)scramble game.
One day a user appeared with huge capabilities and an even greater vocabulary build. We suspected at once that the user was using a bot and we decided to create a counter-bot that could defeat that user. The intention of the team[1] was not to create a second irc bot that would trick the irc channel’s users into thinking that the user was playing legitimately but instead to prove that the BOTs existed and everyone with more or less technical/programming skills could beat every kind of competition using some intuitive thinking.
The above philosophical ideas formed into a solid and working bot called specialK a bot that operates at #room of HWN network (joining information in greek can be found here).
On the build of the bot there aren’t much to write about; some techniques that lead to O(1) searches on the lexicon used and some other preprocessing techniques that make that search time possible[2]. The irc framework was based on the pirc bot framework and the lexikon in use is the cracklib-small provided by gentoo.
[1] For this project I worked with mr bug is found in RandomAccessFile Undertaker. Synergy produces great results
[2] More technical details (including the produced source code under GPL3 and maybe an executable) will be posted when the final botwar take place, and a winner is established at the botwar competition.
On of the great deals on sourceforge is its capabilities. It provides to the opensource developer 100mbyte of web space and unlimited cvs and file release data storage. It is simply an unbeatable offer. Of course you have to create opensource project in order to use its services.
I am working with sf for the wifiadmin project a project that some farseeing members of my wifi community started long ago. Wifiadmin is an open source GPLed piece of software that allows its user to do basic configuration to its interfaces. My vision is to integrate it with the pfsense another great piece of work based on FreeBSD as a wifi router. Before integrating these applications much development has to be done, and in source forge is being done with cvs (or svn) but in this article I will cover cvs. I gained much experience while contributing to an opensource project so it is quite an event and I insist that everyone should involve with something they like and give back some work hours to the community to help out everyone.
Enough with mumbling, lets get to business (note that we are referring to project wifiadmin. Replace it with the suitable project name that you are dealing with!)
In order to checkout the cvs sf tree the following operations are needed in your working console;
- export CVSROOT=:ext:user@wifiadmin.cvs.sourceforge.net:/cvsroot/wifiadmin
- export CVS_RSH=ssh
- ssh user@wifiadmin.cvs.sourceforge.net
- login with your password
- The cvs.sf server after your login should kick you out immediatly
- cvs -z3 -d:ext:ssh:user@wifiadmin.cvs.sourceforge.net:/cvsroot/wifiadmin co -P wifiadmin
Explanation of the steps; 1-2 steps make your life easier by using the env variables in order to type less the cvs commands. With 2 a simple cvs commit (instead of a cvs blablabla commit) should be sufficient later! With step number 3 you get the latest version as a local copy. STEPS 1-3 are one timers. Never do them again (except if you are interested in downloading again the cvs tree). We login @ cvs.sf server in order to create some important account files in order to be able to use our shell. Also one intresting part of the process is the ssh key authentication (to avoid the necessity to use passwords @ ssh) you can create an ssh key following these simple steps;
- First log in on A as user a and generate a pair of authentication keys. Do not enter a passphrase:
- a@A:~> ssh-keygen -t rsa
- Generating public/private rsa key pair.
- Enter file in which to save the key (/home/a/.ssh/id_rsa):
- Created directory ‘/home/a/.ssh’.
- Enter passphrase (empty for no passphrase):
- Enter same passphrase again:
- Your identification has been saved in /home/a/.ssh/id_rsa.
- Your public key has been saved in /home/a/.ssh/id_rsa.pub.
- The key fingerprint is:
- 3e:4f:05:79:3a:9f:96:7c:3b:ad:e9:58:37:bc:37:e4 a@A
- Now use ssh to create a directory ~/.ssh as user b on B. (The directory may already exist, which is fine):
- a@A:~> ssh b@B mkdir -p .ssh
- b@B’s password:
- Finally append a’s new public key to b@B:.ssh/authorized_keys and enter b’s password one last time:
- a@A:~> cat .ssh/id_rsa.pub | ssh b@B ‘cat >> .ssh/authorized_keys’
- b@B’s password:
- From now on you can log into B as b from A as a without password:
- a@A:~> ssh b@B hostname
Edit the code at your files the submit the edited one with the call; cvs submit -m “blabla” where blabla denotes the reason for your actions (you may not use -m switch but things will roll smoother if you indicate with a simple comment why you did what!)
In order to remove an existing file you should do a cvs rm relative_path_from_cvs_root/filename and then do a cvs commit
In order to add a new file you can do a cvs add relative_path_from_cvs_root/filename and then do a cvs commit
In order to check if there are updates you have to do a cvs update
Hope it helps!
Ο κόμβος pwmn.net-kOlga προσφέρει σε φίλους/φίλες που επιθυμούν να συνδεθούν προσωρινά, στον κορμό του PWMN μέσω internet την δυνατότητα να χρησιμοποιήσουν την υπηρεσία του VPN (PPTP)που προσφέρει ο κόμβος. Η κάθε σύνδεση λαμβάνει dedicated 256kbps upload 128 kbps download (το bandwidth αυτό δίδεται από την dsl που εξυπηρετεί το σπίτι). Η ταχύτητα διασύνδεσης με τον κορμό του PWMN ανέρχεται στα 4 MByte/s οπότε το bottleneck που υπάρχει περίπτωση να αντιμέτωπίσετε θα οφείλεται αποκλειστικά στην dsl. Για πληροφορίες και για account παρακαλώ επικοινωνήστε μέσω του forum με προσωπικό μήνυμα.
Η σύνδεση γίνεται στο address korki.pwmn.net και τα user credential δίδονται από το forum. Κατά την λειτουργία κανείς περιορισμός δεν υφίσταται, ως προς το είδος της κίνησης που επιθυμεί να περάσει ο πελάτης [1] . Οι αποδιδόμενες διευθύνσεις από για το VPN είναι στο range 10.140.4.240/28. Επίσης προαιρετικά και μετά από συνεννόηση εκτός από συνδέσεις τύπου PPTP μπορεί να δίδονται συνδέσεις τύπου OpenVPN και IPsec (tunneled).
Στις ρυθμίσεις για το PPTP πρέπει υποχρεωτικά να είναι ενεργοποιημένη η επιλογή για 128bit encryption.
Another happy service by pwmn.net-kOlga.
[1] Προσοχή: όλη η κίνηση περνάει μέσα από το snort οπότε ύποπτες δραστηριότητες -όπως μπορεί να της θεωρήσει ή εφαρμογή- μπορεί να διακοπούν κατά το δοκούν του IDS.
Ένα από τα σοβαρότερα προβλήματα στην Πάτρα είναι το parking. Και πολλοί το έχουν καταλάβει και το εκμεταλλεύονται. Χθες για 50 λεπτά που parking στο κέντρο της πόλης χρεώθηκαμε 6Ευρώ. Το ξαναγράφω ολογράφως: ΠΕΝΗΝΤΑ ΛΕΠΤΑ parking χρεώνονται ΈΞΙ ΕΥΡΩ ΣΤΗΝ ΠΑΤΡΑ!!!! ΑΝ ΕΙΝΑΙ ΔΥΝΑΤΟΝ!!!!
Σύντομα θα επανέλθω με φωτογραφίες από τους τόπους της ντροπής. Η κατάσταση είναι πάντως τραγική. Αντίστοιχα (δημοτικά όμως όχι ιδιωτικά) parking στα Χανιά -με αντίστοιχο αν όχι εντονότερο πρόβλημα parking- χρεώνουν την ώρα από 0,9Ευρω (ανοικτό υπαίθριο parking στην Ρεγγίνα)και φτάνει τα 1,2Ευρώ την ώρα σε στεγασμένο υπόγειο parking στην Περίδου. Ενώ και στην αθήνα το parking χρεώνεται με ελαφρώς ακριβότερα απότι στα Χανιά αλλά καμία σχέση με τα εδώ αίσχη.
Αν και δεν υπάρχει περίπτωση να αλλάξει κάτι, θεωρώ οτι εκτός από το να διαπληκτιστώ με τον ιδιοκτήτη του parking, πρέπει να το αναφέρω δημόσια. Είναι το λιγότερο που μπορώ να κάνω…
Είναι επιτέλους ένα ευτυχές γεγονός οτι η ομάδα των χρηστών του PWMN θα αποκτήσει νομική υπόσταση. Είναι μια απόφαση κεφαλαιώδους σημασίας για το δίκτυο και για όλους μας. Στα πλαίσια της συζήτησης θεωρώ μεγάλη τύχη που άλλο ένα βήμα της ανάπτυξης του PWMN (που αποτελεί πλέον την συνένωση PWN και SPN). Επιτέλους μια πράξη απόφαση που πιέσαμε πολύ αρκετά άτομα αρκετούς τρίτους ώστε να ληφθεί…
Αν και ειχε ειπωθεί πολλές φορές στο παρελθόν (ξεκίνησε να το λέει ο Γιάννης (aka yian) και ο Θανάσης (aka sf1n4k1) πριν 2 χρόνια αλλά δυστυχώς οι συνθήκες αφενός δεν ήταν ώριμες και αφετέρου δεν υπήρχαν την δεδομένη στιγμή άτομα για να κινήσουν το ζήτημα. Χθες όμως καταλήξαμε οτι αξίζει να γίνει. Στην συνάντηση που προσκεκλημένοι ήταν όλοι (ανοικτή πρόσκληση γαρ) μαζεύτηκαν αρκετοί PWMN-ίτες που πραγματικά ενδιαφέρονται έμπρακτα -και όχι μόνο πίσω από μια οθόνη και καθισμένοι σε μια καρέκλα- για τα εσωτερικά μας ζητήματα και καταλήξαμε οτι ήταν κάτι που έπρεπε να έχει γίνει από την εποχή που το έλεγαν ο Γιάννης και ο Θανάσης.
Και εδώ χτίζεται η ιστορία, ακόμα ένα λιθαράκι προς την αναστύλωση του δικτύου και την ανάπτυξη με νέες προοπτικές.
I am PWMN member and I am damn proud of it
eNjoy
Ενημερώνονται οι φίλοι χρήστες οτι στο διάστημα 0200 με 0400 την Πέμπτη 8 Μαΐου θα υπάρξει προγραμματισμένη διακοπή της λειτουργίας του μηχανήματος gentoo.korki.pwmn @ pwmn.net-kOlga (κρατάει τα gentoo portage και dist files repos) για να γίνουν κάποιες διαδικασίες αναβάθμισης.
Καμία άλλη διακοπή δεν έχει προγραμματιστεί για τον κόμβο αλλά ποτέ δεν μπορείς να είσαι σίγουρος. Ο μοναδικός χρήστης αυτή την στιγμή που μιλάμε
ενημερώθηκε αλλά παρόλα αυτά μου συνέστησε να βγάλω μια ανακοίνωση
. Οπότε here you are
Καλό βράδυ σε όλους
There are quite many cases where your hardware and system clock have different values (especially when you are dual booting with windows) . But let’s start with the beginning;
There are two main clocks in a Linux system;
The System Time: This is the time kept by a clock inside the Linux kernel and driven by a timer interrupt. It has meaning only while Linux is running on the machine.
The Hardware Clock: This is a clock that runs independently of any control program running in the CPU and even when the machine is powered off.
Read more
Αθάνατη Κρήτη
Κύριε χωροφύλακα την επόμενη φορά λίγο προσοχή στα ντουλαπάκια γιατί ποτέ δεν ξέρεις 
As stated previously kolga offers a variety of gentoo services (remember the gentoo propaganda
). The main gentoo services offered are;
- portage tree rsync server
- the whole gentoo dist (current) file tree (yeah the whole 120Gbyte file tree) needed for updates and normal install
Both of the trees are synced with the gentoo server 4 times a day (@ 0100 , @0700, @1300, and @ 1900) In order to use the gentoo services offered you have to follow these steps (need superuser privileges);
- Setup the portage tree sync
- This is done by editing file /etc/make.conf
- alter the SYNC variable depending on the dns resolves you are capable of
- you may use one of the following statements (you may use the last if you don’t have pwmn dns lookups);
- SYNC=”rsync://gentoo.kolga.pwmn/gentoo-portage”
- SYNC=”rsync://gentoo.korki.pwmn/gentoo-portage”
- SYNC=”rsync://10.140.4.1/gentoo-portage”
- Specify the internal wireless mirror to use for source files retrieval
- again edit file /etc/make.conf
- alter the GENTOO_MIRRORS variable with one of the following (determine by the result of you DNS lookups the safe choice is always the third
);
- GENTOO_MIRRORS=”http://gentoo.korki.pwmn ftp://gentoo.korki.pwmn”
- GENTOO_MIRRORS=”http://gentoo.kolga.pwmn ftp://gentoo.kolga.pwmn”
- GENTOO_MIRRORS=”ftp://10.140.4.4″
- Test if everything went ok with;
- Test if you can sync with the local portage tree with;
- # emerge –sync
- Test if you can download sources with;
- # emerge -vat gentoolkit