<H1>SDR BUGS/UNFINISHED LIST</H1>

There are many little things on the to-do list.  The main big things are:
<PRE><I>
- on Windows when an announcement is received whilst scrolling the list
  of sessions this will cause sdr to crash. Also on Win95 (not NT) when
  quitting from sdr an error message regarding a page fault pops up - 
  sdr has exited okay and written the cache files but the window pops up.
- end times of SIP sessions are bogus
- changing session type should reposition the session in the main window
  but doesn't.
- Two-way SIP sessions should be unicast not multicast.
- Only minimal SIP functionality implemented
- client/server split not yet finished
- built-in plugins can't be switched off
   - can (sort-of be overridden, but is ugly)
- sdr hangs in WWW browser during DNS lookup
- adding new admin scope zones should be automated
   + this is awaiting the client/server split
- doesn't handle SDPv2 repeat times with units "M" and "Y"
- repeat time offset lists are only handled in limited cases
- doesn't handle SDPv2 "i" fields in media
- internationalistion very patchy
- WWW browser should cache files
- Doesn't check the version field before updating entries - inefficient
- Doesn't do proper IPRA multicast address allocation
   + awaiting simulation results
- Doesn't cope properly with DNS names for multicast groups
</I>


<H2>Things which need looking at in SDR 2.5.6</H2>

<H3>A) General</H3>

1) Windows problem - sdr crashes when it receives a session and the scrollbar 
   is being moved.

2) Create session - the final window doesn't show any session details

3) Create session - doesn't disappear when you click Accept 
   FIXED EPW 26/Aug/98

4) Modify session doesn't work

5) Roy had problem:

  >  when changing the scope from admin to ttl:
  >    invalid command name ".new.f3.rr.f.r4"
  >     while executing
  > ".new.f3.rr.f.r4 invoke"
  >   ("default" arm line 3)

 Then when changing the ttl from 15 to world:

  >  can't read "win": no such variable
  >   while executing
  >  "$win.f3.rr.f.e configure -state normal"
  >  (procedure "disable_scope_entry" line 2)

 And when went back to admin scope - choose and configure media gave:

  >  can't read "fmtlayers(html..)": no such element in array
  >   while executing
  > "return $fmtlayers($media.$proto.$fmt)"

6) PC version of sdr didn't need Tcl environment but now it does ? Shrimp 
   version doesn't need tcl ?

7) Quitting on Windows 95 gives a very ugly "this program crashed" message.

8) conflict with random and srandom prototypes

9) SIP always listens on 5060 so if sdr dies on windows you have to log off - 
   is it supposed to just listen on port 5060 meaning you can only have one 
   person running sdr on each machine ?


<H3>B) Encryption etc</H3>

1) Even if you don't want to use PGP you still get asked where your keyring is.

   This is fixed now. The first time it asks you for PGP Keyring
   location just do cancel. (GOLI)

2) On Solaris the authentication sometimes gets lost (we think this is due to 
   a new session arriving whilst the previous one hasn't completed the 
   authentication/encryption routines).

3) On PC - window asking where keyrings are pops up quite often - should be 
   just once.
   This is fixed (Goli)

4) Louise got the message, after a window appeared asking for her PGPPATH (she 
   doesn't use PGP):
   The same as 1

 > pygmalion.ucaclxc.9:16%The Decryption didnot produce any message 0
 > [1]    Segmentation fault     sdr (core dumped)
   Donot know what the problem is (GOLI)

5) Andreas got message:

  > "the decryption did not produce any message 
  > window name "pgpinfo" already exists in parent

   This is fixed. ON PC the home should be set to c:\sdr (GOLI)

6) Some key generation problems on windows - Alberto said:

   From the key generation panel, trying to generate pgp keys, an error is
   generated since sdr call 'xterm' obviously not available on window platform.
   Trying to generate an x509 key, the file generated contain an error since
   'uuencode' is called and not present on the windows platform.

    The key generation only work on Unix not PC (GOLI)

7) Bill fenner gets a core dump on SunOS when trying to create an 
   authenticated session - problem seems to be in check_authentication:

  > #1 0x41b94 in check_authentication (auth_p=0x1e61e8, authinfo=0x1e61ea "0", 
  >    data=0xefffb7b8 " '", data_len=325, auth_len=156, 
  >    asym_keyid=0xefffb780 "", irand=51221, 
  >    authmessage=0xefffb580 "The message is signed using keyid 0x7F01BC09")
  >    at ../src/pgp_crypt.c:253
  > 253        memcpy(authmessage,auth_message,messagelen);
  >
  > I bet the problem is:
  >
  > (gdb) p messagelen
  > $6 = 65280
  > 
  > I dunno how memory for auth_message is supposed to be allocated, and I
  > can't think of why auth_message would always be a well-terminated
  > string, but I think the calculation of messagelen combined with the
  > (lack of?) allocation of memory for auth_message is causing this dump.
  >
  > Shouldn't this be Tcl_SetVar() instead of depending on tcl returning
  > a pointer to the actual data storage and overwriting it with memcpy?

   Could not compile on Sun4 to find the problem. (GOLI)

8) putlogfile in the tcl files seems to cause problems (Peter Koch)
    (Goli made this change - "puts -> putlogfile" to solve some problems 
    on windows)
    Change putlogfile to puts for debuging

    This is changed now(GOLI)

9) I think there are a number of memory problems as sdr will be fine for a 
    while then the bounds checking will stop it. Not sure where these problems
    are yet but I think some are in the PGP code - I haven't even tried the 
    PKCS#7 code yet.

10) Alberto Casu: 

  - Choose PGP encryption, prompted for pgppath, no keys displayed
  - If select PGP encryption then change to DES -> error when select a
    group key as it is still trying to read the pgp keyfile (he thinks)
       error: 
         can't read "user_id(pgp,0)": no such element in array
             while executing
         "set user_id(pgp,enc_cur_key_sel) $user_id(pgp,$pgpkey)"
             (command bound to event)
  - also if specify pgp enc/auth and don't select key (it doesn't display
    any anyway) get the error "Cannot open c:\mbone\sdr\63920.sig". The file
    "c:\mbone\sdr\63920.txt" is present 
  
     set home=c:\sdr on PC (GOLI)

     set PGPPATH in autoexec.bat or when typing it in the popup window
     give it as unix slash e.g c:/pgpkeyring (GOLI)

</pre>
