Re: spamming router with router solicitations



On Wed, 2019-05-29 at 12:23 -0400, Brian J. Murrell wrote:
On Wed, 2019-05-29 at 09:28 +0200, Thomas Haller via networkmanager-
list wrote:
If this is happening, when you kill NetworkManager with SIGKILL, it
would not give NetworkManager to cleanup...

  sudo killall -SIGKILL NetworkManager

(and veryify that NetworkManager is indeed not running. Maybe first
`systemctl mask NetworkManager`, so that systemd won't restart it).

Are you suggesting that I kill NM with SIGKILL as a debugging step to
see if the RSes still stop when stopping NM?

Yes.

If so, that was an interesting experiment:

# killall -SIGKILL NetworkManager
# ps -ef | grep Network
root     15001     1  0 12:02 ?        00:00:00
/usr/sbin/NetworkManager --no-daemon

So clearly systemd restarted it, but it's not flooding RSes after the
restart.

Ah ok. That's what I meant with first masking NetworkManager.

 I even waited 17 minutes and still no flooding.  I want to
leave it like this in case there is anything you want me to
investigate
with it.

After restart, NetworkManager will reset all kinds of sysctls and
reconfigure the link. So, it's not clear why the flodding stopped.
 
It would be interesting whether those RS were sent by NetworkManager
itself (or somebody else, like kernel).

If you kill NetworkManager with SIGKILL (without letting NetworkManager
restart), it would not give NetworkManager time to do anything.
If that stops the flodding, then the messages were sent by
NetworkManager -- otherwise not.



Otherwise I will continue on with the second part of the experiment
where I mask the service in systemd and kill it with a KILL and see
what happens.




  grep -R ^ /proc/sys/net/ipv6/conf/

Thanks. It would be most interesting to see them at the moment when the
flodding happen.s


Currently that's:

/proc/sys/net/ipv6/conf/all/accept_dad:0
/proc/sys/net/ipv6/conf/all/accept_ra:1
/proc/sys/net/ipv6/conf/all/accept_ra_defrtr:1
/proc/sys/net/ipv6/conf/all/accept_ra_pinfo:1
/proc/sys/net/ipv6/conf/all/accept_ra_rt_info_max_plen:0
/proc/sys/net/ipv6/conf/all/accept_ra_rtr_pref:1
/proc/sys/net/ipv6/conf/all/accept_redirects:1
/proc/sys/net/ipv6/conf/all/accept_source_route:0
/proc/sys/net/ipv6/conf/all/autoconf:1
/proc/sys/net/ipv6/conf/all/dad_transmits:1
/proc/sys/net/ipv6/conf/all/disable_ipv6:0
/proc/sys/net/ipv6/conf/all/enhanced_dad:1
/proc/sys/net/ipv6/conf/all/force_mld_version:0
/proc/sys/net/ipv6/conf/all/force_tllao:0
/proc/sys/net/ipv6/conf/all/forwarding:0
/proc/sys/net/ipv6/conf/all/hop_limit:64
/proc/sys/net/ipv6/conf/all/keep_addr_on_down:0
/proc/sys/net/ipv6/conf/all/max_addresses:16
/proc/sys/net/ipv6/conf/all/max_desync_factor:600
/proc/sys/net/ipv6/conf/all/mc_forwarding:0
/proc/sys/net/ipv6/conf/all/mldv1_unsolicited_report_interval:10000
/proc/sys/net/ipv6/conf/all/mldv2_unsolicited_report_interval:1000
/proc/sys/net/ipv6/conf/all/mtu:1280
/proc/sys/net/ipv6/conf/all/ndisc_notify:0
/proc/sys/net/ipv6/conf/all/optimistic_dad:0
/proc/sys/net/ipv6/conf/all/proxy_ndp:0
/proc/sys/net/ipv6/conf/all/regen_max_retry:3
/proc/sys/net/ipv6/conf/all/router_probe_interval:60
/proc/sys/net/ipv6/conf/all/router_solicitation_delay:1
/proc/sys/net/ipv6/conf/all/router_solicitation_interval:4
/proc/sys/net/ipv6/conf/all/router_solicitations:3
grep: /proc/sys/net/ipv6/conf/all/stable_secret: Input/output error
/proc/sys/net/ipv6/conf/all/temp_prefered_lft:86400
/proc/sys/net/ipv6/conf/all/temp_valid_lft:604800
/proc/sys/net/ipv6/conf/all/use_optimistic:0
/proc/sys/net/ipv6/conf/all/use_tempaddr:0
/proc/sys/net/ipv6/conf/default/accept_dad:1
/proc/sys/net/ipv6/conf/default/accept_ra:1
/proc/sys/net/ipv6/conf/default/accept_ra_defrtr:1
/proc/sys/net/ipv6/conf/default/accept_ra_pinfo:1
/proc/sys/net/ipv6/conf/default/accept_ra_rt_info_max_plen:0
/proc/sys/net/ipv6/conf/default/accept_ra_rtr_pref:1
/proc/sys/net/ipv6/conf/default/accept_redirects:1
/proc/sys/net/ipv6/conf/default/accept_source_route:0
/proc/sys/net/ipv6/conf/default/autoconf:1
/proc/sys/net/ipv6/conf/default/dad_transmits:1
/proc/sys/net/ipv6/conf/default/disable_ipv6:0
/proc/sys/net/ipv6/conf/default/enhanced_dad:1
/proc/sys/net/ipv6/conf/default/force_mld_version:0
/proc/sys/net/ipv6/conf/default/force_tllao:0
/proc/sys/net/ipv6/conf/default/forwarding:0
/proc/sys/net/ipv6/conf/default/hop_limit:64
/proc/sys/net/ipv6/conf/default/keep_addr_on_down:0
/proc/sys/net/ipv6/conf/default/max_addresses:16
/proc/sys/net/ipv6/conf/default/max_desync_factor:600
/proc/sys/net/ipv6/conf/default/mc_forwarding:0
/proc/sys/net/ipv6/conf/default/mldv1_unsolicited_report_interval:100
00
/proc/sys/net/ipv6/conf/default/mldv2_unsolicited_report_interval:100
0
/proc/sys/net/ipv6/conf/default/mtu:1280
/proc/sys/net/ipv6/conf/default/ndisc_notify:0
/proc/sys/net/ipv6/conf/default/optimistic_dad:0
/proc/sys/net/ipv6/conf/default/proxy_ndp:0
/proc/sys/net/ipv6/conf/default/regen_max_retry:3
/proc/sys/net/ipv6/conf/default/router_probe_interval:60
/proc/sys/net/ipv6/conf/default/router_solicitation_delay:1
/proc/sys/net/ipv6/conf/default/router_solicitation_interval:4
/proc/sys/net/ipv6/conf/default/router_solicitations:3
grep: /proc/sys/net/ipv6/conf/default/stable_secret: Input/output
error
/proc/sys/net/ipv6/conf/default/temp_prefered_lft:86400
/proc/sys/net/ipv6/conf/default/temp_valid_lft:604800
/proc/sys/net/ipv6/conf/default/use_optimistic:0
/proc/sys/net/ipv6/conf/default/use_tempaddr:0
/proc/sys/net/ipv6/conf/enp2s0/accept_dad:1
/proc/sys/net/ipv6/conf/enp2s0/accept_ra:1
/proc/sys/net/ipv6/conf/enp2s0/accept_ra_defrtr:0
/proc/sys/net/ipv6/conf/enp2s0/accept_ra_pinfo:0
/proc/sys/net/ipv6/conf/enp2s0/accept_ra_rt_info_max_plen:0
/proc/sys/net/ipv6/conf/enp2s0/accept_ra_rtr_pref:0
/proc/sys/net/ipv6/conf/enp2s0/accept_redirects:1
/proc/sys/net/ipv6/conf/enp2s0/accept_source_route:0
/proc/sys/net/ipv6/conf/enp2s0/autoconf:1
/proc/sys/net/ipv6/conf/enp2s0/dad_transmits:1
/proc/sys/net/ipv6/conf/enp2s0/disable_ipv6:0
/proc/sys/net/ipv6/conf/enp2s0/enhanced_dad:1
/proc/sys/net/ipv6/conf/enp2s0/force_mld_version:0
/proc/sys/net/ipv6/conf/enp2s0/force_tllao:0
/proc/sys/net/ipv6/conf/enp2s0/forwarding:0
/proc/sys/net/ipv6/conf/enp2s0/hop_limit:64
/proc/sys/net/ipv6/conf/enp2s0/keep_addr_on_down:0
/proc/sys/net/ipv6/conf/enp2s0/max_addresses:16
/proc/sys/net/ipv6/conf/enp2s0/max_desync_factor:600
/proc/sys/net/ipv6/conf/enp2s0/mc_forwarding:0
/proc/sys/net/ipv6/conf/enp2s0/mldv1_unsolicited_report_interval:1000
0
/proc/sys/net/ipv6/conf/enp2s0/mldv2_unsolicited_report_interval:1000
/proc/sys/net/ipv6/conf/enp2s0/mtu:1280
/proc/sys/net/ipv6/conf/enp2s0/ndisc_notify:0
/proc/sys/net/ipv6/conf/enp2s0/optimistic_dad:0
/proc/sys/net/ipv6/conf/enp2s0/proxy_ndp:0
/proc/sys/net/ipv6/conf/enp2s0/regen_max_retry:3
/proc/sys/net/ipv6/conf/enp2s0/router_probe_interval:60
/proc/sys/net/ipv6/conf/enp2s0/router_solicitation_delay:1
/proc/sys/net/ipv6/conf/enp2s0/router_solicitation_interval:4
/proc/sys/net/ipv6/conf/enp2s0/router_solicitations:3
grep: /proc/sys/net/ipv6/conf/enp2s0/stable_secret: Input/output
error
/proc/sys/net/ipv6/conf/enp2s0/temp_prefered_lft:86400
/proc/sys/net/ipv6/conf/enp2s0/temp_valid_lft:604800
/proc/sys/net/ipv6/conf/enp2s0/use_optimistic:0
/proc/sys/net/ipv6/conf/enp2s0/use_tempaddr:0
/proc/sys/net/ipv6/conf/lo/accept_dad:-1
/proc/sys/net/ipv6/conf/lo/accept_ra:1
/proc/sys/net/ipv6/conf/lo/accept_ra_defrtr:1
/proc/sys/net/ipv6/conf/lo/accept_ra_pinfo:1
/proc/sys/net/ipv6/conf/lo/accept_ra_rt_info_max_plen:0
/proc/sys/net/ipv6/conf/lo/accept_ra_rtr_pref:1
/proc/sys/net/ipv6/conf/lo/accept_redirects:1
/proc/sys/net/ipv6/conf/lo/accept_source_route:0
/proc/sys/net/ipv6/conf/lo/autoconf:1
/proc/sys/net/ipv6/conf/lo/dad_transmits:1
/proc/sys/net/ipv6/conf/lo/disable_ipv6:0
/proc/sys/net/ipv6/conf/lo/enhanced_dad:1
/proc/sys/net/ipv6/conf/lo/force_mld_version:0
/proc/sys/net/ipv6/conf/lo/force_tllao:0
/proc/sys/net/ipv6/conf/lo/forwarding:0
/proc/sys/net/ipv6/conf/lo/hop_limit:64
/proc/sys/net/ipv6/conf/lo/keep_addr_on_down:0
/proc/sys/net/ipv6/conf/lo/max_addresses:16
/proc/sys/net/ipv6/conf/lo/max_desync_factor:600
/proc/sys/net/ipv6/conf/lo/mc_forwarding:0
/proc/sys/net/ipv6/conf/lo/mldv1_unsolicited_report_interval:10000
/proc/sys/net/ipv6/conf/lo/mldv2_unsolicited_report_interval:1000
/proc/sys/net/ipv6/conf/lo/mtu:65536
/proc/sys/net/ipv6/conf/lo/ndisc_notify:0
/proc/sys/net/ipv6/conf/lo/optimistic_dad:0
/proc/sys/net/ipv6/conf/lo/proxy_ndp:0
/proc/sys/net/ipv6/conf/lo/regen_max_retry:3
/proc/sys/net/ipv6/conf/lo/router_probe_interval:60
/proc/sys/net/ipv6/conf/lo/router_solicitation_delay:1
/proc/sys/net/ipv6/conf/lo/router_solicitation_interval:4
/proc/sys/net/ipv6/conf/lo/router_solicitations:3
grep: /proc/sys/net/ipv6/conf/lo/stable_secret: Input/output error
/proc/sys/net/ipv6/conf/lo/temp_prefered_lft:86400
/proc/sys/net/ipv6/conf/lo/temp_valid_lft:604800
/proc/sys/net/ipv6/conf/lo/use_optimistic:0
/proc/sys/net/ipv6/conf/lo/use_tempaddr:-1

But as above, right now it's not spamming RSes.

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]