{"action":"created","issue":{"url":"https://api.github.com/repos/ntop/nDPI/issues/119","labels_url":"https://api.github.com/repos/ntop/nDPI/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/ntop/nDPI/issues/119/comments","events_url":"https://api.github.com/repos/ntop/nDPI/issues/119/events","html_url":"https://github.com/ntop/nDPI/issues/119","id":118285236,"number":119,"title":"Bug in ssl.c","user":{"login":"max197616","id":14889541,"avatar_url":"https://avatars.githubusercontent.com/u/14889541?v=3","gravatar_id":"","url":"https://api.github.com/users/max197616","html_url":"https://github.com/max197616","followers_url":"https://api.github.com/users/max197616/followers","following_url":"https://api.github.com/users/max197616/following{/other_user}","gists_url":"https://api.github.com/users/max197616/gists{/gist_id}","starred_url":"https://api.github.com/users/max197616/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max197616/subscriptions","organizations_url":"https://api.github.com/users/max197616/orgs","repos_url":"https://api.github.com/users/max197616/repos","events_url":"https://api.github.com/users/max197616/events{/privacy}","received_events_url":"https://api.github.com/users/max197616/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ntop/nDPI/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-22T20:08:30Z","updated_at":"2015-11-22T22:53:30Z","closed_at":null,"body":"Hi.\r\nI think that there is a bug in the file ssl.c at line 291:\r\nif(!packet->iph /* IPv4 */) return(-1);\r\nIf we are using ipv6 packet we always get undetected protocol. I commented this line and nDPI can detect ssl properly.\r\n"},"comment":{"url":"https://api.github.com/repos/ntop/nDPI/issues/comments/158816308","html_url":"https://github.com/ntop/nDPI/issues/119#issuecomment-158816308","issue_url":"https://api.github.com/repos/ntop/nDPI/issues/119","id":158816308,"user":{"login":"kYroL01","id":7222956,"avatar_url":"https://avatars.githubusercontent.com/u/7222956?v=3","gravatar_id":"","url":"https://api.github.com/users/kYroL01","html_url":"https://github.com/kYroL01","followers_url":"https://api.github.com/users/kYroL01/followers","following_url":"https://api.github.com/users/kYroL01/following{/other_user}","gists_url":"https://api.github.com/users/kYroL01/gists{/gist_id}","starred_url":"https://api.github.com/users/kYroL01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kYroL01/subscriptions","organizations_url":"https://api.github.com/users/kYroL01/orgs","repos_url":"https://api.github.com/users/kYroL01/repos","events_url":"https://api.github.com/users/kYroL01/events{/privacy}","received_events_url":"https://api.github.com/users/kYroL01/received_events","type":"User","site_admin":false},"created_at":"2015-11-22T22:53:30Z","updated_at":"2015-11-22T22:53:30Z","body":"@max197616 If you comment out, nDPI can properly detected SSL with IPv6 ?\r\nMaybe that control into the dissector must be deleted, 'cause we check for IPv6 before enter in the dissector.\r\n"}}