1
0
forked from bip/bip
Commit Graph

64 Commits

Author SHA1 Message Date
Arnaud Cornet
012b21a68b Remove OIDENTD build options.
Instead support a runtime option.
Note that existing oidentd users will have to add write_oidentd = true
in their config to keep existing behavior.
2018-11-18 15:07:16 -05:00
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
31ae5ac0bf [autostuff] Rewrite. Use non recursive make. Drop src/config.h.in that must be populated by autoheader 2009-08-24 21:26:46 +02: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
Loïc 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
Loïc Gomez
671a455219 Fix UTF-8 in all files 2008-01-09 23:45:40 +01:00
Loïc Gomez
36d31e32e5 rename client_side_ssl_key to client_side_ssl_pem 2008-01-07 20:42:40 +01:00
Loïc 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
Loïc Gomez
b68b0dc71d Merge branch 'master' of http://bip.t1r.net/bip
Conflicts:

	src/bip.c
2007-11-25 16:12:36 +01:00
Loïc 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
Loïc 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
Loïc Gomez
2090349f9c add backlog option to channels. 2007-09-27 01:08:10 +02:00
Loïc Gomez
e5ed7c92ae add ssl_check_mode option to the connection block (requested by Trou)
die if ssl_check_mode is unset while the network needs SSL.
2007-09-26 22:18:50 +02:00
Loïc 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
a5f8902232 Drop autostuff noise. Add boostrap to regenerate it. 2007-09-02 18:26:27 +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
kyoshiro
e8775c36c7 add new options to bip.vim syntax file
add a readme for anti flood systems
2007-01-27 20:53:03 +00:00
nohar
9e3d62764f backlog_no_timestamp option implemented 2007-01-12 18:49:14 +00:00
nohar
8d1913b380 Update build system. 2007-01-05 21:22:30 +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