[nos-bbs] TNOS 2.40 SMTP and DNS bugs

Brett Mueller wa7v at wa7v.com
Mon Feb 12 19:43:42 EST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Greetings all,

In the interests of information sharing, I have a couple of TNOS SIGSEGV
crash items that I've documented along with "bandages" that work on my
system.  Perhaps this will be of some use to someone either now, or
'googling' in the future.  Note that I do not know if these problems exist in
TNOS 3.0.


DNS client:
Answers to DNS queries, in which the resource record size exceeds the buffer
allocated within TNOS, results in a TNOS shutdown / crash.  (Note that
RFC-1035 states that the resource record should not exceed 512 bytes).  In
any event, short of recoding, it is possible to work around this problem by
using an intermediate DNS cache that forces RFC compliance.  For details, see:
  http://www.wa7v.com/Article16.phtml


SMTP server and 'pbbs reject on':
SMTP RFC-822 messages with header lines that exceed 256 characters cause a
crash if 'pbbs reject' is on.  The header is mis-read in smtpserv.c, and
incorrect arguments are passed to reject.c.  One possible workaround is to
configure an intermediate MX host to omit header lines that exceed 256
characters.  For details, see:
  http://www.wa7v.com/Article21.phtml   and
  http://www.wa7v.com/Article23.phtml


If you see that I've made some errors, please let me know so I can correct
them.  Thanks!

73,

Brett, WA7V


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF0Qm++/Ps1x4JxWYRAn+YAKChN7J6mo57T62XIdBbjeluvMijrACZAaAW
yYJZeTRbV+gR5apfcQHscAc=
=7IOC
-----END PGP SIGNATURE-----




More information about the nos-bbs mailing list