Colin Coe wrote: % 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.
Reviewed, checked and commited. Thanks. Just a small side note - if a change is alligned to a bugzilla we put a bz number to the commit message to be able to track changes from both sides (bz and git). Regards, -- Michael Mráka Satellite Engineering, Red Hat _______________________________________________ Spacewalk-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-devel
