[nos-bbs] malformed DNS packets, NOS crashing, and a first fix ...

M Langelaar maiko at pcsinternet.ca
Wed Mar 24 18:54:32 EDT 2021


What I originally thought is actually most like wrong ... ha ha ...

Yeah I sense that many folks still use 'domain dns on'.

 > but Internet attached JNOS nodes suffer from the crash on an almost 
daily basis.

Any malformed dns packet will crash JNOS, period. The fix I have started 
with
is quite basic, but should catch the majority of it, and I've fixed up 
error logging,
and now have the IP ADDRESS showing in the logs as well. It's a start ...

Internet is full of malformed crap, RF not so much :]

The 3 files important to just this are :

     domain.h
     domhdr.c
     domain.c

Grab them off rsync if you like, do a diff, that code has not changed 
much for
a long time, so should be more then easy to incorporate into ANY xNOS, or
grab the tar file below - I've updated everything several times since 
original :

    https://www.langelaar.net/jnos2/januszDNSfix.tar

Maiko / VE4KLM





More information about the nos-bbs mailing list