NIO/BIO from JAVA Network IO

Series articles: Knowledge Context Preface   Java's IO, or Input/Output, is divided into IO devices and IO interfaces. I often hear input and output streams, input and output bytes, input and output characters... Java interaction with the outside can be converted into streams, byte characters and then encapsulated as objects, th ...

Posted by skulk on Thu, 21 Oct 2021 10:55:38 -0700

The second section is network programming of Linux programming

1, Overview of network programming Network: Address (including IP address and port number)Data exchange (involving protocols such as http, tcp and UDP, in other words, data format)MCU will use port number protocol (uart) Introduction to network programming all talk about sockets (sockets are divided into two types: tcp and UDP): TCP: connec ...

Posted by iamyespee on Thu, 21 Oct 2021 06:45:57 -0700

Installation and use of libpcap Library

1 installation sudo apt-get install libpcap-dev 2 use Header files to include: #include <pcap.h When compiling, you need to add: -lpcap The basic steps of developing applications using libpcap function library: Open network deviceSet filtering rules (optional)Capture dataTurn off the network device Common functions: pcap_lookupdev( ...

Posted by Skilo on Wed, 20 Oct 2021 12:32:45 -0700

Border Gateway Protocol BGP

Partition of dynamic routing protocols 1. Algorithm 1) , distance vector type - RIP, EIGRP (Cisco, fastest convergence), BGP (path information) 2) , link state - OSPF, ISIS 3) Path vector BGP 2. Scope AS 1) , IGP (internal Gateway Protocol) 2) EGP (border gateway protocol) BGP partition AS 1~65535 64512~65535 private AS 2^16AS number ...

Posted by jwilliam on Sun, 10 Oct 2021 08:13:21 -0700

OSSIM open source security information management system

2021SC@SDUSC 1, Web part source code analysis 1. Brief description The most users contact the OSSIM platform is the Web UI. They can easily obtain various security analysis charts through the web. As ordinary operation and maintenance personnel or monitoring personnel, most operations are completed through the Web UI. The Web UI interface ...

Posted by lordrt on Fri, 08 Oct 2021 02:49:51 -0700

[security tools] talking about writing Java code audit tools

introduce The author is a senior student who is new to safety. If there are mistakes in the article, please point out! At first, it was considered to use pure matching, but this method is too strict, and the code written by programmers has various possible combinations Therefore, I tried to realize java lexical analysis and syntax analysis ...

Posted by tommyrulez on Mon, 27 Sep 2021 03:25:41 -0700

DNS Domain Name Resolution Service Configuration (recommended collection of tutorials)

Catalog I. DNS 1.1 Introduction to DNS Services DNS (Domain Name System), a distributed database on the Internet that maps domain names and IP addresses to each other, enables users to access the Internet more easily without having to remember the IP strings that can be read directly by the machine. The process of getting the IP address co ...

Posted by Mohit_Prog on Mon, 20 Sep 2021 10:00:03 -0700

Huawei experiment ppp certification

Experimental principle The reason why PPP protocol has become a more extensive protocol in Wan is that it provides CHAP,PAP and other verification protocols to better ensure the security of the network PAP is two handshake authentication. The user name and secret are repeatedly sent to the authenticator on the link until the authentication pas ...

Posted by gordo2dope on Fri, 17 Sep 2021 18:57:14 -0700

Cisco viptera sd-wan basic deployment

Cisco SD-WAN Cisco SD-WAN four plane, four component Management plane -- vManage; Provides a highly visual dashboard that simplifies network operations. It provides centralized configuration, management, operation and monitoring throughout the SD-WAN architecture Layout plane -- vBond; The coordinator is mainly responsible for coordinating ...

Posted by mcfmullen on Sat, 11 Sep 2021 15:46:16 -0700

web Front End Case-Developing 3D Dragging Photo Wall

This code is 136 lines, written in css3 and javascript. Now the albums on the network are mostly tiled. If there are many photos, they look very tired. Of course, this is my personal point of view, so this time I made a 3D album dragging effect, which looks beautiful and not tired to watch. Knowledge points: CSS33D effect, CSS3 excessi ...

Posted by navarre on Thu, 16 Jul 2020 08:51:27 -0700