view mcabber/mcabber/carbons.h @ 2283:6e1ead98930d

Check origin of roster pushes MCabber is vulnerable to roster push attacks as described by Daniel Gultsch at https://gultsch.de/gajim_roster_push_and_message_interception.html. This patch should fix the problem by checking the sender of the iq:roster stanzas. Thanks to Sam Whited for the report.
author Mikael Berthe <mikael@lilotux.net>
date Mon, 21 Nov 2016 20:35:28 +0100
parents 2ce6dd6861ea
children
line wrap: on
line source

#ifndef __MCABBER_CARBONS_H__
#define __MCABBER_CARBONS_H__ 1

#include <glib.h>

void carbons_available();
void carbons_enable();
void carbons_disable();
void carbons_info();
void carbons_reset();
gboolean carbons_enabled();

#endif //__MCABBER_CARBONS_H__