ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/src/s_bsd.c
Revision 8940 - (view) (annotate) - [select for diffs]
Modified Sat Apr 27 23:45:33 2019 UTC (4 years, 11 months ago) by michael
File length: 16012 byte(s)
Diff to previous 8918 , to selected 8659
- Fixed issue where timeouts set with comm_setselect() were not working as in most places this function has been called with seconds when it really expected
  milliseconds. Removed all related multiply/divide by 1000 nonsense that's sprinkled in the code as ircd currently does support one-second granularity anyway.

Revision 8918 - (view) (annotate) - [select for diffs]
Modified Mon Apr 22 09:51:16 2019 UTC (4 years, 11 months ago) by michael
File length: 16037 byte(s)
Diff to previous 8901 , to selected 8659
- Should be using monotonic clock almost everywhere now; sort out mixture and misuse of 'firsttime', 'lasttime' and 'since' in the Connection structure

Revision 8901 - (view) (annotate) - [select for diffs]
Modified Sun Apr 21 20:10:44 2019 UTC (4 years, 11 months ago) by michael
File length: 16010 byte(s)
Diff to previous 8874 , to selected 8659
- Add support for monotonic clocks and have some timers make use of it;  remove event_set_back_events()

Revision 8874 - (view) (annotate) - [select for diffs]
Modified Sat Feb 16 21:53:04 2019 UTC (5 years, 1 month ago) by michael
File length: 15934 byte(s)
Diff to previous 8827 , to selected 8659
- Cleanup server connecting related code even further
- Make comm_connect_tcp() take less arguments and remove unused dns resolving functionality

Revision 8827 - (view) (annotate) - [select for diffs]
Modified Sat Feb 2 00:01:13 2019 UTC (5 years, 1 month ago) by michael
File length: 18122 byte(s)
Diff to previous 8751 , to selected 8659
- Made comm_get_sockerr() and comm_accept() take a fde_t pointer as argument

Revision 8751 - (view) (annotate) - [select for diffs]
Modified Tue Jan 1 11:06:50 2019 UTC (5 years, 2 months ago) by michael
File length: 18088 byte(s)
Diff to previous 8716 , to selected 8659
- Update copyright years

Revision 8716 - (view) (annotate) - [select for diffs]
Modified Mon Dec 10 16:53:30 2018 UTC (5 years, 3 months ago) by michael
File length: 18088 byte(s)
Diff to previous 8687 , to selected 8659
- Sprinkle some assert()

Revision 8687 - (view) (annotate) - [select for diffs]
Modified Sun Dec 2 12:46:02 2018 UTC (5 years, 3 months ago) by michael
File length: 18062 byte(s)
Diff to previous 8659
- More bool conversion. This should be everything now.

Revision 8659 - (view) (annotate) - [selected]
Modified Sun Nov 18 12:53:34 2018 UTC (5 years, 4 months ago) by michael
File length: 18046 byte(s)
Diff to previous 8657
- Make use of the bool data type in some more places

Revision 8657 - (view) (annotate) - [select for diffs]
Modified Mon Nov 12 19:02:38 2018 UTC (5 years, 4 months ago) by michael
File length: 18042 byte(s)
Diff to previous 8556 , to selected 8659
- Make use of the bool data type in some more places

Revision 8556 - (view) (annotate) - [select for diffs]
Modified Sat Sep 22 21:45:27 2018 UTC (5 years, 6 months ago) by michael
File length: 18019 byte(s)
Diff to previous 8537 , to selected 8659
- Minor style corrections

Revision 8537 - (view) (annotate) - [select for diffs]
Modified Sun Apr 29 18:09:01 2018 UTC (5 years, 11 months ago) by michael
File length: 18011 byte(s)
Diff to previous 8499 , to selected 8659
- s_bsd.c:ssl_handshake: use 'F' instead of 'client_p->connection->fd'

Revision 8499 - (view) (annotate) - [select for diffs]
Modified Thu Apr 5 12:59:25 2018 UTC (5 years, 11 months ago) by michael
File length: 18103 byte(s)
Diff to previous 8495 , to selected 8659
- Killed Connection::aftype. Use Client::ip.ss.ss_family instead.

Revision 8495 - (view) (annotate) - [select for diffs]
Modified Thu Apr 5 12:40:05 2018 UTC (5 years, 11 months ago) by michael
File length: 18163 byte(s)
Diff to previous 8430 , to selected 8659
- Killed userhost.c. Rewrote everything to use ipcache.c

Revision 8430 - (view) (annotate) - [select for diffs]
Modified Tue Mar 27 18:48:40 2018 UTC (6 years ago) by michael
File length: 18223 byte(s)
Diff to previous 8413 , to selected 8659
- Stylistic changes

Revision 8413 - (view) (annotate) - [select for diffs]
Modified Thu Mar 22 18:09:06 2018 UTC (6 years ago) by michael
File length: 18236 byte(s)
Diff to previous 8392 , to selected 8659
- Rename some functions to comply with naming convention

Revision 8392 - (view) (annotate) - [select for diffs]
Modified Sun Mar 18 12:53:46 2018 UTC (6 years ago) by michael
File length: 18213 byte(s)
Diff to previous 8348 , to selected 8659
- Move close_connection() from s_bsd.c to client.c

Revision 8348 - (view) (annotate) - [select for diffs]
Modified Sun Mar 4 13:23:49 2018 UTC (6 years ago) by michael
File length: 20217 byte(s)
Diff to previous 8338 , to selected 8659
- Style corrections

Revision 8338 - (view) (annotate) - [select for diffs]
Modified Sat Mar 3 22:26:59 2018 UTC (6 years ago) by michael
File length: 20216 byte(s)
Diff to previous 8313 , to selected 8659
- Restore fd_table. No longer allocate fde_t items from within any other structures like the AuthRequest, or Connection structure
- struct AuthRequest once again is no longer allocated from within the Connection structure

Revision 8313 - (view) (annotate) - [select for diffs]
Modified Wed Feb 28 17:45:36 2018 UTC (6 years ago) by michael
File length: 20316 byte(s)
Diff to previous 8309 , to selected 8659
- Remove experimental libgeoip support

Revision 8309 - (view) (annotate) - [select for diffs]
Modified Wed Feb 28 16:45:52 2018 UTC (6 years ago) by michael
File length: 20922 byte(s)
Diff to previous 8308 , to selected 8659
- Clean up remaining sizeof() to sizeof(variable)

Revision 8308 - (view) (annotate) - [select for diffs]
Modified Tue Feb 27 21:19:41 2018 UTC (6 years, 1 month ago) by michael
File length: 20915 byte(s)
Diff to previous 8280 , to selected 8659
- s_bsd.c: removed useless auth.h header include

Revision 8280 - (view) (annotate) - [select for diffs]
Modified Tue Feb 20 19:30:33 2018 UTC (6 years, 1 month ago) by michael
File length: 20933 byte(s)
Diff to previous 8264 , to selected 8659
- Update copyright years

Revision 8264 - (view) (annotate) - [select for diffs]
Modified Sat Jun 3 20:11:14 2017 UTC (6 years, 9 months ago) by michael
File length: 20933 byte(s)
Diff to previous 8252 , to selected 8659
- s_bsd.c: from p4: add_connection(): clean up logic for ips beginning with : 

Revision 8252 - (view) (annotate) - [select for diffs]
Modified Mon May 22 19:28:52 2017 UTC (6 years, 10 months ago) by michael
File length: 21112 byte(s)
Diff to previous 7956 , to selected 8659
- Have s_bsd.c:comm_accept() take a fde_t pointer instead of a struct Listener

Revision 7956 - (view) (annotate) - [select for diffs]
Modified Sun Mar 5 11:52:53 2017 UTC (7 years ago) by michael
File length: 21131 byte(s)
Diff to previous 7954 , to selected 8659
- Rename some functions in client.c to comply with naming convention

Revision 7954 - (view) (annotate) - [select for diffs]
Modified Sat Mar 4 19:37:07 2017 UTC (7 years ago) by michael
File length: 21131 byte(s)
Diff to previous 7925 , to selected 8659
- Rename some functions in auth.c to comply with naming convention

Revision 7925 - (view) (annotate) - [select for diffs]
Modified Sat Dec 31 13:57:24 2016 UTC (7 years, 2 months ago) by michael
File length: 21131 byte(s)
Diff to previous 7667 , to selected 8659
- Update copyright years

Revision 7667 - (view) (annotate) - [select for diffs]
Modified Wed Jul 20 17:09:36 2016 UTC (7 years, 8 months ago) by michael
File length: 21131 byte(s)
Diff to previous 7430 , to selected 8659
- Fixed svn properties

Revision 7430 - (view) (annotate) - [select for diffs]
Modified Tue Mar 8 18:19:38 2016 UTC (8 years ago) by michael
File length: 21131 byte(s)
Diff to previous 7400 , to selected 8659
- Minor style cleanups & constification

Revision 7400 - (view) (annotate) - [select for diffs]
Modified Sun Mar 6 16:10:14 2016 UTC (8 years ago) by michael
File length: 21185 byte(s)
Diff to previous 7329 , to selected 8659
- Cleanups to operator/connect block lookup routines

Revision 7329 - (view) (annotate) - [select for diffs]
Modified Thu Feb 18 21:07:50 2016 UTC (8 years, 1 month ago) by michael
File length: 21184 byte(s)
Diff to previous 7273 , to selected 8659
- Now that we got time_t to work nicely on openbsd with snprintf's conversion specifiers,
  we ran into a similiar issue on Raspbian/ARMv7's time_t which is of signed 32 bit and
  doesn't cope at all with %j. Instead of doing tricks, get rid of time_t everywhere and
  forever and use uintmax_t instead which has at least a 'standardized' conversion specifier
  associated with it.

Revision 7273 - (view) (annotate) - [select for diffs]
Modified Sat Feb 6 20:55:20 2016 UTC (8 years, 1 month ago) by michael
File length: 21175 byte(s)
Diff to previous 7272 , to selected 8659
- Let's do this better

Revision 7272 - (view) (annotate) - [select for diffs]
Modified Sat Feb 6 20:48:06 2016 UTC (8 years, 1 month ago) by michael
File length: 21201 byte(s)
Diff to previous 7257 , to selected 8659
- Don't exit out with GnuTLS when there's no key and/or certificate

Revision 7257 - (view) (annotate) - [select for diffs]
Modified Sat Feb 6 17:28:28 2016 UTC (8 years, 1 month ago) by michael
File length: 21244 byte(s)
Diff to previous 7143 , to selected 8659
- Improve libGeoIP support

Revision 7143 - (view) (annotate) - [select for diffs]
Modified Thu Jan 28 09:57:03 2016 UTC (8 years, 2 months ago) by michael
File length: 20955 byte(s)
Diff to previous 7106 , to selected 8659
- Remove useless raw_result -- from Adam

Revision 7106 - (view) (annotate) - [select for diffs]
Modified Sat Jan 23 20:17:08 2016 UTC (8 years, 2 months ago) by michael
File length: 20985 byte(s)
Diff to previous 7033 , to selected 8659
- Incorporate gnutls support by Adam & Attila

Revision 7033 - (view) (annotate) - [select for diffs]
Modified Sun Jan 3 14:37:29 2016 UTC (8 years, 2 months ago) by michael
File length: 21862 byte(s)
Diff to previous 7007 , to selected 8659
- Renamed MyCalloc to xcalloc

Revision 7007 - (view) (annotate) - [select for diffs]
Modified Fri Jan 1 00:09:08 2016 UTC (8 years, 2 months ago) by michael
File length: 21863 byte(s)
Diff to previous 6950 , to selected 8659
- Update copyright years

Revision 6950 - (view) (annotate) - [select for diffs]
Modified Tue Dec 15 19:10:41 2015 UTC (8 years, 3 months ago) by michael
File length: 21863 byte(s)
Diff to previous 6949 , to selected 8659
- s_bsd.h, s_bsd.c:comm_connect_tcp(): change the 'timeout' parameter to a time_t to match up with the other comm_* functions

Revision 6949 - (view) (annotate) - [select for diffs]
Modified Tue Dec 15 18:52:55 2015 UTC (8 years, 3 months ago) by michael
File length: 21860 byte(s)
Diff to previous 5886 , to selected 8659
- s_bsd.c:comm_connect_tcp(): move comments to proper place

Revision 5886 - (view) (annotate) - [select for diffs]
Modified Sun May 3 16:29:05 2015 UTC (8 years, 10 months ago) by michael
File length: 21846 byte(s)
Diff to previous 5582 , to selected 8659
- s_bsd.c: use C99-style array initialization

Revision 5582 - (view) (annotate) - [select for diffs]
Modified Sun Feb 15 14:42:58 2015 UTC (9 years, 1 month ago) by michael
File length: 21728 byte(s)
Diff to previous 5346 , to selected 8659
- Style corrections only

Revision 5346 - (view) (annotate) - [select for diffs]
Modified Sun Jan 11 12:41:14 2015 UTC (9 years, 2 months ago) by michael
File length: 21724 byte(s)
Diff to previous 5050 , to selected 8659
- Update copyright years

Revision 5050 - (view) (annotate) - [select for diffs]
Modified Sat Dec 13 21:30:17 2014 UTC (9 years, 3 months ago) by michael
File length: 21724 byte(s)
Diff to previous 4816 , to selected 8659
- Fixed compile warnings

Revision 4816 - (view) (annotate) - [select for diffs]
Modified Sat Nov 1 15:29:49 2014 UTC (9 years, 4 months ago) by michael
File length: 21718 byte(s)
Diff to previous 4738 , to selected 8659
- Renamed variables

Revision 4738 - (view) (annotate) - [select for diffs]
Modified Sun Oct 12 12:06:42 2014 UTC (9 years, 5 months ago) by michael
File length: 21713 byte(s)
Diff to previous 4589 , to selected 8659
- s_bsd.c:ssl_handshake(): use CONNECTTIMEOUT instead of hardcoded value
- server.c:ssl_server_handshake(): use CONNECTTIMEOUT instead of hardcoded value

Revision 4589 - (view) (annotate) - [select for diffs]
Modified Tue Aug 26 15:59:21 2014 UTC (9 years, 7 months ago) by michael
File length: 21677 byte(s)
Diff to previous 4564 , to selected 8659
- Renamed 'localClient' Client structure member to just 'connection'

Revision 4564 - (view) (annotate) - [select for diffs]
Modified Sun Aug 24 10:24:47 2014 UTC (9 years, 7 months ago) by michael
File length: 21712 byte(s)
Diff to previous 4463 , to selected 8659
- Update GPL 2 license headers

Revision 4463 - (view) (annotate) - [select for diffs]
Modified Wed Aug 13 17:26:13 2014 UTC (9 years, 7 months ago) by michael
File length: 21708 byte(s)
Diff to previous 4462 , to selected 8659
- Removed CNCB typedef

Revision 4462 - (view) (annotate) - [select for diffs]
Modified Wed Aug 13 17:08:22 2014 UTC (9 years, 7 months ago) by michael
File length: 21660 byte(s)
Diff to previous 4438 , to selected 8659
- Removed stupid PF typedef in fdlist.h which prevented both gcc and clang from spitting out
  a warning about the first argument of s_bsd:ssl_handshake() being an 'int' when it really
  has to be a 'fde_t' pointer.
- Fixed first argument of s_bsd:ssl_handshake() which should be a 'fde_t' pointer instead of an 'int'.

Revision 4438 - (view) (annotate) - [select for diffs]
Modified Sat Aug 9 18:33:17 2014 UTC (9 years, 7 months ago) by michael
File length: 21544 byte(s)
Diff to previous 4414 , to selected 8659
- Renamed various variables

Revision 4414 - (view) (annotate) - [select for diffs]
Modified Thu Aug 7 14:06:08 2014 UTC (9 years, 7 months ago) by michael
File length: 21503 byte(s)
Diff to previous 4412 , to selected 8659
- Removed ipv6 detection. We now assume all systems that run hybrid have
  ipv6 availability and sockaddr_storage.

Revision 4412 - (view) (annotate) - [select for diffs]
Modified Thu Aug 7 11:30:58 2014 UTC (9 years, 7 months ago) by michael
File length: 21908 byte(s)
Diff to previous 4410 , to selected 8659
- s_bsd.c:comm_accept(): fixed faulty memset()

Revision 4410 - (view) (annotate) - [select for diffs]
Modified Wed Aug 6 21:36:38 2014 UTC (9 years, 7 months ago) by michael
File length: 21909 byte(s)
Diff to previous 4409 , to selected 8659
- Let's allow overlength host name entries in connect {} blocks

Revision 4409 - (view) (annotate) - [select for diffs]
Modified Wed Aug 6 21:20:45 2014 UTC (9 years, 7 months ago) by michael
File length: 21949 byte(s)
Diff to previous 4406 , to selected 8659
- Fixed resolver/auth issues with too long hostnames

Revision 4406 - (view) (annotate) - [select for diffs]
Modified Wed Aug 6 18:40:24 2014 UTC (9 years, 7 months ago) by michael
File length: 21893 byte(s)
Diff to previous 4341 , to selected 8659
- Moved memset() from accept_connection() to comm_accept()

Revision 4341 - (view) (annotate) - [select for diffs]
Modified Sat Aug 2 16:53:48 2014 UTC (9 years, 7 months ago) by michael
File length: 21837 byte(s)
Diff to previous 4115 , to selected 8659
- Renamed structures to meet code conventions

Revision 4115 - (view) (annotate) - [select for diffs]
Modified Tue Jul 1 16:49:54 2014 UTC (9 years, 8 months ago) by michael
File length: 21807 byte(s)
Diff to previous 4112 , to selected 8659
- Added ssl_message_digest_algorithm configuration option to serverinfo{} block.
  See doc/reference.conf for more information.

Revision 4112 - (view) (annotate) - [select for diffs]
Modified Tue Jul 1 16:02:36 2014 UTC (9 years, 8 months ago) by michael
File length: 21784 byte(s)
Diff to previous 3377 , to selected 8659
- Make use of binary_to_hex() in ssl_handshake() and ssl_server_handshake()

Revision 3377 - (view) (annotate) - [select for diffs]
Modified Thu Apr 24 16:15:51 2014 UTC (9 years, 11 months ago) by michael
File length: 21799 byte(s)
Diff to previous 3375 , to selected 8659
- Create 8.2.x branch

Revision 3375 - (view) (annotate) - [select for diffs]
Modified Wed Apr 23 16:03:50 2014 UTC (9 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 21799 byte(s)
Diff to previous 3347 , to selected 8659
- Style corrections

Revision 3347 - (view) (annotate) - [select for diffs]
Modified Sun Apr 20 14:03:06 2014 UTC (9 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 21800 byte(s)
Diff to previous 3324 , to selected 8659
- Moved files:
  s_user.c -> user.c
  s_misc.c -> misc.c
  s_serv.c -> server.c

Revision 3324 - (view) (annotate) - [select for diffs]
Modified Tue Apr 15 16:18:07 2014 UTC (9 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 21802 byte(s)
Diff to previous 3322 , to selected 8659
- Moved s_auth.c to auth.c

Revision 3322 - (view) (annotate) - [select for diffs]
Modified Tue Apr 15 16:11:11 2014 UTC (9 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 21804 byte(s)
Diff to previous 3312 , to selected 8659
- Moved irc_res.c to res.c
- Moved irc_reslib.c to reslib.c

Revision 3312 - (view) (annotate) - [select for diffs]
Modified Tue Apr 15 12:13:07 2014 UTC (9 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 21808 byte(s)
Diff to previous 3311 , to selected 8659
- Readded FLAGS_BLOCKED

Revision 3311 - (view) (annotate) - [select for diffs]
Modified Tue Apr 15 12:10:36 2014 UTC (9 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 21770 byte(s)
Diff to previous 3274 , to selected 8659
- Undo -r3215 for now

Revision 3274 - (view) (annotate) - [select for diffs]
Modified Sun Apr 6 12:22:23 2014 UTC (9 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 21673 byte(s)
Diff to previous 3245 , to selected 8659
- Clean up redundant/unused header includes

Revision 3245 - (view) (annotate) - [select for diffs]
Modified Sun Mar 30 17:08:23 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 21690 byte(s)
Diff to previous 3241 , to selected 8659
- s_bsd.c: no longer resetting source_p->from in close_connection()

Revision 3241 - (view) (annotate) - [select for diffs]
Modified Sun Mar 30 16:45:31 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 21758 byte(s)
Diff to previous 3171 , to selected 8659
- Incorporate Adam's writev() patch

Revision 3171 - (view) (annotate) - [select for diffs]
Modified Sun Mar 16 11:51:48 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 21855 byte(s)
Diff to previous 2916 , to selected 8659
- Incorporate Adam's exit_client/quit storm cleanups
  Note: QS is mandatory now

Revision 2916 - (view) (annotate) - [select for diffs]
Modified Sat Jan 25 21:09:18 2014 UTC (10 years, 2 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 21953 byte(s)
Diff to previous 2881 , to selected 8659
- Clean up all files in include/ (fixed indentation, removed whitespaces/tabs)
- Fixed copyright years

Revision 2881 - (view) (annotate) - [select for diffs]
Modified Mon Jan 20 17:15:39 2014 UTC (10 years, 2 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 21920 byte(s)
Diff to previous 2733 , to selected 8659
- Use the i/o subsystem to execute scheduled writes. Patch provided by Adam.

Revision 2733 - (view) (annotate) - [select for diffs]
Modified Fri Jan 3 17:30:13 2014 UTC (10 years, 2 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 21953 byte(s)
Diff to previous 2725 , to selected 8659
- s_bsd.c:ssl_handshake(): reset timeout handler once SSL_accept() has
  succeeded. Spotted by gp.

Revision 2725 - (view) (annotate) - [select for diffs]
Modified Sun Dec 29 13:01:00 2013 UTC (10 years, 3 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 21890 byte(s)
Diff to previous 2632 , to selected 8659
- Fixed bug where ircd didn't timeout SSL connections that haven't
  finished the SSL handshake. Reported by Adam.

Revision 2632 - (view) (annotate) - [select for diffs]
Modified Sun Dec 8 18:33:48 2013 UTC (10 years, 3 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 21727 byte(s)
Diff to previous 2463 , to selected 8659
- Removed setup_socket callback
- Removed init_comm() as init_netio() can be called directly

Revision 2463 - (view) (annotate) - [select for diffs]
Modified Sat Aug 17 20:38:00 2013 UTC (10 years, 7 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 22032 byte(s)
Diff to previous 2426 , to selected 8659
- Fixed certificate fingerprint validation for outgoing server connects

Revision 2426 - (view) (annotate) - [select for diffs]
Modified Tue Jul 30 17:20:47 2013 UTC (10 years, 8 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 22026 byte(s)
Diff to previous 2287 , to selected 8659
- s_bsd.c:ssl_handshake(): no need to spam ircd.log with useless ssl errors

Revision 2287 - (view) (annotate) - [select for diffs]
Modified Tue Jun 18 21:36:18 2013 UTC (10 years, 9 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 22166 byte(s)
Diff to previous 2246 , to selected 8659
- s_bsd.c:ssl_handshake(): shrink buffer size of md

Revision 2246 - (view) (annotate) - [select for diffs]
Modified Sun Jun 16 10:48:39 2013 UTC (10 years, 9 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 22174 byte(s)
Diff to previous 2235 , to selected 8659
- Add usermode 'S' (client is connecte via SSL/TLS).
  Allows services to keep track of what users are connected via SSL,
  and allows to see ssl-status of remote clients in a /whois.

Revision 2235 - (view) (annotate) - [select for diffs]
Modified Sat Jun 15 18:14:12 2013 UTC (10 years, 9 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 22138 byte(s)
Diff to previous 2230 , to selected 8659
- Change CERTFP implementation to use SHA-256 hashes
- Remove base16_encode()

Revision 2230 - (view) (annotate) - [select for diffs]
Modified Thu Jun 13 20:23:04 2013 UTC (10 years, 9 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 24026 byte(s)
Diff to previous 2229 , to selected 8659
- s_bsd.c:ssl_handshake() replaced a xstrndup() with xstrdup()

Revision 2229 - (view) (annotate) - [select for diffs]
Modified Thu Jun 13 20:10:27 2013 UTC (10 years, 9 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 24040 byte(s)
Diff to previous 2228 , to selected 8659
- Cleanups and fixes to previous commit -r2228

Revision 2228 - (view) (annotate) - [select for diffs]
Modified Thu Jun 13 19:46:30 2013 UTC (10 years, 9 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 23949 byte(s)
Diff to previous 2181 , to selected 8659
- Implement certificate fingerprint validation for oper{} and connect{} blocks.
  Some code taken from oftc-hybrid. Hello, stu!

Revision 2181 - (view) (annotate) - [select for diffs]
Modified Tue Jun 4 11:03:41 2013 UTC (10 years, 9 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 21108 byte(s)
Diff to previous 1858 , to selected 8659
- Fixed debug assertion being triggered on ident lookup
  as reported by Stuart Walsh

Revision 1858 - (view) (annotate) - [select for diffs]
Modified Thu Apr 25 15:00:52 2013 UTC (10 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 21138 byte(s)
Diff to previous 1649 , to selected 8659
- Added basic support for libGeoIP
- Added exempt configuration option to resv{} blocks

Revision 1649 - (view) (annotate) - [select for diffs]
Modified Sat Nov 10 19:27:13 2012 UTC (11 years, 4 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 20815 byte(s)
Diff to previous 1632 , to selected 8659
- minor MaskItem structure cleanup

Revision 1632 - (view) (annotate) - [select for diffs]
Modified Sun Nov 4 15:37:10 2012 UTC (11 years, 4 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 20814 byte(s)
Diff to previous 1618 , to selected 8659
- Initial rewrite of the configuration subsystem

Revision 1618 - (view) (annotate) - [select for diffs]
Modified Tue Oct 30 21:04:38 2012 UTC (11 years, 4 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 20922 byte(s)
Diff to previous 1592 , to selected 8659
- Made m_globops() and ms_globops() use sendto_realops_flags()
- Added message-type parameter to sendto_realops_flags() which can be one of
  SEND_NOTICE, SEND_GLOBAL, SEND_LOCOPS
- Forward-port -r1617

Revision 1592 - (view) (annotate) - [select for diffs]
Modified Sat Oct 27 21:02:32 2012 UTC (11 years, 5 months ago) by michael
Original Path: ircd-hybrid/trunk/src/s_bsd.c
File length: 20886 byte(s)
Diff to previous 1391 , to selected 8659
- Second time's the charm? Moving svnroot/ircd-hybrid-8 to
  svnroot/ircd-hybrid/trunk

Revision 1391 - (view) (annotate) - [select for diffs]
Modified Tue May 1 15:34:29 2012 UTC (11 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd.c
File length: 20886 byte(s)
Diff to previous 1377 , to selected 8659
- s_bsd.c:close_connection(): fixed connection scheduling

Revision 1377 - (view) (annotate) - [select for diffs]
Modified Mon Apr 30 19:35:16 2012 UTC (11 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd.c
File length: 21476 byte(s)
Diff to previous 1309 , to selected 8659
- Remove all Class related #defines like MaxTotal, MaxSendq, etc.
  All they do is lead to confusion.

Revision 1309 - (view) (annotate) - [select for diffs]
Modified Sun Mar 25 11:24:18 2012 UTC (12 years ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd.c
File length: 21475 byte(s)
Diff to previous 1302 , to selected 8659
- renaming files:

  ircd_parser.y -> conf_parser.y
  ircd_lexer.l  -> conf_lexer.l
  s_conf.c      -> conf.c
  s_conf.h      -> conf.h
  s_log.c       -> log.c
  s_log.h       -> log.h

Revision 1302 - (view) (annotate) - [select for diffs]
Modified Wed Mar 21 17:48:54 2012 UTC (12 years ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd.c
File length: 21479 byte(s)
Diff to previous 1247 , to selected 8659
- remove servlink in preparation for tls links/compression

Revision 1247 - (view) (annotate) - [select for diffs]
Modified Sat Oct 1 07:54:24 2011 UTC (12 years, 5 months ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd.c
File length: 21615 byte(s)
Diff to previous 1243 , to selected 8659
- Rewrite and cleanup half-broken logging subsystem.
  Logfile rotating is not working yet

Revision 1243 - (view) (annotate) - [select for diffs]
Modified Fri Sep 30 10:47:53 2011 UTC (12 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd.c
File length: 21685 byte(s)
Diff to previous 1241 , to selected 8659
- move content of msg.h, ircd_handler.h and handlers.h into parse.h and
  remove headers accordingly
- killed common.h
- remove m_killhost.c and m_flags.c from contrib/
- sort out unused header includes here and there

Revision 1241 - (view) (annotate) - [select for diffs]
Modified Thu Sep 29 20:26:09 2011 UTC (12 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd.c
File length: 21705 byte(s)
Diff to previous 1156 , to selected 8659
- move firsttime, since, and lasttime Client struct members to LocalUser struct
- m_watch.c: show_watch() now properly reports signon times. This also fixes
  an invalid signon time of zero for remote clients.

Revision 1156 - (view) (annotate) - [select for diffs]
Modified Tue Aug 9 20:29:20 2011 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd.c
File length: 21666 byte(s)
Diff to previous 1155 , to selected 8659
- create ircd-hybrid-8 "branch"

Revision 1155 - (view) (annotate) - [select for diffs]
Modified Tue Aug 9 20:27:45 2011 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid/src/s_bsd.c
File length: 21666 byte(s)
Diff to previous 1143 , to selected 8659
- recreate "trunk"

Revision 1143 - (view) (annotate) - [select for diffs]
Modified Mon Jul 25 18:58:51 2011 UTC (12 years, 8 months ago) by michael
Original Path: ircd-hybrid-7.3/src/s_bsd.c
File length: 21666 byte(s)
Diff to previous 1123 , to selected 8659
- Update NEWS file
- Minor optimization to update_client_exit_stats close_connection
- Move MaxConnectionCount/MaxClientCount to Counter struct

Revision 1123 - (view) (annotate) - [select for diffs]
Modified Sun Feb 6 21:57:50 2011 UTC (13 years, 1 month ago) by michael
Original Path: ircd-hybrid-7.3/src/s_bsd.c
File length: 21666 byte(s)
Diff to previous 1122 , to selected 8659
- Got rid of irc_addrinfo.c and irc_getnameinfo.c
- Fixed broken ipv6 detection due to incorrect use of AC_CHECK_TYPES

Revision 1122 - (view) (annotate) - [select for diffs]
Modified Mon Jan 10 09:14:19 2011 UTC (13 years, 2 months ago) by michael
Original Path: ircd-hybrid-7.3/src/s_bsd.c
File length: 21631 byte(s)
Diff to previous 1072 , to selected 8659
- simplify remove_ipv6_mapping() and get rid of inetntoa

Revision 1072 - (view) (annotate) - [select for diffs]
Modified Wed Feb 17 22:58:23 2010 UTC (14 years, 1 month ago) by michael
Original Path: ircd-hybrid-7.3/src/s_bsd.c
File length: 21713 byte(s)
Diff to previous 1029 , to selected 8659
- remove old dot_in_ip6_addr configuration option. this is now obsolete.

Revision 1029 - (view) (annotate) - [select for diffs]
Modified Sun Nov 8 13:10:50 2009 UTC (14 years, 4 months ago) by michael
Original Path: ircd-hybrid-7.3/src/s_bsd.c
File length: 21826 byte(s)
Diff to previous 1028 , to selected 8659
- branch off trunk to create 7.3 branch
Revision 1028 - (view) (annotate) - [select for diffs]
Modified Sun Nov 8 13:03:38 2009 UTC (14 years, 4 months ago) by michael
Original Path: ircd-hybrid/src/s_bsd.c
File length: 21826 byte(s)
Diff to previous 1013 , to selected 8659
- move ircd-hybrid-7.2 to trunk

Revision 1013 - (view) (annotate) - [select for diffs]
Modified Sun Oct 18 14:26:49 2009 UTC (14 years, 5 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_bsd.c
File length: 21826 byte(s)
Diff to previous 1011 , to selected 8659
- Add -Wextra -Wcast-align -Wbad-function-cast to CFLAGS if --enable-warnings is specified
- Fixed several compile warnings
- 64-bit cleanliness fixes, e.g., reorganize data structures to reduce storage/unnecessary padding

Revision 1011 - (view) (annotate) - [select for diffs]
Modified Fri Sep 18 10:14:09 2009 UTC (14 years, 6 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_bsd.c
File length: 21922 byte(s)
Diff to previous 1001 , to selected 8659
- move list manipulation routines from tools.c to list.c
- mem_frob() goes to memory.c
- sort out redundant/unneeded header includes

Revision 1001 - (view) (annotate) - [select for diffs]
Modified Sat Aug 29 22:44:44 2009 UTC (14 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_bsd.c
File length: 21922 byte(s)
Diff to previous 992 , to selected 8659
- remove half done and broken win32 support

Revision 992 - (view) (annotate) - [select for diffs]
Modified Mon Aug 17 19:19:16 2009 UTC (14 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_bsd.c
File length: 22248 byte(s)
Diff to previous 967 , to selected 8659
- fix possible auth/dns related memleaks

Revision 967 - (view) (annotate) - [select for diffs]
Modified Sun Aug 2 18:05:28 2009 UTC (14 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_bsd.c
File length: 22431 byte(s)
Diff to previous 950 , to selected 8659
- added ssl_server_protocol configuration option to servinfo{}.
  valid flags are 'sslv3' and 'tlsv1'

Revision 950 - (view) (annotate) - [select for diffs]
Modified Tue Jul 21 23:07:52 2009 UTC (14 years, 8 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_bsd.c
File length: 22463 byte(s)
Diff to previous 948 , to selected 8659
- squash several compile warnings

Revision 948 - (view) (annotate) - [select for diffs]
Modified Tue Jul 21 17:34:06 2009 UTC (14 years, 8 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_bsd.c
File length: 22493 byte(s)
Diff to previous 896 , to selected 8659
- lp64\llp64\ilp32 portability fixes

Revision 896 - (view) (annotate) - [select for diffs]
Modified Sat Nov 3 08:54:09 2007 UTC (16 years, 4 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_bsd.c
File length: 22534 byte(s)
Diff to previous 871 , to selected 8659
- Killed s_stats.c

Revision 871 - (view) (annotate) - [select for diffs]
Modified Fri Sep 14 03:33:44 2007 UTC (16 years, 6 months ago) by db
Original Path: ircd-hybrid-7.2/src/s_bsd.c
File length: 22564 byte(s)
Diff to previous 683 , to selected 8659
- When a connect block uses a hostname instead of an IP, ircd will connect
to the hostname's IPv6 if available, independent of the aftype setting.
This causes the ircd to fail to connect to a IPv4 host that also has an IPv6 IP.

Submitted By:	evilmoon (hgchew) (via Sourceforge bts)

Revision 683 - (view) (annotate) - [select for diffs]
Modified Thu Jun 15 14:28:59 2006 UTC (17 years, 9 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_bsd.c
File length: 22459 byte(s)
Diff to previous 549 , to selected 8659
- close_connection(): Fixed some harmless bug that could result in incorrect
  sent statistics in "STATS t"
- Updated RELNOTES

Revision 549 - (view) (annotate) - [select for diffs]
Modified Thu Apr 20 12:46:18 2006 UTC (17 years, 11 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_bsd.c
File length: 22459 byte(s)
Diff to previous 451 , to selected 8659
- Backported add_connection() speedups

Revision 451 - (view) (annotate) - [select for diffs]
Modified Sun Feb 12 16:19:54 2006 UTC (18 years, 1 month ago) by michael
Original Path: ircd-hybrid-7.2/src/s_bsd.c
File length: 23195 byte(s)
Diff to previous 169 , to selected 8659
- Properly close ssl clients

Revision 169 - (view) (annotate) - [select for diffs]
Modified Fri Oct 21 09:37:16 2005 UTC (18 years, 5 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_bsd.c
File length: 23054 byte(s)
Diff to previous 34 , to selected 8659
- Removed LocalUser.port
- Removed two extra memsets in make_request()

Revision 34 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 21:05:51 2005 UTC (18 years, 5 months ago) by lusky
Original Path: ircd-hybrid-7.2/src/s_bsd.c
File length: 23108 byte(s)
Diff to previous 33 , to selected 8659
create 7.2 branch, we can move/rename it as needed.


Revision 33 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:50:00 2005 UTC (18 years, 5 months ago) by knight
Original Path: ircd-hybrid/src/s_bsd.c
File length: 23108 byte(s)
Diff to previous 32 , to selected 8659
- svn:keywords

Revision 32 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:41:23 2005 UTC (18 years, 5 months ago) by knight
Original Path: ircd-hybrid/src/s_bsd.c
File length: 23108 byte(s)
Diff to previous 31 , to selected 8659
- svn:keywords

Revision 31 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:34:05 2005 UTC (18 years, 5 months ago) by knight
Original Path: ircd-hybrid/src/s_bsd.c
File length: 23108 byte(s)
Diff to previous 30 , to selected 8659
- Fix svn:keywords

Revision 30 - (view) (annotate) - [select for diffs]
Added Sun Oct 2 20:03:27 2005 UTC (18 years, 5 months ago) by adx
Original Path: ircd-hybrid/src/s_bsd.c
File length: 23154 byte(s)
Diff to selected 8659
- imported sources
- can be moved later according to the directory/branching scheme,
  but we need the svn up

Convenience Links

Links to HEAD: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a