plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

notes (2139B)


      1 upas:
      2 	from thread(3):
      3 		It is not safe to call rfork in a  threaded  program,  except  to  call
      4 		rfork(RFNOTEG) from the main proc before any other procs have been cre-
      5 		ated.  To create new processes, use proccreate.
      6 
      7 
      8 upas/fs:
      9 	when serving a file writes tbox.tmp when writing back tbox.
     10 	make L.mbox in home directory (sometimes)
     11 
     12 	=======> auth stuff:
     13 	Server, Certificate, ...
     14 	
     15 	    * POP3/IMAP Server (receiving emails): mail.physik.fu-berlin.de (unchanged)
     16 	    * SMTP Server (sending emails): mail.physik.fu-berlin.de (unchanged and not relevant for this change [no STARTTLS/SMTP_AUTH])
     17 	    * Certificate Authority (CA) Certificate: cacert.crt (CN=ZEDV)
     18 	      SHA1 Fingerprint: 37:19:00:47:BB:91:20:94:3B:AA:A7:75:57:D5:4C:0D:EA:5C:18:D9
     19 	      MD5 Fingerprint: 56:58:1C:91:DC:08:1B:42:D0:C2:D6:D4:FF:28:AE:C5
     20 	    * mail.physik.fu-berlin.de Fingerprints (IMAP/POP3):
     21 	      SHA1 Fingerprint: 75:C6:A5:1E:CB:F4:33:2E:95:85:A0:65:87:71:19:08:3D:19:FE:7D
     22 	      MD5 Fingerprint: 67:76:23:98:65:0A:39:44:5B:79:BD:91:31:49:59:7A
     23 	
     24 	The fingerprints can be displayed in the mail clients and can be optained using:
     25 	
     26 	openssl s_client -connect mail.physik.fu-berlin.de:993 -showcerts # IMAP
     27 	openssl s_client -connect mail.physik.fu-berlin.de:995 -showcerts # POP3
     28 	
     29 	Save all between -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----
     30 	
     31 	openssl x509       -noout -fingerprint -in mail.physik.fu-berlin.de.pem # MD5
     32 	openssl x509 -sha1 -noout -fingerprint -in mail.physik.fu-berlin.de.pem # SHA1
     33 	
     34 	<======= auth stuff
     35 
     36 upas/ned:
     37 	need to understand singleton stuff.
     38 	
     39 	need to understand wait (cf lpdaemon.c ~315)  is it safe to fork in a threaded prog? shoud i use proccreate?
     40 	
     41 	routines to check/fix:
     42 		appendtofile()
     43 		switchmb()
     44 		rooted()
     45 		plumb() <= understand how this works, it may help in deciding how to present attachments in acme/Mail
     46 	
     47 
     48 upas/marshal:
     49 	some attachments work, some don't. looks like pdf files work while ps don't!? problem in body64()
     50 	actually, it seems like the size of attachment is the problem: large attacments don't seem to work, somewhere between 19967 and 161065 is the failure point.