@bagder@mastodon.social
@bagder@mastodon.social avatar

bagder

@bagder@mastodon.social

Internet protocols geek at wolfSSL. I lead the curl project. I don't know anything.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

bagder, to random
@bagder@mastodon.social avatar

โ€œI could rewrite โ€

Here's my collection of some less cheerful quotes to keep me firmly grounded. Blogged three years ago today:

https://daniel.haxx.se/blog/2021/05/20/i-could-rewrite-curl/

bagder, to random
@bagder@mastodon.social avatar

Remember to take the user survey 2024 - if you can spare a few minutes.

https://daniel.haxx.se/blog/2024/05/14/curl-user-survey-2024/

bagder,
@bagder@mastodon.social avatar

@eliasr I totally respect that!

bagder,
@bagder@mastodon.social avatar

@patrizia no reason to feel that way. Those features will be waiting for you till that day you'll need them! ๐Ÿ˜ƒ

bagder, to random
@bagder@mastodon.social avatar

writing up a test case on a Saturday to try to reproduce a claimed security vulnerability

and people say I have weird priorities

bagder,
@bagder@mastodon.social avatar

@nf3xn I wish life was that simple!

danderson, to random
@danderson@hachyderm.io avatar

How to tell your OSS is ridiculously popular: people aren't 100% sure they didn't embed it, and tack on the software equivalent of "packaged in a facility where peanuts were also present" to the license list.

This watch contains software, so statistically probably contains at least traces of curl.

bagder,
@bagder@mastodon.social avatar

@victorhck @danderson thanks, I have a few versions of that already on display at https://daniel.haxx.se/blog/2016/10/03/screenshotted-curl-credits/

bagder, to random
@bagder@mastodon.social avatar

Daniel's weekly report May 17, 2024

https://lists.haxx.se/pipermail/daniel/2024-May/000064.html

survey, trurl, TLS 1.3, renovate, release prep, dot onion, graph, slides

bagder, to random
@bagder@mastodon.social avatar
bagder,
@bagder@mastodon.social avatar

@metric_hen then again, transparent proxying always, I say always, end up causing pain sooner or later...

bagder, to random
@bagder@mastodon.social avatar

Welcome Andrew as #curl commit author 1271: https://github.com/curl/curl/pull/13625

bagder, to random
@bagder@mastodon.social avatar

Welcome Juliusz Sosinowicz as #curl commit author 1270: https://github.com/curl/curl/pull/13680

bagder, to random
@bagder@mastodon.social avatar

On the #curl website, you can find 92 video presentations on all things curl: https://curl.se/docs/videos/

Almost 68 hours in total.

bagder, to random
@bagder@mastodon.social avatar

Welcome Antoine Bollengier as commit author 1269: https://github.com/curl/curl/pull/13666

bagder, to random
@bagder@mastodon.social avatar

To use with , use --socks5-hostname or the socks5h:// scheme for the hostname set with -x / --proxy.

curl has worked fine for Tor transfers for decades.

Those options make curl tell the proxy to do the name resolving instead of doing it itself.

bagder,
@bagder@mastodon.social avatar

@spv such "hacks" can't work for normal TCP clients for .onion names for example. But sure, if you want to access a public site on "the other side" of Tor, then it works as well. Just a little pointless.

bagder,
@bagder@mastodon.social avatar

@a000d4f7a91939d0e71df1646d7a48 @spv then how does torsocks work for curl with .onion?

bagder,
@bagder@mastodon.social avatar

@spv @a000d4f7a91939d0e71df1646d7a48 oh right, of course. If torsocks itself can resolve the host, it can just intercept getaddrinfo() and return the suitable IP back to the tool it runs. Sorry, I was clearly not thinking all the way here!

bagder,
@bagder@mastodon.social avatar
bagder, to random
@bagder@mastodon.social avatar

I took my wooden tiles out to meet my lawn and now I have an image for my release presentation next week.

bagder, to random
@bagder@mastodon.social avatar

In the project, being written in C, we always work on simplifying the code. One way is to use more internal helper functions and avoid direct use of some functions that are often involved in C mistakes/vulnerabilities.

To measure how this develops, we count number of these function calls used per every thousand lines of code. Over time.
In a graph.

bagder,
@bagder@mastodon.social avatar

@efi normally they would grow at the same rate as the number of lines and I don't find that too interesting.

I might try a version that adds two plots with the absolute numbers against a second Y axis.

bagder,
@bagder@mastodon.social avatar

@efi this is number of lines of code over time

bagder,
@bagder@mastodon.social avatar

@janvhs I would not call what curl does as "memory management", I would call it helper functions for managing dynamic buffers. And yes, I believe that is common for many C programs.

bagder, to random
@bagder@mastodon.social avatar

Please consider donating a few minutes of your time and answer the user survey 2024:

https://daniel.haxx.se/blog/2024/05/14/curl-user-survey-2024/

bagder,
@bagder@mastodon.social avatar

at 829 responses now. You are all awesome!

bagder, to random
@bagder@mastodon.social avatar
  1. do not assume that URLs will be treated the same cross user-agents.

  2. do not assume that IPv4-mapped IPv6-addresses can be written in octal.

Another day. Another security report against #curl we could close.

https://hackerone.com/reports/2493548

bagder,
@bagder@mastodon.social avatar

@vastodon thank you. Yes, it does take a significant amount of time and effort ... but luckily, sometimes we can get more value out of single issues by sharing the lessons with a wider audience after the fact.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • โ€ข
  • megavids
  • InstantRegret
  • vwfavf
  • mdbf
  • everett
  • Youngstown
  • rosin
  • slotface
  • thenastyranch
  • ngwrru68w68
  • khanakhh
  • kavyap
  • ethstaker
  • DreamBathrooms
  • anitta
  • magazineikmin
  • GTA5RPClips
  • tacticalgear
  • cubers
  • Leos
  • osvaldo12
  • tester
  • Durango
  • cisconetworking
  • modclub
  • provamag3
  • normalnudes
  • JUstTest
  • All magazines