CVS log for epic5/source/ssl.c

Epicsol.org
(back) Up to [Epic CVS] / epic5 / source

Request diff between arbitrary revisions


Default branch: MAIN
Bookmark a link to: HEAD / (download)

Revision 1.28 / (view) - annotate - [select for diffs] , Thu Sep 20 03:00:11 2007 UTC (12 months, 3 weeks ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_9, epic5-0_3_8, epic5-0_3_7, epic5-0_3_6, HEAD
Changes since 1.27: +21 -5 lines
Diff to previous 1.27
* Create aliases for [url|b64][en|de]code, sedcrypt, and sha256 into builtins.
* Comment out builtin [url|b64][en|de]code, sedcrypt, sha256 builtin functions.
* Change /xquote -u to use xform() instead of urldecode().
* Change dcc_url[en|de]code to use xform() instead of urldecode().
* Change /on ssl_server_cert to use xform() isntead of urldecode().
* This allows me to comment out old urldcode/base64decode stuff. yay!

Revision 1.27 / (view) - annotate - [select for diffs] , Mon Jun 25 21:09:29 2007 UTC (15 months, 2 weeks ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_5
Changes since 1.26: +7 -7 lines
Diff to previous 1.26
* Add new level SYSERR (see UPDATES)
* Add a server refnum to syserr() to send the syserr to the proper window.
* Add a server refnum to new_open() so we can pass it to syserr().
* Add new flag to /XECHO, /XECHO -AS (output to all windows on server)
* This should make syserrs go to the "correct window" most of the time (larne)

Revision 1.26 / (view) - annotate - [select for diffs] , Thu Apr 12 02:24:14 2007 UTC (18 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_4, epic5-0_3_3
Changes since 1.25: +7 -7 lines
Diff to previous 1.25
* Add arg to panic() controlling whether panic is sent via QUIT (rb black)

Revision 1.25 / (view) - annotate - [select for diffs] , Fri Oct 20 22:20:55 2006 UTC (23 months, 3 weeks ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_2
Changes since 1.24: +1 -2 lines
Diff to previous 1.24
* Fix replace_line, it wasn't moving the cursor before writing new contents.
* Fix a double SSL_free, from yesterday's fixes.
* Revamp the "THANKS" file, removing people who contributed to epic4 but
  not (yet) to epic5.  Hopefully this will spur some of them to contribute
  again to be added again. =)

Revision 1.24 / (view) - annotate - [select for diffs] , Thu Oct 19 21:21:31 2006 UTC (23 months, 3 weeks ago) by jnelson
Branch: MAIN
Changes since 1.23: +56 -12 lines
Diff to previous 1.23
* Fix problem with get_child_exit() can block SIGCHLD.
* Change $mask() so it doesn't require a full $uhc() value, compat with epic4
* Avoid crash by actually removing ssl entries when they're shut down

Revision 1.23 / (view) - annotate - [select for diffs] , Sat Sep 23 01:56:44 2006 UTC (2 years ago) by jnelson
Branch: MAIN
Changes since 1.22: +1 -3 lines
Diff to previous 1.22
Fix compiler warnings, should not be any functional changes.

Revision 1.22 / (view) - annotate - [select for diffs] , Fri Jun 23 04:03:11 2006 UTC (2 years, 3 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_1
Changes since 1.21: +180 -47 lines
Diff to previous 1.21
* Support AI_ADDRCONFIG in our builtin AI_MASK/getaddrinfo().
* Make set[_non]_blocking extern.
* Support NEWIO_SSL_CONNECT as a new_open() type.
* Add a new ssl_connect() io callback function for NEWIO_SSL_CONNECT.
* New scripts from weirdo: autojoin, autoquery, floodprot, renumber
* New version of reconnect script from weirdo.
* GC the fixed-alist support (last used by /quote and protocol handler)
* Reorg server SSL negotation stuff to be nonblocking. yay!
* Comment all sorts of stuff in ssl.c.

Revision 1.21 / (view) - annotate - [select for diffs] , Sat Jun 17 03:04:02 2006 UTC (2 years, 3 months ago) by jnelson
Branch: MAIN
Changes since 1.20: +14 -2 lines
Diff to previous 1.20
* Lay the foundations for nonblocking ssl connection (not supported yet)
* Change SEND_LINE to do SCROLL_FORWARD if we're in scrollback mode
* Add support for maildir mailboxes.
* Fix crash with 042 numeric.

Revision 1.20 / (view) - annotate - [select for diffs] , Tue Aug 9 01:01:05 2005 UTC (3 years, 2 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_2_0, epic5-0_0_8, epic5-0_0_7, epic5-0_0_6
Changes since 1.19: +4 -9 lines
Diff to previous 1.19
* Improve /dcc get
* Fix warnings

Revision 1.19 / (view) - annotate - [select for diffs] , Sat Jul 23 05:30:24 2005 UTC (3 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.18: +7 -6 lines
Diff to previous 1.18
* When a window is resized, make sure scrollback is bigger than new size.
* Add multiple stricmp tables, "ascii" and "rfc1459"
* Make all string insensitive compares use "ascii"
* Add black's ornamentation on the addset script.
* Fix some regression scripts
* Fix pf bugs with various scripts.
* Add the [$func](args) capability to the new math parser.
* Add the === and !== literal equivalence (case sensitive) operators.
* Sort of set the case sensitive mapping to use in the 005 handler (hack!)
* Fix error recovery of ssl connections.

Revision 1.18 / (view) - annotate - [select for diffs] , Fri Apr 15 01:47:45 2005 UTC (3 years, 5 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_5
Changes since 1.17: +9 -3 lines
Diff to previous 1.17
* Make /bind "compress" string, and bind and print it compressed.
* This fixes /bind'ing literal characters being displayed literally.
* Round 3 of blackjac's builtins script
* Round 1 of fudd's loadformats script.
* Fix some "all-the-world's-an-int" bugs reported by xlc (aix's compiler).

Revision 1.17 / (view) - annotate - [select for diffs] , Mon Mar 28 23:53:58 2005 UTC (3 years, 6 months ago) by jnelson
Branch: MAIN
Changes since 1.16: +8 -5 lines
Diff to previous 1.16
* Take a new arg to new_open() to control whether INFO -- errors are output.
* Don't output the "INFO --" things for dcc or execs

Revision 1.16 / (view) - annotate - [select for diffs] , Fri Mar 11 05:02:22 2005 UTC (3 years, 7 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_4
Changes since 1.15: +2 -2 lines
Diff to previous 1.15
* Fix compile error for #define UNAME_HACK
* Fix crash when you do $open(/file/doesnt/exist R)
* Add an /on 338 default handler.
* Fix integer underflow with log file refnums
* Rename STATUS_USER0 to STATUS_USER for backwards compat. oops!
* Whack BRACE_LOAD_HACK, it's been unsupported for a while.  PF loader rules!
* Don't allow /botmode if #define NO_BOTS
* Fix DCC connections instantly "timing out"? (Check on this)
* Whack FLOATING_POINT_SUPPORT and depend only on /set floating_point_math

Revision 1.15 / (view) - annotate - [select for diffs] , Fri Mar 4 05:30:59 2005 UTC (3 years, 7 months ago) by jnelson
Branch: MAIN
Changes since 1.14: +17 -1 lines
Diff to previous 1.14
* Fix SSL with pthreads -- need to establish SSL before calling SSL_read!
* Fix compiling with kqueue, call it --with-multiplex=freebsd-kqueue
* Hide SSL capability behind "client_ssl_enabled()", nix all #ifdef HAVE_SSL

Revision 1.14 / (view) - annotate - [select for diffs] , Fri Mar 4 05:09:01 2005 UTC (3 years, 7 months ago) by jnelson
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13
Fix SSL with pthreads.

Revision 1.13 / (view) - annotate - [select for diffs] , Fri Mar 4 00:57:45 2005 UTC (3 years, 7 months ago) by jnelson
Branch: MAIN
Changes since 1.12: +40 -1 lines
Diff to previous 1.12
* Add --with-multiplex=[select|poll|kqueue|pthread] to configure
* Check thread-safety of SSL in configure when using pthreads.
* Don't unconditionally skip leading :'s in symbol names.
* When calling functions, handle skipping leading :'s specially.
* Add support for pthread locking for ssl to ssl.c
* Add %{2}+ and %{3}+ status expandos that only show the mode string.
* Use AI_ADDRCONFIG flag to tell getaddrinfo() we only want addrs we can use.

Revision 1.12 / (view) - annotate - [select for diffs] , Mon Feb 28 14:23:30 2005 UTC (3 years, 7 months ago) by jnelson
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11
* Comment out some oper-only things in 2.8script the opers seem to hate.
* Update some copyright years, just for laughs.

Revision 1.11 / (view) - annotate - [select for diffs] , Tue Feb 22 00:28:35 2005 UTC (3 years, 7 months ago) by jnelson
Branch: MAIN
Changes since 1.10: +18 -4 lines
Diff to previous 1.10
Fix ssl server connections.

Revision 1.10 / (view) - annotate - [select for diffs] , Sat Feb 19 04:22:26 2005 UTC (3 years, 7 months ago) by jnelson
Branch: MAIN
Changes since 1.9: +54 -65 lines
Diff to previous 1.9
* Refactor $sar() and $msar() so they share as much code as possible.
* Refactor newio, support select/kqueue/poll (#define's in newio.h)
* ... Getting closer to not needing select!
* Fix SSL.
* Fix a bunch of misc compiler warnings
* Remove restrictions on /QUOTE, so there!
* Add pthread support to newio for larne. HUZZAH!
* I'm sure a zillion things are broken, so it's time to test!

Revision 1.9 / (view) - annotate - [select for diffs] , Wed Feb 9 02:23:25 2005 UTC (3 years, 8 months ago) by jnelson
Branch: MAIN
Changes since 1.8: +224 -8 lines
Diff to previous 1.8
PHEAR the breakage!
* Major refactoring of newio system:
* Change main io() look into a "fill" cycle and a "drain" cycle, using buffers
* Change new_open() to take an io policy to perform when fd is "ready"
* Use token to determine if an fd is "dirty" or "clean" (is data ready?)
* Process accept()s through newio/dgets.
* Merge nonblocking connects as just another type of new_open() policy.
* Nonblocking connects emit sockaddr info when connected for dgets().
* Change dgets() to not perform io, but just drain from the buffer
* Now all data goes through dgets()! huzzah!
* Nuke kqueue support for the moment (will come back later)
* Hide the "holding" status of a fd inside the IO metadata.
* This allows me to support "holding" in other IO models.
* Major refactoring of ssl support:
* Move all meta-data about ssl in ssl.c in a linked list
* As much as possible, have server treat the ssl case as "normal"
* Implement all ssl interfaces even in non-ssl case, guard with panics
^^^^ None of the above should be user-visible changes.

Revision 1.8 / (view) - annotate - [select for diffs] , Sun Jan 23 21:41:28 2005 UTC (3 years, 8 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_3
Changes since 1.7: +6 -3 lines
Diff to previous 1.7
* Hide ArgListT in alias.h to only those who need it, to save numbers.c
* Fix up a lot of compile warnings all over the place.
* Some changes to $hookctl() might need feedback from howl...
* Fix vhost support so we can do inbound sockets again.

Revision 1.7 / (view) - annotate - [select for diffs] , Sun Jan 25 06:48:03 2004 UTC (4 years, 8 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_2
Changes since 1.6: +46 -1 lines
Diff to previous 1.6
* Abstract the reading function out of dgets() via an argument
* Add unix_read(), the default reader for dgets()
* Add ssl_reader(), a dgets-like reader for SSL connections
* Add server_ssl_reader(), a dgets reader for servers using SSL.
* I probably broke SSL servers by doing this -- report bugs please!

Revision 1.5.2.2 / (view) - annotate - [select for diffs] , Mon Mar 24 17:53:02 2003 UTC (5 years, 6 months ago) by wd
Branch: wd-devel
Changes since 1.5.2.1: +0 -0 lines
Diff to previous 1.5.2.1 to branch point 1.5 to next main 1.6
Another merge.

Revision 1.5.2.1 / (view) - annotate - [select for diffs] , Thu Feb 27 15:29:57 2003 UTC (5 years, 7 months ago) by wd
Branch: wd-devel
Changes since 1.5: +2 -4 lines
Diff to previous 1.5
Yikes.  Merged to become consistent with HEAD.  Sorry for all the commits,
I'll be quiet again soon. :)
-wd

Revision 1.6 / (view) - annotate - [select for diffs] , Mon Dec 23 15:11:27 2002 UTC (5 years, 9 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_1, epic4-1_2_5, epic4-1_2_4, epic4-1_2_3, epic4-1_2_2, epic4-1_2_1, epic4-1_2_0, epic4-1_1_9, epic4-1_1_8, epic4-1_1_17, epic4-1_1_16, epic4-1_1_15, epic4-1_1_14, epic4-1_1_13, epic4-1_1_12, epic4-1_1_11, epic4-1_1_10
Changes since 1.5: +2 -4 lines
Diff to previous 1.5
* Remove colon at end of RETURN_MSTR so it is like others.
* Unify dgets() and SSL_dgets()
* Add a 4th argument to dgets(), an (SSL *) for ssl reads, NULL for normals
* Integrate SSL stuff more tightly by removing unecessary #ifdef's
* Change 'enable_ssl' to 'try_ssl' to avoid confusion with 'ssl_enabled'
* Remove uneccesary members of (Window)
* #include "functions.h" in any file implementing built in functions.
* panic if ssl op attempted on non-ssl connection.
* Don't call functions in RETURN_* macros. (they're evaled twice)
* Nuke #ifdef 0'd uses of 'ceiling_of_display'

Revision 1.5 / (view) - annotate - [select for diffs] , Wed Jul 17 21:52:53 2002 UTC (6 years, 2 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_7, epic4-1_1_6
Branch point for: wd-devel
Changes since 1.4: +28 -1 lines
Diff to previous 1.4
Update copyright notices and copyright dates.

Revision 1.4 / (view) - annotate - [select for diffs] , Sat Apr 20 13:39:32 2002 UTC (6 years, 5 months ago) by crazyed
Branch: MAIN
CVS Tags: epic4-1_1_5, epic4-1_1_4
Changes since 1.3: +11 -18 lines
Diff to previous 1.3
* Applied Ay-Ars SSL patch:
  * Copyright notices added to ssl code files.
  * --ssl-ver switch removed (configure script hasn't been rebuilt).
  * Code changes/cleanups which I haven't checked, but which seem to work
    well.
  * Documentation changes.
* Fix for a memory leak in foreach when continue or break are used.
* Moved the server_established hook into register_server so that it is not
  triggered when an unsuccessful attempt to connect is made.
* Feeble stab at fixing an intermittent server related coredump.
* Cleaned commandqueues script up a bit.

Revision 1.3 / (view) - annotate - [select for diffs] , Wed Mar 13 00:46:19 2002 UTC (6 years, 7 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_3
Changes since 1.2: +1 -1 lines
Diff to previous 1.2
Remove a // comment in ssl.c -- C90 (which we target) doesn't have that.
Document the rest of the stuff that's changed in KNOWNBUGS.

Revision 1.2 / (view) - annotate - [select for diffs] , Fri Feb 1 23:04:28 2002 UTC (6 years, 8 months ago) by jnelson
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1
Bulk commit:
1) Fix typos in KNOWNBUGS
2) Flesh out the things in UPDATES that need documenting
3) Add target_file_write() to files.[ch] for send_text()'s use.
4) Create "reg.h", to hold protos for reg.c
5) Add some missing protos.
6) If /redirect'ing to 0 or to @<fd>, don't output to the screen.
7) Messages sent to target 0 are dropped (/redirect 0 now actually sends
   to target 0, and epic drops it.)  You can /query 0 now if you want.
8) Messages sent to @NUMBER get sent to the NUMBER file, where NUMBER is
   returned by $open().  For example, to paste stuff to log but not to screen:
        @fd = open(FILE w)
        query @$fd
        <paste some stuff>
        query
        @close($fd)
   or
        @fd = open(FILE w)
        redirect @$fd lastlog foo
        @close($fd)
9) Add a function to reg.c to compile a pattern into a regex -- experimental.
10) Fix some compile warnings regarding ssl.

Revision 1.1 / (view) - annotate - [select for diffs] , Fri Jan 25 21:57:10 2002 UTC (6 years, 8 months ago) by crazyed
Branch: MAIN
Applied the SSL patch from ay-ar.

Details are in README.SSL.  This works well at this point, but there may
be teething problems.

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Diffs between and
Type of Diff should be a

View only Branch:
Sort log by:

CVS Admin
Powered by
ViewCVS 0.9.2