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 1267524 - spice-server can bind/listen at non-existent IPv4 address
Summary: spice-server can bind/listen at non-existent IPv4 address
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: spice
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Default Assignee for SPICE Bugs
QA Contact: SPICE QE bug list
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-30 09:40 UTC by Andrei Stepanov
Modified: 2015-10-05 16:09 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-05 16:09:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Andrei Stepanov 2015-09-30 09:40:33 UTC
rpm -qf /usr/lib64/libspice-server.so.1.8.0                                                                                  
spice-server-0.12.4-9.el7_1.1.x86_64

The problem is:
spice-server accepts parameter: addr=<some digital num>
It starts listen at non-existent address:

# /usr/libexec/qemu-kvm -spice disable-ticketing,port=3000,addr=6756756


# ss -l -t -n 'sport = :3000'

Local Address:Port
0.103.25.148:3000

Expected behavior: 
spice-server should check existence of the specified address before bind to it.


More example:

/usr/libexec/qemu-kvm -spice disable-ticketing,port=3000,addr=0.1
Local Address:Port
0.0.0.1:3000

Comment 2 Frediano Ziglio 2015-10-05 16:09:28 UTC
First class A range is for self identification so the address you mentioned are perfectly valid. See https://tools.ietf.org/html/rfc6890.


Note You need to log in before you can comment on or make changes to this bug.