Avira Antivirus Detects Listening Function as Backdoor Model

Function

listen( ListenSocket, SOMAXCONN )

detected by avira antivirus as a backdoor model.

How to write small client-server applications without listening function?

Is there any way to do this?

+3
source share
4 answers

If you need to accept connections, then no, you cannot do this without calling a listen.

If you can make your application only a client and have a server running somewhere else, your client can connect to the server, and the server can act as a broker for other clients to connect to ...

. , , , , , , , , , , .

, , . , , , . , , IMHO, ;)

+2

Avira Antivirus; -)

, , , . TCP/IP bind() ing listen() .

0

Avira , . . , , .

0

If you are dealing with TCP connections and know who or where the connection is from, and you have a third party that can tell you when the connection will be tried, it is valid for both sides to connecteach other at the same time. . This can negotiate a connection without listening to the parties. This is not a good solution and requires a much more complicated implementation if NAT is involved, but it is possible if the client and server are on the local network.

0
source

Source: https://habr.com/ru/post/1758145/


All Articles