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
0021741ClearCenterapp-network-map - Network Mappublic2018-10-05 03:452019-05-14 04:45
ReporterNickH 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionsuspended 
PlatformOSOS Version
Product Version7.5.0 Updates 
Target VersionFixed in Version 
Summary0021741: Remove input capability to the Vendor field or stop keying on it
DescriptionThe Vendor field appears to be the result of a lookup to a MAC database (/usr/clearos/apps/network_map/deploy/mac_database.php) but is a keyed field in the LDAP mapping and it causes problems if you change it in the interface.

When you map a device, if you change the Vendor, say from LG Electronics (looked up from the database) to LG, this gets stored in LDAP. When the network map then sees traffic from the same MAC, it appears to look up the vendor in the MAC database then match the MAC/Vendor to what is known in LDAP. It does not find a match so creates an unknown device even if the MAC is known.

Rather than block input capability on the Vendor field, it would probably be better to remove the keying so the match is made uniquely on MAC. If keying is not removed, then https://tracker.clearos.com/view.php?id=16451 [^] becomes related, because if the MAC database it updated, it must also update existing LDAP entries or more unknown devices may be created.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0008101)
user2
2018-10-05 18:28

Unchampioned. Consider dropping the app.
(0011971)
NickH (developer)
2019-05-14 04:45

Migrated to https://gitlab.com/clearos/clearcenter/app-network-map/issues/4 [^]

- Issue History
Date Modified Username Field Change
2018-10-05 03:45 NickH New Issue
2018-10-05 18:27 user2 Status new => confirmed
2018-10-05 18:28 user2 Note Added: 0008101
2019-05-14 04:45 NickH Note Added: 0011971
2019-05-14 04:45 NickH Status confirmed => closed
2019-05-14 04:45 NickH 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