https://bugs.contribs.org/show_bug.cgi?id=10646
Terry Fage <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED
--- Comment #3 from Terry Fage <[email protected]> ---
VERIFICATION
= Environment:
SME 9.2 x64 VM updates as at 17 Nov 18
= ORIGINAL PROBLEM:
Bug 10646 - tftpd check blksize setting
= RESOLUTION:
Fixed in smeserver-tftp-server-1_2-6_el6_sme
* Mon Nov 12 2018 John Crisp <[email protected]> 1.2-6
- Add a blksize check [SME:10646]
= CURRENT VERSION INSTALLED:
[root@sme9264 ~]# cat /etc/e-smith-release
SME Server release 9.2
[root@sme9264 ~]# uname -r
2.6.32-754.6.3.el6.x86_64
[root@sme9264 ~]# rpm -qa smeserver-tftp-server
[root@sme9264 ~]#
Install and configure current smecontrib smeserver-phpki which also pulls phpki
[root@sme9264 ~]# yum --enablerepo=smecontribs install smeserver-tftp-server
Verifying : smeserver-tftp-server-1.2-5.el6.sme.noarch 1/3
Verifying : 2:xinetd-2.3.14-40.el6.x86_64 2/3
Verifying : tftp-server-0.49-8.el6.x86_64 3/3
Installed:
smeserver-tftp-server.noarch 0:1.2-5.el6.sme
Dependency Installed:
tftp-server.x86_64 0:0.49-8.el6 xinetd.x86_64 2:2.3.14-40.el6
Complete!
[root@sme92x64 ~]# signal-event post-upgrade; signal-event reboot
[root@sme9264 ~]# rpm -qa smeserver-tftp-server
smeserver-tftp-server-1.2-5.el6.sme.noarch
[root@sme9264 ~]# config setprop tftpd status enabled
[root@sme9264 ~]# signal-event tftpd-conf
[root@sme9264 ~]# config show tftpd
tftpd=service
UDPPort=69
access=private
directory=/tftpboot
log=normal
privilege=ro
status=enabled
timeout=default
user=nobody
[root@sme9264 ~]# /var/service/tftpd/run
Log -v
Access 192.168.2.92
UDPPort 69
Privilege
User nobody
Timeout
Refuse
Blsize
Dir /tftpboot
= TESTING:
blksize is not set in default db
[root@sme9264 ~]# config setprop tftpd blksize 412
[root@sme9264 ~]# signal-event tftpd-conf
[root@sme9264 ~]# config show tftpd
tftpd=service
UDPPort=69
access=private
blksize=412
directory=/tftpboot
log=normal
privilege=ro
status=enabled
timeout=default
user=nobody
[root@sme9264 ~]# /var/service/tftpd/run
Log -v
Access 192.168.2.92
UDPPort 69
Privilege
User nobody
Timeout
Refuse
Blsize -B 412
Dir /tftpboot
/var/log/tftpd being flooded with:
@400000005bf3a5261b59e654 Going Down
@400000005bf3a5271da47e4c Going Down
@400000005bf3a5281fe419c4 Going Down
@400000005bf3a529222bb034 Going Down
@400000005bf3a52a246eba94 Going Down
-----snip-----
@400000005bf3a9913512e80c Log -v
@400000005bf3a9913512efdc Access 192.168.2.92
@400000005bf3a9913512efdc UDPPort 69
@400000005bf3a9913512f3c4 Privilege
@400000005bf3a9913512f7ac User nobody
@400000005bf3a9913512f7ac Timeout
@400000005bf3a99135137894 Refuse
@400000005bf3a99135137c7c Blsize
@400000005bf3a99135137c7c Dir /tftpboot
= UPDATED VERSION INSTALLED:
[root@sme9264 ~]# yum update --enablerepo=smetest smeserver-tftp-server
Set via db 412
[root@sme9264 ~]# config setprop tftpd blksize 412
[root@sme9264 ~]# config show tftpd
tftpd=service
UDPPort=69
access=private
blksize=412
directory=/tftpboot
log=normal
privilege=ro
status=enabled
timeout=default
user=nobody
[root@sme9264 ~]# /var/service/tftpd/run
udpsvd: info: listening on 192.168.2.92:69, starting.
[root@sme9264 ~]# /var/service/tftpd/run
Log -v
Access 192.168.2.92
UDPPort 69
Privilege
User nobody
Timeout
Refuse
Blsize -B 1500
Dir /tftpboot
@400000005bf3abe13036b46c udpsvd: info: listening on 192.168.2.92:69, starting.
Set via db 66666
[root@sme9264 ~]# config setprop tftpd blksize 66666
[root@sme9264 ~]# config show tftpd
tftpd=service
UDPPort=69
access=private
blksize=66666
directory=/tftpboot
log=normal
privilege=ro
status=enabled
timeout=default
user=nobody
[root@sme9264 ~]# /var/service/tftpd/run
Log -v
Access 192.168.2.92
UDPPort 69
Privilege
User nobody
Timeout
Refuse
Blsize -B 65464
Dir /tftpboot
Log is no longer being flooded
If Blsize is set to 512 is using 1500
If Blsize is set to >65464 is using 65464
Blsize is being set as a minimim 1500 max 65464
= PROBLEM FIXED:
Multiple errors,
= VERIFIED OR REOPEN:
Verified
= DOCUMENTATION IMPACT:
N/A
= SUGGESTED RELEASE NOTES:
%Changelog
* Mon Nov 12 2018 John Crisp <[email protected]> 1.2-6
- Add a blksize check [SME:10646]
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/