I'm trying to learn how to parse SANs in C thanks to the source code of curl https://github.com/curl/curl/blob/935e1f9963a12ac1a880df538b23b824d2fea7bb/lib/vtls/openssl.c#L2073

Why? I would like pgBackRest to parse SANs before CN because CNs are deprecated for years and they are optional.

The problem is that no matter how hard I try to learn and write C, I fail.

I tried to implement Proxy Protocol for PGbouncer and PostgreSQL, failed.

I could open an issue, wait for a fix and cross my fingers or pray the gods, but I don't want to overload the project. My issue is not that important. What's important to me is the personal reward of contributing to open source. I want to learn. I want to contribute. I want to be a little part of the movement.

You should ask Claude they say. It will be fun they say. I'm not ready for that. I don't want to bypass everything for one of my side projects. But in the meantime, I'm frustated of failing. This is very tempting I must admit.

#opensource #curl #pgbackrest #pgbouncer #postgresql #ai

curl/lib/vtls/openssl.c at 935e1f9963a12ac1a880df538b23b824d2fea7bb · curl/curl

A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, MQTTS, POP3, POP3S, RTMP, RTMP...

GitHub

@bsi

Ich gebe mal ein konkretes Beispiel:

#curl is EVERYWHERE!!!!!

Curl ist quasi der kleine Stein im xkcd Comic, der das Internet zusammenhält. Es ist überall drin! Selbst auf dem Mars, um den Mond herum und in Atomkraftwerken genutzt.

Aber wie @bagder es auf der nächsten foss-north sicherlich dediziert darlegen wird, ist folgendes das Problem:

@bekopharm Don't be fooled though, #curl can still initiate IPv4 connections even with the -6 option!

Because "::ffff:1.2.3.4" and "64:ff9b::C000:B00B" are valid #IPv6 addresses that represent the IPv4 interface. I found out the hard way when someone thought it would be funny to put that in their AAAA record... 😅

Oh neat, #curl has a `-6` option to use only #IPv6. That is exactly what I need to update some dynamic DNS entry with my domain registrar regularly via their HTTP API - saves me the trouble to parse the current IP at all 😁

It's Friday so maybe try out a new #curl graph? A variation of the classic vulnerability reports C mistakes vs not C mistakes, but with bars per year.

https://github.com/curl/stats/pull/34

cvuln-per-year: Vulnerability reports C mistakes vs not C mistakes by bagder · Pull Request #34 · curl/stats

As a bar graph per year

GitHub
@renchap @AndresFreundTec the #curl project is fortunate to have GitHub as a sponsor so we get a lot of CI CPU in their infra for no money == we run most of our CI on GitHub
@rixx Could you stay on the train and we send you some #curl testcases now and then? Those are interesting network conditions… 💁🏻‍♂️

From my perspective not only what you have pointed out, is horrific
The following DANGEROUS outcome is also looming for everyone globally

  • Inability to buy critical parts for Computing Systems vehicles medical devices because of greed of the manufacturing Triple Cartel

  • LLM crafted Ponzi Schemes

  • Dubious role of USA based companies and proxies

  • Unwilling Supreme Court and regional Court Systems and District Attorneys to hunt down and disable Ponzi Schemes

  • Facilitating US government in all

This is the housing Ponzi Schemes repeated

Thank you for your wonderful input
🦋💙❤️💋#Lobi 💙💕🌹💐💙🦋

@rl_dane

#curl #LLM #hallucinated #slop #AI #InfoSec #programming #technology

Does this mean that you shall also stop using curl?

AFAIK Daniel doesn't care what is used to find bugs

@rl_dane

https://mastodon.social/@bagder/116373716541500315

#curl #LLM #hallucinated #slop #AI #InfoSec #programming #technology