SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0021301ClearOSapp-network - Network Settingspublic2018-08-24 12:162019-02-23 17:00
Reporteruser2 
Assigned Todloper 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionsuspended 
PlatformOSOS Version
Product Version 
Target Version7.6.0 UpdatesFixed in Version 
Summary0021301: Allow 255.255.255.255 netmask on non point-to-point interfaces
DescriptionSome providers will set an external/WAN IP with a 255.255.255.255 netmask on a non point-to-point interface. Here's an example on a system configured as a DHCP client:

# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default gateway 0.0.0.0 UG 0 0 0 eth0
gateway 0.0.0.0 255.255.255.255 UH 0 0 0 eth0

ClearOS considers a 255.255.255.255 netmask on a non point-to-point interface invalid.

Loosen this validation at the API layer, but continue to disallow it's use in the UI or when configuring IPs via the API. In other word, it will be allowed by DHCP clients, but not allowed in the UI.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0009661)
dloper (administrator)
2019-02-23 17:00

Migrated to: https://gitlab.com/clearos/clearfoundation/app-network/issues/5 [^]

- Issue History
Date Modified Username Field Change
2018-08-24 12:16 user2 New Issue
2018-09-04 10:08 user2 Status new => confirmed
2018-10-30 14:27 user2 Target Version 7.5.0 Updates => 7.6.0
2018-10-30 17:55 user2 Target Version 7.6.0 => 7.6.0 Updates
2019-02-23 17:00 dloper Note Added: 0009661
2019-02-23 17:00 dloper Status confirmed => closed
2019-02-23 17:00 dloper Assigned To => dloper
2019-02-23 17:00 dloper Resolution open => suspended

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7