Code PHP ที่สามารถเอาไปใส่ในโปรแกรม เพื่อสร้าง barcode 3of9 ได้ทันทีครับ
-
16Jun
-
11Jun
วันนี้ (11/06/2552) เน็ตมีปัญหาแต่เช้า รู้สึกช้าๆ และช่วง 10 โมง เริ่มพบว่าเปิดเว็บหลายที่ แล้วเกิดรายงานว่ามีไวรัส (บนเซิร์ฟเวอร์ของผมเอง)
จึงเข้าตรวจสอบ code ตามที่ระบบแจ้ง (ดังรูป) แต่ไม่พบ code ต้องสงสัย

เนื่องจาก ก่อนหน้านี้ (ช่วง 9.30) เครื่อง app2 มีอาการแปลกกว่า เมื่อทำการ reboot แล้ว ปัญหาต่างๆหายไป จึงได้ทำการ reboot เครื่อง hosting12 เช่นกัน .. ทำให้ปัญหาเตือนไวรัสหายไปในทันที
จากนั้นเปิดดูที่เครื่อง www1.g-pra.com ก็พบปัญหาเดียวกัน (แจ้งไวรัส) .. แต่เพื่อนซึ่งอยู่คนละที่ ใช้โปรแกรมเดียวกันเปิดไปดู ไม่พบความผิดปกติ
จึงตั้งข้อสงสัยว่า ถ้าไม่เกิดจากเว็บเซิร์ฟเวอร์ ก็ต้องเกิดจากฝั่งเราแล้วละ ซึ่งปัญหาอาจจะเกิดจากเครื่องเรา, ระบบภายในของเรา และ isp ของเรา
ตามสมมุติฐาน จึงทำการ bypass proxy (squid) พบว่าปัญหาดังกล่าวหายไปในทันทีจึงสรุปว่า squid อาจจะติดไวรัส (code อะไรบางอย่าง) .. เครื่อง gateway เป็น linux
เมื่อพบข้อมูลเพิ่มเติม จะมา update อีกครั้งครับหลังจาก reboot เครื่อง proxy ทุกอย่างก็กลับมาเป็นปกติ
.. ไวรัสไม่น่าจะติดในเครื่อง .. แต่เป็นการครอบครอง การทำงานของ squid ทำให้มีการทำงานผิดปกติแบบไม่ถาวร (ซึ่งเป็นครั้งแรกที่พบด้วยตนเอง)
คงต้องหาต่อไปว่า โอกาสใดที่จะเกิดปัญหาลักษณะนี้ได้ .. ซึ่งมีความเป็นไปได้ที่เกิดจาก bug ของ squid ครับ (Squid Cache: Version 2.6.STABLE18) -
08Jun
กำหนดให้แสดง error ทั้งหมด
php_flag display_errors on
php_value error_reporting 327671 E_ERROR
2 E_WARNING
4 E_PARSE
8 E_NOTICE
16 E_CORE_ERROR
32 E_CORE_WARNING
64 E_COMPILE_ERROR
128 E_COMPILE_WARNING
256 E_USER_ERROR
512 E_USER_WARNING
1024 E_USER_NOTICE
6143 E_ALL
2048 E_STRICT
4096 E_RECOVERABLE_ERROR
8192 E_DEPRECATED
16384 E_USER_DEPRECATED -
07Jun
คำถาม
- ถ้าต้องการเก็บข้อมูลจราจร (Traffic Log) ด้วยอุปกรณ์ Linksys WRT54GL จะมีขั้นตอนอย่างไร และใช้อุปกรณ์อะไรเพิ่มบ้าง ?
คำตอบ
อุปกรณ์ Linksys WRT54GL + DD-WRT สามารถกำหนดให้จัดเก็บข้อมูลจราจรในระบบเครือข่ายได้โดยละเอียด (Low, Medium, High) ตามความต้องการของผู้ดูแลระบบ และนำส่งข้อมูลดังกล่าวไปเก็บไว้ยัง Log Server ที่ติดคั้งโปรแกรมที่ทำงานเป็น Syslog Daemon อยู่หรืออธิบายเป็นคำพูดธรรมดาคือ เมื่อมีข้อมูลจราจรเกิดขึ้นในระบบเครือข่าย อุปกรณ์ Linksys WRT54GL จะส่งข้อมูลเหล่านั้นไปยังเครื่องคอมพิวเตอร์เครื่องหนึ่งที่อยู่บนระบบเครือข่าย โดยที่เครื่องคอมพิวเตอร์เครื่องนั้นจะต้องติดตั้งโปรแกรมสำหรับจัดเก็บข้อมูลจราจรไว้ บทความนี้เราทดสอบโดยใช้โปรแกรม Link Logger เพื่อใช้ในการเก็บข้อมูลจราจรดังกล่าวครับ
-
04Jun
Watchguard Firebox II
From DD-WRT Wiki
Introduction:
The Watchguard Firebox series are usually based on standard x86 processors, so this information may apply to a wider variety of Watchguard routers. Even though this guide is intended for the Firebox II, it also applies to the Firebox III and Firebox 700 as well, due to similar hardware designs. In this guide, I assume that you have some basic knowledge of DD-WRT and that you are familiar with the Watchguard Firebox II. This guide has been put together with hands on experience with these routers, but I make no guarantee that it will work for you.
-
03Jun
Installing m0n0wall on watchguard firebox2
If you have an old watchguard firebox2 that is no more working, or you have enough of the windows based software to configure the firebox2, just install one of the best opensource firewall m0n0wall http://www.m0n0.ch/wall/
-
01Jun
ทำเสื้อให้ตึก 12 ด้วย
http://blog.monamafia.com/27/ -
01Jun
font สวยๆ แจกให้ฟรีๆ ใช้กับ photoshop ได้
-
01Jun
Intro/Overview
Overview
OpenVPN is a Virtual Private Networking (VPN) solution provided in the Ubuntu Repositories. It is flexible, easy-to-use, reliable and secure. I’ll walk you through setting up a Bridged VPN on Ubuntu 8.04 using x509 certs. Furthermore, I will walk you through general administration tasks.
What is a bridged VPN?
A bridged VPN allows the clients to appear as though they are on the same local area network (LAN) as the server system. The VPN accomplishes this by using a combination of virtual devices one called a bridge and the other called a tap device. A tap device acts as a virtual Ethernet adapter and the bridge device acts as a virtual hub. When you bridge a physical Ethernet device and a tap device, you are essential creating a hub between the physical network and the remote clients. Therefore, all LAN services are visible to the remote clients. My use case was creating a virtual lab for my companies Sale’s Engineers so that it was possible to net boot remote embedded clients anywhere in the world.


Recent Comments