[tor-dev] Stegotorus now available from gitweb.torproject.org

David Fifield david at bamsoftware.com
Tue Jun 5 20:15:29 UTC 2012


On Mon, Jun 04, 2012 at 09:35:10PM -0700, Zack Weinberg wrote:
> On 2012-06-04 8:13 PM, David Fifield wrote:
> >
> >$ git clone https://git.torproject.org/stegotorus.git
> >$ cd stegotorus
> >$ autoreconf -i
> >$ ./configure&&  make
> >$ ./stegotorus null socks 127.0.0.1:5000
> >[info] ./stegotorus process 28359 now initialized
> >$ tor ClientTransportPlugin "stegotorus socks4 127.0.0.1:5000" UseBridges 1 Bridge "stegotorus 87.73.82.145:8080"
> >
> >I found the bridge IP address in scripts/torrc. At this point stegotorus
> >printed out:
> >
> >[info] 127.0.0.1:5000: new connection to socks client from 127.0.0.1:42233
> >[info]<1>  trying to connect to 87.73.82.145:8080
> >[info]<1.1>  network error in read: Connection reset by peer
> >
> >[error] Segmentation fault at 0000000000000010
> >./stegotorus[0x4054b6]
> >/lib/x86_64-linux-gnu/libc.so.6(+0x324f0)[0x7fcff4cee4f0]
> >./stegotorus[0x40ec11]
> >./stegotorus[0x405f7a]
> >/usr/lib/libevent-2.0.so.5(+0x1bc4a)[0x7fcff5df8c4a]
> >/usr/lib/libevent-2.0.so.5(event_base_loop+0x414)[0x7fcff5dee254]
> >./stegotorus[0x404e76]
> >/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7fcff4cdaead]
> >./stegotorus[0x405291]
> >Segmentation fault
> 
> This looks like a genuine bug - probably failure to handle
> ECONNRESET correctly somewhere.  I'll see if I can reproduce it, but
> it would be helpful to me if you changed your stegotorus invocation
> to
> 
> ./stegotorus --log-min-severity=debug \
>   null socks 127.0.0.1:5000 >& stegotorus.log
> 
> and sent me (off-list) the log file.

So, I don't get the crash today, but also the bridge address is today
accepting my connections. So I can actually get Tor to build a circuit
and everything. This is in stegotorus-null.log.gz.

I also tried against a server that sends a RST to try to simulate what
happened yesterday, but it appears to be gracefully handled. That log is
stegotorus-rst.log.gz.

Sorry, I should have tried this again yesterday. Maybe I had a glibc
version skew or something that resolved itself upon rebooting.

David
-------------- next part --------------
‹àfÎOstegotorus.log íÝËrÛÈàý<–NUÊ! ^@eâmj6Ù$;WŠEQÍŠt‘ É"Ï€” ,{ܶxñÕ̦ÑàÏ¿OŸ{w¿½É¯·ïþÝMçË«h¶ZÞÎßm×Ób¾ZFñU´Ü.Ñf5ûuÅÉèu¯ü/¾ôz½ŸÞÞ\Ì7E¾ÌדՇ¼|Ãrõéþ£ùò]T½äwâÛÕ:ú°^«Ùj±{ûOoçËÛÕ€×)‡¾+ÿy½ÝTÏÍòÍ»Ï—ób>]Ìÿ›ß<›-æù²˜Ô(f×WO¾²Ä”ª~Ù2Ÿí~V±ºÿEû±Ñízu÷hL:Š‡ãúçÍæëÙv^Lfë|ZäWÑÏñ›ýûöŸ×Ïm?lŠò‘»Éíb»y¿ƒQ=Ú‹®+òM´)æ%‘å7ëérs7/¢WËUùÕÕÃ%Qªß³C6)ßtS¿c|ÿŽéÇé|1½^äõÃï§Ë›E>ٍ¹ŠJÚîØÇ|½©~i¿fi‡~²Ú׫í²|uÍÆæatõMÅú·jÖJ˜÷TÌF¯Géë,y÷WY/k¦¾z¨!¦äîͪë'§77“›Õ§åž£ý—•Ÿå7çåç¸zCù¯*¹h(iî±> ¿'¨ôéý´ø[ï1¶?ô&Úlg•pÝnÑ-O„äË?ü¥&»~Ïïæ;鍾8ã›|ys¿üS5YõÓÏýôÇø^ ,ÿš—B­óY>ÿ˜ß<;@Wï'_†]¾çãÃsûwVÐëG"6gÄÖO¿$±ßÀc2èòX8£ G'á1ôC‰l†k©“¥þðô‘™L{i ‘õˆ#ñ8êÐøðð‘YdÃ@ëÇZ×ñ(D›Ç1ù„ɯ!üœÈÏÑá±M<&½´j²ë!/ÎäW,â0	5ˆÃÄ|[7xÄãkŸ~?U?õ8á„s÷õýÞ8t¹7CŽöþ#ðó(³$e=‚ìÃy`œI¼ˆš!ø4ïb+¨“|šwÞ÷!¼ïxüþfÔKè*ºŸî'Ÿ-ÏCې$xº’ô(ÚÁ 'œp²¥—š)S·jSÝJNÌH/ËkÒÎ稝;ê坭×ÿc9Xb˜•N2åë/½ö-Çg—c9%Ö”ßÌš^–¿«¶rÙ;<àx8•ÍM²à3‡ê!rLgëÅa“"5P·#Ö4ICùl†ˆ(ï~Uê?‡ø5?É{ŸÛ•5:åsømÝ£,ä­õÓß²ªúYè±\͐nw3Úž2c3΂ûŒZ듵Å?i›ÆÙ}ÚOX:¿ýË'	SÒOø$fͬ}×{‡IÈk‡	vCÞ›öƒNo?‹<zþþ¸ë‹cû¯møõm[µYÈšÍú4"ïì}ß{ƒnÁ鏳–ÆõmŠÅI,ýuqyø¸7:­7<?<-ýµÐœ|=D¥×|é PGrÆç…ð`çœpÚ—¦¦nM9·Ç¹=]óWÉ Íb9{%–§Žš…¦óåÙç¦Ñ'ä“ÏCêá”å·¦Ä;â8ùQº‘ºXÙ}œçxŽ¹¡9ix·×©†Š?ô›ÃIï›w™ÜÐ_Kf’΄“¯(WMªH¿¸V'•ù‚Ny2y28át7
&­>³SLœiåN=<à]á!'¡~B3„gÈ3”ýàq©U¨§ËUÁ	§õŽOù{œ;-ƒÐ•B–g²Œ¥†N8á„N8õ¸ˆtô1‹Dì‘¡Oá„“•2_êÃꤊÐí­«;P,)–$Uô>œä¿^*ÛÒ&ÛBfeíà„“îÇðp`=6ÎBwã5C:˜ijs.Lm¡ƒw¥‘'¾šsçT?DSòéòé,œêg–ëµJÅyN2_´[­’¢Š.B¡M¬ÒËY¥öäêƱúÙhR¥.'œpÂÉG#UªûêræݼÃ	§ú ì釓6Õ‰–DK¼f8á„S–ÕY*b¾®µåda–‹Î–—²”¶Òkêl<àÁYM§:«ÉÝÇ-ó_:“[W¥à¥«úðöyû²äIY×ëLªè@:Ð~UZN8iU'ЋyU4ðÐ
Ò8÷Ø2'¿»›“2ópÂÉ;u»§mÞu›`ÒځN8åîõCÀÉo°>yOö&Ú›'œì¨Þ¶CM—ÆC0JñŽ^BùlžœpºãÌ]ÜäJ&êeæëE=
þŽõäÔ Zš–6_´ ë'š¢Gt‰ÑO£ËrËr³{ô´(…'œì“gAH¾˜LÝ”F…S¥ïÌÝ!Ï­¦ƒtÜ;Ã]¢rE*â2qmÍ#ÙÉtB®ø}l¨î=Ý{"}º[},
‹Â¢ˆòUŸX>7Ç‘+ö‰}bŸ0IÓÁ	§º˜r¹¾^—‘.#6š/¡Ç†f£é8ùf¼¹UêN
çìÐ÷ôœpòuýÑû扗â¦S»‰d$żú¡X=V¥G «-{`	ûÄ>ñúÈ-§\m*¡At-™w8á´Þy`º,œHI:„®£ëDIpòBY8ɧ¼"ŸV]N]N‘’º\[NÜ·®à„Ó	Eúºøg½>_T^ðëÅw42K§HQMÍ>H§óðsù¹¬Š;yy‘p:Û‘ßd'1OœDñÅíRT­„N8á„S5]5]–Q¶	N8áÔÓ/>n©µW«—ÓSÀî©4èù±>Í-'œ¢Gó®çÇi
ÖœpÂ)så~=xäêrìä
N8á„“§‡I¾
Ÿ™®ƒN}Ü2êl‡Ê‚sRì``AuéÓ¶£á\½¹LòLy¦xÀð€<\.Yêz×#äÆE2Ãrxæ]NÔ.JÒOë9á|’Oòiéc’L+N8á”8Ó¼ íÌÿ†S‡˜ùÒ)+S­wsë'6¡MhÒï̤ÓîŽÁƒõźtúˆÑxÓô>½'ù'WjHì?RŃÌâxÀ.“‡x4
ŽEê!²P¢þ"¹'OâµM»²Í–Ùâ»·®{(	ª„ô_Cù<Ÿ#Å#Í´™n/fÛª¡Í4­3G<òÌ̶Ù6ÛxÄ#ïÌL㏗‡²-{ÒàÛ6ÒÄ=wÏÕ`‡Yp
v¨ê¼%’Ías $“f[œHñˆGú‘~„,âÑlÓ<VñHƒŸeÚÏB·ª4CZ"•vÛ{´šÝpÔ­ÙÕCxnv®æéD
’ä$H÷Ày&ò9N‚=˜z	¡[NŽ“ǤµÃÓèxÎ(çŒê!4	‰r¦¹—S`Aᔇ¾¨»ÞÍÔWfj„®©fˆ™’q>‰}ï˜Õp~2ÛFƒÐt$ó›ûcÓÐÆÓz„Œ"Ižú¤*\¨Üj£¦ æÍ/ã—jƇYh¢ºaýˆ¿à„S†ñâ+ˆ43œOæ}0Mè4Ch+ÈÞdšyo醡êØdçà$ŸòÀv]žo7Wœ_]±2õîêc$ù{œI¸&Ih6^®UMžÏØ„q<J 6Ë[òBàT¡kk8Îǽ8™6}_?Îj¶
aC 6wÖ÷pj¹ØOÔóbž£àNÏQ_ôØÊØ̝	4]îö‰Íè¤Á·˜4CdJœÜ¢âI2U¨^^ªBxqäÓÉt²ºŠ32¦“Ó~°VNu³É´·Ÿ§-;tôŸÉ‹Ð¡çèã¤Ãð{r‡™óÊøb,sûå	;8ïoÛÓy—§‡IY7ÙÁ.ÛÎAp)d÷hÒ¤
*ŸuxÛœ„û‹ÉÊS[òÄ|8õ*ð¡»v{Ñ 8	?Èœ0y¨õi]ñOíî—ÚaßVý—ÃÌÄÏn±~à´³’Çôƒ§ †Ïu,FpÖœ¬ÿÁ
Ò™ób}}Á7÷4C0iësP—î`¤ýõ4ÝN|zV
N8á„ó›ã¥Q\…¬‡ˆ—H&ļÃ)›Üê™,-Ý®÷³»{mÉ„õÃažbmÁk«Ð«VŸ¹JÓ1%|òÐÈ|`8Ù×àÔÅ|†ž(O¿9ŸÔ§ið"MEIò9t3œ¤¿ÍÒŸõ‡Á{æiT²¯ZèÜjyžöæy’àfë!ò<äJ„†Oúù07«¿Ü¯g‘KžûÁgl¾¸~Ÿ/oW¥Óu1Ù¼ßÜ«h¹ZßMÑÃåðù»wù:¿)ßýó—¿ÿòE¯âh¶Z.óY1_-ÿ•›¯gÛò+ÖùÝt¾¬ß½˜oŠ|™¯'³Åj“O¦‹ÅUTý±úAå_êwÜ¥f¿5ûqáµ¢Ÿéæƒs
†žg2ŽGI •ÍãÚú9ÖŠt]Ë|ȽF$–‰e‚ÎïÄÙ÷ê{'(q˜wž¨Ò¶ÕÕ­Ž³‡OZU«(œ6Âuù‚Œ$ÜONàŸWü½)ÊI›ÜäE>+&ùêv÷¦
qß¿êv½ºÛ?F3fX`*á¼ ô2?g“pj9:£ägžüLèdåæ³Åsl–ŽCç»aujd›yϻӎÃ;ÖÐxª·x°£•&ÿr3^l.=÷Í¥Y°Peíõù²¢Ò¦¢FÒy=§QØ6&ÙÇÊ>Æ¡wnÔ#È¥š0œô{‡q‚ÓBçʶÈâ9áÖŽ'k3
ΰ×Cè:čäÿ±O’¤¡m3ļ³õîD“sµ²¬¬Çº:

së,
ONóî˜UõîÄ`½Aè
j†XévaáËuûà;u‡)[O¦èAgËáö¡ëéºü>ûÎû‡>UßzG×ëÕ¯ùÜCô¿êý“¢üQ½ŠŠ‡‡›oýkùS÷·•Ÿ?¶²ùxÜþãçÝ–-)lHØP{øìá‡TC¯¢ü?ó¢zÁÿó3û£ÖJ 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stegotorus-rst.log.gz
Type: application/octet-stream
Size: 566 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20120605/21072430/attachment.obj>


More information about the tor-dev mailing list