blog.darkstar.work - a simple url encoder/decoder

 a simple url encoder/decoder
 http://blog.darkstar.work

Labels

Wirtschaft (149) Pressefreiheit (124) Österreich (120) IT (96) code (61) Staatsschulden (37) EZB (27) Pensionssystem (16)

2024-04-25

Making symetric chiffer encryption strong again

When students in the 2nd semester type on the laptop during the lecture or start talking, Professor Gerd Baron always repeated very loudly that's what's all about:

We have a universe here and 
it's all about of the number of arrangements in a finite set.

Professor Gerd Baron of Mathematics in his modified lecture for computer scientists, where he claimed graph theory and combinatorics and weighted models (for traveling salesmen or ip routing in, to understand better things, we needed later like equal costs => multipath)

plain text ⟶ 3DES PBox → AES → 2blowfish ⟶ chipher text
chipher text ⟶ 2blowfish → AES → 3DES SBox ⟶ plain text

plain text ⟶ AES ⟶ 2blowfish ⟶ 3DES PBox (scrambled) ⟶ chipher text
chipher text ⟶ 3DES  SBox(scrambled) → 2blowfish → AES ⟶ plain text

you also can remix it per good random numbers like

3DES = 0x1
AES = 0x2
2Fish = 0x4
Serpent = 0x8

So 0xBC for encryption would mean 0xCB for decryption

plain ⟶ (3DES→AES→Serpent) ⟶ (2Fish→Serpent) ⟶ encrypted
encrypted ⟶ (Serpent→2Fish) ⟶ (Serpent→AES→3DES) ⟶ plain 

Mathematicians and computer scientists at the high school level are not becoming fewer, but many islands in Oceania will soon no longer exist.

Arctic circel is even becoming more green, no more ice at north pole and less in greenland:


2024-04-14

How to enable ipv6 (inet6) in AWS EC2 VPCs, Subnets, Network interfaces and instances

This is a very quick and walk through documentation, how to enable ipv6 addresses and ipv6 networking in AWS (Amazon Web Services) E2C instances.

Ensure that virtual hardware is enabled for ipv6

In this section, we check if VPC, Subnets, Routing Tables and Network Interfaces are ready for ipv6.
It's a walkthroigh in form of (examine, check, enable ipv6 <= if not already enabled).

2024-04-06

Die Scheidung - eine oft problematische Entscheidung mit einem Rattenschwanz an Folgen

Leider lassen sich zu oft viele Ehepaare scheiden. Meistens dort, wo Nachwuchs Kinder vorhanden sind.

Die Scheidung ist meist nicht nur ein ökonomisches Deasaster, sondern viel mehr auch immer öfters geht eine psychsiche Krise und genereller Vertrauensverlust mit dieser Entscheidung einher.


Finanzielle Probleme bei der Scheidung

Lebte zuerst eine Familie gemeinsam in einer Wohnung oder einem Haus, dann sind auf alle Fälle 2 Wohnsitze, 2 Autos, sämtliche Versicherungen doppelt zu zahlen. Rasch vom Zaun gebrochene Scheidungen bewirken meist, dass der aus dem gemeinsamen Haushalt ausziehend Partner nicht genügend Zeit hat um das günstigste und best zutreffende Wohnungsangebot einzuholen, aber meist der Ausziehende am störksten psychisch belastet wirkt und in dieser Sitiation oft schlechte Entscheidungen bei der Wahl der neuen Bleibe trifft (und vielleicht aufgrund der spontan geänderten Lebenssituation nicht einmal genau weiß, wie sein zukünftiges Leben nun verlaufen wurd.)
Auch Auszahlungen und der Verkauf bei gemeinsamen Eigentum stellen hier in diesem Falle ein sehr hohes Risiko dar. Auch Grundbuchänderungsgebühren müssen gezahlt werden.
Viele Dinge, die sonst vertraglich oder mündlich sehr klar geregelt wurden, werden im Fall der Scheidung durch Annahmen und Erwartungen verzerrt und es entsteht zunehmende (Rechts-)unsicherheit.

Vertrauensverlust nach der Scheidung

Normalerweise ist der (Ehe-)Partner die Hauptvertrauensperson.Man beredet Sorgen, geht berufliche Entscheidungen durch, findet bei Problemen auch mit Dritten im Dialog mit dem Partner die besseren durchdachteren Lösungen.
Nach Scheidungen ist in den meisten Fällen, die ich kenne (auch meinem eigenen), die Gesprächsbasis, das Vertrauen, Einsicht, Umsicht, Empathie für das Gegenüber und der Wille zur weiteren Kommunikation weg. Ansatt eines guten Freundes und Vertrauten / bester Freundin und Vertrauten hat man/Frau es plötzlich mit einen teilweise feindseeligen Widersacher mit unklaren oder sogar möglicherweisen böswilligen Absichten zu tun. Dies hat teilweise weitere Gerichtsstreitigkeiten zur Folge, die man/Frau teils psychisch weiter belasten. Auch in neuen Firmen wirkt es nicht gerade vorteilhaft, wenn jeman im Probemonat 2-3 Gerichtstermine wahrnimmt und sowas erschwert möglicherweise auch Vorankommen  / Wiedereinstieg in den Beruf.

Alimentäre Verpflichtungen im Fall der Erwerbslosigkeit

Leider egal ob es sich dabei um vormals tüchtige disziplinierte sehr arbeitsaffine Berufstätige oder um Lebenskünstler handelte, fast jeder geschiedene  Unterhalt- und alimentpflichtige Vater, aber auch so 1-2 alimentpflichtige Mütter mit Ex-Hausmännern, (die ich kenne) kamen irgendwann in die Situation von Erwerbslosigkeit und nahmen in Folge die Versicherungsleistung des Arbeitsmarktservice in Anspruch.
Leider konnten viele während des Bezug von Arbeitslosengeld Alimente und eigene Lebenskosten nicht mehr zur Gänze bezahlen.
Da die Nichtzahlung von Miete, KFZ-Versicherung, Strom & Gas oder Kreditrückzahlunegn meistens sofort drastische Konsequenzen mit sich ziehen, entschieden  sich fast alle in Folge bei Kindesunterhalt und Alimentzahlungen ihren Verpflichtungen NICHT nachzukommen.
Meistens - so wie es Gott will, erbarmten sich die bereits pensionierten Eltern des Betreffenden / der Betreffenden Unterhalt oder Zuschüsse für ihr Enkelkind zu leisten.
So gut wie nur noch die älteren Pensionisten sparen und mit ihren noch stattlichen Altpensionen solche Zahlungen unbeschwert verantwortungsvoll tätigen, so wenig sind die Ex-Partner in Folge vor den möglichen Konsequenzen gefeit.
Es gab Ex-Partnerinnen / Ex-Partner, die sich in dem Fall von falschen Freunden aufstacheln ließen und Regress- und Abmahnforderunegn trotz Unterstützung durch die Eltern des Ex-Partners. Egal, ob es zu einer gerichtlichen Exekution kam oder diese nur einmal prinzipiell angedeutet oder (Absicht) vorbereitet wurde, das Vertrauen beider Sippen brach dann endgültig, da keinerlei Rechtssicherheit in diesem Fall für irgendwen garantiert werden kann.
Gab es bis zu diesem Zeitpunkt noch Kontakt seitens einer Familienseite zum Kind / zu den Kindern, wurde dieser in Folge diese Cirus Maximus dann meist endgültig beeendet und es blieb herbe Enttäuschung, große Härme, für immer verspieltes Vertrauen und auch oft vollkommene unüberbrückbare Distanz für die Ewigkeit über.

Was ich mit diesem Artikel sagen will?

Bitte bedenkt all diese Probleme und versucht, wenn sich die Scheidung nicht vermeiden lässt, zumindest eine sachliche konstruktive lösungsorienteierte Kommunikationsbasis zu behalten / wieder zu erabeiten. Es vermeidet mißtauen, Unsicheheit, aus der Unsicherheit entstehende falsche Entscheidungen, Grüblereien und negative Emotionen.  

Epolog Fazit:

Bisher schenkte ich jedem Kind in meinem großen Bekanntenkreis, welches gerade von Alimenteausfall akut bedroht war und von den Großeltern des Ex-Partner auch noch eine kleine Unterstützung bekam, eine kleine silberne oder goldene kleine Münze. Diese Münzgabe verhinderte meist einige Zeit lang noch die vollkommene Entfremdung zum ausgezogenen / verbannten Elternteil, dauerhaft konnte aber diese kleine Münze auch keine großen Wunder berwirken!

2024-04-05

Great companies on alibaba with impressive solutions

Qingdao HenryD Wind Power Equipment Co., Ltd.

green renewable energy
https://hldwtg.en.alibaba.com/

Helios Technology Co., Ltd.

green renewable energy
https://evhelios.en.alibaba.com/

Guangzhou Sary Electronics Co., Ltd.

Master key systems, fingerprint sensors, elctomagnetic lock
https://sary.en.alibaba.com/

Shanghai Pinnxun Electric Motor Co., Ltd.

https://pinnxun.en.alibaba.com/

Fuchun Industry Development Company

hydro turbines (please check IP)

Shenzhen Qinda Electronics Co., Ltd.

electronic process automation
https://qindamodule.en.alibaba.com

Other subdomains:

2024-03-28

system library:BIO_connect:Connection refused:../crypto/bio/bio_sock2.c

I got the strange error message 
system library:BIO_connect:Connection refused:../crypto/bio/bio_sock2.c
on executing 
openssl s_client -starttls smtp -connect mail.area23.at:587
when testing sendmail smtp tls with an Let's Encrypt SSL certificate.

If you got the same error message, ensure that
  1. sendmail is running (on mail server / relay host)
    test it with init rc script 
      /etc/init.d/sendmail status
    or simple by process listing tools, like 
      pstree | grep sendmaail
      pidof sendmail-mta
      ps fauxwww | grep sendmail
    and network server socket is bound 
      netstat -avn 2>&1 |less
    or fuser and your sendmail port
      fuser -v -n tcp 25
    or various variants of lsof, like
      lsof -i TCP:25

  2. sendmail is well configured (on mail server / relay host)
    this will take a little bit too long for that article
    in my case it was a wrong IPv6 address in sendmail.mc

    DAEMON_OPTIONS(`Family=inet6, Name=MTA-v6, Port=smtp, Addr=2600:1f14:1d6d:f202:8d53:fc57:c45d:6590')dnl
     
  3. mail server is reachable from outside 
    test it with 
     telnet [mailserver] [port]
    or brutal way with a network scanner, like nmap
      nmap -p 25,465,587 [mailserver]

    if mailserver is not reachable from outside, 
    then you must lookup on server and on client firewall rules, e.g
    .
      iptables -t filter --list
      iptables -6 -t filter --list
You could also simply run strace to see, what happens:
  strace openssl s_client -starttls smtp -connect mail.area23.at:587

strace openssl s_client -starttls smtp -connect [mailserver] [port]

2024-03-12

par coole trendy Firmen aus Deutschland

bereits top (vielleicht sogar etwas over the top):

2024-03-07

html uft-8 symbol generation shell script

I wrote tonight a short uft-8 html escapes generating shell script,
see script generated results here: https://area23.at/utf8/.
#!/bin/sh
# generates uft-8 symbol html reference

outtext=utf8_pre_sym2000.html

modHex=256
modFF=255
modZero=0
shx=1024

printf "<html>\n<head><title>utf-8 symbol></title></head>\n<body>\n\t<h1>UTF-8 Symbols</h1>\n\t<div><span>\n" > $outtext

while [ $shx -lt 16384 ] ; do

        modZero=$(echo "$shx % $modHex" | bc)
        if [ $modZero -eq 0 ] ; then
                printf "\n<h2>hex x%x ~ dec %d</h2>\n" $shx $shx >> $outtext
                printf "\n<pre>symbol\thex x%x \tdecimal %d \t.\n" $shx $shx >> $outtext
        fi

        printf "&#x%x;\t&#x%x;\t&#%d;\t.\n" $shx $shx $shx  >> $outtext

        modFF=$(echo "$shx % $modHex" | bc)
        if [ $modFF -eq 255 ] ; then
                printf "</pre>\n" >> $outtext
        fi

    shx=$(echo "$shx + 1" | bc);
done

printf "\n\t<hr />\n\t</span></div></body></html>\n" >> $outtext


see full script at pastebin.com/0aNumds1 

hexsym.sh

2024-02-26

Danger of huge monopolisation and checks and balances to keep up a living strong democracy

(Draft)

Monolopy (Conspiracy theory warning)

In mercantilism owning and potentially using a monopoly was considered as tactical advantage. Think about it, that China soonly has a monopoly on a lot of industrial products, but most of China's hardware exoported have an american, south korean or japanse label. 

When there might be a common closed source smart phone. personal computer or smart phone with only one operating system with market dominance over 90%, then we might run into a trap.

If later then, disassembling, reversing engineering is punished with high penalties and international legal claims, then social credit program can be introduced step by step by backdoor.

If your social credit is negative, then you might not have all functions enabled (on your monopoly phone or monopoly personal computer) (THIS MIGHT BE VERY DANGEROUS)


Attention, Huawei, Chinas biggest smart-phone brand and ready to soonly be main player also in african markets, is still android and open based on open source linux and I don't claim, that China will use such practices. But there is no guarantee, that US or Chinese companies would develop or exrend their powers to collect more data or control more individuals in entire world by monitoring them permanently. 
In open system, you can choose a other os to install on every hardware. I remember, that Sony Playstation implemented an other OS bootloader, where you could run linux on it. The community demanded it. Today no one tries to recommand LineageOS compatbility on Smart-Phone hardware.

Balances & checks for free democracies


Freedom of media index

Multiple independant print & internet media or different media blocks. +1

Fact-Checking in more serious media. +0,5

Double Fact checking, interviewing all stakeholders. +0,5

Different TV stations and radio stations in country.. +1

Access to satellite tv or streamed news in internet +1

Access to different ISPs. foreign western Proxy Services, entire Internet and Tor Onion Router +1

Possibility to blog, moderate in blogs and internet media and not permanently censhorship (censorship, when hawkishing a little bit to much for hours until 1 week is OK). +1

Possibility to report over public events in blogs, media, internet media like X or Facebook, you need special permission and agreement from company, private person and NGO, when reporting inside over companies, NGOs, military and private persons private sphere (concerning e.g. product placement, innovations, sexuality or belief). +1

Tolerate whistleblowing like in the US, when reporting over complicated human rights violences of foreign troops in war. +0,5

Storry telling, conspiracy theories and narratives are marked with a recognizable symbole, e.g. +0,5

Civil & business & companies rights

9 basic points

The word church in follwoing could also mean shrine, temple, stone circle, lgbt community or any religious monoment or place.

Freedom of assembly (if missing -4)

  • Right for workers to join a labor union or representation of employees.
  • Right for companies to join a free foundation or trade guild.  

  • Right to join a religious community or free church (no hierachically bottom up grassroot foundate non state church).

Freedom of speach, freedom of art and freedom of posts without state sanctions (exception national socialists content, radical djihadist content, stalinist content in some countries)   (if missing -4)

Right to work self choosen and startup again after phase of unemployment. Right to work no matter what in company, NGO as free artist, freelancer, whatever ... (for some non free profession, like medical doctor or train man you need a special prooved certificate or degree) (if missing -4)

Right to found, own, buy (part of) a company or poperty, right to own stock market values, money, gold, derivates, freedom to choose bank and payment provider and freedom of trade  (Excpet US patriot act or sanctions against countries as US ally) (if missing -5)

Right for worker to leave company (inside a certain time period, normally 0-3 months) when getting a better offer without extreme high penality for joining another company. Right for companies to hire & fire women & men inside a certain time period (normally 0-3 months). (if missing -4)

Right to vote, right to protest and right to access basic state services for every citizen. (if missing -4)

Freedom of operating system, freedom to choose between open & closed source and freedom to develop after a free choosen license, e.g. BSD, Apache, GNU, MIT, closed source). (if missing -4
(Standardized licenses for paying and billing closed source, 3-10 categories would be nice, like renting software as a service like office 365, paying a cloud provider on network and CPU and storage using, installing a software and paying for year a guaranteed support, ...)

Right on abortion, if both mother & father agree to it, because otherwise they would be slaves, owned by a landlord in law. Free citizens should have that right. Don't bring slavery back to US. (if missing -5)

Right to have a own sexuality, freedom for adults to have sex if both agree (maybe after rules of their church), right to marriage (maybe after rules of a church or federal state). (if missing -3)

Right to adopt non adult childs, if parents or next familiars (if parents death) of children agree to it and have a permanently visiting right at least all 2 weeks. Maybe a free NGO check is needed, that this is good too. (if missing -3)

Non discrimination rights and possibility to protest against it or go to an independant court. 
(In private companies I saw and experienced discrimination very rarley, but at civil services or police or public high schools, this is happening some times).  (if missing -2

Right of an independent and fair judgement (maybe right to have a second independant judge, if court is politically motivated).  Right of comparison between companies or private persons (both agree that one pays the other a fee of 100US$ of causing pain per day) (if missing -3

Right to wear waepons for veterans (who served at national army with locked and loaded waepons).  (if missing -1

Right for people over 16 to drive a car, ride a byke, bicycle (maybe a confirmed license is needed, horse, donkey, drink whiskey (of course not when riding or driving a vehicle) and smoking natural herbs, tobaco (but no opiods). (Maybe the right of your church doesn't allow some parts).  (if missing -2

Right to have a save and proper enviroment: State can ban bear, wolfes or elephant hunts or shutting birds or using animals for bio-nano technolgy experiments.  (if missing -2

Denied: Experiments with human beeings without their agreement (signed and 3rd party validated) (like milkram experiment) is forbidden. Long time studies of human beeings. (if missing -4

Right to access independent technology to scan your genom and verify children and parents, if they agree. (if missing -2



Social rights:

(For Europe, Great-Britain. Brazil and ???): Right of small social security (at least 1000US$ per month), if you get unemployed or need assistence.  (if missing -3) (State money transfer over 150.000 US$ per year without doing anything is strictly forbidden. Excluded: Fees from private companies as a free services for long employment, excellent performance or great innovation or great ad value).

Right for every cirtizen to access as citizen public libraries with internet access with a legitimated identifying card.

Right to repair wikipedia, right of elected assembly to transfer special money to some urgently needed NGO task forces, like open source foundation, wikipedia, ...

Right for jobless people to getting courses to be ready for a new job, where they are only 40% - 80% qualified and not enough fit 4 work.

To be continued ...






2024-01-20

Great ipv6 news from austrian mobile networks

Great ipv6 news from austrian mobile networks

Allmost all mobile providers in Austria implemented ipv6 protocol for 3G/4G/5G mobile net. 
When running ifconfig inside an android terminal, you can see, if ipv6 is already enabled at your device.

I tried to ping6 my little amazon server ipv6.darkstar.work and ping6 over icmp succeeded. 


When pinging6 from android, I started a tcpdump on my little amazon server in Oregon, to see if packets are coming well through.
Then, I tried to ping6 in the opposite direction and was so delighted. that the icmp6 ping6 from amazon subnet in Oregon passed without routing or netfilter blocking problems to my android device.



I was courious, if a service broker from the internet could reach a server socket on my android, so I installed Simple HTTP Server:


I tested my local android device http server successfully by using curl, wget, lynx and a test once from Tor Onion Router.
 
You can use of course another http fs server, like:

2024-01-15

Franz Kafka - eine düstere Vorahnung? [Draft]

Bisher wurde das Wirken und Schaffen der Literatur von Franz Kafka rein nur auf mögliche Krankheiten, Persönlichkeit, das Verhältnis zu seinem Vater, den kulturellen Kontext seines Umfeld oder die albtraumhafte Bürokratie der K.& K. Monarchie psychologisiert.
Ich behaupte, dass möglicherweise eine düstere Vorahnung der Schrecken des Holocaust (siehe auch griechische Göttin Kassandra) in seinen Romanen sich manifestierten.

Die Verwandlung

Die unfreiwillige Metamorphose des tüchtigen Mannes Gregor Samsa in einen Käfer, der zuerst viele ernährte, den die Ernährten abschoben, alsbald er nicht mehr arbeitsfähig war, und gleichzeitig selbst erhaltende Berufstätigkeit fanden. ⟹ 

Interpretation: Vorahnung der unfreiwilligen Abschiebung in die Konzentrationslager.

Der Prozeß

Die Verhaftung des Prokuristen einer Bank Josef K. aus heiterem Himmel, weitere Verdächtigungen, Vor-Verurteilung durch sozial-psycholgische Einschätzung von Untergebenen in der Bank und letztendliche grausame Exekution. ⟹ 

Interpretation: Bei der Verhaftung passiert Josef K. relativ wenig, er wird jediglich davon informiert, dass er jetzt verhaftet wird. Personen wie der Prügler, die rein fiktiv zur Zeit der Monarchie waren, könnten eine Vorahnung auf SA & SS gewesen sein. Das Gericht, dass eher einem Schmierentheater gleicht, als einem hohen Gericht ist ein Hinweis auf die Arier Gesetzgebung und die Urteile während des NS-Regimes. Die grausame Exekution von Josef K. ohne offiziellen Henker oder rechtliche Formalität war zu keiner Epoche unseres europäischen Kulturraum üblich und deutet eine Vorahnung auf Ermorden ohne Information an die Öffentlichkeit und ohne institutionelle Todesstrafe durch Henker hin.

Amerika

Der einzig positive Roman von Franz Kafka. [...] ⟹ 

Interpretation: Die Schrecken des NS-Regime und Hitler-Stalin Packt wurden nur durch Kriegsbeteiligung der vereinigten Staaten von Amerika beendet. Deswegen endet die Geschichte "Amerika" als einzige positiv trotz vieler Wirrungen.

Das_Schloss

Ich laß den Roman nie fertig und muss mir noch eine kurze Zusammenfassung organisieren.[...] ⟹ 

Interpretation: [...]

Das Urteil

Georg Bendemann, Sohn eines Kaufmanns, verlobt und kurz vor der Heirat stehend, korrespondiert brieflich mit seinem – aus seiner Sicht – glücklosen Freund in Petersburg. Der Vater wirft Georg vor, die Leitung des Geschäftes an sich gerissen und eine nicht ehrenhafte Verlobte gewählt zu haben, außerdem den Freund aus St. Petersburg als Sohn und Vertrauten angenommen zu haben. Der Vater beendet die Auseinandersetzung mit den Worten: „Ich verurteile dich jetzt zum Tode des Ertrinkens!“ ⟹ 

Interpretation: Vorahnung auf den Hitler Stalin Packt. Der Vater Staat (k&k Monarchie) in der Juden gleichbehandelt wie bürgerliche Christen Chancen und Aufstiegsmöglichkeiten vorfanden wird zum grausamen Scharfrichter, der Stalinisten vertraut und als Söhne annimmt und bürgerliche Juden zum Tode verurteilt.


Achtung: Diese von mir aufgestellte These ist nur eine vage Hypothese.
Der Holocaust und die Schreckensherrschaft des NS-Regimes ist und bleibt eines der grausamsten Verbrechen der Menschheitsgeschichte.