2014-01-07 31 views
1

我想使用Siege加載測試https網站並獲得SegFaults。我在OS X Mavericks上使用安裝了使用siege homebrew formula(已打開openssl支持)的Siege 3.0.5。使用圍攻測試https

HTTP工作正常:

$ siege http://www.google.com 
** SIEGE 3.0.5 
** Preparing 15 concurrent users for battle. 
The server is now under siege... 
HTTP/1.1 302 0.67 secs:  261 bytes ==> GET/
HTTP/1.1 302 1.02 secs:  261 bytes ==> GET/
HTTP/1.1 200 0.78 secs: 14409 bytes ==> GET /?gws_rd=cr&ei=H3TMUrb8BojolAXvrYCwBA 

但HTTPS段錯誤(我已經測試過的其他網站比谷歌,並得到了同樣的錯誤)

$ siege https://www.google.com 
** SIEGE 3.0.5 
** Preparing 15 concurrent users for battle. 
The server is now under siege... 
[1] 5789 segmentation fault siege https://www.google.com 
+0

嘿約瑟夫,'otool -L $(圍攻)'的輸出是什麼?我現在不在Mac前面,所以我只能在我的Linux機器上測試它。這是我從'ldd $(圍攻)'獲得的輸出:http://sprunge.us/hbMO。你應該有類似的東西,但不完全一樣。 –

+0

Google在不同的操作系統上顯示了Siege在SegFault方面的許多問題。從虛擬機上運行Siege會是一個選擇嗎? –

+0

下面是我的朋友的mac上的一些更詳細的信息,其中'siege https:// www.google.com'確實工作:https://gist.github.com/shurane/8307728/raw/59e3406d1aca245cfa6b409a7cc16781e569316f/terminal.txt –

回答

1

看起來這是一個錯誤。我正在使用代理服務器進行圍攻。我在我的.siegerc文件中有代理設置。當我刪除代理設置,然後siege https://www.google.com的作品。

+0

你刪除了哪些設置? – smilebomb

+0

@jefffabiny代理主機和代理端口 – JosephL