Questions tagged [beast]

The “Browser Exploit Against SSL/TLS” is a vulnerability of the TLS 1.0 protocol discovered in 2011.

See tag beast-websockets for C++ Beast HTTP/Websocket library

61 questions
6
votes
2 answers

Trying to understand the boost::beast multibuffer

The Beast websocket example stores the data in a multibuffer: The implementation uses a sequence of one or more character arrays of varying sizes. Additional character array objects are appended to the sequence to accommodate changes…
Waldorf
  • 833
  • 2
  • 13
  • 24
6
votes
1 answer

How to redirect from HTTP to HTTPS with Beast C++ library?

I am studying the Boost.Beast library. I try to make a request whose response is: HTTP/1.1 301 Moved Permanently Cache-Control: public Content-Type: text/html; charset=UTF-8 Location: https://www.example.com/target/xxx/ Then, I try to make a…
Juan Solo
  • 359
  • 1
  • 5
  • 17
6
votes
1 answer

Does the JSSE in Oracle JDK8 implements TLS Fallback SCSV?

It looks like JSSE in OpenJDK version 8 does not implement RFC7507. There is an open defect in OpenJDK bug tracker: JDK-8061798 But there is not much information about the Oracle JDK. Does the Oracle JDK version 8 implement TLS Fallback Signaling…
3
votes
1 answer

boost/beast io_context, is it possible to call it for a second run()

I've got simple io_context object which is used to initialize ssl_stream object (using async_resolve, async_connect and async_handshake). On a different scope, it's used to call async_read and async_write to pass IO in that connection. the async…
Zohar81
  • 4,554
  • 5
  • 29
  • 82
3
votes
1 answer

Sending async https request using boost/beast

I had a synchronous method that send https request using http::write and than expect to read it's response using http::read. However, in order to add timeout I had to move to async calls in my method. So I've tried to use http::async_read and…
Zohar81
  • 4,554
  • 5
  • 29
  • 82
3
votes
2 answers

Boost inflate algorithm decompress

I am developing a simple test code using Websocket client using c++ boost. A server I get response from says I need to decompress messages using inflate algorithm. I found out there is deflate option in boost Websocket library but it did not work.…
wwwwe
  • 127
  • 1
  • 7
3
votes
1 answer

boost beast sample to send post

I'm getting the following response and I don't know how to identify the problem. Fiddler doesn't capture anything so I believe the request is not being sent out. HTTP/1.1 411 Length Required Content-Type: text/html; charset=us-ascii …
Walter
  • 43
  • 1
  • 4
3
votes
1 answer

Performance drop on port from Beast.1.0.0-b66 to Boost.1.67.0.Beast

I have observed a precipitous drop in performance (and dramatic increase in CPU consumption) on migrating from Beast.1.0.0-b66 (using Boost.1.64.0) to Boost.1.67.0.Beast (i.e. with Beast integrated into Boost). No doubt I've done something wrong,…
badfd
  • 63
  • 7
3
votes
0 answers

Enabling AES_128_CBC and RC4_128 for JDBC connections to MS SQL Server 2005

To ensure backward compatibility of my application, I'm testing JDBC over TLS behaviour when an MS SQL Server version vulnerable to CVE-2011-3389 is used (any 2005, or 2008/2008R2 w/o service packs fit). In theory, two options are available: either…
Bass
  • 4,977
  • 2
  • 36
  • 82
3
votes
3 answers

protect tomcat 6 apr SSL against BEAST attack

We run a web application on Tomcat 6 using the native Apache Portable Runtime SSL connector to provide SSL connectivity. How can we configure the server to prevent against the BEAST attack?. The suggested solution (1) can not be configured in the…
rogerwilco
  • 41
  • 1
  • 7
2
votes
1 answer

Rbeast Time Series - Weird Time Axis In Plot

I am looking into ambient air pollution within regions of NSW and conducting a daily time series decomposition analysis using Rbeast to investigate if there is a change point signature around the time of Covid-19 lockdowns. I have created a looping…
Hannah0575
  • 21
  • 2
2
votes
1 answer

Why we can reuse a moved socket_ in acceptor_.async_accept?

Reference: https://www.boost.org/doc/libs/1_35_0/doc/html/boost_asio/reference/basic_socket_acceptor/async_accept/overload1.html boost::asio::ip::tcp::acceptor acceptor(io_service); ... boost::asio::ip::tcp::socket socket(io_service); // you have…
q0987
  • 34,938
  • 69
  • 242
  • 387
2
votes
0 answers

Using co-routines in boost::beast websocket implementation - support parallel message handling

I'm using secure websocket boost::beast implementation and I'd like to be able to receive new message while current one is being handled. So I've chosen to try it using co-routines (method with yield) this is my websocket object : using Websocket…
Zohar81
  • 4,554
  • 5
  • 29
  • 82
2
votes
2 answers

Boost- WebSocket handshake was declined by the remote peer

I`m trying to connect to Kraken websocket API.But i got "The WebSocket handshake was declined by the remote peer" error. I`ve wrote a wrapper class for websocket and rest api client of exchanges.It works well with Binance websocket APIs,but Kraken…
mathew sada
  • 77
  • 1
  • 6
2
votes
1 answer

Handling large http response using boost::beast

The following code use to get http response message: boost::beast::tcp_stream stream_; boost::beast::flat_buffer buffer; boost::beast::http::response res; boost::beast::http::read(stream_, buffer,…
Zohar81
  • 4,554
  • 5
  • 29
  • 82
1
2 3 4 5