Bug 923384 - DNF uses yum web signature
Summary: DNF uses yum web signature
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Ales Kozumplik
QA Contact: Fedora Extras Quality Assurance
Depends On: 923665
TreeView+ depends on / blocked
Reported: 2013-03-19 17:51 UTC by Stephen John Smoogen
Modified: 2014-09-30 23:41 UTC (History)
2 users (show)

Fixed In Version: dnf-0.3.2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-04-02 08:41:01 UTC

Attachments (Terms of Use)

Description Stephen John Smoogen 2013-03-19 17:51:30 UTC
Description of problem:

Currently the HTTP signature for dnf is the same as yum's. This makes it not possible to see how the tool is being used in the environment or to debug issues that the client might have versus yum/smart/zif.

Comment 1 Ales Kozumplik 2013-03-20 09:52:03 UTC
For Fedora 18 this is fixed by commit 15a3eae, fix will be in dnf-0.2.23:

Comment 2 Ales Kozumplik 2013-03-20 10:00:22 UTC
The Fedora 19 code in DNF is moving to librepo for metadata and package downloads (majority of the DNF traffic). Opened bug 923665 for librepo to allow us set a custom user agent.

Comment 3 Ales Kozumplik 2013-04-02 08:41:01 UTC
Fixed by 36f1d76 on master. From 0.3.2 on, dnf will always use a user agent string starting with "dnf/".

Unit test is missing, see bug 947346.

Tested when syncing the metadata for google-talkplugin repo:

[root@caws ~]# ngrep -d p21p1 -W byline port 80
interface: p21p1 (
filter: (ip or ip6) and ( port 80 )
T -> [AP]
GET /linux/talkplugin/rpm/stable/x86_64/repodata/repomd.xml HTTP/1.1.
User-Agent: dnf/0.3.1.
Host: dl.google.com.
Accept: */*.

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