• Do you have a typical logrotate configuration to archive and compress bip logs?
    • /etc/crontab:
      # adapt minute, hour, day of month, month and day of the week
      # run every 1:11am sunday
      11 1    * * 7   root    ionice -c3 srv_bip_logs_compress
    • srv_bip_logs_compress
      $ cat /usr/local/sbin/srv_bip_logs_compress
      LOG_CURDIR=$(date +'%Y-%m')
      find /srv/bip/logs -mindepth 2 -type f -mtime 1 -name "*.log" ! -wholename "*/${LOG_CURDIR}/*" -exec gzip {} \;
  • when building Bip error: unused parameter occurs use the AX_C___ATTRIBUTE__ macro. This macro is included in autoconf-archive
    Full error message:
    src/connection.c: In function ‘tmp_dh_cb’:
    src/connection.c:1093: error: unused parameter ‘ssl_unused’
    make[1]: *** [src/connection.o] Error 1

    Rerun bootstrap script after installation of autoconf-archive.
  • How take in account bip.conf modifications without restarting bip ?
    Send signal HUP to bip.
    # Debian / Ubuntu
    /etc/init.d/bip reload
    # Other
    killall -HUP bip 
  • Ubuntu 10.04: How to compile bip from repository ?
    sudo apt-get install git-core gcc flex bison libssl-dev automake autoconf-archive
    ./configure --prefix=/opt/bip
    CFLAGS="-Wno-error" ./configure --prefix=/opt/bip
  • Is there a limit on the number of lines bip saves for each channel ?
    See backlog_lines option when backlog is then stored into memory.
  • Does bip try to connect to IRC servers automatically after bip is started ?
    Yes. But note that Bip will not connect to a network if there is no connection using this network.
  • Does bip have a command that displays list of networks in bip.conf ?
    There is a "/BIP LIST" command. Admin could use "/BIP LIST networks|users|connections|all_links|all_connections" while user could use "/BIP LIST networks|connections".
  • Does bip support modules ?
  • How to send command to bip ?
    Use "/BIP command" or "/quote BIP command" or "/query -BIP command"
  • Any way to use sasl with bip ?

Updated by Pierre-Louis Bonicoli almost 7 years ago · 11 revisions