晋太元中,武陵人捕鱼为业。缘溪行,忘路之远近。忽逢桃花林,夹岸数百步,中无杂树,芳草鲜美,落英缤纷。渔人甚异之,复前行,欲穷其林。   林尽水源,便得一山,山有小口,仿佛若有光。便舍船,从口入。初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨然,有良田、美池、桑竹之属。阡陌交通,鸡犬相闻。其中往来种作,男女衣着,悉如外人。黄发垂髫,并怡然自乐。   见渔人,乃大惊,问所从来。具答之。便要还家,设酒杀鸡作食。村中闻有此人,咸来问讯。自云先世避秦时乱,率妻子邑人来此绝境,不复出焉,遂与外人间隔。问今是何世,乃不知有汉,无论魏晋。此人一一为具言所闻,皆叹惋。余人各复延至其家,皆出酒食。停数日,辞去。此中人语云:“不足为外人道也。”(间隔 一作:隔绝)   既出,得其船,便扶向路,处处志之。及郡下,诣太守,说如此。太守即遣人随其往,寻向所志,遂迷,不复得路。   南阳刘子骥,高尚士也,闻之,欣然规往。未果,寻病终。后遂无问津者。 .
Prv8 Shell
Server : Apache
System : Linux srv.rainic.com 4.18.0-553.47.1.el8_10.x86_64 #1 SMP Wed Apr 2 05:45:37 EDT 2025 x86_64
User : rainic ( 1014)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /usr/share/doc/setroubleshoot-server/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/doc/setroubleshoot-server/TODO
(Karl) Add the following items to the alert information:

    (Done) The RPM associated with the target context, we already have the
    RPM associated with the source context. We need a query will be
    performed by the Plugin class and we need to add it to the
    siginfo. We also need to rename the existing rpm list to
    disambiguate whether the RPM refer to the source or target.

    (Done) The full AVC, this information is now in the siginfo, it just
    needs to be added to the HTML display rendering.

    (Done) The analysis_id (e.g. the plugin), it's currently only in the
    signature, it needs to be copied into the siginfo and then
    rendered by the HTML generator.

    (Done) add host name to environment


(Done - Karl) We need two siginfo formatting utilites, given a siginfo one
function will return an HTML representation and another function will
return plain text (to be used for plaintext email and writing to
stdout).

(John) Add log file scanning support (I'm currently working on this).
We could use a better parser for AVCs in log file or other "stream",
should work by accepting data via a feed() method and invoke a
callback when it finds an AVC returning an AVC class and a range
(start,end) where it was located (question: should the range be line
numbers for files and btye offsets for streams?)

(Done - Dan) The browser window needs all the menu items hooked up

(Done - John) The browser applet needs a method to display status messages.

(John) Fix the alert filtering UI

(Done Dan) We need to support printing, Dan has started on this but not much is
there yet other than the print dialog. 

(Deferred until gtk has better support - Dan) We need a way to render for printing HTML. I think the right way to approach 
this convert to HTML the alerts selected in the the list view of the browser and 
then hand that HTML off to a printing function.

(John) Delete an alert, I've already added the rpc call, we just need to hook
it up to the UI.

(John) Add a "lookup up by local id" function.

(Done - Dan) Add support for reporting the local id in the syslog

(Dan) Make email alerts useable:
    Filter after first seen by a given user (should be resettable)

    Split the config file into two pieces, system config, and 
    email (per user preferences??) config

    The email message content should be the alert HTML. The generation
    of the email message is aleady using the standard python email
    library with MIME support, it should be easy to just insert the
    HTML as a MIME part using the library calls. We'll also need to
    insert a "plain text" mime part.

(Karl) Test and fix any bugs related to any of the processes going down,
coming up, connections lost/gained, etc.

(Done - Karl) make server (and client) react to signals, e.g. HUP,
KeyboardInterrupt, and do the right things will all threads

(John) Provide thread-safe locking on the database in the server

(deferred) Gracefully handle any different versions of the database.

(John) xml serialization should know to convert between string
representations of numbers and numbers. When fixing look for int(),
the conversion to string is often done with "%d" rather than str().
NOTE: the xml serialization work has already been done and tested, we
just need to look for places which are still doing string conversions.

(John) Purge outstandingCmds

(deferred) split "front end" into command line tool and GUI tool

(deferred) Implement the "Fix It" button (many issues here, regarding security)

(deferred) Review how plugin's are authored, make sure it's totally friendly.

(deferred) Write a plugin author's guide.

(deferred) Define a policy on how plugin's get added and plugin
modifications are reviewed. Plugin integrity is absolutely vital.

(deferred) Assure plugin's cannot be maliciously modified and that
foreign plugins whose integrity cannot be verified are never run.

(deferred) Make sockets use SSL

(deferred) Add functionality to query existing bugzilla's, display them.

(deferred) Add functionality to generate a bugzilla

(deferred) Add functionality to query known fixes

haha - 2025