Comments (5)
The problem is that scripts_retention.py
executes the scripts as normal executables (it doesn't import them to execute), so it doesn't have any special impact on the runtime of it, it can only change environment variables and/or command line options.
Using the socket.setdefaulttimeout
won't work because the default is always overriden:
tlsfuzzer/tlsfuzzer/messages.py
Lines 65 to 85 in dbd56c1
Adding support for -t timeout
to all script would be the better. Not sure why you think integration would be harder, there's support for common_arguments
to pass -t timeout
to all scripts (including option to override it on a per-script basis), e.g.:
tlsfuzzer/tests/tlslite-ng-random-subset.json
Lines 362 to 363 in dbd56c1
from tlsfuzzer.
there's support for common_arguments to pass -t timeout to all scripts (including option to override it on a per-script basis)
Oh, ok; I wasn't aware of that option.
Adding support for -t timeout to all script would be the better.
One more thing that might prevent this is that test-tls13-count-tickets.py
uses -t
for a different meaning (ticket count).
from tlsfuzzer.
One more thing that might prevent this is that test-tls13-count-tickets.py uses -t for a different meaning (ticket count).
hmm, technically it's reserved for the timeout:
tlsfuzzer/scripts/test-conversation.py
Lines 63 to 64 in dbd56c1
but yes, that script is the exception, we may need to break compatibility on it
from tlsfuzzer.
I've been thinking a bit more about it, and I wonder if it really just wouldn't be better to change the timeout on that one (test-tls13-ffdhe-sanity.py
) script (maybe even make its default larger in the script proper)...
The thing is that 5 seconds for a reply, especially on a localhost is quite generous, but this particular test runs through all the different FFDHE key sizes, and 8192 bit DH is really slow, so on an overwhelmed CI host I can imagine the calculation alone taking 5 seconds... At the same time, even the slowest ECDH should be faster by few orders of magnitude, same for 2048bit DH, so other scripts shouldn't really be impacted.
from tlsfuzzer.
fixed by #782
from tlsfuzzer.
Related Issues (20)
- The Bleichenbacher test script should also check numbers bigger than modulus
- Progress reporting for packet parsing
- More bootstraps and bigger confidence interval support
- Change py3.9-dev to py3.9 in CI
- Document the current state of the fuzzer HOT 2
- Travis-CI is dead, we need to migrate to Actions
- regression in EXP-RC4-MD5 in SSLv2
- How to get ClientHello message in HEX form before sending? HOT 3
- Help:How to test scripts without Application data HOT 3
- tlsfuzzer is not compatible with python3-3.10.0~b4-3.fc35.x86_64
- Handle new curves/add brainpool TLS 1.3 definitions
- CI fails with crashing server on Python 3.3, 3.6 HOT 4
- QUIC transport parameters extension HOT 1
- TLS 1.3 0-RTT Handshake without EndOfEarlyData
- Crash in key generation with m2crypto
- A question about signature algorithm HOT 3
- scripts/test-aesccm.py missing connect HOT 3
- tlsfuzzer discord server
- Prevent 'add_child' from overwriting the 'child' (raise error) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tlsfuzzer.