Centroid.EU Blog

(this blog is mostly encrypted - adults only)
  

Previous Page


Donated to OpenBSD

August 8th, 2017

I have donated 35 EUR to OpenBSD for jca@ who helped me on the misc@ mailing list. I asked Theo who gets the money to buy jca@ a drink next time they meet. Thanks a million, or 35 EUR! ;-).

0 comments

SOHCAHTOA.bc

August 7th, 2017

I have made a helper define, with the help of #openbsd on efnet, on SOHCAHTOA functions. In order to solve this problem, I use the following defines with bc:

define soh(o, h) {
        return (r2d(as(o/h)))
}

define cah(a, h) {
        return (r2d(ac(a/h)))
}

define toa(o, a) {
        return (r2d(a(o/a)))
}

define as(x) {
       return a(x / sqrt(1 - x^2))
}

define ac(x) {
        return a(sqrt(1 - x^2) / x)
}

define r2d(x) {
        return (x * 180/(4 * a(1)))
}

define d2r(x) {
        return (x * ((2 * a(2^10000)) / 180))
}
So then...I calculate:
beta$ bc -l sohcahtoa.bc
toa(35, 65)
28.30075576600637815925
seems to be the answer on the problem noted above. Yay.

0 comments

I tip my hat to SHA2017

August 06th, 2017

This morning a hacker scanned my delphinusdnsd server from SHA2017, why?

Aug  6 05:06:45 chi delphinusdnsd[38628]: on descriptor 11 interface  \
"78.47.14.22" header from 151.216.93.11 has no question, drop
Aug  6 05:06:45 chi delphinusdnsd[38628]: question on descriptor 11 \
interface "78.47.14.22" from 151.216.93.11, did not have question of 1 \
replying format error
Sorry about the incomplete log. I don't have much traffic so I watch the log. The IP in question is dns for the sha2017.camp. domain.
;; QUESTION SECTION:
;11.93.216.151.in-addr.arpa.    IN      PTR

;; AUTHORITY SECTION:
93.216.151.in-addr.arpa. 600    IN      SOA     ns1.sha2017.camp. \ 
root.sha2017.camp. 2016121900 10800 3600 604800 3600
Just to let hackers know. I'm not rich. I don't have connections. So you're not exactly a Robin Hood if you're hacking me. SHA2017 conference's home page is found here.

0 comments

The private space race

July 30th, 2017

Most rich people don't get rich in a vacuum. They employ people to make their money. Well all that is gonna change with artificial intelligence and robots. There might be 10% employees of what they used to employ, in the near future. The rest will be laid off. Those 10% will be high technologists who work on fixing the robots and computer systems. The hard work will be conducted by robots.

When people are ready to leave earth it will likely be the rich. They'll settle on the moon, they'll settle mars and they'll mine the asteroid belt, with you guessed it, robots. So nothing has changed except that living on mars makes you instantly poor unless you have high technology to help you get the resources that a human being needs.

What's going to happen to the poor people on earth? We'll be living in ghettos most likely, bunched together in big cities like sardines with promises of being picked in a lottery to go to space. We'll be monitored 24/7 in our 80 square meter apartments and medicated when there is the slightest hint of depression. When people get drift that the rich are using all the resources to get off this planet and leaving us behind there'll be chaos.

We have to think about whether this is the future we want. Because this is what's happening. We are the people farms. What is a worthwhile pasttime when AI outsmarts us? What is a worthwhile profession when robots outdo us? Do you think we'll all end up playing tennis and bone each other 24/7? Get. Real. I'm majorly pissed off really, not because I don't get to go to the moon, no, because there is no meaningful work that I can persue that isn't already done by a machine.

A 2 class system will erupt, us and them and it's all lies and trickery. The movies 2001 Space Oddisey and Terminator are not warnings signs, we've already passed them. They are here.

0 comments

Finished the story of Goldflipper

July 29th, 2017

Check it out here.

0 comments

Dmesg from zeta.centroid.eu

July 27th, 2017

Zeta is my new firewall/router at home. It's slower than the APU1 that I had in its place before but it gave a lot more ports (+5) so I'M very happy about that. Also it's a MIPS64 which should keep the footprint of crackers lower that would be able to break into this host which is a plus.

Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2017 OpenBSD. All rights reserved.  https://www.OpenBSD.org

OpenBSD 6.1-current (GENERIC.MP) #0: Sat Jul 22 21:28:07 UTC 2017
    visa@octeon:/usr/src/sys/arch/octeon/compile/GENERIC.MP
real mem = 2147483648 (2048MB)
avail mem = 2113355776 (2015MB)
mainbus0 at root
cpu0 at mainbus0: CN61xx CPU rev 0.1 800 MHz, Software FP emulation
cpu0: cache L1-I 512KB D 8KB 64 way, L2 1024KB 8 way
cpu1 at mainbus0: CN61xx CPU rev 0.1 800 MHz, Software FP emulation
cpu1: cache L1-I 512KB D 8KB 64 way, L2 1024KB 8 way
clock0 at mainbus0: int 5
iobus0 at mainbus0
simplebus0 at iobus0: "soc"
octciu0 at simplebus0
cn30xxsmi0 at simplebus0
cn30xxsmi1 at simplebus0
com0 at simplebus0: ns16550a, 64 byte fifo
com0: console
com1 at simplebus0: ns16550a, 64 byte fifo
octmmc0 at simplebus0
sdmmc0 at octmmc0: 8-bit, mmc high-speed
octuctl0 at iobus0 base 0x118006f000000 irq 56
ehci0 at octuctl0
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Octeon EHCI root hub" rev 2.00/1.00 addr 1
ohci0 at octuctl0, version 1.0
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "Octeon OHCI root hub" rev 1.00/1.00 addr 1
octrng0 at iobus0 base 0x1400000000000 irq 0
cn30xxgmx0 at iobus0 base 0x1180008000000
cnmac0 at cn30xxgmx0: SGMII, address 24:a4:3c:06:9f:12
ukphy0 at cnmac0 phy 4: Generic IEEE 802.3u media interface, rev. 3: OUI 0x180361, model 0x0004
cnmac1 at cn30xxgmx0: SGMII, address 24:a4:3c:06:9f:13
ukphy1 at cnmac1 phy 5: Generic IEEE 802.3u media interface, rev. 3: OUI 0x180361, model 0x0004
cnmac2 at cn30xxgmx0: SGMII, address 24:a4:3c:06:9f:14
ukphy2 at cnmac2 phy 6: Generic IEEE 802.3u media interface, rev. 3: OUI 0x180361, model 0x0004
cnmac3 at cn30xxgmx0: SGMII, address 24:a4:3c:06:9f:15
ukphy3 at cnmac3 phy 7: Generic IEEE 802.3u media interface, rev. 3: OUI 0x180361, model 0x0004
cn30xxgmx1 at iobus0 base 0x1180010000000
cnmac4 at cn30xxgmx1: SGMII, address 24:a4:3c:06:9f:16
ukphy4 at cnmac4 phy 0: Generic IEEE 802.3u media interface, rev. 3: OUI 0x180361, model 0x0004
cnmac5 at cn30xxgmx1: SGMII, address 24:a4:3c:06:9f:17
ukphy5 at cnmac5 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x180361, model 0x0004
cnmac6 at cn30xxgmx1: SGMII, address 24:a4:3c:06:9f:18
ukphy6 at cnmac6 phy 2: Generic IEEE 802.3u media interface, rev. 3: OUI 0x180361, model 0x0004
cnmac7 at cn30xxgmx1: SGMII, address 24:a4:3c:06:9f:19
ukphy7 at cnmac7 phy 3: Generic IEEE 802.3u media interface, rev. 3: OUI 0x180361, model 0x0004
/dev/ksyms: Symbol table not valid.
umass0 at uhub0 port 1 configuration 1 interface 0 "SanDisk Ultra USB 3.0" rev 2.10/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0:  SCSI4 0/direct removable \
serial.07815591241023103380
sd0: 118464MB, 512 bytes/sector, 242614272 sectors
scsibus1 at sdmmc0: 2 targets, initiator 0
sd1 at scsibus1 targ 1 lun 0:  SCSI2 0/direct removable
sd1: 3776MB, 512 bytes/sector, 7733248 sectors
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
boot device: sd0
root on sd0a (08e1253cf19e0676.a) swap on sd0b dump on sd0b
WARNING: No TOD clock, believing file system.
WARNING: CHECK AND RESET THE DATE!
cpu1 launched
I have given it a 128 GB USB stick as its disk even though the internal flash card is detected as sd1. The people involved in this architecture are super! They really should be congratulated to make this architecture happen. I did have some problems with threaded programs on this firewall but I moved those to my amd64 router venus (the program was BIND 9.10.5)... Here is the listing of ports, I have utilized all eight:
cnmac0: flags=8843 mtu 1500
        lladdr 24:a4:3c:06:9f:12
        description: eth4 - FritzBox LTE
        index 1 priority 0 llprio 3
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 192.168.78.1 netmask 0xffffff00 broadcast 192.168.78.255
cnmac1: flags=8843 mtu 1526
        lladdr 24:a4:3c:06:9f:13
        description: eth5 - Telekom VDSL
        index 2 priority 0 llprio 3
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
        inet 192.168.16.1 netmask 0xffffff00 broadcast 192.168.16.255
cnmac2: flags=8b43 mtu 1500
        lladdr 24:a4:3c:06:9f:14
        description: eth6 - mercury
        index 3 priority 0 llprio 3
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
        inet 192.168.70.1 netmask 0xffffff00 broadcast 192.168.70.255
        inet6 fe80::26a4:3cff:fe06:9f14%cnmac2 prefixlen 64 scopeid 0x3
        inet6 2001:db8::121 prefixlen 64
cnmac3: flags=8b43 mtu 1500
        lladdr 24:a4:3c:06:9f:15
        description: eth7 - venus
        index 4 priority 0 llprio 3
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
        inet 192.168.42.1 netmask 0xffffff00 broadcast 192.168.42.255
cnmac4: flags=8843 mtu 1500
        lladdr 24:a4:3c:06:9f:16
        description: eth0 - Access Point to uranus
        index 5 priority 0 llprio 3
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
        inet 192.168.179.1 netmask 0xffffff00 broadcast 192.168.179.255
        inet6 fe80::26a4:3cff:fe06:9f16%cnmac4 prefixlen 64 scopeid 0x5
        inet6 2001:db8:0:10::111 prefixlen 64
cnmac5: flags=8843 mtu 1500
        lladdr 24:a4:3c:06:9f:17
        description: eth1 - AREA52U uplink
        index 6 priority 0 llprio 3
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 192.168.43.1 netmask 0xffffff00 broadcast 192.168.43.255
cnmac6: flags=8b43 rdomain 2 mtu 1500
        lladdr 24:a4:3c:06:9f:18
        description: eth2 - AREA52U host from bridge
        index 7 priority 0 llprio 3
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
cnmac7: flags=8b43 rdomain 3 mtu 1500
        lladdr 24:a4:3c:06:9f:19
        description: eth3 - AREA52U B.A.T.M.A.N.
        index 8 priority 0 llprio 3
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
Notice the order between cnmac0 and eth0 differ, hence I have labeled the ports. There also exists some vlan's and bridges that I bridge batman and other stuff together and pass it on to venus or mercury. Cheers!

0 comments

Puzzled by the Ross 128 story

July 23th, 2017

In this article at soylentnews the scientists at arecibo are blaming geostationary satellites for the Ross 128 signals. However I'm puzzled by this. For one the dish at Arecibo is not very movable, in fact its 100% immovable and the science done on it is pretty much outbound 90 degrees from the flat earth. Sure they can perhaps move the receiver by 5% or so... This means that the geostationary satellites are always in view of the arecibo dish, and if that's the case they surely must have detected the geostationary satellites earlier. Why is this even news then? I think something fishy may be going on. It smells like a cover-up.

0 comments

Newly planned network at home

July 23th, 2017

With zeta my new OpenBSD firewall that I'll probably get by wednesday I have simplified my network a little. From the start zeta will use 7 ports which is amazing. Here is what area52 which is what I call my apartment will look like:

Network map (2017-07-23):

[gaia]--                                    Fritzbox LTE (to LTE network)
          \                                       |
[phone1] - \                                      |
            --- [uranus] === [Access Point] --- [zeta] ---- to pppoe cloud
[phone2] - /                                      |
          /                                       +---[mercury]
[beta]--                                          |
                                                  +---[AREA52U WR-1043v4]
                                                  |
                                                  +---[AREA52U B.A.T.M.A.N.]
                                                  |
                          saturn --------------[venus]----[spica]
                                                  |
                                                  +--[Apple TV]
[Freifunk wr-841v10 2.4GHz]                       |
[Freifunk wr-841v10 2.4GHz]                       |
                                                  +--[Samsung TV]
                                                  |
                                                  +--[saturn]
                                                  |
                                           [freifunk wr-841v8]

Legend:                         Hosts:

--- CAT5 cabling                spica: apple computers running vmware
=== wifi 5 Ghz                  uranus: OpenBSD i386 behind Fritz!Repeater
|   CAT5 cabling                venus: OpenBSD amd64 on Soekris hw
                                zeta: OpenBSD octeon ER-8 firewall
                                fritzbox: AVM fritzbox router
                                earth, mercury + beta: OpenBSD hosts

End of Network map.
I'm doing a lot more cabling and vlan'ing instead of vxlan'ing which is routed. With that I'm hoping to gain back stability and robustness.

0 comments

Purchased a used Ubiquiti Edgerouter

July 22th, 2017

I purchased a used Edgerouter from someone on IRC. Before I made the deal I asked on the openbsd-misc mailing list and it seems I got people on a good day:

The Edgerouter ER-8 is supported, thank goodness. Apparently the ER-8 costs 289 EUR new and I got it for 180 EUR. Hopefully it's in good condition.

0 comments

Difficulties in recruiting ICT specialists reported in the EU

July 19th, 2017

In this document eurostat shows that 41% of enterprises reported vacancies. Those positions can be filled, if these enterprises made in-roads and changed their systems, is my idea on this. Ie. a business traditionally hiring Windows specialists should know that there is a large Linux following that exists and if they changed their systems to incorporate Linux programs they would have better chances at filling the vacancy. This is just my observation. Here in Schweinfurt there is 100 jobs vacant. It's always been 100 jobs, for as long as I looked. Half of those are probably fake-jobs, the other half are often specialised jobs around Windows. I know my own frustration at finding the right job there. Recently I applied to a Linux job. I'm keeping my fingers crossed.

0 comments

Next Page

Search

RSS Feed

Click here for RSS

On this day in

Other links

Have feedback?

By clicking on the header of an article you will be served a cookie. If you do not agree to this do not click on the header. Thanks!

Using a text-based webbrowser?

... such as lynx? Welcome back it's working again for the time being.

Older Blog Entries


Powered by BCHS