⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pp_telnet.h

📁 Snort为国际上著名的轻量型入侵防御系统,为国内多家著名“自主知识产权”网络安全公司所使用。
💻 H
字号:
/* * pp_telnet.h * * Copyright (C) 2004 Sourcefire,Inc * Steven A. Sturges <ssturges@sourcefire.com> * * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * Description: * * Header file for FTPTelnet telnet Module *   * This file defines the telnet checking functions *   * NOTES: *  - 20.09.04:  Initial Development.  SAS * */#ifndef __PP_TELNET_H__#define __PP_TELNET_H__#ifdef HAVE_CONFIG_H#include "config.h"#endif#include <sys/types.h>/* RFC 885 defines an End of Record telnet option */#define RFC885/* RFC 1184 defines Abort, Suspend, and End of File telnet optinos */#define RFC1184//#include "decode.h"#include "ftpp_ui_config.h"#include "ftpp_si.h"/* define the telnet negotiation codes (TNC) that we're interested in */#define TNC_IAC  0xFF#define TNC_DONT 0xFE#define TNC_DO   0xFD#define TNC_WONT 0xFC#define TNC_WILL 0xFB#define TNC_SB   0xFA#define TNC_GA   0xF9#define TNC_EAL  0xF8#define TNC_EAC  0xF7#define TNC_AYT  0xF6#define TNC_AO   0xF5#define TNC_IP   0xF4#define TNC_BRK  0xF3#define TNC_DM   0xF2#define TNC_NOP  0xF1#define TNC_SE   0xF0#ifdef RFC885#define TNC_EOR  0xEF#endif#ifdef RFC1184#define TNC_ABOR 0xEE#define TNC_SUSP 0xED#define TNC_EOF  0xEC#endif/* list of function prototypes for this preprocessor */extern int normalize_telnet(FTPTELNET_GLOBAL_CONF *GlobalConf,                            TELNET_SESSION *Session, SFSnortPacket *p,                            int iMode);#endif 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -