Thread (11 messages) flat view 11 messages, 4 authors, 2019-05-13

Re: [PATCH net-next] ipv4: Add support to disable icmp timestamp

From: Weilong Chen <hidden>
Date: 2019-05-13 12:26:25

On 2019/5/13 20:11, Michal Kubecek wrote:
On Mon, May 13, 2019 at 08:06:37PM +0800, Weilong Chen wrote:
quoted
On 2019/5/13 19:49, Michal Kubecek wrote:
quoted
One idea is that there may be applications using current time as a seed
for random number generator - but then such application is the real
problem, not having correct time.
Yes, the target computer responded to an ICMP timestamp request. By
accurately determining the target's clock state, an attacker can more
effectively attack certain time-based pseudorandom number generators (PRNGs)
and the authentication systems that rely on them.

So, the 'time' may become sensitive information. The OS should not leak it
out.
So you are effectively saying that having correct time is a security
vulnerability?
No, I mean that a server should not provide time to others if not necessary.
I'm sorry but I cannot agree with that. Seeding PRNG with current time
is known to be a bad practice and if some application does it, the
solution is to fix the application, not obfuscating system time.
As I said, users can use Firewall to achieve the purpose. This patch 
just provide a simple way.

I can resubmit this patch and set default to 1, preserving current 
behaviour by default. Does that OK for you?
Michal Kubecek

.
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help