Skip to content

SpaLinux.com – สปาลีนุกซ์

เพื่อชีวิตที่ผ่อนคลายของคนใช้ลีนุกซ์

  • เกี่ยวกับเรา
  • เริ่มต้นหัดใช้ CentOS 6

Tag: conntrack

เก็บปริมาณการใช้งาน network บนลินุกซ์ด้วย conntrack-tools

ในบทความนี้จะกล่าวถึงวิธีการคอนฟิกลินุกซ์ให้สามารถเก็บปริมาณการใช้งาน network ที่เข้าออกเครื่องได้ โดยจะเป็นรายงาน (log) แบบค่อนข้างละเอียดคือ ดูได้ว่าแต่ละ packet ที่ส่งเข้า/ออกเครื่องนั้นมีประเภทไหนบ้าง มาจาก IP Address ต้นทาง ปลายทาง จากไหน ใช้ protocol เป็น TCP หรือ UDP และใช้ Port อะไร เช่นเป็น Web, Mail, Secure Shell

หมายเหตุ คุณสมบัตินี้จะคล้ายๆ กับการใช้งาน Netflow บนอุปกรณ์ Cisco Router

มีหลายวิธีที่สามารถทำได้ แต่ในที่นี้จะแนะนำการใช้โปรแกรม conntrack-tools จับปริมาณการใช้งาน โดย conntrack-tools ถือว่าเป็นโปรแกรม (userspace tools) ที่ติดต่อกับ Linux kernel ในส่วนของ Connection Tracking System จุดประสงค์หลักๆ ของโปรแกรมนี้จะสามารถนำไปทำเป็น High Availability stateful firewall ได้ แต่ในบทความนี้จะขอไม่กล่าวถึงการใช้งานคุณสมบัตินี้

Continue reading “เก็บปริมาณการใช้งาน network บนลินุกซ์ด้วย conntrack-tools”

Author editorPosted on September 20, 2008Categories Kernel, NetworkingTags conntrack, linux, network accountLeave a comment on เก็บปริมาณการใช้งาน network บนลินุกซ์ด้วย conntrack-tools

Recent Posts

  • Casibom – 2026 Güncel Casino Giriş Linki
  • Dragobet Casino overzicht en opties: bonussen, betaalmethoden & mobiel
  • Online Casino Interac Bonus Review: Claiming, Wagering Requirements & Withdrawal Guide for Canadian Players
  • Instasino opiniones 2024: bonos, métodos de pago y seguridad
  • Instasio casino Nederland overzicht en opties

Tag

  • Apache
  • Authentication
  • bind
  • CentOS
  • CentOS 6
  • certificate
  • configuration
  • Disk
  • dovecot
  • fedora 10
  • fedora 17
  • install
  • Installation
  • iPhone
  • iptables
  • javascript
  • laravel
  • ldap
  • linux
  • login
  • mail server
  • MySQL
  • named.conf
  • ntp
  • openldap
  • openvpn
  • Oracle Grid Engine
  • Performance
  • postfix
  • Proxy
  • putty
  • rpm
  • Samba
  • secure shell
  • smbldap-tools
  • solaris 10
  • Squid
  • SSH
  • start
  • submission
  • Sun Grid Engine
  • tls
  • VMware
  • Web Server
  • windows

Archives

Categories

  • เกี่ยวกับเรา
  • เริ่มต้นหัดใช้ CentOS 6
SpaLinux.com – สปาลีนุกซ์ Proudly powered by WordPress