Guest User!

You are not Sophos Staff.

[9.171][ANSWERED] Local site list

Testing  UTM 9.171 added about 500 sites just as a test to the Web protection/Filtering Options/Local site list,  but when i try to delete them they wont delete it just times out, is their a command that i can use to delete the Local site list from the shell.
  • This is a known issue, we're not sure whether we will change it.  In the real world we don't expect admins to be deleting hundreds of entries at once.

    The workaround is to delete fewer at once.  Select to display 100 at a time, then select all and mass delete.
  • Since i added the sites to the local site list cpu went from 0 to 16% usage and stayed their why is that.
    I also tried deleting the local sites 1,5, 10,  at a time but the do not delete  any thing above that just times out, is their a command that can clear the local site list from the shell or is their a way to speed up the script responce time.
  • When you are manipulating the LSL the CPU usage will definitely go up, but when idle it should be exactly the same.

    Hmmm...  I did testing of this feature when it was developed about two months ago and just looking at my notes and doing some confirmation tests.  The delay is partially based on total size of the list and number you are deleting.  My notes indicate that when there are 200 entries deleting 100 took about 30 seconds total.  But if you are at 2000 entries it just times out with.  500 entries...  not sure what the realistic limit is for deleting.

    Doing this via the command line is possible but not easy.  You would have to dump the list of LSL objects then issue a delete for each object name.  I'll see if someone can write a script to do this.
  • PM sent to Knome.  Please email me for a script to do this.

    Note: Script is unofficial, draft, and still takes a long time.  But it does actually work because you don't get web timeouts.