Skip to content

Tag: networking

Detect IP-Address change on an interface

I would like to trigger a service when a change of an ip address on a specific interface occurs. Is there a target for this or some other method I am not aware of to achieve this using systemd on Linux (Kernel 3.19)? The service would be used to send a SIGNAL to a defined process. The Linux is running

Undefined reference to `getaddrinfo_a’

I get linker error while compiling a minimal program that uses getaddrinfo_a on Linux. The program in question Compiler output: Answer You are using command in wrong way. Use -lanl should come after not before file name. https://gcc.gnu.org/onlinedocs/gcc/Link-Options.html -l  It makes a difference where in t…

The domain and search options in resolv.conf

Let’s say you have a resolv.conf file that’s something like this. Then let’s say you just changed it to this. Would these both do the same thing? Is one slightly better than the other? Why would declaring both a domain and search not be recommended? Answer The existence of both keywords are …

Iptables setup on VPN client having LAN [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …