Centroid.EU Blog

(this blog is mostly encrypted - adults only)
  

Previous Page


Ahead of Brexit, buying three OpenBSD posters

March 8th, 2019

The OpenBSDStore is in England. So ahead of Brexit I decided to buy three posters from OpenBSD 5.8+ days. These will decorate my apartment soon.

0 comments

Crimped three patch cables

March 6th, 2019

A fourth patch cable I threw out for being bad. But I basically checked what these patch cables go for (cat 5e, RJ45) and the are between 1 and 8 EUR. So I've bought myself lunch with this.

There is order now in my cabinet. One thing I'd need is a labeller, but that will be in due time. I can't justify it for 3 ports.

0 comments

I have a job interview tomorrow

March 6th, 2019

Finally an opportunity to make some money again. I have been lightly searching since last summer. In the meanwhile I did several projects the powerpc64 project, getting a closer look at windows server and some time invested in delphinusdnsds (which seems to get better with time). I didn't secure a grant this year and I'm not trying again (that was prototype fund). Also the electric car didn't work out in 2018. Maybe in 2019, if I get paying work, I'll get a colocation at an ISP, other than that I'm considering rebuilding mail at vultr.com VPS's. That work should be done by November. So that's where I am job and projects wise.

0 comments

Delphinusdnsd does TSIG Notify+AXFR now

February 28th, 2019

I'm very happy of this. Here is the NSD log where the test zone was pulled with the right key:

Feb 28 11:22:48 tau nsd[97745]: xfrd: zone dtschland.eu committed "received 
update to serial 2019022801 at 2019-02-28T11:22:48 from 108.61.211.139@10053 
TSIG verified with key *censored*"
Feb 28 11:22:48 tau nsd[91883]: zone dtschland.eu. received update to serial 
2019022801 at 2019-02-28T11:22:48 from 108.61.211.139@10053 TSIG verified with 
key *censored* of 6266 bytes in 0.000263 seconds
Feb 28 11:22:48 tau nsd[97745]: zone dtschland.eu serial 2019022201 is updated 
to 2019022801.

I'm very happy of this. Now I'm gonna try to take it easy for the rest of the week. Happy February + March!

0 comments

New delphinusdnsd in production

February 22nd, 2019

I have put on a snapshot of last night on into production on omega.virgostar.net. I'm hoping it's alright I tested it to the best of my ability. Fixes are: an ENT reply with dnssec option on (see. ent.dtschland.eu), and it has a new database that I put together by February 16th. Since then I just fixed a few bugs and hope it's bugfree by now.

;; ANSWER SECTION:
version.bind.           3600    CH      TXT     "delphinusdnsd-20190222"

That is a version reply of omega's delphinusdnsd indicating it is from today. The query string was: @omega.virgostar.net version.bind ch txt

0 comments

Gmail has started blocking me, after 5 years

February 20th, 2019

It's worked for five years. See here. I haven't changed much in the last little while to cause any problems. So it's gmail who have updated some policy. I complained to them, and hoping to get this straightened out.

0 comments

German Politics: What does the SPD want?

February 18th, 2019

It seems to me that the SPD is a puppet of a coalition partner. They keep saying "may we?" and one really wonders what they are doing in government. My statement to you: Make up your minds, because the outcome will determine your votes next election. Meanwhile we have a real lack in fairness in this social fabric in Germany. What are you gonna do, SPD?! And if it all fails why are you still a coalition partner, in government?!

0 comments

Delphinusdnsd has a new database

February 16th, 2019

I spent monday to friday working on this, today I did a bit of regress work to test records, I haven't found a bug since yesterday afternoon/evening. The memory footprint of delphinusdnsd has been drastically reduced by order of thousands. To give you some eye candy:

beta$ dddctl configtest -c
Records = 266094 , OK
beta$ ps auxwww|grep delphinusdnsd
_ddd      3694  0.0  0.0  1140  1164 ??  Ip     9:50PM    0:00.01 \
	delphinusdnsd: unix controlling socket (delphinusdnsd)
root     88773  0.0  0.0  1108  1292 ??  Ssp    9:50PM    0:00.94 \
	delphinusdnsd: master (delphinusdnsd)
_ddd      9236  0.0  1.4 467124 475856 ??  Sp     9:50PM    0:04.26 \
	/usr/local/sbin/delphinusdnsd -l
beta$ time dddctl configtest -c
Records = 266094 , OK
    0m02.83s real     0m01.84s user     0m00.48s system

To explain this I have created a zone of A records from /usr/share/dict/words which are 250K or so, on top of the 30K words I had in a zone. Before the 30K words too 13GB virtual memory, now 266093 records take up 467124K or 456M virtual memory. I think it's super personally. Thanks to Otto at OpenBSD who made me realise I need to change my database as the OS won't give me any more. This is better anyhow. I have been thinking on how to apply my dns server with this new db and I'm thinking of creating an updateable DNS server that stores PAGEs from RAM of a computer. Because it is so fast I think it would make wonderful project. Here in regards to its speed:

beta$ dddctl query -@192.168.177.2 antidisestablishmentarianism.words2
;; ANSWER SECTION:
antidisestablishmentarianism.words2.,a,86400,1.2.4.4
;; ADDITIONAL SECTION:
;; QUERY TIME: 1 ms
;; SERVER: 192.168.177.2#53
;; WHEN: Sat Feb 16 09:30:09 2019
;; MSG SIZE  rcvd: 80

Before you grab a snapshot for this new database daemon give it a week for bugs to be found and ironed out. But I checked it against current centroid.eu zone and it seems to be OK. Anyhow remember the license says "AS IS", so it's your fault if you use it now. This database will be in the 1.4 release which will likely be in december.

0 comments

Actively working for 3G DB on Delphinusdnsd

February 13th, 2019

The last two days I've been working on new database on delphinusdnsd. The code needs to be adjusted and every file possibly will get touched. I may be able to commit it on friday or next week, depending how long it takes. The new database is not much unlike what I have written in the previous article (fixed up for technicalities such as the _ENTRY's and TAILQ_HEAD's). What I wrote previous article was without guidance of manual pages.

0 comments

A new database for Delphinusdnsd

February 9th, 2019

Somehow it seems like I'm always replacing the database. It's true. I'm not happy at the moment with the current database, see here. It takes up too much virtual memory. So today I doodled a little with something that I think this should be replaced with (it looks almost like a structure out of McKusicks book):

struct sdomain {
	RB_ENTRY(rb_node);		/* RB_ENTRY for domain name */
	u_int16_t rrtype;		/* rrtype for domain name */
	TAILQ_ENTRY(domain);		/* tailq of more sdomains's */
	TAILQ_ENTRY(record);		/* tailq of rrtype type entries */
};

struct domain_a {
	TAILQ_ENTRY(record);		/* tailq of rrtype type entries */
	struct in_addr ia;		/* holds the A RDATA */
	u_int8_t region;		/* possible region for split horizon */
};	



+-------------+
| RB_TREE     |
+-------------+
        |
        | centroid.eu
        |	+----------+	+-----------+	+----------+
        +-------| sdomain  |----| sdomain   |---| sdomain  |---> NULL
        |	+----------+	+-----------+	+----------+
        |	     |		      |		     |
        |	     |		      |		     |
        |	+----------+	+-----------+	+----------+
        |	| domain_a |	| domain_soa|	| domain_ns|
        |	+----------+	+-----------+	+----------+
        |	     |		      |		     |
        |	     v		      v		     |
	|	    NULL	     NULL	+----------+
        |	      		       		| domain_ns|	
	|	   				+----------+
	|					     |
	|					     v
	|					    NULL  
        | name.centroid.eu
        |	+----------+	
        +-------| sdomain  |---> NULL
        |	+----------+	
        |	     |		    
        |	     |		   
        |	+----------+
        |	| domain_a |
        |	+----------+	
        |	     |		   
        |	     v		   
        |	    NULL 
        |	     
	v

So there it is, ASCII art. I'm gonna think about this for a few days before getting started, because this is kinda urgent.

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