?

Log in

豬頭'blog [entries|archive|friends|userinfo]
豬頭

[ website | 豬頭基 ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Links
[Links:| o0o blog myspace deviantart PromoDJ KTK project ]

(no subject) [Nov. 27th, 2009|12:53 pm]
豬頭
I haven't been writing much recently, and the reason pretty much is that I've been extensively traveling all around the old world and west indies uh.... tiring :) Anyway, the places worth mentioning:
1. Barcelona - Pretty crazy place. Messy, instane, tolerrant. Imagine drunk geeks taking their pants down while hopping over the metro fenses. This would definetely get you in trouble in Taipei, or even Moscow. Not in Barcelona apparently. Not to mention the fact that walking naked is legal there. And I've seen the proof. Search for "naked man of barcelona", a pretty pretty sight. Anyway, a few other random facts about the place - people are friendly, many speak english. many do not. people get more friendly as they get intoxicated. They love public holidays in Barcelona, every of my two visits to the city, I'd hit one. Swimming naked at 3AM could be a good hobby. People randomly share illigal substances on the streets. There are quite a bit of artsy-fancy places, which are fun to visit.. drinking in darkest corners could be very amusing thing to do. Lots of youngsters actually live in squats, even if coming from wealthy families. this seems to be sort of new thrend over there. Sleeping in airport is actually ok only until 4.30AM, thats when they turn all the lights on and security guard is coming over to give you a "morning call"...

2. North India, New Delhi and suburbs - that wasn't my first trip to India, but I think every time I go, I just love that place for some reason. You have to get through the odd feeling of seeing poverty and luxury at the same place. Chaos and order. Mix of all kind of crazy thing, ideas, philosophies and beliefs. Oh.. trucks! all road trucks apparently are hand-painted.. and highways, you could actually ride a bycicle on the highway!! and walk!!! Cows - they are everywhere, every street corner probably! I think that was the largest variety of cow-like animals I've seen in my life. And monkeys on piles of trash! Someone mentioned to me that they were part time workers at garbage separation section. And dogs - I thought thailand had too many street dogs, what I've seen in Delhi was at least tippled; Food - If i continue traveling to India, expect me to weight at least 100 kilos by the end of next year! :) Every time I am there, I just can't stop tasting local flavours! and the crazy variety - even if you take a bite of each thing, you are going to end up overeating every your meal. and spices.... every time I am coming back - any other food tastes like nothing, unless you just pour pure chilli into that, oh well. India! :)

Я не пишу многое последнее время, и причина в том, что я почти широко путешествовали по всему старому миру и Вест-Индии .... Uh утомительно:) Во всяком случае, местa, которые стоит упомянуть:
1. Барселона - вздорнoе место. Беспорядочный kaffardak. Fffobrazite пьяныx вундеркиндов cнимая свои штаны вниз, i а перескока метро низинные болота. Определенно, это будет вам в беду в Тайбэе, и даже Москwe. Не в Барселоне видимо. Не говоря уже о том, что ходьба golyshom является законным там. И я видел доказательства. Ищите "голый мужчина, Барселона, очень красивое зрелище. Во всяком случае, несколько других случайных фактов о месте - люди дружелюбные, многие говорят на английском. не все. людям получить более дружественным, поскольку они получают в состоянии опьянения. Они любят праздничные дни в Барселоне, каждый из двух моих визитов в город, я ударил одного. Плавательnie голyshem в 3 утра, было бы хорошей хобби. Доля случайных прохожих на улицах незаконный веществ. Есть немало претенциозный Fansy мест, которые интересно визитом .. пить в темных углах может быть очень забавная вещь. Многие молодые фактически живут в приседаний, даже если Исходя из богатых семей. это, кажется, быть своего рода новый moda там. Спящий в аэропорту действительно ОК только до 4:30, ffot, когда они обращаются все фары и охраннику приходит к вам "Утренний звонок" ...

2. Северная Индия, Дели и пригородам - это была не первая моя поездка в Индию, но я думаю, каждый раз я иду, я просто люблю это место по некоторым причинам. Вы должны пройти через странное чувство виде нищеты и роскоши в том же месте. Хаос и порядок. Сочетание всех видов сумасшедшая вещь, идей, философий и верований. Oh .. грузовики! видимо все дорожные грузовики раскрашены вручную .. и автомобильных дорог, вы фактически можете ездить на велосипеде по шоссе! и ходи! Коровы - они везде, наверное каждом углу! Я думаю, что было наибольшим разнообразием корову, как животные я видел в своей жизни. И обезьяны на кучах мусора! Кто-то сказал мне, что они были рабочими часть времени мусор раздел разделения. А собаки - Я думал, ff Таиланде было слишком много собак улице, что я видел в Дели была по крайней мере напиток; Еда - Если я буду продолжать путешествие в Индию, чтобы я весом не менее 100 килограммов до конца следующего года! :) Каждый раз, когда я там, я просто не могу остановиться дегустацией местных вкус! и Crazy разновидности - Даже если вы возьмете укуса каждая вещь, вы собираетесь в конечном итоге переедание каждого приема пищи ваше. и специй .... каждый раз, когда я возвращаюсь - любые другие вкусы продовольствие, как ничто, если вы только что налить в чистом чили, ой хорошо. Индия! :)

ffobshem vse ponyali chto chukcha ne pisatel', chukcha chitatel' ;-)
Link11 comments|Leave a comment

(no subject) [Nov. 26th, 2009|03:33 pm]
豬頭

National Taiwan University Office of International Affairs will be holding an Education Fair in Taipei and an Information Briefing in Kaohsiung for all international perspective degree-seeking students and their family on December 12 and December 19, 2009, respectively.

 



For detailed information such as the specific location, maps to the venue and the schedule for NTU December 2009 Education Fair and Information Briefing, please visit NTUOIA website:

http://www.oia.ntu.edu.tw/degree/news/20091212&19_en.asp



blah :)
LinkLeave a comment

(no subject) [Oct. 18th, 2009|09:03 am]
豬頭
„Ребёнок это недоразвитый юнит, слабый, трусливый и глупый. В принципе гадёнышей надо уничтожать - в целях простой гигиены. От них только неприятности, они гадят и расползаются по щелям.“
Link1 comment|Leave a comment

(no subject) [Oct. 16th, 2009|09:22 pm]
豬頭
HITB/Malaysia con slides: http://conference.hitb.org/hitbsecconf2009kl/materials/

and our presentation: http://conference.hitb.org/hitbsecconf2009kl/materials/D2T2%20-%20The%20Grugq%20and%20Fyodor%20Yarochkin%20-%20From%20Russia%20with%20Love%20dot%20EXE.pdf
Link2 comments|Leave a comment

(no subject) [Sep. 28th, 2009|09:32 pm]
豬頭
As you probably may know, I went to Barcelona, Moscow, Madrid, Lisbon, Barcelona again.. here're random pics from the trips.. (facebooked)

http://www.facebook.com/album.php?aid=316191&id=630665404&l=4aeb6375e5
http://www.facebook.com/album.php?aid=313734&id=630665404&l=a20e304e79
http://www.facebook.com/album.php?aid=272982&id=630665404&l=6e1f9224e1
http://www.facebook.com/album.php?aid=271097&id=630665404&l=365d6fb916

and more of barcelona conference shots ( by conference organizers)

http://www.facebook.com/home.php#/album.php?aid=142188&id=634627287

http://www.facebook.com/home.php#/album.php?aid=142155&id=634627287

http://www.facebook.com/home.php#/album.php?aid=142146&id=634627287

http://www.facebook.com/home.php#/album.php?aid=142139&id=634627287

http://www.facebook.com/home.php#/album.php?aid=142126&id=634627287

Link1 comment|Leave a comment

(no subject) [Aug. 25th, 2009|04:24 pm]
豬頭
Ya edy v Rossiyu!!!!!

Vo.. Priletayu 14/09, uletayu 19/09 vecherom, edu cherez v Moskwu (budu v Yaroslavle vse ostalnoe vremeya, esli spetsialno menya nikto nikuda ne vizovet :))


Vobshem vi znaete kto vi, khochu videt' vasha davno nevidanniii litsa :)
Link4 comments|Leave a comment

(no subject) [Jun. 12th, 2009|12:52 pm]
豬頭
xoroshii yazik ivrit.. "слово "тамхуй", собственно, и означает — "благотворительная столовая"" .. chitaite sami dalshe: http://www.dinarubina.com/texts/makarony.html ;-)
LinkLeave a comment

OSSIM + OpenFire integration mini-howto [Jun. 11th, 2009|11:41 am]
豬頭
OSSIM is security monitoring/correlation framework. www.ossim.net
OpenFire is an opensource XMPP (Jabber) server written in Java.

By integrating ossim with openfire with get to have a collaboration framework where you could have groups of operators using Jabber messaging client as primary means of communication and collaboration. Of course you can do even more than that. XMPP is an extendable protocol. You can build security monitoring services on the top of it, so you could use your messaging client (with extensions) as primary security monitoring interface.

The monitoring part can be easily done with XMPP based agents, which could talk to OSSIM database or other components directly, and maybe we could talk about it later some time. The cool thing about using agents, that it runs over standard XMPP protocol so you could technically even use your gmail.com client, or mobile phone jabber client to collaborate with your ossim system. However, when you run into huge number of users, scallability might become an issue...

There's also another really neat way of adding things up by extending OpenFire server with custom plugins, then you won't really need agents anymore. But you'll need customized Jabber clients. You can read more about this appraoch here: http://java.sys-con.com/node/232087

anyway, we'll start with the basics. Right now we simply want OSSIM users to be able to login into our XMPP server using ossim framework authentication credentials.

I used ossim installer here to install the base system. Once you get that stuff done, you'll need to install Java's JRE on your box.

Ossim installer is based on debian, so you'll have to install sun-java6-jre package on it.

echo " deb http://www.backports.org/debian/ etch-backports main non-free" >> /etc/apt/sources.list
apt-get get update
apt-get install sun-java6-jre

if this went smooth, go to http://www.igniterealtime.org/downloads/index.jsp and download .deb package.

dpkg -i openfire_3.6.4_all.deb

/etc/init.d/openfire start

now you should have openfire running on your box with admin console on ports 9090 and 9091(ssl'ed).

One thing you will need to do now is to configure the mysql database for openfire to use.

echo "create database openfire" | mysql -p
cat /usr/share/openfire/resources/database/openfire_mysql.sql | mysql -p openfire

(you'll need to peek at root password for mysql, which can be found in /etc/ossim/ossim_setup.conf)


Once you're done w/ this stuff, launch your browser to ossim:9090 and complete the setup. Select external database, and choose mysql database for it. Then correct the url for the mysql database thing. You can skip the setup user part at the end.

Once you're done with this stuff, you'll need to save this into a file, i.e. custom.sql and make some changes.
At the very least you'll want to change the connection string and set the user id and password to those you use to connect to your ossim database. You may also want to change admin.authorizedJIDS to list users, who would be allowed to login into openfire admin console:

--/cut here/--

/* make modifications */

update ofProperty set propValue = 'org.jivesoftware.openfire.auth.JDBCAuthProvider' where name = 'provider.auth.className';

update ofProperty set propValue = 'org.jivesoftware.openfire.user.JDBCUserProvider' where name = 'provider.user.className';



/* connection */

insert into ofProperty (name, propValue) values ('jdbcProvider.driver', 'com.mysql.jdbc.Driver');

insert into ofProperty (name, propValue) values ('jdbcProvider.connectionString', 'jdbc:mysql://localhost:3306/ossim?user=root&password=yourpass');



/* authentication */

insert into ofProperty (name, propValue) values ('jdbcAuthProvider.passwordSQL', 'select pass from users where login=?');

insert into ofProperty (name, propValue) values ('jdbcAuthProvider.passwordType', 'md5');

insert into ofProperty (name, propValue) values ('admin.authorizedJIDs', 'yourleetuser, admin');



/* user */

insert into ofProperty (name, propValue) values ('jdbcUserProvider.loadUserSQL', 'select name, email from users where login=?');

insert into ofProperty (name, propValue) values ('jdbcUserProvider.userCountSQL', 'select count(*) from users');

insert into ofProperty (name, propValue) values ('jdbcUserProvider.allUsersSQL', 'select login from users');

insert into ofProperty (name, propValue) values ('jdbcUserProvider.searchSQL', 'select login from users where');

insert into ofProperty (name, propValue) values ('jdbcUserProvider.usernameField', 'login');

insert into ofProperty (name, propValue) values ('jdbcUserProvider.nameField', 'name');

insert into ofProperty (name, propValue) values ('jdbcUserProvider.emailField', 'email');

--/cut here/--

once you're done with this stuff, save it and then do something like:

cat custom.sql | mysql -p openfire

then restart your openfire server and you're done ;-)

For the agents and stuff, maybe I'll make another post :)

Sources:
http://www.igniterealtime.org/builds/openfire/docs/latest/documentation/database.html
http://www.igniterealtime.org/community/thread/38646
LinkLeave a comment

(no subject) [Jun. 10th, 2009|05:37 pm]
豬頭
pretty cool blog in chinese on cheap ways of traveling: http://blog.xuite.net/iq943/ez37/23375228 :)
LinkLeave a comment

(no subject) [Jun. 9th, 2009|10:16 am]
豬頭
туториал на ИДУ - http://www.binarypool.com/idapluginwriting/ очень даже поидет :)
LinkLeave a comment

navigation
[ viewing | 10 entries back ]
[ go | earlier/later ]