[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: was once: Samsung DVD writer.



Hi,

BTW: What happened to "FreeBSD User Giacomo" and his Samsung DVD writer ?

Any news to report ? A happy ending perchance ?


Bill Davidsen: [about filtering dangerous SCSI commands]
> My suggestion would be to add an ioctl, like SET_SCSI_UNFILTERED, which
> can only be used as root, and which would allow SCSI commands sent a
> device to be persistently set unfiltered.

I understand that would be for programs like firmware
updaters, but not for the vanilla purpose of bringing
data onto an optical disc ?

Because ... if this is intended for daily usage:

I do not think that burning a disc on a desktop should
necessarily require root privileges. Let's leave it to
the sysadmin (or distro) to decide who may burn resp.
may endanger the device by malicious use of normally
harmless SCSI commands. (Like overworking the drive tray
motor ?)

After all, what is gained if one performs daily tasks
as a privileged user ? That only pierces the protection
against absent-minded mistakes and involuntary backdoors.

Actually i try to stay away from any kernel peculiarities
so i do not get addicted to something that might change.
A pointer to a list of forbidden commands would be welcome
thus.

Maybe cdrskin was up to now only tested on totally insecure
systems.  After all i never got reports of the ominous
command filtering interfering with burning. If it prevents
any of libburn's SCSI commands from being executed then it
does this silently and does not prevent burning success.
I would like to know, which commands and cease sending them. :))


libburn SCSI command list (commands in brackets are defined
but not in normal use):
spc.c: 00h, 03h, 12h, 1Eh, 55h, 5Ah,
sbc.c: 1Bh,
mmc.c: 04h, 23h, 2Ah, 35h, 43h, 46h, 4Ah, 
       51h, 52h, 53h, 54h, 5Bh, 5Ch, 5Dh,
       A1h,(AAh),ACh, B6h, BBh,(BEh), 


Have a nice day :)

Thomas



Reply to: