]> git.ipfire.org Git - thirdparty/squid.git/commit
ssl_bump_peeked access list
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Tue, 6 May 2014 09:46:07 +0000 (12:46 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Tue, 6 May 2014 09:46:07 +0000 (12:46 +0300)
commit7f4e9b738eb322fdbbd8e3d4fd38d8f8fafd449f
tree075a73e6ace7d2988bbc8b3fa923f32496fb3d61
parent34c132bfde584116df107582d620276e175b33f7
ssl_bump_peeked access list

This access list is a temporary solution for peek-and-splice project and used to
take the final decision "bump" or "splice" in peek-and-splice bumping mode.

This is what this patch try to do:
  - Get Client Hello message
  - Start connection.
  - Inside bio, before write the SSL HELLO message, try to emulate client hello
    message:
     a) extract client hello message features
     b) Check if we are able support client features and if not, splicing is not
        able to be supported.
     c) Creates an SSL object to connect to server and try to set it with
        the extracted features.
        This step currently includes many hacks and modify undocumented SSL
        object members.

extensions)
  - in PeerConnector.cc
      a) If can not be spliced do not splice.
      b) check the ssl_bump_peeked access list to splice or not.
src/SquidConfig.h
src/cache_cf.cc
src/cf.data.depend
src/cf.data.pre
src/ssl/PeerConnector.cc
src/ssl/PeerConnector.h
src/ssl/bio.cc
src/ssl/bio.h
src/ssl/support.cc
src/ssl/support.h