Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 961848

Summary: RFE: add support for filtering out agent file transfer messages
Product: Red Hat Enterprise Linux 6 Reporter: Hans de Goede <hdegoede>
Component: spice-serverAssignee: Uri Lublin <uril>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4CC: acathrow, cfergeau, dblechte, hdegoede, lnovich, mazhang, mkenneth, mkrcmari
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spice-server-0.12.4-1.el6 Doc Type: Enhancement
Doc Text:
Feature: Allow disabling agent based file transfer; Reason: Spice now supports copying files from client into guest using spice-vdagent (aka file transfer). By default this feature is enabled. Users may want to disable it. Result (if any): A new disable-agent-file-transfer option for qemu's -spice argument. Spice file-transfer messages are dropped when qemu-kvm (and spice) are given this option.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-21 07:41:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 952671    
Bug Blocks: 961850    

Description Hans de Goede 2013-05-10 14:43:48 UTC
Allow disabling agent based file transfer, just like we allow disabling copy-paste. IOW, add the necessary API to spice-server to implement a new disable-agent-file-transfer option for qemu's -spice argument, so that qemu can be invoked as:
qemu -spice port=5900,disable-agent-file-transfer

And that the agent channel will then filter out file transfer messages.

Comment 2 Hans de Goede 2013-06-06 15:19:43 UTC
Patch posted upstream: http://lists.freedesktop.org/archives/spice-devel/2013-June/013621.html

Comment 5 Hans de Goede 2013-06-24 07:41:58 UTC
This is fixed by this upstream commit: http://cgit.freedesktop.org/spice/spice/commit/?id=db278430f8994fe774beb50397cc935de5f1755f

Re-assigning to Uri for adding this commit to the next spice-server build.

Comment 10 errata-xmlrpc 2013-11-21 07:41:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1571.html