Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I was reading this interesting article today: http://www.moserware.com/2009/06/first-few-milliseconds-of-https.html

A crazy thought came to mind...Is it possible to write an iptable rule that only redirects https handshake requests?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

No. You can't know it's a HTTPS handshake until the connection is open. At that point, it's too late to redirect it. The SYN packet doesn't tell you what's going to be transmitted; that's why we have port numbers to begin with.

share|improve this answer
    
Thanks for the answer. That's what I was afraid of. :-( –  exvance Mar 27 '12 at 6:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.