How can I use iptables on centos 7? [closed]

With RHEL 7 / CentOS 7, firewalld was introduced to manage iptables. IMHO, firewalld is more suited for workstations than for server environments. It is possible to go back to a more classic iptables setup. First, stop and mask the firewalld service: systemctl stop firewalld systemctl mask firewalld Then, install the iptables-services package: yum install … Read more

protobuf vs gRPC

Protocol buffers is (are?) an Interface Definition Language and serialization library: You define your data structures in its IDL i.e. describe the data objects you want to use It provides routines to translate your data objects to and from binary, e.g. for writing/reading data from disk gRPC uses the same IDL but adds syntax “rpc” … Read more

ping response “Request timed out.” vs “Destination Host unreachable”

Destination Host Unreachable This message indicates one of two problems: either the local system has no route to the desired destination, or a remote router reports that it has no route to the destination. If the message is simply “Destination Host Unreachable,” then there is no route from the local system, and the packets to … Read more

Access HTTP response as string in Go

bs := string(body) should be enough to give you a string. From there, you can use it as a regular string. A bit as in this thread (updated after Go 1.16 — Q1 2021 — ioutil deprecation: ioutil.ReadAll() => io.ReadAll()): var client http.Client resp, err := client.Get(url) if err != nil { log.Fatal(err) } defer … Read more

Why is SCTP not much used/known

Indeed, SCTP is used mostly in the telecom area. Traditionally, telecom switches use SS7 (Signaling System No. 7) to interconnect different entities in the telecom network. For example – the telecom provider’s subscriber data base(HLR), with a switch (MSC), the subscriber is connected too (MSC). The telecom area is moving to higher speeds and more … Read more

Maximum packet size for a TCP connection

The absolute limitation on TCP packet size is 64K (65535 bytes), but in practicality this is far larger than the size of any packet you will see, because the lower layers (e.g. ethernet) have lower packet sizes. The MTU (Maximum Transmission Unit) for Ethernet, for instance, is 1500 bytes. Some types of networks (like Token … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)