Thursday, April 21, 2016

Facebook thử nghiệm tính năng quảng cáo trên NewsFeed

Facebook cho biết hãng đang tiến hành thử nghiệm một tính năng quảng cáo mới trên NewsFeed. Với tính năng này, các nhà quảng cáo sẽ được phép đăng quảng cáo trực tiếp lên NewsFeed của người dùng, bất chấp người dùng có muốn hay không. Facebook cho biết: “Chúng tôi muốn cung cấp cho các nhà tiếp thị cơ hội quảng cáo trên News Feed – nơi hấp dẫn nhất trên Facebook”. Trước đây, các nhà tiếp thị có thể chạy các quảng cáo tiêu chuẩn ở cột phía bên tay phải – Sidebar hoặc mục Sponsored Stories của Facebook. Bắt đầu từ ngày 26/3, họ có thể đăng thêm các quảng cáo trực tiếp lên News Feed của người dùng thông qua các link liên kết. Được biết, dịch vụ mới sẽ được hiển thị dưới dạng Add-on của Facebook trên destop và phiên bản mobile. Hãng...

Thursday, April 14, 2016

Find number of unique IP’s and active connections to Web server

In computing, netstat (network statistics) is a command-line tool that displays network connections (both incoming and outgoing), routing tables, and a number of network interface (network interface controller or software-defined network interface) and network protocol statistics. It is available on Unix-like operating systems including OS X, Linux, Solaris, and BSD, and is available on Windows NT-based operating systems including Windows XP, Windows Vista, Windows 7 and Windows 8. It is used for finding problems in the network and to determine the amount of traffic on the network as a performance measurement. netstat is the most frequent tool used for monitoring network connections on a Linux servers. netstat returns a variety...

20 Netstat Commands for Linux Network Management

netstat (network statistics) is a command line tool for monitoring network connections both incoming and outgoing as well as viewing routing tables, interface statistics etc. netstat is available on all Unix-like Operating Systems and also available on Windows OS as well. It is very useful in terms of network troubleshooting and performance measurement. netstat is one of the most basic network service debugging tools, telling you what ports are open and whether any programs are listening on ports. Linux Netstat Command This tool is very important and much useful for Linux network administrators as well as system administrators to monitor and troubleshoot their network related problems and determine network traffic performance....

Linux: Check Network Connection Command

How do I check network connections under Linux using command line options? You need to use any one of the following tool or command under Linux to check network connections including their state, source/destination, and addresses and bandwidth usage etc: ss command: It dump socket (network connection) statistics such as all TCP / UDP connections, established connection per protocol (e.g., display all established ssh connections), display all the tcp sockets in various state such as ESTABLISHED or FIN-WAIT-1 and so on. netstat command: It can display network connections, routing tables, interfaces and much more. tcptrack and iftop commands: Displays information about TCP connections it sees on a network interface and display...

iptables rules can be easily import and export

Some of the distro will come with default iptables rules such as RH based linux, but some of the distro such as ubuntu didn’t include that. iptables rules can be insert by command iptables itself. iptables -A INPUT -p udp --dport 222 -j ACCEPT The above line append (-A) a rule in table INPUT, which indicate to ACCEPT packets come from anyplace with protocol udp and destination port 222. Iptables capable to do a lots more. To master it, you may consider to search for a book. To easily setup firewalls for those distro who do not have one, i have a trick. Search for the distro which have default iptables rules, copy out the rules and store into a file, like this. iptables-save > iptables.conf The rules will be copy out and looks like this # Generated by iptables-save v1.3.3 on Sun...

Saturday, April 2, 2016

Chặn IP Trung Quốc bằng Iptables + Ipset

WHY ?  Không phải phân biệt chủng tộc hay kích động thù hằn dân tộc nhưng có một sự thật là TQ là nước chiếm tỉ lệ lớn nguồn gốc các cuộc tấn công mạng vào các Website của thế giới nói chung và VN nói riêng. Nhiều website nước ngoài cũng tiến hành chặn IP Trung Quốc để ngủ ngon hơn, mình cũng nên học hỏi. Lưu ý : Việc chặn IP chỉ là biện pháp đối phó tương đối (chỉ hiệu quả trước một số loại tấn công như DoS, Spam..) . Đối với những kẻ tấn công có chủ đích nhắm vào ứng dụng của bạn thì chúng có thừa thủ đoạn để qua mặt các bộ lọc IP. Về lâu dài, bạn cần định kỳ kiểm trả bảo mật và đảm bảo các quy tắc lập trình an toàn trong quá trình phát triển. HOW ? Công cụ : iptables - firewall mặc định trên hầu hết Linux Distro (Lưu ý : CentOS 7 và FC20 trở đi sử dụng firewallD...

Chống DDOS với iptables

Giới thiệu về iptables Nguyên tắc làm việc của iptables là nó cho phép người dùng định nghĩa các quy tắc (rules), các quy tắc này nằm trong bộ nhớ và sẽ được iptables kiểm tra để thực thi mỗi khi có một request đến máy chủ. Nếu một request thỏa mãn quy tắc, nó sẽ được thực hiện theo action của quy tắc đó. Các request được nhận diện bằng các thông số sau: - địa chỉ nguồn (một ip hay cả một dải ip) - địa chỉ đích - giao thức (giao thức phổ biến là TCP/IP) - cổng (các cổng phổ biến là cổng 80 http, cổng 21 ftp ...) - interface vật lý (là request đến từ card mạng nào của máy chủ) Còn các action mà iptables có thể thực hiện là - ACCEPT cho phép request đó được thực hiện, hay nói đúng hơn là cho gói...

Page 1 of 3912345Next
Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Powerade Coupons