After-Access Anti-Virus

While I’m not claiming that Linux is a virus-free operating system. It’s very rare to be faced with any critical virus like those normally-found on Windows.

I has setup several Linux boxes for the file-sharing service. While the most of Windows virus wouldn’t affect to the linux box directly, my Linux boxes will become the virus carriers. That’s why I need anti-virus on Linux.

There’s some effort to provide on-access virus scan like ClamFS or samba-vscan. These efforts are very likely try to emulate live scan in Windows anti-virus software. But what I’m really need is to prevent my Linux boxes from being the carrier so I’m thinking about after-access anti-virus.

The idea is quite simple, any file that written into the disk should be scan immediately. For the users’ aspect, the file will be open upon the time they request it. There will be very low latency for this scheme. But after all users finished with their files, every files on the server will be guaranteed that they are all virus clean.

The implementation is fairly simple and not invasive to others service. I use pyinotify combined with pyclamd. Most code came from both library tutorial so I decide to use it internally for a while and hope this can be released to the world when it ready.

 

คิดถึง

เคยคุยกับเพื่อนคนหนึ่งมานานแล้วว่า วันหนึ่งที่เราลืมช่วงเวลาที่ต้องอยู่คนเดียวไปแล้ว จะเป็นช่วงเวลาที่อยู่คนเดียวได้ยากที่สุดเวลาหนึ่ง

น่าแปลก ในเวลาที่เรามีคนล้อมรอบมากมาย มีหลายสิ่งหลายอย่างที่เราอยากจะทำ มีอะไรจำนวนมากที่เราบอกกับตัวเองไว้ว่าเมื่อมีโอกาสแล้วเราจะลงมือ

แต่เมื่อถึงเวลานั้นแล้ว เรากลับมองหาคนรอบข้าง

เราถามตัวเองว่ามันจะเป็นไปได้ไหม ที่เราจะมีใครอีกสักคนมาทำสิ่งเหล่านั้นกับเรา

จะเป็นไปได้ไหมที่จะมีคนมายืนเคียงข้างเรา

 

vrms

Today, after a short “j-walking”, I found a blog introduce me an interesting program called vrms.

It’s just a simple program that scan all deb packages installed on the machine and  notify you if there’re some of the packages which isn’t free.

The funniest part is the program’s name, it’s an abbreviate from Virtual Richard M. Stallman.

While I don’t really think any End-User will be care about software license at all. (They even pirated some.) Top-Down free software subsinary is on the way. Large corporation in Thailand has started to deploy OO.o in scale of thousands machines. I’m sure we’ll see a lot more very soon.

 

ขนมโป้งๆ ชึ่ง

สงสัยมานานว่าทำไมของกินบางอย่างเราถึงต้องกินเวลาไปเที่ยว

วันนี้ถามน้องสาว น้องสาวบอกว่าของพวกนี้แม้มันจะมีให้กินในกรุงเทพฯ แต่ถ้ากินเฉยๆ แบบสบายๆ แล้วมันจะไม่ได้ฟิลด์

ต้องนั่งรถเหนื่อยๆ เมื่อยๆ ง่วงๆ แล้วลงไปซื้อ (แบบแพงๆ) จึงจะซื้อได้และกินอร่อย จึงได้ชื่อหมวดขนมนี้มาว่าขนมโป้งๆ ชึ่ง

ตัวอย่างของขนมในหมวดนี้ก็เช่น ข้าวเกรียบถุงโตๆ, ข้าวหลาม, กระหรี่ปั๊บ, ขนมหม้อแกง, โมจิ, ฯลฯ

ขนมโป้งๆ ชึ่งนี้มีความหลากหลายมากจนไม่น่าเชื่อว่าจะจัดอยู่ในหมวดเดียวกันได้ แต่นอกจากอารมณ์และช่วงเวลาในการซื้อแล้ว อีกอย่างหนึ่งที่ขนมหมวดนี้มีเหมือนๆ กัน

นั่นคือ พลังงาน ครับ

แม้จะไม่มี Nutrition Fact อยู่หลังถุง แต่ก็บอกได้เลยว่าพลังงานจากขนมแนวๆ นี้ทะลุเพดานพลังงานที่ควรบริโภคต่อวันไปแบบติดขอบฟ้า และด้วยเหตุผลว่าขนมพวกนี้เรามักกินเอาช่วง “ปล่อยผี” เลยลืมกันบ่อยๆ ว่าลดน้ำหนักอยู่

ไม่มีอะไรมากครับ ไปเที่ยวมาแล้วฟาดเข้าไปเยอะ

กลมเลย…. – -“