#21740: Luci Interface/AdvSet Client ID causes loop
--------------------+--------------------------------
 Reporter:  qengho  |      Owner:
     Type:  defect  |     Status:  new
 Priority:  normal  |  Milestone:
Component:  luci    |    Version:  Chaos Calmer 15.05
 Keywords:          |
--------------------+--------------------------------
 I created a "wan6" interface as suggested in wiki. It wasn't working so I
 wanted to inspect the network traffic. To mark the requests uniquely, I
 put a value in the client-id for that interface in Luci. The value was
 something like "123-45678901-23456 ipv6"

 Upon applying it, my log was spammed with a looping failure to apply the
 settings.

 I think Luci should not let one apply values that are inconsistent or
 illegal to the underlying program that uses them.


 netifd: Interface 'wan6' is setting up now
 netifd: wan6 (16470): Usage: odhcp6c [options] <interface>
 netifd: wan6 (16470):
 netifd: wan6 (16470): Feature options:
 netifd: wan6 (16470): #011-S <time>#011Wait at least <time> sec for a
 DHCP-server (0)
 netifd: wan6 (16470): #011-N <mode>#011Mode for requesting addresses
 [try|force|none]
 netifd: wan6 (16470): #011-P <length>#011Request IPv6-Prefix (0 = auto)
 netifd: wan6 (16470): #011-F#011#011Force IPv6-Prefix
 netifd: wan6 (16470): #011-V <class>#011Set vendor-class option (base-16
 encoded)
 netifd: wan6 (16470): #011-u <user-class> Set user-class option string
 netifd: wan6 (16470): #011-c <clientid>#011Override client-ID (base-16
 encoded 16-bit type + value)
 netifd: wan6 (16470): #011-i <iface-id>#011Use a custom interface
 identifier for RA handling
 netifd: Interface 'wan6' is now down
 netifd: Interface 'wan6' is setting up now
 netifd: wan6 (16481): Usage: odhcp6c [options] <interface>
 netifd: wan6 (16481):
 netifd: wan6 (16481): Feature options:
 netifd: wan6 (16481): #011-S <time>#011Wait at least <time> sec for a
 DHCP-server (0)
 netifd: wan6 (16481): #011-N <mode>#011Mode for requesting addresses
 [try|force|none]
 netifd: wan6 (16481): #011-P <length>#011Request IPv6-Prefix (0 = auto)
 netifd: wan6 (16481): #011-F#011#011Force IPv6-Prefix
 netifd: wan6 (16481): #011-V <class>#011Set vendor-class option (base-16
 encoded)
 netifd: wan6 (16481): #011-u <user-class> Set user-class option string
 netifd: wan6 (16481): #011-c <clientid>#011Override client-ID (base-16
 encoded 16-bit type + value)
 netifd: wan6 (16481): #011-i <iface-id>#011Use a custom interface
 identifier for RA handling
 netifd: Interface 'wan6' is now down
 netifd: Interface 'wan6' is setting up now
 netifd: wan6 (16492): Usage: odhcp6c [options] <interface>
 netifd: wan6 (16492):
 netifd: wan6 (16492): Feature options:
 netifd: wan6 (16492): #011-S <time>#011Wait at least <time> sec for a
 DHCP-server (0)
 netifd: wan6 (16492): #011-N <mode>#011Mode for requesting addresses
 [try|force|none]
 netifd: wan6 (16492): #011-P <length>#011Request IPv6-Prefix (0 = auto)
 netifd: wan6 (16492): #011-F#011#011Force IPv6-Prefix
 netifd: wan6 (16492): #011-V <class>#011Set vendor-class option (base-16
 encoded)
 netifd: wan6 (16492): #011-u <user-class> Set user-class option string
 netifd: wan6 (16492): #011-c <clientid>#011Override client-ID (base-16
 encoded 16-bit type + value)
 netifd: wan6 (16492): #011-i <iface-id>#011Use a custom interface
 identifier for RA handling
 netifd: Interface 'wan6' is now down
 netifd: Interface 'wan6' is setting up now
 netifd: wan6 (16503): Usage: odhcp6c [options] <interface>
 netifd: wan6 (16503):
 netifd: wan6 (16503): Feature options:
 netifd: wan6 (16503): #011-S <time>#011Wait at least <time> sec for a
 DHCP-server (0)
 netifd: wan6 (16503): #011-N <mode>#011Mode for requesting addresses
 [try|force|none]
 netifd: wan6 (16503): #011-P <length>#011Request IPv6-Prefix (0 = auto)
 netifd: wan6 (16503): #011-F#011#011Force IPv6-Prefix
 netifd: wan6 (16503): #011-V <class>#011Set vendor-class option (base-16
 encoded)
 netifd: wan6 (16503): #011-u <user-class> Set user-class option string
 netifd: wan6 (16503): #011-c <clientid>#011Override client-ID (base-16
 encoded 16-bit type + value)
 netifd: wan6 (16503): #011-i <iface-id>#011Use a custom interface
 identifier for RA handling
 netifd: Interface 'wan6' is now down
 ....


 About 7 loops per second, which I suspect was pegging the CPU.

--
Ticket URL: <https://dev.openwrt.org/ticket/21740>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to