ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/s_bsd.c
Revision 9250 - (view) (annotate) - [select for diffs]
Modified Sat Feb 1 13:36:10 2020 UTC (5 years, 6 months ago) by michael
File length: 15978 byte(s)
Diff to previous 9224
- Rename most occurrences of 'client_p' to 'client'

Revision 9224 - (view) (annotate) - [select for diffs]
Modified Sun Jan 26 11:35:42 2020 UTC (5 years, 7 months ago) by michael
File length: 16054 byte(s)
Diff to previous 9213
- Renamings:
    tls_new_cred -> tls_new_credentials
    tls_free_cred -> tls_free_credentials
    tls_verify_cert -> tls_verify_certificate

Revision 9213 - (view) (annotate) - [select for diffs]
Modified Sat Jan 25 23:20:08 2020 UTC (5 years, 7 months ago) by michael
File length: 16047 byte(s)
Diff to previous 9157
- server_tls_handshake(), ssl_handshake(): make use of client_get_name()

Revision 9157 - (view) (annotate) - [select for diffs]
Modified Mon Jan 13 14:56:38 2020 UTC (5 years, 7 months ago) by michael
File length: 16069 byte(s)
Diff to previous 9101
- Replaced most occurences of 'SSL' with 'TLS'

Revision 9101 - (view) (annotate) - [select for diffs]
Modified Wed Jan 1 09:58:45 2020 UTC (5 years, 7 months ago) by michael
File length: 16069 byte(s)
Diff to previous 9054
- Bump copyright years everywhere

Revision 9054 - (view) (annotate) - [select for diffs]
Modified Sat Jun 15 18:17:08 2019 UTC (6 years, 2 months ago) by michael
File length: 16069 byte(s)
Diff to previous 9043
- s_bsd.c:setup_socket(): enable TCP_QUICKACK

Revision 9043 - (view) (annotate) - [select for diffs]
Modified Fri May 31 09:51:17 2019 UTC (6 years, 2 months ago) by michael
File length: 15967 byte(s)
Diff to previous 9033
- s_bsd.c:comm_connect_tcp(): fixes to -r9033

Revision 9033 - (view) (annotate) - [select for diffs]
Modified Wed May 29 20:53:11 2019 UTC (6 years, 2 months ago) by michael
File length: 15967 byte(s)
Diff to previous 9003
- s_bsd.c:comm_connect_tcp(): kill another memcpy()

Revision 9003 - (view) (annotate) - [select for diffs]
Modified Sun May 26 00:00:31 2019 UTC (6 years, 3 months ago) by michael
File length: 16004 byte(s)
Diff to previous 8943
- Kill a few memcpy() not needed in some places

Revision 8943 - (view) (annotate) - [select for diffs]
Modified Sun Apr 28 13:27:34 2019 UTC (6 years, 4 months ago) by michael
File length: 16033 byte(s)
Diff to previous 8941
- Lower TLS handshake timouts to 5 seconds. Add separate TLS_HANDSHAKE_TIMEOUT enum to tls.h

Revision 8941 - (view) (annotate) - [select for diffs]
Modified Sat Apr 27 23:46:13 2019 UTC (6 years, 4 months ago) by michael
File length: 16012 byte(s)
Diff to previous 8919
- 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 8919 - (view) (annotate) - [select for diffs]
Modified Mon Apr 22 09:52:53 2019 UTC (6 years, 4 months ago) by michael
File length: 16037 byte(s)
Diff to previous 8900
- Should be using monotonic clock almost everywhere now; sort out mixture and misuse of 'firsttime', 'lasttime' and 'since' in the Connection structure

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

Revision 8872 - (view) (annotate) - [select for diffs]
Modified Sat Feb 16 21:49:34 2019 UTC (6 years, 6 months ago) by michael
File length: 15934 byte(s)
Diff to previous 8826
- Cleanup server connecting related code even further
- Make comm_connect_tcp() take less arguments and remove unused dns resolving functionality

Revision 8826 - (view) (annotate) - [select for diffs]
Modified Sat Feb 2 00:00:17 2019 UTC (6 years, 6 months ago) by michael
File length: 18122 byte(s)
Diff to previous 8752
- Made comm_get_sockerr() and comm_accept() take a fde_t pointer as argument

Revision 8752 - (view) (annotate) - [select for diffs]
Modified Tue Jan 1 11:07:01 2019 UTC (6 years, 7 months ago) by michael
File length: 18088 byte(s)
Diff to previous 8717
- Update copyright years

Revision 8717 - (view) (annotate) - [select for diffs]
Modified Mon Dec 10 16:53:51 2018 UTC (6 years, 8 months ago) by michael
File length: 18088 byte(s)
Diff to previous 8688
- Sprinkle some assert()

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

Revision 8660 - (view) (annotate) - [select for diffs]
Modified Sun Nov 18 12:55:59 2018 UTC (6 years, 9 months ago) by michael
File length: 18046 byte(s)
Diff to previous 8658
- Make use of the bool data type in some more places

Revision 8658 - (view) (annotate) - [select for diffs]
Modified Mon Nov 12 19:03:09 2018 UTC (6 years, 9 months ago) by michael
File length: 18042 byte(s)
Diff to previous 8557
- Make use of the bool data type in some more places

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

Revision 8538 - (view) (annotate) - [select for diffs]
Modified Sun Apr 29 18:09:36 2018 UTC (7 years, 3 months ago) by michael
File length: 18011 byte(s)
Diff to previous 8500
- s_bsd.c:ssl_handshake: use 'F' instead of 'client_p->connection->fd'

Revision 8500 - (view) (annotate) - [select for diffs]
Modified Thu Apr 5 13:00:49 2018 UTC (7 years, 4 months ago) by michael
File length: 18103 byte(s)
Diff to previous 8496
- Killed Connection::aftype. Use Client::ip.ss.ss_family instead.

Revision 8496 - (view) (annotate) - [select for diffs]
Modified Thu Apr 5 12:46:00 2018 UTC (7 years, 4 months ago) by michael
File length: 18163 byte(s)
Diff to previous 8431
- Killed userhost.c. Rewrote everything to use ipcache.c

Revision 8431 - (view) (annotate) - [select for diffs]
Modified Tue Mar 27 18:49:15 2018 UTC (7 years, 5 months ago) by michael
File length: 18223 byte(s)
Diff to previous 8414
- Stylistic changes

Revision 8414 - (view) (annotate) - [select for diffs]
Modified Thu Mar 22 18:11:39 2018 UTC (7 years, 5 months ago) by michael
File length: 18236 byte(s)
Diff to previous 8393
- Rename some functions to comply with naming convention

Revision 8393 - (view) (annotate) - [select for diffs]
Modified Sun Mar 18 12:54:22 2018 UTC (7 years, 5 months ago) by michael
File length: 18213 byte(s)
Diff to previous 8349
- Move close_connection() from s_bsd.c to client.c

Revision 8349 - (view) (annotate) - [select for diffs]
Modified Sun Mar 4 13:24:03 2018 UTC (7 years, 5 months ago) by michael
File length: 20217 byte(s)
Diff to previous 8339
- Style corrections

Revision 8339 - (view) (annotate) - [select for diffs]
Modified Sat Mar 3 22:47:06 2018 UTC (7 years, 5 months ago) by michael
File length: 20216 byte(s)
Diff to previous 8314
- 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 8314 - (view) (annotate) - [select for diffs]
Modified Wed Feb 28 17:47:23 2018 UTC (7 years, 5 months ago) by michael
File length: 20316 byte(s)
Diff to previous 8310
- Remove experimental libgeoip support

Revision 8310 - (view) (annotate) - [select for diffs]
Modified Wed Feb 28 16:46:13 2018 UTC (7 years, 5 months ago) by michael
File length: 20922 byte(s)
Diff to previous 8307
- Clean up remaining sizeof() to sizeof(variable)

Revision 8307 - (view) (annotate) - [select for diffs]
Modified Tue Feb 27 21:19:21 2018 UTC (7 years, 5 months ago) by michael
File length: 20915 byte(s)
Diff to previous 8279
- s_bsd.c: removed useless auth.h header include

Revision 8279 - (view) (annotate) - [select for diffs]
Modified Tue Feb 20 19:30:13 2018 UTC (7 years, 6 months ago) by michael
File length: 20933 byte(s)
Diff to previous 8265
- Update copyright years

Revision 8265 - (view) (annotate) - [select for diffs]
Modified Sat Jun 3 20:11:37 2017 UTC (8 years, 2 months ago) by michael
File length: 20933 byte(s)
Diff to previous 8253
- s_bsd.c: from p4: add_connection(): clean up logic for ips beginning with :

Revision 8253 - (view) (annotate) - [select for diffs]
Modified Mon May 22 19:29:26 2017 UTC (8 years, 3 months ago) by michael
File length: 21112 byte(s)
Diff to previous 7957
- Have s_bsd.c:comm_accept() take a fde_t pointer instead of a struct Listener

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

Revision 7955 - (view) (annotate) - [select for diffs]
Modified Sat Mar 4 19:38:05 2017 UTC (8 years, 5 months ago) by michael
File length: 21131 byte(s)
Diff to previous 7924
- Rename some functions in auth.c to comply with naming convention

Revision 7924 - (view) (annotate) - [select for diffs]
Modified Sat Dec 31 13:57:08 2016 UTC (8 years, 7 months ago) by michael
File length: 21131 byte(s)
Diff to previous 7668
- Update copyright years

Revision 7668 - (view) (annotate) - [select for diffs]
Modified Wed Jul 20 17:09:49 2016 UTC (9 years, 1 month ago) by michael
File length: 21131 byte(s)
Diff to previous 7431
- Fixed svn properties

Revision 7431 - (view) (annotate) - [select for diffs]
Modified Tue Mar 8 18:20:10 2016 UTC (9 years, 5 months ago) by michael
File length: 21131 byte(s)
Diff to previous 7401
- Minor style cleanups & constification

Revision 7401 - (view) (annotate) - [select for diffs]
Modified Sun Mar 6 16:15:22 2016 UTC (9 years, 5 months ago) by michael
File length: 21185 byte(s)
Diff to previous 7330
- Cleanups to operator/connect block lookup routines

Revision 7330 - (view) (annotate) - [select for diffs]
Modified Fri Feb 19 17:50:13 2016 UTC (9 years, 6 months ago) by michael
File length: 21184 byte(s)
Diff to previous 7274
- 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 7274 - (view) (annotate) - [select for diffs]
Modified Sat Feb 6 20:55:49 2016 UTC (9 years, 6 months ago) by michael
File length: 21175 byte(s)
Diff to previous 7271
- Let's do this better

Revision 7271 - (view) (annotate) - [select for diffs]
Modified Sat Feb 6 20:47:15 2016 UTC (9 years, 6 months ago) by michael
File length: 21201 byte(s)
Diff to previous 7258
- Don't exit out with GnuTLS when there's no key and/or certificate

Revision 7258 - (view) (annotate) - [select for diffs]
Modified Sat Feb 6 17:29:57 2016 UTC (9 years, 6 months ago) by michael
File length: 21244 byte(s)
Diff to previous 7142
- Improve libGeoIP support

Revision 7142 - (view) (annotate) - [select for diffs]
Modified Thu Jan 28 09:56:49 2016 UTC (9 years, 7 months ago) by michael
File length: 20955 byte(s)
Diff to previous 7105
- Remove useless raw_result -- from Adam

Revision 7105 - (view) (annotate) - [select for diffs]
Modified Sat Jan 23 20:11:27 2016 UTC (9 years, 7 months ago) by michael
File length: 20985 byte(s)
Diff to previous 7032
- Incorporate gnutls support by Adam & Attila

Revision 7032 - (view) (annotate) - [select for diffs]
Modified Sun Jan 3 14:34:39 2016 UTC (9 years, 7 months ago) by michael
File length: 21862 byte(s)
Diff to previous 7006
- Renamed MyCalloc to xcalloc

Revision 7006 - (view) (annotate) - [select for diffs]
Modified Fri Jan 1 00:07:54 2016 UTC (9 years, 7 months ago) by michael
File length: 21863 byte(s)
Diff to previous 6951
- Update copyright years

Revision 6951 - (view) (annotate) - [select for diffs]
Modified Tue Dec 15 19:11:07 2015 UTC (9 years, 8 months ago) by michael
File length: 21863 byte(s)
Diff to previous 6948
- 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 6948 - (view) (annotate) - [select for diffs]
Modified Tue Dec 15 18:52:32 2015 UTC (9 years, 8 months ago) by michael
File length: 21860 byte(s)
Diff to previous 5887
- s_bsd.c:comm_connect_tcp(): move comments to proper place

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

Revision 5583 - (view) (annotate) - [select for diffs]
Modified Sun Feb 15 14:43:15 2015 UTC (10 years, 6 months ago) by michael
File length: 21728 byte(s)
Diff to previous 5347
- Style corrections only

Revision 5347 - (view) (annotate) - [select for diffs]
Modified Sun Jan 11 12:42:20 2015 UTC (10 years, 7 months ago) by michael
File length: 21724 byte(s)
Diff to previous 5051
- Update copyright years

Revision 5051 - (view) (annotate) - [select for diffs]
Modified Sat Dec 13 21:31:06 2014 UTC (10 years, 8 months ago) by michael
File length: 21724 byte(s)
Diff to previous 4815
- Fixed compile warnings

Revision 4815 - (view) (annotate) - [select for diffs]
Modified Sat Nov 1 15:28:42 2014 UTC (10 years, 9 months ago) by michael
File length: 21718 byte(s)
Diff to previous 4737
- Renamed variables

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

Revision 4588 - (view) (annotate) - [select for diffs]
Modified Tue Aug 26 15:59:07 2014 UTC (11 years ago) by michael
File length: 21677 byte(s)
Diff to previous 4565
- Renamed 'localClient' Client structure member to just 'connection'

Revision 4565 - (view) (annotate) - [select for diffs]
Modified Sun Aug 24 10:27:40 2014 UTC (11 years ago) by michael
File length: 21712 byte(s)
Diff to previous 4464
- Update GPL 2 license headers

Revision 4464 - (view) (annotate) - [select for diffs]
Modified Wed Aug 13 17:28:00 2014 UTC (11 years ago) by michael
File length: 21708 byte(s)
Diff to previous 4461
- Removed CNCB typedef

Revision 4461 - (view) (annotate) - [select for diffs]
Modified Wed Aug 13 17:05:26 2014 UTC (11 years ago) by michael
File length: 21660 byte(s)
Diff to previous 4439
- 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 4439 - (view) (annotate) - [select for diffs]
Modified Sat Aug 9 18:36:19 2014 UTC (11 years ago) by michael
File length: 21544 byte(s)
Diff to previous 4415
- Renamed various variables

Revision 4415 - (view) (annotate) - [select for diffs]
Modified Thu Aug 7 14:09:36 2014 UTC (11 years ago) by michael
File length: 21503 byte(s)
Diff to previous 4413
- Removed ipv6 detection. We now assume all systems that run hybrid have
  ipv6 availability and sockaddr_storage.

Revision 4413 - (view) (annotate) - [select for diffs]
Modified Thu Aug 7 11:31:11 2014 UTC (11 years ago) by michael
File length: 21908 byte(s)
Diff to previous 4411
- s_bsd.c:comm_accept(): fixed faulty memset()

Revision 4411 - (view) (annotate) - [select for diffs]
Modified Wed Aug 6 21:38:03 2014 UTC (11 years ago) by michael
File length: 21909 byte(s)
Diff to previous 4408
- Let's allow overlength host name entries in connect {} blocks

Revision 4408 - (view) (annotate) - [select for diffs]
Modified Wed Aug 6 21:19:38 2014 UTC (11 years ago) by michael
File length: 21949 byte(s)
Diff to previous 4407
- Fixed resolver/auth issues with too long hostnames

Revision 4407 - (view) (annotate) - [select for diffs]
Modified Wed Aug 6 18:42:42 2014 UTC (11 years ago) by michael
File length: 21893 byte(s)
Diff to previous 4340
- Moved memset() from accept_connection() to comm_accept()

Revision 4340 - (view) (annotate) - [select for diffs]
Modified Sat Aug 2 16:53:22 2014 UTC (11 years ago) by michael
File length: 21837 byte(s)
Diff to previous 4114
- Renamed structures to meet code conventions

Revision 4114 - (view) (annotate) - [select for diffs]
Modified Tue Jul 1 16:47:15 2014 UTC (11 years, 1 month ago) by michael
File length: 21807 byte(s)
Diff to previous 4113
- Added ssl_message_digest_algorithm configuration option to serverinfo{} block.
  See doc/reference.conf for more information.

Revision 4113 - (view) (annotate) - [select for diffs]
Modified Tue Jul 1 16:02:52 2014 UTC (11 years, 1 month ago) by michael
File length: 21784 byte(s)
Diff to previous 3375
- Make use of binary_to_hex() in ssl_handshake() and ssl_server_handshake()

Revision 3375 - (view) (annotate) - [select for diffs]
Modified Wed Apr 23 16:03:50 2014 UTC (11 years, 4 months ago) by michael
File length: 21799 byte(s)
Diff to previous 3347
- Style corrections

Revision 3347 - (view) (annotate) - [select for diffs]
Modified Sun Apr 20 14:03:06 2014 UTC (11 years, 4 months ago) by michael
File length: 21800 byte(s)
Diff to previous 3324
- 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 (11 years, 4 months ago) by michael
File length: 21802 byte(s)
Diff to previous 3322
- Moved s_auth.c to auth.c

Revision 3322 - (view) (annotate) - [select for diffs]
Modified Tue Apr 15 16:11:11 2014 UTC (11 years, 4 months ago) by michael
File length: 21804 byte(s)
Diff to previous 3312
- 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 (11 years, 4 months ago) by michael
File length: 21808 byte(s)
Diff to previous 3311
- Readded FLAGS_BLOCKED

Revision 3311 - (view) (annotate) - [select for diffs]
Modified Tue Apr 15 12:10:36 2014 UTC (11 years, 4 months ago) by michael
File length: 21770 byte(s)
Diff to previous 3274
- Undo -r3215 for now

Revision 3274 - (view) (annotate) - [select for diffs]
Modified Sun Apr 6 12:22:23 2014 UTC (11 years, 4 months ago) by michael
File length: 21673 byte(s)
Diff to previous 3245
- Clean up redundant/unused header includes

Revision 3245 - (view) (annotate) - [select for diffs]
Modified Sun Mar 30 17:08:23 2014 UTC (11 years, 5 months ago) by michael
File length: 21690 byte(s)
Diff to previous 3241
- 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 (11 years, 5 months ago) by michael
File length: 21758 byte(s)
Diff to previous 3171
- Incorporate Adam's writev() patch

Revision 3171 - (view) (annotate) - [select for diffs]
Modified Sun Mar 16 11:51:48 2014 UTC (11 years, 5 months ago) by michael
File length: 21855 byte(s)
Diff to previous 2916
- 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 (11 years, 7 months ago) by michael
File length: 21953 byte(s)
Diff to previous 2881
- 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 (11 years, 7 months ago) by michael
File length: 21920 byte(s)
Diff to previous 2733
- 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 (11 years, 7 months ago) by michael
File length: 21953 byte(s)
Diff to previous 2725
- 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 (11 years, 8 months ago) by michael
File length: 21890 byte(s)
Diff to previous 2632
- 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 (11 years, 8 months ago) by michael
File length: 21727 byte(s)
Diff to previous 2463
- 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 (12 years ago) by michael
File length: 22032 byte(s)
Diff to previous 2426
- Fixed certificate fingerprint validation for outgoing server connects

Revision 2426 - (view) (annotate) - [select for diffs]
Modified Tue Jul 30 17:20:47 2013 UTC (12 years ago) by michael
File length: 22026 byte(s)
Diff to previous 2287
- 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 (12 years, 2 months ago) by michael
File length: 22166 byte(s)
Diff to previous 2246
- 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 (12 years, 2 months ago) by michael
File length: 22174 byte(s)
Diff to previous 2235
- 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 (12 years, 2 months ago) by michael
File length: 22138 byte(s)
Diff to previous 2230
- 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 (12 years, 2 months ago) by michael
File length: 24026 byte(s)
Diff to previous 2229
- 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 (12 years, 2 months ago) by michael
File length: 24040 byte(s)
Diff to previous 2228
- Cleanups and fixes to previous commit -r2228

Revision 2228 - (view) (annotate) - [select for diffs]
Modified Thu Jun 13 19:46:30 2013 UTC (12 years, 2 months ago) by michael
File length: 23949 byte(s)
Diff to previous 2181
- 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 (12 years, 2 months ago) by michael
File length: 21108 byte(s)
Diff to previous 1858
- 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 (12 years, 4 months ago) by michael
File length: 21138 byte(s)
Diff to previous 1649
- 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 (12 years, 9 months ago) by michael
File length: 20815 byte(s)
Diff to previous 1632
- minor MaskItem structure cleanup

Revision 1632 - (view) (annotate) - [select for diffs]
Modified Sun Nov 4 15:37:10 2012 UTC (12 years, 9 months ago) by michael
File length: 20814 byte(s)
Diff to previous 1618
- Initial rewrite of the configuration subsystem

Revision 1618 - (view) (annotate) - [select for diffs]
Modified Tue Oct 30 21:04:38 2012 UTC (12 years, 9 months ago) by michael
File length: 20922 byte(s)
Diff to previous 1592
- 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 (12 years, 10 months ago) by michael
File length: 20886 byte(s)
Diff to previous 1391
- 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 (13 years, 3 months ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd.c
File length: 20886 byte(s)
Diff to previous 1377
- s_bsd.c:close_connection(): fixed connection scheduling

Revision 1377 - (view) (annotate) - [select for diffs]
Modified Mon Apr 30 19:35:16 2012 UTC (13 years, 3 months ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd.c
File length: 21476 byte(s)
Diff to previous 1309
- 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 (13 years, 5 months ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd.c
File length: 21475 byte(s)
Diff to previous 1302
- 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 (13 years, 5 months ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd.c
File length: 21479 byte(s)
Diff to previous 1247
- remove servlink in preparation for tls links/compression

Revision 1247 - (view) (annotate) - [select for diffs]
Modified Sat Oct 1 07:54:24 2011 UTC (13 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd.c
File length: 21615 byte(s)
Diff to previous 1243
- 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 (13 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd.c
File length: 21685 byte(s)
Diff to previous 1241
- 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 (13 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd.c
File length: 21705 byte(s)
Diff to previous 1156
- 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 (14 years ago) by michael
Original Path: ircd-hybrid-8/src/s_bsd.c
File length: 21666 byte(s)
Diff to previous 1155
- create ircd-hybrid-8 "branch"

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

Revision 1143 - (view) (annotate) - [select for diffs]
Modified Mon Jul 25 18:58:51 2011 UTC (14 years, 1 month ago) by michael
Original Path: ircd-hybrid-7.3/src/s_bsd.c
File length: 21666 byte(s)
Diff to previous 1123
- 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 (14 years, 6 months ago) by michael
Original Path: ircd-hybrid-7.3/src/s_bsd.c
File length: 21666 byte(s)
Diff to previous 1122
- 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 (14 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.3/src/s_bsd.c
File length: 21631 byte(s)
Diff to previous 1072
- 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 (15 years, 6 months ago) by michael
Original Path: ircd-hybrid-7.3/src/s_bsd.c
File length: 21713 byte(s)
Diff to previous 1029
- 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 (15 years, 9 months ago) by michael
Original Path: ircd-hybrid-7.3/src/s_bsd.c
File length: 21826 byte(s)
Diff to previous 1028
- branch off trunk to create 7.3 branch
Revision 1028 - (view) (annotate) - [select for diffs]
Modified Sun Nov 8 13:03:38 2009 UTC (15 years, 9 months ago) by michael
Original Path: ircd-hybrid/src/s_bsd.c
File length: 21826 byte(s)
Diff to previous 1013
- move ircd-hybrid-7.2 to trunk

Revision 1013 - (view) (annotate) - [select for diffs]
Modified Sun Oct 18 14:26:49 2009 UTC (15 years, 10 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_bsd.c
File length: 21826 byte(s)
Diff to previous 1011
- 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 (15 years, 11 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_bsd.c
File length: 21922 byte(s)
Diff to previous 1001
- 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 (16 years ago) by michael
Original Path: ircd-hybrid-7.2/src/s_bsd.c
File length: 21922 byte(s)
Diff to previous 992
- remove half done and broken win32 support

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

Revision 967 - (view) (annotate) - [select for diffs]
Modified Sun Aug 2 18:05:28 2009 UTC (16 years ago) by michael
Original Path: ircd-hybrid-7.2/src/s_bsd.c
File length: 22431 byte(s)
Diff to previous 950
- 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 (16 years, 1 month ago) by michael
Original Path: ircd-hybrid-7.2/src/s_bsd.c
File length: 22463 byte(s)
Diff to previous 948
- squash several compile warnings

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

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

Revision 871 - (view) (annotate) - [select for diffs]
Modified Fri Sep 14 03:33:44 2007 UTC (17 years, 11 months ago) by db
Original Path: ircd-hybrid-7.2/src/s_bsd.c
File length: 22564 byte(s)
Diff to previous 683
- 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 (19 years, 2 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_bsd.c
File length: 22459 byte(s)
Diff to previous 549
- 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 (19 years, 4 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_bsd.c
File length: 22459 byte(s)
Diff to previous 451
- Backported add_connection() speedups

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

Revision 169 - (view) (annotate) - [select for diffs]
Modified Fri Oct 21 09:37:16 2005 UTC (19 years, 10 months ago) by michael
Original Path: ircd-hybrid-7.2/src/s_bsd.c
File length: 23054 byte(s)
Diff to previous 34
- 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 (19 years, 10 months ago) by lusky
Original Path: ircd-hybrid-7.2/src/s_bsd.c
File length: 23108 byte(s)
Diff to previous 33
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 (19 years, 10 months ago) by knight
Original Path: ircd-hybrid/src/s_bsd.c
File length: 23108 byte(s)
Diff to previous 32
- svn:keywords

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

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

Revision 30 - (view) (annotate) - [select for diffs]
Added Sun Oct 2 20:03:27 2005 UTC (19 years, 10 months ago) by adx
Original Path: ircd-hybrid/src/s_bsd.c
File length: 23154 byte(s)
- 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