Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

networking

Why the default eth0 interface is down by default on CentOS?

August 10, 2022 by Magenaut

I am already a little bit familiar with Linux distros like Debian or Ubuntu (yeah, very similar) but I wanted to try Red Hat based – CentOS 6.2. I have installed it on my Windows 7 host in VirtualBox and tried to play with it a little.

Categories Q&A, Unix & Linux Tags centos, networking Leave a comment

What is a socket?

August 10, 2022 by Magenaut

Could someone explain to me what a socket is? I see it in many acronyms in context of SSL, etc.

Categories Q&A, Unix & Linux Tags history, networking, socket, terminology Leave a comment

How can I use Linux as a Gateway?

August 10, 2022 by Magenaut

NOTE: If client devices (computer B in this example) want to obtain
internet through the gateway computer, maybe they still need to configure
nameserver resolution. This is not explained here (a gateway does not necessarily serve internet).

Categories Q&A, Unix & Linux Tags networking, routing Leave a comment

Allowing a user to let listen to a port below 1024

August 10, 2022 by Magenaut

I need to allow a user (different from root) to run a server listening on port 80.

Categories Q&A, Unix & Linux Tags authbind, linux, networking, privileges, tcp Leave a comment

Only allow certain outbound traffic on certain interfaces

August 10, 2022 by Magenaut

I have rather an odd issue. I have a server with two network interfaces eth0 and eth1. Each are connected to a different network. Each network has a internet gateway. The server has various outbound connections: http (some scripts on the server scrape websites), nfs client, samba client, dns client and an email fetcher to name but a few.

Categories Q&A, Unix & Linux Tags iptables, networking Leave a comment

Bridged interfaces and VLAN tags

August 10, 2022 by Magenaut

I’m trying to set up a system that joins an untagged Ethernet network to a TAP tunnel, adding a VLAN tag as the traffic moves to the tunnel.

Categories Q&A, Unix & Linux Tags bridge, ethernet, networking, vlan Leave a comment

How to identify a process which has no pid?

August 10, 2022 by Magenaut

I have a process which listen to 2 ports : 45136/tcp and 37208/udp (actually I assume it is the same process). But netstat doesn’t return any pid :

Categories Q&A, Unix & Linux Tags networking, process, security Leave a comment

Is there an easy way to programmatically extract IP address?

August 10, 2022 by Magenaut

NIC device handles

Categories Q&A, Unix & Linux Tags ip, networking, shell Leave a comment

Include domain name or not in /etc/hosts?

August 10, 2022 by Magenaut

I am setting up a VMWare cluster of CentOS nodes. Is it best practice to include a domain name after the machine? What are the potential problems of leaving it out? Does a domain complicate configuration or simplify it?

Categories Q&A, Unix & Linux Tags networking Leave a comment

How to find the network namespace of a veth peer ifindex?

August 10, 2022 by Magenaut

ip netns set NAME NETNSID – assign an id to a peer network namespace

Categories Q&A, Unix & Linux Tags network-namespaces, networking, veth Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 … Page9 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress