Home
last modified time | relevance | path

Searched refs:FTP_SESSION (Results 1 – 14 of 14) sorted by relevance

/dports/security/snort/snort-2.9.18/src/dynamic-preprocessors/ftptelnet/
H A Dftpp_si.c73 static FTP_SESSION StaticSession;
676 FTP_SESSION *ssn = (FTP_SESSION *)preproc_session; in FTPFreeSession()
711 ftp_telnet_stats.heap_memory -= sizeof(FTP_SESSION); in FTPFreeSession()
716 _dpd.snortFree(ssn, sizeof(FTP_SESSION), in FTPFreeSession()
770 FTP_SESSION * ftpssn = ssn->ftpssn; in FTPDataSessionFree()
833 static inline int FTPResetSession(FTP_SESSION *FtpSession) in FTPResetSession()
887 FTP_SESSION **FtpSession, in FTPStatefulSessionInspection()
902 FTP_SESSION *NewSession = (FTP_SESSION *)_dpd.snortAlloc(1, in FTPStatefulSessionInspection()
903 sizeof(FTP_SESSION), in FTPStatefulSessionInspection()
911 ftp_telnet_stats.heap_memory += sizeof(FTP_SESSION); in FTPStatefulSessionInspection()
[all …]
H A Dpp_ftp.h47 extern int check_ftp(FTP_SESSION *Session, SFSnortPacket *p, int iMode);
49 extern int initialize_ftp(FTP_SESSION *Session, SFSnortPacket *p, int iMode);
H A Dftpp_eo_log.h45 int ftp_eo_event_log(FTP_SESSION *Session, int iEvent, void *data,
H A Dpp_ftp.c566 FTP_SESSION *Session) in validate_param()
826 FTP_SESSION *Session) in check_ftp_param_validity()
938 int initialize_ftp(FTP_SESSION *Session, SFSnortPacket *p, int iMode) in initialize_ftp()
1015 static inline void prepareForEncryption(FTP_SESSION *Session, FTPTELNET_GLOBAL_CONF *global_conf, i… in prepareForEncryption()
1044 static int do_stateful_checks(FTP_SESSION *Session, SFSnortPacket *p, in do_stateful_checks()
1358 int check_ftp(FTP_SESSION *ftpssn, SFSnortPacket *p, int iMode) in check_ftp()
H A Dftpp_si.h189 } FTP_SESSION; typedef
H A Dsnort_ftptelnet.c3979 static inline int LogFTPEvents(FTP_SESSION *FtpSession) in LogFTPEvents()
4211 int SnortFTP(FTPTELNET_GLOBAL_CONF *GlobalConf, FTP_SESSION *FTPSession, in SnortFTP()
4385 FTP_SESSION *ftp_ssn = (FTP_SESSION *)ft_ssn; in SnortFTPTelnet()
4454 return SnortFTP(GlobalConf, (FTP_SESSION *)ft_ssn, p, iInspectMode); in SnortFTPTelnet()
4482FTP_SESSION *ft_ssn = (FTP_SESSION *) _dpd.sessionAPI->get_application_data_from_key(data_ssn->ftp… in FTPDataProcess()
4508 FTP_SESSION *ftp_ssn; in SnortFTPData_EOF()
4515 …ftp_ssn = (FTP_SESSION *) _dpd.sessionAPI->get_application_data_from_key(data_ssn->ftp_key, PP_FTP… in SnortFTPData_EOF()
4562 FTP_SESSION *ftp_ssn; in SnortFTPData()
4579 …ftp_ssn = (FTP_SESSION *) _dpd.sessionAPI->get_application_data_from_key(data_ssn->ftp_key, PP_FTP… in SnortFTPData()
4942 FTP_SESSION *ssn = (FTP_SESSION *)app_data; in FTP_Set_flow_id()
H A Dftpp_eo_log.c348 int ftp_eo_event_log(FTP_SESSION *Session, int iEvent, void *data, in ftp_eo_event_log()
H A Dspp_ftptelnet.c241 _dpd.logMsg("\nFTP Session Size: %lu\n", (long unsigned int)sizeof(FTP_SESSION)); in PrintFTPSize()
/dports/security/snort3/snort3-3.1.19.0/src/service_inspectors/ftp_telnet/
H A Dftpp_si.h142 struct FTP_SESSION struct
181 void FTPFreesession(FTP_SESSION*); argument
197 FTP_SESSION session;
280 int FTPsessionInspection(snort::Packet*, FTP_SESSION**, FTPP_SI_INPUT*, int* piInspectMode);
H A Dpp_ftp.h29 extern int check_ftp(FTP_SESSION* session, snort::Packet* p, int iMode);
30 extern int initialize_ftp(FTP_SESSION* session, snort::Packet* p, int iMode);
H A Dftpp_si.cc338 void FTPFreesession(FTP_SESSION* ssn) in FTPFreesession()
391 static inline int FTPResetsession(FTP_SESSION* Ftpsession) in FTPResetsession()
439 FTP_SESSION** Ftpsession, in FTPStatefulsessionInspection()
455 FTP_SESSION* Newsession = &fd->session; in FTPStatefulsessionInspection()
487 Packet* p, FTP_SESSION** Ftpsession, in FTPsessionInspection()
H A Dftp.cc64 FTP_SESSION* FTPsession, Packet* p, int iInspectMode) in SnortFTP()
166 FTPsessionInspection(p, (FTP_SESSION**)&ft_ssn, &SiInput, &iInspectMode); in snort_ftp()
177 return SnortFTP((FTP_SESSION*)ft_ssn, p, iInspectMode); in snort_ftp()
H A Dftp_data.cc93 FTP_SESSION* ftp_ssn = fd ? &fd->session : nullptr; in FTPDataProcess()
148 FTP_SESSION* ftp_ssn = ffd ? &ffd->session : nullptr; in SnortFTPData()
H A Dpp_ftp.cc546 FTP_SESSION* session) in validate_param()
805 FTP_SESSION* session) in check_ftp_param_validity()
919 int initialize_ftp(FTP_SESSION* session, Packet* p, int iMode) in initialize_ftp()
996 static int do_stateful_checks(FTP_SESSION* session, Packet* p, in do_stateful_checks()
1350 int check_ftp(FTP_SESSION* ftpssn, Packet* p, int iMode) in check_ftp()