Hi all,I have tested puppet with version 4.1 and 2.x, found that if an agent connect master without certification, the connection still can be established.I think it is not reasonable. Because if agent connect with an wrong certification the connection will be refused.
Does anyone know how to fix it?
the attachment is packet captured using tcpdump. It can prove what I have said.
1. Version:
Puppet: 4.10.4
Puppet server: 2.7.2
Puppet Agent: I do not use agent to do test.
OS: Ubuntu 64-desktop 16.04
Openssl: 1.0.2g
2. There is not any none default configuration.
3. Test command: openssl s_client -connect puppet:8140 ##puppet is the hostname of master.
4. There is not log from puppet, that is why I capture packet.
5. Use wireshark, Menu->Analyze->Decode As, TCP, choose SSL, the result is decode as SSL.
In No. 12, We can see that client send hand shake message with Certificate field, but it is empty.
And then in the No. 15, we can see that hand shake is success.
I think it is bug, that an faked agent can connect to server without certification.
It difficult to insert picture, so please see the attachment.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/ec9fc782-c78b-4ddf-ab24-a914ac999462%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
1. Version:
Puppet: 4.10.4
Puppet server: 2.7.2
Puppet Agent: I do not use agent to do test.
OS: Ubuntu 64-desktop 16.04
Openssl: 1.0.2g
2. There is not any none default configuration.
3. Test command: openssl s_client -connect puppet:8140 ##puppet is the hostname of master.
4. There is not log from puppet, that is why I capture packet.
5. Use wireshark, Menu->Analyze->Decode As, TCP, choose SSL, the result is decode as SSL.