java - Socket stealth kill -


assuming have 2 nodes.

1.2.3.4 (master) , 3.4.5.6 (slave), written in java.

i want slave accept socket connections (2 way tls) 1.2.3.4 (configured prior) only, , ignore others stealthily not responding if it's not 1.2.3.4, , if 2 way tls authentication fails.

meaning, don't send rst in tcp. socket.close(); should close socket on slave's end, not send rst connecting peer peer not know if valid open port or not (normally consumed software/hardware firewalls adversaries that're doing syn/ack scans).

how achieve code-wise? i'm prepared use native code, how it?

  • if attacker isn't 1.2.3.4 firewall can drop packets. no problem.
  • if tls authentication fails, there tcp connection, attacker knows it's valid open port. it's late pretend isn't.

  • socket.close() sends fin, not rst.

  • your master/slave terminology curious. 'slave' s tcp server, , 'master' tcp client.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -