Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cisco IronPort email gateways may close SMTP connections before the STARTTLS scan #46

Open
seanthegeek opened this issue Jan 3, 2018 · 8 comments
Assignees

Comments

@seanthegeek
Copy link

seanthegeek commented Jan 3, 2018

e.g. cardinalhealth.com

[STARTTLS] In starttls_scan at /usr/local/lib/python3.6/dist-packages/trustymail-0.5.0.dev0-py3.6.egg/trustymail/trustymail.py:125: Connection unexpectedly closed

Seems like this might be anti-DoS? @jsf9k

@jsf9k
Copy link
Member

jsf9k commented Jan 4, 2018

@seanthegeek, I do see some "Connection unexpectedly closed" stuff when I scan, but I never really investigated it. How do you know this is related to Cisco Iron Port hardware?

@seanthegeek
Copy link
Author

Because I work for Cardinal Health :)

@jsf9k
Copy link
Member

jsf9k commented Jan 4, 2018

Ha! ☺️

@Y054i
Copy link

Y054i commented Jan 17, 2018

Getting similar results here on our Ironport appliances:

[STARTTLS] In starttls_scan at /opt/pyenv/versions/3.6.1/lib/python3.6/site-packages/trustymail/trustymail.py:117: [Errno 111] Connection refused, [STARTTLS] In starttls_scan at /opt/pyenv/versions/3.6.1/lib/python3.6/site-packages/trustymail/trustymail.py:117: timed out, [STARTTLS] In starttls_scan at /opt/pyenv/versions/3.6.1/lib/python3.6/site-packages/trustymail/trustymail.py:117: [Errno 111] Connection refused, [STARTTLS] In starttls_scan at /opt/pyenv/versions/3.6.1/lib/python3.6/site-packages/trustymail/trustymail.py:117: timed out

@jsf9k jsf9k self-assigned this Jan 25, 2018
@jsf9k
Copy link
Member

jsf9k commented Jan 25, 2018

I have a friendly volunteer with a Cisco IronPort device who has agreed to help troubleshoot. I'm going to be looking into this next week.

@jsf9k
Copy link
Member

jsf9k commented Feb 27, 2018

The IronPort device that I troubleshooted against worked fine.

@Y054i
Copy link

Y054i commented Mar 2, 2018

In our case it turns out the issue was a misconfiguration in a particular Ironport Mail Flow Policy. All other MFPs were configured correctly, which is why my mxtoolbox.com and checktls.com tests were always successful (those senders fell under a different MFP which was set correctly). I haven't had a chance to go back through all the logs, but I assume that the IP address(es) that the DHS/NCATS tests are done from fell under a Sender Group tied to this MFP which is why our reports showed non-compliance.

@jsf9k
Copy link
Member

jsf9k commented Mar 3, 2018

@Y054i, thank you for following up! That's good information.

mcdonnnj pushed a commit that referenced this issue Jan 23, 2023
setup-env: A tool to automate a development environment setup.
mcdonnnj pushed a commit that referenced this issue Jan 23, 2023
Lineage pull request for: skeleton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants