Red Hat Bugzilla – Bug 923384
DNF uses yum web signature
Last modified: 2014-09-30 19:41:16 EDT
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.
For Fedora 18 this is fixed by commit 15a3eae, fix will be in dnf-0.2.23:
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.
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 (192.168.1.0/255.255.255.0)
filter: (ip or ip6) and ( port 80 )
T 192.168.1.3:42368 -> 126.96.36.199:80 [AP]
GET /linux/talkplugin/rpm/stable/x86_64/repodata/repomd.xml HTTP/1.1.