Commit Graph

29 Commits

Author SHA1 Message Date
Loïc Gomez edd460a8fa
Set default recon_timer (and step) to 30s
Waiting 2 minutes on the first disconnect is depressing.
With this the maximum of 10min wait time is reached after 20 attempts
instead of the current 5 attempts.

Signed-off-by: Loïc Gomez <bip@animanova.fr>
2024-02-18 00:07:41 +01:00
Loïc Gomez 4cd5bdb381
Set default backlog_lines = 0 (fixes Debian bug #818374)
This would have defaults move to backlog_always=false / log=true /
backlog_lines=0, which should not cause much trouble as backlog will
be reset after being displayed.

Also, it is doubtfuk anyone would be keeping the default of 10 for
backlog as it is pretty much an undesirable configuration.

We need to annouce this change as important though, so users having
log = false are aware memory usage could increase if they don't set
it manually to another value.

Signed-off-by: Loïc Gomez <bip@animanova.fr>
2024-02-17 03:29:45 +01:00
Loïc Gomez dc43d75d1f
Add SASL authentication support (EXTERNAL, PLAIN) 2022-03-10 14:19:19 +01:00
Pierre-Louis Bonicoli 462c1036fc
Fix spelling errors found by Lintian 2021-10-17 12:19:39 +02:00
Pierre-Louis Bonicoli bffdbe8b19
backlog_timestamp: update man page & vim syntax
Complete 0c1881b921 and
2c7b8aa155.
2021-10-12 18:45:44 +02:00
Pierre-Louis Bonicoli c93a7e841a
Fix a typo 2018-12-11 11:04:39 +01:00
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 072a17b55b
bip.conf manpage: improve formatting
- follow man-pages conventions
- HTML output produced by groff is more readable
2018-02-19 19:57:24 +01:00
Pierre-Louis Bonicoli cdbf22cdb7
bip.conf manpage: mention default of ciphers related options 2018-02-19 19:57:18 +01:00
Pierre-Louis Bonicoli 3b9f683d31
bip.conf manpage: fix doc of 'ip' option 2018-02-19 19:57:13 +01:00
Pierre-Louis Bonicoli 09152a1a7d
bip.conf manpage: new section 'IRC CLIENT CONF' 2018-02-19 19:57:07 +01:00
Pierre-Louis Bonicoli 11482caa95
bip.conf manpage: add a SYNOPSIS section 2018-02-19 19:57:01 +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 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
Yoann Guillot 87da44e583 connection: allow to disable / enable log (#211)
add option 'log' (true/false) in connection section,
this option overrides the global 'log' option.
Thanks to jj !
2011-04-07 02:32:44 +02:00
Arnaud Cornet 29ff342d93 Add option ignore_server_capab 2009-02-08 12:36:49 +01:00
Arnaud Cornet c4fb1b140a Another man typo found by Renzokuken. 2009-01-28 19:21:30 +01:00
Arnaud Cornet b5d777dfee man typo found by Renzokuken. 2009-01-28 15:13:44 +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 f618d05af8 Merge bip.conf.5 fix from debian. 2008-04-02 23:56:21 +02: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 7470ebe96e Move bip.conf man page to section 5 (Fix debian bug 461871). 2008-01-21 22:21:09 +01:00