OpenSSL server - FreeBSD/Ubuntu

Niklas Hallqvist niklas at appli.se
Wed Feb 3 11:35:09 CET 2021


It's a rather open question you are posing, your problem could be almost anything.
Please provide more input.  Does this happen even in the simplest localhost scenario?
When you say thee server "stops", what does that a mean?  Does it crash, spin, block on network input,
Block on anything else (like on getting some resource it needs to deal with the client provided data, like an output pipe)?

You just have to give a lot more information.

Otherwise tcpdump, various system call tracers (like Astrid hinted about), potential libcall tracers (like ltrace) and
Since you are writing your own server, a debugger like gdb, are your friend.

/Niklas


> On 2 Feb 2021, at 21:32, G Hasse via BUS <bus at stacken.kth.se> wrote:
> 
> Hi!
> 
> I don't know if this is a BUS question - but if not - forgive me!
> 
> I am trying to write an openssl server, and have som problem.
> 
> A client is sending binary packets with SSL_write, and a server is reveiving with
> SSL_read. Everyting is OK until about 1500000 bytes are sent. Then the server
> just stops...
> 
> Is there any ideas how to investigate this?
> 
> // GH
> 
> -- 
> Göran Hasse
> Raditex Control AB
> Boo 229, 715 91 ODENSBACKEN
> tel: 070 5530148
> mail: gorhas at raditex.nu
> _________________________________________________
> BSD Users Sweden -- BUS at stacken.kth.se
> https://lists.stacken.kth.se/mailman/listinfo/bus
> 



More information about the BUS mailing list