Hi all

No objections raised, so here goes.

Attached are patches to enable rhnpush to use a proxy server.  I have
not added support for authenticated proxies as I have no way to test
it.

The first patch makes the required code changes and the second patch
updates the man page.

Please note that I was unable to do final testing as my dev setup
consists of a single machine.  I tested by bringing the changed files
to the 'prod' spacewalk server at my client and running:
---
/usr/bin/rhnpush -c test_channel  --server=http://sw.company.com/APP
-u admin -p passwd --proxy=proxy:3128
/root/epel-release-5-3.noarch.rpm
---

rhnpush gave the error:
---
While running 'packages.getPackageChecksumBySession': caught
server.apacheRequest.UnknownXML : Invalid request received (function:
packages.getPackageChecksumBySession invalid).
---

A tcpdump of the traffice between the build box, the proxy server and
the SW server showed no direct traffic between the build box and the
SW server so I believe it all works, however I can't be 100% sure.

As always, comments/criticisms welcome.

Thanks

CC

-- 
RHCE#805007969328369

Attachment: 0001-Enable-proxy-support-for-rhnpush.patch
Description: Binary data

Attachment: 0002-Update-rhnpush-man-page-with-proxy-usage-info.patch
Description: Binary data

_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to