Skip to content

Commit eb71554

Browse files
authored
Use new make patch from migrid PR320 to patch installed paramiko. (#124)
In order to prevent the rather verbose python tracebacks in the logs from common ssh/sftp scans to end up in our log monitoring.
2 parents 628653c + 92f043e commit eb71554

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Dockerfile.rocky8

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1500,6 +1500,10 @@ RUN cp generated-confs/libnss_mig.conf /etc/ \
15001500
#&& cp /etc/nsswitch.conf /etc/nsswitch.conf.backup
15011501
&& cp generated-confs/nsswitch.conf /etc/
15021502

1503+
# Adjust paramiko to reduce log noise from scans if matching patch is available
1504+
RUN cd $MIG_ROOT/mig/src/paramiko \
1505+
&& if [ -e Makefile ]; then make patch PLATFORM=el8 ; fi
1506+
15031507
RUN chmod 755 generated-confs/envvars \
15041508
&& chmod 755 generated-confs/httpd.conf
15051509

Dockerfile.rocky9

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1387,6 +1387,10 @@ RUN cp generated-confs/libnss_mig.conf /etc/ \
13871387
#&& cp /etc/nsswitch.conf /etc/nsswitch.conf.backup
13881388
&& cp generated-confs/nsswitch.conf /etc/
13891389

1390+
# Adjust paramiko to reduce log noise from scans if matching patch is available
1391+
RUN cd $MIG_ROOT/mig/src/paramiko \
1392+
&& if [ -e Makefile ]; then make patch PLATFORM=el9 ; fi
1393+
13901394
RUN chmod 755 generated-confs/envvars \
13911395
&& chmod 755 generated-confs/httpd.conf
13921396

0 commit comments

Comments
 (0)