How to make Docker container see real user IP?

Finally, answering my own question. After some research I have found that it was IP masquerading that caused Docker to recognize client addresses incorrectly. The cause In my case, firewalld is configured to share internet connection with other machines in local network. This is accomplished by setting zone to public for the external interface (enp3s0) … Read more

“java.net.BindException: Address already in use” when trying to do rapid Socket creation and destruction for load testing

You are exhausing the space of outbound ports by opening that many outbound sockets within the TIME_WAIT period of two minutes. The first question you should ask yourself is does this represent a realistic load test at all? Is a real client really going to do that? If not, you just need to revise your … Read more

Why does my .NET application crash when run from a network drive?

It indeed has to do with the fact the apps on a network location are less trusted then on your local hdd (due to the default policy of the .NET framework). If I’m not mistaken Microsoft finally corrected this annoyance in .NET 3.5 SP1 (after a lot of developers complaining). I google’d it: .NET Framework … Read more

Windows packet sniffer that can capture loopback traffic? [closed]

What you should do is to run RawCap, which is a sniffer that can capture traffic to/from the loopback interface in Windows. Just start it with “RawCap.exe 127.0.0.1 loopback.pcap”. You can then open up loopback.pcap in Wireshark or NetworkMiner to look at the network traffic. You can find RawCap here: http://www.netresec.com/?page=RawCap Good Luck!

‘inet_pton’: identifier not found

the function int inet_pton(int af, const char *src, void *dst); is declared in header file: #include <arpa/inet.h> if this is Windows (Vista or later) there is Winsock analog to this ANSI version: INT WSAAPI InetPton( _In_ INT Family, _In_ PCTSTR pszAddrString, _Out_ PVOID pAddrBuf ); try #include <Ws2tcpip.h> add Ws2_32.lib

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