Guest User!

You are not Sophos Staff.

[7.075] Possibility to have two SP cats with the same name [CONFIRMED]

Hi,

there is a problem when I rename a filter category. Here is how to reproduce it (please in the exact same order!).

1.) Rename "Nudity" to "IT". That is possible, and could be considered as a bug itself, as I then have two categories with the same name. But well ...
2.) Rename the original "IT" to "Toys".
3.) Rename "Toys" back to "IT".

The last rename triggers a rather strange error message "OBJECT_NAMESPACE," see attached screenshot. Looks like a bug to me.


Thanks!
  • I can confirm this one. However doing the opposite and renaming IT back to Nudity, and then changing Toys back to the original IT does not result in a problem
  • Found the culprit in the confd-debug.log. There it sees the namespace collision.

    [15040] [index.plx] get_object: 'REF_IT'
    
    [15040] [index.plx] get_object: 'REF_IT'
    Has lock: 15040
    [15040] [index.plx] [admin@admin (192.168.100.91)] [lock] info: id="3108" severity="info" sys="System" sub="confd" name="reloading storage" client="index.plx" facility="webadmin" user="admin@admin" srcip="192.168.100.91"
    [15040] [index.plx] [admin@admin (192.168.100.91)] [lock] info: id="310b" severity="info" sys="System" sub="confd" name="user locked storage" client="index.plx" facility="webadmin" user="admin@admin" srcip="192.168.100.91"
    [15040] [index.plx] set_object: $VAR1 = {
              'from_external' => 1,
              'ref' => 'REF_IT',
              'data' => {
                          'comment' => '',
                          'name' => 'IT',
                          'id' => 'spcategory_0800',
                          'subcats' => [
                                         'REF_sAnonymousProxies',
                                         'REF_sCommunicationServices',
                                         'REF_sITSecurityITInformation',
                                         'REF_sSoftwareHardwareDistributors',
                                         'REF_sWebsiteTranslation'
                                       ]
                        },
              'hidden' => 0,
              'type' => 'sp_category',
              'class' => 'http'
            };
    Namespace collision: REF_IT
    $VAR1 = {
              'ref' => 'REF_Nudity',
              'data' => {
                          'comment' => '',
                          'name' => 'IT',
                          'id' => 'spcategory_1400',
                          'subcats' => [
                                         'REF_sErotic***',
                                         'REF_s****ography',
                                         'REF_sSwimwearLingerie'
                                       ]
                        },
              'hidden' => 0,
              'type' => 'sp_category',
              'class' => 'http'
            };
    $VAR2 = {
              'ref' => 'REF_IT',
              'data' => {
                          'comment' => '',
                          'name' => 'IT',
                          'id' => 'spcategory_0800',
                          'subcats' => [
                                         'REF_sAnonymousProxies',
                                         'REF_sCommunicationServices',
                                         'REF_sITSecurityITInformation',
                                         'REF_sSoftwareHardwareDistributors',
                                         'REF_sWebsiteTranslation'
                                       ]
                        },
              'hidden' => 0,
              'type' => 'sp_category',
              'class' => 'http'
            };
    [15040] [index.plx] [admin@admin (192.168.100.91)] [set_object] warn: id="3100" severity="warn" sys="System" sub="confd" name="OBJECT_NAMESPACE (Object namespace collision)" client="index.plx" facility="webadmin" user="admin@admin" srcip="192.168.100.91"
  • Confirmed. This is a problem related to localization. The categories don't have a name in confd by default. The visible name is drawn from the localization DB. If you edit a category, it gets a "real" name, which is in turn checked against the other category names.

    We'll not fix it in 7.100 since the required changes have too much impact, but there'll be a fit along with a category makeover in the near future.
Share Feedback
×

Submitted a Tech Support Case lately from the Support Portal?