[tor-bugs] #12387 [Tor bundles/installation]: (Some) Pluggable Transport binaries are not stripped

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Dec 5 01:46:29 UTC 2014


#12387: (Some) Pluggable Transport binaries are not stripped
-------------------------------------+-------------------------------------
     Reporter:  gk                   |      Owner:  dcf
         Type:  defect               |     Status:  assigned
     Priority:  normal               |  Milestone:
    Component:  Tor                  |    Version:
  bundles/installation               |   Keywords:  tbb-testcase,
   Resolution:                       |  TorBrowserTeam201412
Actual Points:                       |  Parent ID:
       Points:                       |
-------------------------------------+-------------------------------------

Comment (by dcf):

 Replying to [comment:19 mikeperry]:
 > To find the current culprits, cd into a Tor Browser directory and run:
 > {{{
 > find Browser/TorBrowser/Tor/ -type f -executable -exec file {} \;  |
 grep "not stripped" | less
 > }}}

 ...which in https://archive.torproject.org/tor-package-
 archive/torbrowser/4.0.2/tor-browser-linux64-4.0.2_en-US.tar.xz gives:
 {{{
 $ find . -type f -executable -exec file {} \; | grep "not stripped" | sed
 -e 's/: .*//'
 ./libgmpxx.so.4.3.3
 ./libgmp.so.10.1.3
 ./libgmpxx.so
 ./libgmpxx.so.4
 ./libgmp.so
 ./PluggableTransports/M2Crypto/__m2crypto.so
 ./PluggableTransports/fte/cDFA.so
 ./PluggableTransports/zope/interface/_zope_interface_coptimizations.so
 ./PluggableTransports/twisted/runner/portmap.so
 ./PluggableTransports/twisted/test/raiser.so
 ./PluggableTransports/twisted/python/_initgroups.so
 ./PluggableTransports/twisted/python/sendmsg.so
 ./PluggableTransports/Crypto/Util/strxor.so
 ./PluggableTransports/Crypto/Util/_counter.so
 ./PluggableTransports/Crypto/Hash/_RIPEMD160.so
 ./PluggableTransports/Crypto/Hash/_SHA256.so
 ./PluggableTransports/Crypto/Hash/_SHA512.so
 ./PluggableTransports/Crypto/Hash/_MD2.so
 ./PluggableTransports/Crypto/Hash/_SHA384.so
 ./PluggableTransports/Crypto/Hash/_SHA224.so
 ./PluggableTransports/Crypto/Hash/_MD4.so
 ./PluggableTransports/Crypto/Cipher/_ARC4.so
 ./PluggableTransports/Crypto/Cipher/_CAST.so
 ./PluggableTransports/Crypto/Cipher/_DES.so
 ./PluggableTransports/Crypto/Cipher/_Blowfish.so
 ./PluggableTransports/Crypto/Cipher/_ARC2.so
 ./PluggableTransports/Crypto/Cipher/_AES.so
 ./PluggableTransports/Crypto/Cipher/_DES3.so
 ./PluggableTransports/Crypto/Cipher/_XOR.so
 ./libgmp.so.10
 }}}

 The files have size 4.0 MB unstripped, and 2.5 MB stripped.

 {{{
 $ FILES="$(find . -type f -executable -exec file {} \; | grep "not
 stripped" | sed -e 's/: .*//')"
 $ du -h --total $FILES | tail -n 1
 4.0M    total
 $ strip $FILES
 $ du -h --total $FILES | tail -n 1
 2.5M    total
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12387#comment:20>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list