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

Enable Permissive x509 parsing #243

Merged
merged 2 commits into from
Apr 24, 2023
Merged

Enable Permissive x509 parsing #243

merged 2 commits into from
Apr 24, 2023

Conversation

Mzack9999
Copy link
Member

@Mzack9999 Mzack9999 commented Apr 23, 2023

Closes #241

$ echo 34.107.18.135:443 | go run . -tps -v -sm ztls -json
...
{"timestamp":"2023-04-24T01:00:44.8984157+02:00","host":"34.107.18.135","ip":"34.107.18.135","port":"443","probe_status":true,"tls_version":"tls12","cipher":"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256","self_signed":true,"mismatched":true,"not_before":"2022-08-07T23:31:07Z","not_after":"2023-08-07T23:31:07Z","subject_dn":"OU=Web Isolation, CN=itechscout.prod.fire.glass, emailAddress=DL-FG-Support@symantec.com, O=Symantec Corporation, ST=New York, C=US, emailAddress=DL-FG-Support@symantec.com","subject_cn":"itechscout.prod.fire.glass","subject_org":["Symantec Corporation"],"subject_an":["itechscout.prod.fire.glass","*.itechscout.prod.fire.glass","itechscout2.prod.fire.glass","*.itechscout2.prod.fire.glass"],"serial":"11:3B:4B:11:D3:88:50:34:02:F6:CF:B5:A3:0B:38:75:1E:88:5E:92","issuer_dn":"emailAddress=DL-FG-Support@symantec.com, OU=Web Isolation, O=Symantec Corporation, ST=New York, C=US, CN=itechscout.prod.fire.glass, emailAddress=DL-FG-Support@symantec.com","issuer_cn":"itechscout.prod.fire.glass","issuer_org":["Symantec Corporation"],"fingerprint_hash":{"md5":"bc2a5a537b5b9b5cd8a57d797f9323b5","sha1":"7ecadc4c47025109b13d4e47f07e850229c14c4b","sha256":"9b1001686e20e50b897b8ce948fe09793229f3b1aee0ffa46349f5ee8a6614e0"},"wildcard_certificate":true,"tls_connection":"ztls","sni":"34.107.18.135"}

@Mzack9999 Mzack9999 added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Apr 23, 2023
@Mzack9999 Mzack9999 self-assigned this Apr 23, 2023
@Mzack9999 Mzack9999 linked an issue Apr 23, 2023 that may be closed by this pull request
Copy link
Member

@ehsandeep ehsandeep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$ echo 34.107.18.135:443 | go run . -tps -json -silent | jq .

{
  "timestamp": "2023-04-24T11:41:22.193237+05:30",
  "host": "34.107.18.135",
  "ip": "34.107.18.135",
  "port": "443",
  "probe_status": true,
  "tls_version": "tls12",
  "cipher": "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256",
  "self_signed": true,
  "mismatched": true,
  "not_before": "2022-08-07T23:31:07Z",
  "not_after": "2023-08-07T23:31:07Z",
  "subject_dn": "OU=Web Isolation, CN=itechscout.prod.fire.glass, emailAddress=DL-FG-Support@symantec.com, O=Symantec Corporation, ST=New York, C=US, emailAddress=DL-FG-Support@symantec.com",
  "subject_cn": "itechscout.prod.fire.glass",
  "subject_org": [
    "Symantec Corporation"
  ],
  "subject_an": [
    "itechscout.prod.fire.glass",
    "*.itechscout.prod.fire.glass",
    "itechscout2.prod.fire.glass",
    "*.itechscout2.prod.fire.glass"
  ],
  "serial": "11:3B:4B:11:D3:88:50:34:02:F6:CF:B5:A3:0B:38:75:1E:88:5E:92",
  "issuer_dn": "emailAddress=DL-FG-Support@symantec.com, OU=Web Isolation, O=Symantec Corporation, ST=New York, C=US, CN=itechscout.prod.fire.glass, emailAddress=DL-FG-Support@symantec.com",
  "issuer_cn": "itechscout.prod.fire.glass",
  "issuer_org": [
    "Symantec Corporation"
  ],
  "fingerprint_hash": {
    "md5": "bc2a5a537b5b9b5cd8a57d797f9323b5",
    "sha1": "7ecadc4c47025109b13d4e47f07e850229c14c4b",
    "sha256": "9b1001686e20e50b897b8ce948fe09793229f3b1aee0ffa46349f5ee8a6614e0"
  },
  "wildcard_certificate": true,
  "tls_connection": "ztls",
  "sni": "34.107.18.135"
}

@Mzack9999 Mzack9999 merged commit f9d4ef8 into dev Apr 24, 2023
@Mzack9999 Mzack9999 deleted the issue-241-zcrypto branch April 24, 2023 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable support/patch zcrypto/x509 for StringType in RDNSequence
2 participants