zorp  7.0.4
About: Zorp is a new generation proxy firewall suite (fork of balabit zorp?).
  Fossies Dox: zorp-7.0.4.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

ftpolicy.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  _FtpCommandDescriptor
struct  _FtpAnswerDescriptor


typedef struct _FtpCommandDescriptor FtpCommandDescriptor
typedef struct _FtpAnswerDescriptor FTPAnswerDescriptor


gboolean ftp_policy_bounce_check (struct _FtpProxy *self, guint side, ZSockAddr *remote, gboolean connect)
gboolean ftp_policy_parse_authinfo (struct _FtpProxy *self, const gchar *cmd, GString *param)
GHashTable * ftp_policy_command_hash_create (void)
gboolean ftp_policy_command_hash_search (struct _FtpProxy *self, gchar *command)
guint ftp_policy_command_hash_do (struct _FtpProxy *self)
ZDimHashTableftp_policy_answer_hash_create (void)
guint ftp_policy_answer_hash_do (struct _FtpProxy *self)
guint ftp_policy_feature_hash_search (struct _FtpProxy *self, const gchar *feature)
void ftp_policy_feature_hash_handle_insert (struct _FtpProxy *self, GHashTable *features)

Typedef Documentation

◆ FTPAnswerDescriptor

◆ FtpCommandDescriptor

Function Documentation

◆ ftp_policy_answer_hash_create()

ZDimHashTable* ftp_policy_answer_hash_create ( void  )

Definition at line 287 of file ftpolicy.cc.

References DIMHASH_CONSUME, DIMHASH_WILDCARD, and z_dim_hash_table_new().

Referenced by ftp_config_set_defaults().

◆ ftp_policy_answer_hash_do()

◆ ftp_policy_bounce_check()

gboolean ftp_policy_bounce_check ( FtpProxy self,
guint  side,
ZSockAddr *  remote,
gboolean  connect 

Copyright (c) 2000-2015 BalaBit IT Ltd, Budapest, Hungary Copyright (c) 2015-2018 BalaSys IT Ltd, Budapest, Hungary

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Definition at line 39 of file ftpolicy.cc.

References Zorp.Zorp::FALSE, TRUE, z_policy_call(), z_policy_lock, z_policy_sockaddr_new(), z_policy_unlock, z_policy_var_build, z_policy_var_parse, z_policy_var_unref, z_proxy_enter, z_proxy_report_policy_abort(), and z_proxy_return.

Referenced by ftp_data_next_step().

◆ ftp_policy_command_hash_create()

GHashTable* ftp_policy_command_hash_create ( void  )

Definition at line 105 of file ftpolicy.cc.

Referenced by ftp_config_set_defaults().

◆ ftp_policy_command_hash_do()

◆ ftp_policy_command_hash_search()

gboolean ftp_policy_command_hash_search ( struct _FtpProxy self,
gchar *  command 

Definition at line 115 of file ftpolicy.cc.

Referenced by ftp_command_parse().

◆ ftp_policy_feature_hash_handle_insert()

void ftp_policy_feature_hash_handle_insert ( struct _FtpProxy self,
GHashTable *  features 

◆ ftp_policy_feature_hash_search()

guint ftp_policy_feature_hash_search ( struct _FtpProxy self,
const gchar *  feature 

◆ ftp_policy_parse_authinfo()

gboolean ftp_policy_parse_authinfo ( struct _FtpProxy self,
const gchar *  cmd,
GString *  param