1
0
forked from bip/bip
Commit Graph

55 Commits

Author SHA1 Message Date
Pierre-Louis Bonicoli
866552e102
sample conf: on_connect_send can be used more than once 2018-02-19 19:57:51 +01:00
Pierre-Louis Bonicoli
aad87daa9e
sample conf: reformat 2018-02-19 19:57:46 +01:00
Pierre-Louis Bonicoli
6d3bff1969
sample conf: remove trailing spaces 2018-02-19 19:57:40 +01:00
Pierre-Louis Bonicoli
97e19a5215
sample conf: comment the whole file 2018-02-19 19:57:35 +01:00
Pierre-Louis Bonicoli
af46159275
Sample config file: add default values 2018-02-19 19:56:49 +01:00
Pierre-Louis Bonicoli
e52df8d086
sample.conf: use /run instead of /var/run 2018-02-19 19:56:44 +01:00
Pierre-Louis Bonicoli
6b38449875 Allow to set DH parameters 2016-11-07 17:50:20 +01:00
Pierre-Louis Bonicoli
5db61f3982 Allow to set oidentd path 2016-11-07 11:26:22 +01:00
Pierre-Louis Bonicoli
30270bc8e8 sample configuration: add per connection log parameter 2016-11-07 11:25:39 +01:00
Pierre-Louis Bonicoli
ab8e5eece1 Add cipher specifications setting
Allow to configure cipher specifications for the listening bip
connection and for each outgoing IRC connection.

Closes #301
2016-11-07 11:25:37 +01:00
Pierre-Louis Bonicoli
20f39abc56 bipdir improvements
- more documentation
- don't die if environment variable $HOME isn't defined but '-s'
  parameter is used
- oidentd: change path, file is located in bipdir
2016-11-07 11:25:34 +01:00
Pierre-Louis Bonicoli
4eec084452 Allow to configure the delay before a reconnection
Initial patch submitted by Romain Gayon, thanks to him !
2014-12-11 18:19:11 +01:00
Adam Williamson
88242715f4 allow for certificate store to be unspecified in CA mode
In many cases, using OpenSSL's default certificate store is fine
and even preferred. If your OpenSSL provider (e.g. your
distribution) is competent, they will manage this database
better than you likely will. With this change, bip will
attempt to use the default certificate store if you set
CA mode but do not specify a certificate store location.

This could be refined to test after enabling the default paths
whether the certificate store is empty, and error/warn if
so.
2014-12-11 14:50:02 +01:00
Adam Williamson
89295ca4b2 check whether trust store is a file or directory in CHECK_CA
The existing code only allows you to provide a set of trusted
CA certificates as an openssl 'CApath'-type directory. Fedora,
RHEL (and derived distros) and probably other distros provide
a system-wide database of trusted CA certs in various bundle
formats, but not as a CApath-type directory. This checks whether
check_store is a file or directory and loads it appropriately,
when initializing an SSL connection.

Note that there is code elsewhere which assumes the trust store
will be a file, but that code is hit only in CHECK_BASIC mode.
This change applies only to CHECK_CA mode.
2014-12-11 14:49:53 +01:00
Arnaud Cornet
a8fb0c40d3 Support hour in log format. Mostly for debugging 2009-07-05 14:00:06 +02:00
Arnaud Cornet
29ff342d93 Add option ignore_server_capab 2009-02-08 12:36:49 +01:00
Arnaud Cornet
170d4d1e00 [FEATURE] autojoin_on_kick in connection blocks
true by default
2009-01-21 17:24:54 +01:00
Arnaud Cornet
26eb9c28d7 [OPTION] implement backlog_reset_connection
backlog_reset_on_talk no works per query/channel.
Setting backlog_reset_connection to true falls back to the former kind
of backlog reset.
2009-01-17 12:50:39 +01:00
Arnaud Cornet
7565b9cb8e typos 2009-01-16 15:09:22 +01:00
Arnaud Cornet
b912282410 optionnal -> optional 2009-01-16 12:30:24 +01:00
Loc Gomez
efe0c43b9c Documentation fixes
- update bip.vim and bip.conf sample files
- remove nonsense LOG_STD log level
2008-02-04 18:36:35 +01:00
Arnaud Cornet
f1cc6451f5 Handle SSL-client auth. Fix crash on del_conn when the link never got connected at all. 2008-01-20 18:49:44 +01:00
Loc Gomez
36d31e32e5 rename client_side_ssl_key to client_side_ssl_pem 2008-01-07 20:42:40 +01:00
Loc Gomez
e7e49fdad1 SSL configuration:
- warn when bip is not SSL-capable and configuration contain SSL options
- add a client_side_ssl_key option to define the path to bip.pem file
2008-01-07 14:27:37 +01:00
Loc Gomez
b68b0dc71d Merge branch 'master' of http://bip.t1r.net/bip
Conflicts:

	src/bip.c
2007-11-25 16:12:36 +01:00
Loc Gomez
a65ffa67fa Merge branch 'bip_use_notice'
Conflicts:

	src/bip.c
2007-11-25 16:06:45 +01:00
Loïc Gomez
0876e783f3 is_valid_nick fix. small validate_config fix 2007-11-14 22:03:58 +01:00
Arnaud Cornet
dbe633ec59 Fixes for kyo's merge.
A few rare snprintf bugs.
Mostly cosmetic and cleanness stuff.
2007-10-06 15:40:56 +02:00
Loc Gomez
d3a5c40a40 bip_use_notice option + fix
add bip_use_notice option to user-level configuration.
fix typo in bip_notify()
2007-09-28 13:20:32 +02:00
Loc Gomez
2090349f9c add backlog option to channels. 2007-09-27 01:08:10 +02:00
Loc Gomez
6ab2bb5146 * src/sample: Update manpage, sample config and sample bip.vim + typo
* src/bip: warn the user about rlimits upon start and whenever they're
reached
* src/bip: add -v flag (show version)
* src/bip: add admin option to user block, and restrict some commands to
admins. Log whenever a /bip command is used
* src/bip: enhance /BIP LIST and HELP commands, add INFO command
* src: fix defaults user/nick/realnames not loaded into connections,
resulting in segfault (WRITE_LINE1 to NULL) and oidentd.conf file not
containing usernames
* src: add default.h and version.h
* src: fflush() system log every log_sync_interval
* src/bip: fix "Resetted." printed whenever a client talks with
backlog_reset_ontalk true
* src/bip: fix backlog user options not set to defaults in add_user
* src/bip: fix oidentd.conf config written lately. Still some issues
* src/util: add human readable time hrtime(), bool2text() and ssl
checlmode2text() functions
* src: lower RECONN_TIMER + add RECONN_TIMER_MAX option
* src/bip: code some validate_config
2007-09-26 14:45:30 +02:00
Arnaud Cornet
d7e870fe67 Lot of cleanups wrt init and killing links
Cleanup sample config (make cert).
Implement some free functions (log_free and link_kill).
Move utility macros in src/util.h
Reorganiize initialisation functions.
2007-09-04 00:24:50 +02:00
Arnaud Cornet
909fe5e1c1 Lots of structural changes.
Move backlog options to user statment.
Drop ircise, to go towards real SIGHUP support.
2007-09-02 14:59:19 +02:00
nohar
fbd899145f Add comment in conf sample file. 2007-05-23 19:35:22 +00:00
nohar
e4e0e8d9fc Comment typo fix. 2007-05-23 19:34:12 +00:00
nohar
88df6fb0cf And fix. 2007-05-23 19:32:54 +00:00
nohar
735743a321 Add comment in sample. 2007-05-23 19:29:56 +00:00
kyoshiro
220de6e088 fixes 2007-03-24 11:58:58 +00:00
kyoshiro
c41cc8c155 todo faq
ssl network sample
2007-03-23 21:45:03 +00:00
nohar
0d79c41d4c Use backlog_ prefix for all backlog config directives. 2007-02-17 10:54:21 +00:00
nohar
9e3d62764f backlog_no_timestamp option implemented 2007-01-12 18:49:14 +00:00
kyoshiro
2e8c820dbb lex/conf.y cleanups
vim syntax, manpage, sample conf file updates
2006-11-15 21:13:51 +00:00
nohar
acb4b9570d add a pid_file in bip.conf sample. 2006-07-12 18:10:32 +00:00
nohar
ac6d1eaa7c Drop freenode from config file 2006-07-02 13:51:43 +00:00
nohar
f80cdd85e0 - change default nick in sample file
- fix nick desync between client and server
- fix possible null deference
2006-06-08 18:55:26 +00:00
nohar
6fa60fc496 Add a password protected channel in sample file. 2006-02-02 09:31:23 +00:00
nohar
02734b52e8 blackmore repported this error in sample => no_backlog is backlog 2005-12-30 22:56:25 +00:00
nohar
de0d5efc34 bipmkpass => bipmkpw in bin.conf sample 2005-12-14 22:11:38 +00:00
nohar
e245735f71 merged YS' elite cert management patch 2005-08-25 08:17:10 +00:00
guillot
482420e884 updated comments to reflect the new semantic 2005-07-12 19:24:26 +00:00