Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
32694602 05/15/2024 09:46 AM Bernhard Suttner

Fixes #37450 - start free_ips service for native ms dhcp

bf8b44f7 05/08/2024 03:09 PM Ewoud Kohl van Wijngaarden

Fixes #37413 - Let the kernel assign a TCP port in tests

This binds on port 0, which lets the kernel decide which port to use.
The port is then read back from the listener. Because the kernel knows
which ports it's allowed to bind to, it removes the risk of a failure...

3f079df6 04/25/2024 10:42 AM Ewoud Kohl van Wijngaarden

Fixes #37355 - Explicitly query for IPv4 address in omapi code

The omapi API is IPv4-only so the DNS lookup should also only ask for
IPv4 addresses. Otherwise it may return an IPv6 address which ip2hex
can't deal with.

e8fe59f8 02/26/2024 02:03 PM Ewoud Kohl van Wijngaarden

Fixes #37147 - Pass --fail option to curl

This prevents curl from writing out error pages, for example when the
URL returns a HTTP 404.

It still doesn't return any error to Foreman since the TFTP
/fetch_boot_file only starts a thread and there's no way to monitor it....

3fd0eb39 02/20/2024 06:25 PM Griffin Sullivan

Bump develop to 3.11.0-develop

cd09fa45 02/16/2024 11:16 AM Evgeni Golov

build on rhel-9

4f64615d 02/16/2024 11:16 AM Evgeni Golov

use yum.tfm.o

3b502a53 02/16/2024 11:16 AM Evgeni Golov

build on rhel-8

2fb6db34 11/29/2023 01:43 PM Griffin Sullivan

Bump develop to 3.10.0-develop

bce882c4 11/07/2023 08:48 PM Archana Kumari

Fixes #36899 - Add Dependabot Configuration

54d4f0f1 11/03/2023 12:50 PM Eric Helms

Fixes #36890 - Use PrivateTmp in systemd service

b55f45c2 11/03/2023 12:19 PM Evgeni Golov

add packit

dc06c076 09/26/2023 12:11 PM Ewoud Kohl van Wijngaarden

Fixes #34163 - Allow clearing the log buffer

In testing it can be useful to reset the log buffer. This is not
intended to be used as a public API but tests can use:

Proxy::LogBuffer::Buffer.instance.send(:clear)
e994e0ab 09/26/2023 11:42 AM Ewoud Kohl van Wijngaarden

Refs #34163 - Introduce SmartProxyRootApiTestCase

This class provides the common infra for the root API integration test.

55568b18 09/26/2023 11:04 AM Ewoud Kohl van Wijngaarden

Refs #36779 - Fix Style/SlicingWithRange cop

0e5d999f 09/26/2023 11:04 AM Ewoud Kohl van Wijngaarden

Fixes #36779 - Set minimum Ruby version to 2.7

fcfcf236 09/22/2023 09:39 AM Archana Kumari

Fix Rubocop Rake/Desc

1e7b9cc1 09/22/2023 09:39 AM Archana Kumari

Enable rubocop-rake plugin

92215510 09/22/2023 09:39 AM Archana Kumari

Fix Rubocop Style/RedundantCondition

6f996d67 09/22/2023 09:39 AM Archana Kumari

Disable Style/RedundantCondition

6e4358ac 09/22/2023 09:39 AM Archana Kumari

Fix Rubocop Style/SafeNavigation

a5aae746 09/22/2023 09:39 AM Archana Kumari

Fix Rubocop Lint/RedundantStringCoercion

1996381a 09/22/2023 09:39 AM Archana Kumari

Update RuboCop version to 1.56.0

Bumped the RuboCop version from 1.28.0 to 1.56.0 to ensure the
project benefits from the latest improvements, bug fixes, and
code analysis features provided by the updated RuboCop release.

16b5fd06 09/22/2023 09:39 AM Archana Kumari

Add additional cops to rubocop-todo.yaml

Added additional RuboCop cops and updated .rubocop_todo.yml
to address various code quality issues in the smart-proxy project.
The changes help improve code consistency.

06092bb1 08/25/2023 03:08 PM Griffin Sullivan

Bump develop to 3.9.0-develop

7715719a 05/23/2023 03:00 PM Ewoud Kohl van Wijngaarden

Bump develop to 3.8.0-develop

31778c3d 05/22/2023 05:40 PM Leos Stejskal

refs #36243 - Templates - Return Foreman's API status code

Bugfixes and improvements

refs 70073c07e991cbe85a332a00e90d4196d8cbcaaf

70073c07 04/03/2023 12:54 PM Leos Stejskal

Fixes #36243 - Templates - Return Foreman's API status code instead of 500

802ce04a 03/29/2023 11:10 PM Peter Bittner

Fix typo / fix link markup

90d7cc85 03/23/2023 07:12 PM Leos Stejskal

Fixes #36209 - tftp initrd/vmlinux generation: curl malformed

PR #856 was fixing invalid curl --time-cont condition,
but it actually break it and now files are not downloaded at all.

This reverts commit fba49ab1eb9bbe383572575309558ff628f5de60.

fba49ab1 03/09/2023 06:44 PM Leos Stejskal

Fixes #36138 - Invalid syntax for curl --time-cond

According to Curl man page, syntax for --time-cond attribute
should be "--time-cond file <path>", not "--time-cond <path>".

This can cause issues with outdated vmlinuz and initrd.im files,
once the files are downloaded, they are never replaced with never versions....

eea8cf68 03/06/2023 11:22 AM Adam Ruzicka

Fixes #35921 - Disable access logging for https endpoint

Previously, access logging was enabled for https endpoint, but not for
the http one. This commit settles things on no access logging for both.

5a12080f 03/06/2023 11:22 AM Adam Ruzicka

Refs #35921 - Unify use of common app settings

Common options were previously duplicated between http and https
application settings.

d8b56bfd 02/22/2023 07:48 PM Ewoud Kohl van Wijngaarden

Bump develop to 3.7.0-develop

2d9cdce5 01/23/2023 03:58 PM Bernhard Suttner

Fixes #35979 - dnscmd nil string error

1357f397 01/11/2023 11:07 AM Adam Ruzicka

Fixes #35920 - Mention JOURNAL as valid log_file option

in example settings

befb442f 11/08/2022 11:55 AM Ewoud Kohl van Wijngaarden

Bump develop to 3.5.0-develop

78645517 10/31/2022 04:47 PM Stejskal Leos

Fixes #35639 - registration_url setting for Registration module

RFC: https://community.theforeman.org/t/rfc-host-registration-and-load-balancers/30462
Foreman: https://projects.theforeman.org/issues/35626
Katello: https://projects.theforeman.org/issues/35627

c8e23502 10/31/2022 04:47 PM Stejskal Leos

Refs #35639 - Add OptionalUrl validator

6a9159f9 10/24/2022 05:02 PM Evgeni Golov

Update rubocop to 0.89

a921761d 10/20/2022 07:40 AM Ewoud Kohl van Wijngaarden

Fixes #35510 - Depend on webrick for Ruby 3

This has always been a dependency, but Ruby 3 has dropped the code. It's
now a regular gem.

It is set in the gemspec since that allows plugins to also benefit from
it. That does mean that it's also required on older Ruby versions and...

a48da738 09/15/2022 02:48 PM Ewoud Kohl van Wijngaarden

Fixes #31118 - Remove daemonize support

Currently Smart Proxy is able to daemonize and manage a pid file.
However, in the common deployments under systemd and Windows this isn't
actually used. There are also other solutions out there to manage it
externally if it's needed....

34f63b5e 09/08/2022 02:41 PM Ewoud Kohl van Wijngaarden

Fixes #35507 - Pin sinatra to 2.x

Previously in CI it was pulling in version 1.0 but that's ancient and
doesn't work.

d6ddfc84 08/31/2022 03:42 PM Ewoud Kohl van Wijngaarden

Fixes #35468 - Verify boolean settings in modules

Since debffb85b60a5dfc2d5347075d8f2089573f289f it's possible to validate
boolean settings. Validating settings makes it harder to misconfigure
modules.

bb7bffbd 08/31/2022 01:52 PM Ewoud Kohl van Wijngaarden

Fixes #35467 - Use rackup_path helper in registration

Since 88fbc8e67d665e2c3b19acb53b31ff30acf078b7 there is a rackup_path
helper that's equivalent to calling http_rackup_path and
https_rackup_path with the same arguments.

6b0b9098 08/29/2022 10:28 AM Ewoud Kohl van Wijngaarden

Fixes #33881 - Remove deprecated plugin methods

Version 1.12.0 (342eeda9a14422a30f08f3ce6539577ea6a740c8) added these
methods, but with a note that they will be removed.

231c7658 08/29/2022 10:28 AM Ewoud Kohl van Wijngaarden

Refs #33881 - Remove unused Proxy::ProviderFactory

Unused since 1.11.0 (42b958156808eb2a16bd895863b196fca8f2977d).

e0122f28 08/29/2022 10:28 AM Ewoud Kohl van Wijngaarden

Refs #33881 - Remove Proxy::Dns::DependencyInjection::Dependencies

Version 1.13.0 (69afd3426cece83821d9bdb16be426a082b68e42) deprecated
this class.

3e2217d2 08/29/2022 10:28 AM Lukas Zapletal

Refs #33881 - Drop deprecated HttpDownload parameters

Version 3.1.0 (3d87c6feaa8caaf9b8c040f96061c3b8c33a39ef) deprecated
these parameters.

Signed-off-by: Lukas Zapletal <>

4f457dc2 08/29/2022 10:28 AM Lukas Zapletal

Refs #33881 - Drop deprecated DNS common methods

Version 1.23.0 (ee1dcd16bdba277294cb9c744b667f911e1ea7c7) deprecated
these methods.

045d0bef 08/29/2022 10:28 AM Lukas Zapletal

Refs #33881 - Drop deprecated methods in DHCP API

These methods were deprecated c7aa35f0b18090e7e7d1b06493449972b6de37bc
(part of 1.15.0).

22282fc7 08/18/2022 10:23 AM Ewoud Kohl van Wijngaarden

Fixes #35384 - Add missing require 'timeout'

This explicitly requires timeout rather than depending on it implicitly.

Fixes: aa25357d4404908d5e5707e767ecd798b754d7d1

9268440e 08/11/2022 10:26 AM Amit Upadhye

Update develop to 3.5.0-develop

28b0212d 07/08/2022 03:19 PM Ewoud Kohl van Wijngaarden

Fixes #35185 - Stub provider check in BmcTest

Rubyipmi checks if ipmitool is installed, but never actually uses it.
Stubbing the presence check makes testing easier for developers.

6983107b 07/08/2022 02:48 PM Ewoud Kohl van Wijngaarden

Fixes #35184 - Drop puppetca_puppet_cert provider

Currently for Puppet 6.0 or higher the Puppetserver REST API is used.
Puppet 5 is EOL so this can be dropped. Older versions (dating back to
Puppet 4) had an incomplete API, but core methods do work. Just the...

aa25357d 07/08/2022 02:48 PM Ewoud Kohl van Wijngaarden

Fixes #35183 - Correctly call Timeout.timeout()

At least in Ruby 3.1 calling timeout() as a global method is no longer
allowed and Timetout.timeout is the correct way of calling it.

f7550a50 05/11/2022 04:43 PM Amit Upadhye

Bump develop to 3.4.0-develop (#833)

238f65a5 05/09/2022 02:09 PM Evgeni Golov

Fixes #34844 - load SSL keys using OpenSSL::PKey.read

This allows using non-RSA keys as PKey.read can figure out the type of key automatically

f7553f7d 03/17/2022 07:02 AM Adam Ruzicka

Fixes #34613 - Verify SSL CA file is readable on startup

e26f207b 03/16/2022 12:05 PM Adam Ruzicka

Fixes #34624 - Set MALLOC_ARENA_MAX to counter memory bloating

4133c302 03/10/2022 05:03 PM Ewoud Kohl van Wijngaarden

Fixes #34589 - Remove duplicate rsec gem definition

This fixes the duplicate gem warning that bundler generates.

2529bfac 03/07/2022 01:53 PM Ewoud Kohl van Wijngaarden

Fixes #34566 - Refactor validate_ip to use a case statement

This has the same result, but is slightly more easier to follow and
potentially slightly more efficient.

392f044b 03/07/2022 08:12 AM Ewoud Kohl van Wijngaarden

Fixes #34563 - Drop rdoc from test dependencies

By allowing the Rakefile to gracefully handle rdoc's absense it can be
dropped from the test dependencies.

b22a6816 03/07/2022 08:12 AM Ewoud Kohl van Wijngaarden

Refs #34563 - Allow comments for Lint/SuppressedException

d1bf8edb 03/07/2022 08:12 AM Ewoud Kohl van Wijngaarden

Refs #34563 - Fix rdoc task to refer to README.md

In c08eb9a80d33655279ad4cc6039f0299ccb14e3b this file was renamed from
README to README.md, but this reference wasn't updated.

Fixes: c08eb9a80d33655279ad4cc6039f0299ccb14e3b

1bf8ba85 03/07/2022 08:12 AM Ewoud Kohl van Wijngaarden

Fixes #34564 - Drop single_test gem dependency

This gem is unmaintained and doesn't appear to be used.

It was added in 1112ca8ae2c96a50f32322760c968ffdd9354eeb but nothing
else refers to it.

c0980f97 03/04/2022 01:25 PM Lukas Zapletal

Fixes #27088 - Handle capabilities for uninitialized plugins

Signed-off-by: Lukas Zapletal <>

71c07dbc 03/03/2022 12:40 PM Ewoud Kohl van Wijngaarden

Update minimum Puppet version in README

Fixes: 7e7015aba068db541bd4f4cf1856bf69ebbe2953

6b75029e 03/02/2022 03:00 PM Ewoud Kohl van Wijngaarden

Fixes #34162 - Allow calling load_test_settings without settings

This allows loading only the default settings:

Proxy::MyPlugin::Plugin.load_test_settings

Or

Proxy::MyPlugin::Plugin.load_test_settings()

Previously this had to be written as

Proxy::MyPlugin::Plugin.load_test_settings({})
ef07230a 02/12/2022 10:47 PM Anna Vitova

Fixes #34359 - fix DHCP IP validation arguments tests

bf56b422 02/10/2022 04:52 PM Amit Upadhye

Bump develop to 3.3.0-develop

685c026e 02/01/2022 02:41 PM Ewoud Kohl van Wijngaarden

Fixes #34164 - Add enum plugin validator

This allows using:

validate :setting, enum: %w[first second]
23bb5a07 01/19/2022 07:17 AM Lukas Zapletal

Refs #34226 - dnscmd nil string error

Signed-off-by: Lukas Zapletal <>

f88024ed 01/11/2022 11:28 AM Lukas Zapletal

Refs #34226 - dnscmd nil string error

7b3508a8 01/06/2022 12:18 PM Lukas Zapletal

Fixes #34226 - dnscmd nil string error

01b39acd 01/04/2022 01:38 PM Ewoud Kohl van Wijngaarden

Fixes #34141 - Make validators modern Ruby compatible

In old Ruby versions a hash was pushed as the last argument but in
modern Ruby there is first class support for this via kwargs. This
worked if a single argument was provided but if they were combined it...

d60623c3 12/21/2021 05:00 PM Lukas Zapletal

Fixes #33772 - improve DHCP parser binding test

Signed-off-by: Lukas Zapletal <>

a2393b84 11/12/2021 02:04 PM Amit Upadhye

Fixes #33915 - Bump develop to 3.2.0-develop

3d87c6fe 11/09/2021 01:48 PM Lukas Zapletal

Refs #2412 - use curl for downloads

6e6adfc1 11/03/2021 12:38 PM Leos Stejskal

Fixes #33756 - require 'templates' for 'registration' module

eba7d3b4 11/01/2021 09:09 AM Anna Vitova

fixes #18069 - Add ip/mac Addr. validations (DHCP)

9522669b 10/08/2021 01:15 PM Anna Vitova

fixes #4026 - fixes #4026 secure Windows command execution

09bf77d9 09/29/2021 09:51 AM Evgeni Golov

Fixes #33520 - Silence bundler

603ce4c4 09/13/2021 11:51 AM Lukas Zapletal

Fixes #33452 - disable SSL client renegotiation

d73d384a 09/01/2021 11:40 AM Lukas Zapletal

Fixes #32607 - drop host from x-forwarded-for

b94c9b07 09/01/2021 11:11 AM Lukas Zapletal

Fixes #2412 - don't continue wget downloads

d9b05020 08/06/2021 09:15 AM Amit Upadhye

Bump version to 3.1.0-develop

7804b1e2 08/02/2021 04:23 PM Ewoud Kohl van Wijngaarden

Point to Libera instead of Freenode

a8df37dc 08/02/2021 04:21 PM Ewoud Kohl van Wijngaarden

Drop badges from README

The build status points to a wrong build and nobody noticed. The IRC
channel also points to the old channel.

040da586 08/02/2021 08:06 AM Anna Vitova

fixes #18936 - Check server certs in the TFTP module

37963036 07/22/2021 01:47 PM Tomer Brisker

Bump version to 3.0-develop

a1221fd0 06/23/2021 12:26 PM Lukas Zapletal

Fixes #32164 - skip IPv6 link local addresses in FQDN lookups

6c0ee87d 05/04/2021 03:29 PM Tomer Brisker

bump version to 2.6-develop

3bf19e08 04/12/2021 02:15 PM Lukas Zapletal

Fixes #32288 - verify FreeIPA CA by default and new setting

fdeef1dc 02/01/2021 06:11 PM Amit Upadhye

Bump version to 2.5.0-develop

758f197d 01/18/2021 01:51 PM Ewoud Kohl van Wijngaarden

Fixes #31537 - Expose BMC providers as capabilities

Currently the BMC module exposes an API endpoint /providers/installed
but this can also be provided as capabilities or settings. This allows
Foreman to determine up front if a proxy is even a valid choice without...

d1fad5e8 12/04/2020 04:27 PM Lukas Zapletal

Refs #30906 - correct redfish SSL verify setting

7c818d0c 11/12/2020 02:47 PM Ewoud Kohl van Wijngaarden

Fixes #31303 - Drop deprecated disable_plugin methods

342eeda9a14422a30f08f3ce6539577ea6a740c8 (included in 1.12) deprecated
these methods. It's safe to remove them now.

4ef9588e 11/03/2020 08:06 AM Tomer Brisker

Bump version to 2.4-develop

c2fabb1d 10/27/2020 07:10 PM Marek Hulán

Refs #30677 - support also urlencoded data

The default registration template in Foreman started to send the data in
urlencoded form instead of a JSON, as of https://projects.theforeman.org/issues/31043

In order to support that, we need to remove nested parameters from query,...