From 3fa18b8916fe9b25c5597ac51644d51a66e57238 Mon Sep 17 00:00:00 2001 From: ru Date: Wed, 14 Jun 2000 16:09:35 +0000 Subject: - Added support for passive mode FTP by aliasing 227 replies. It does mean that it is now possible to run passive-mode FTP server behind NAT. - SECURITY: FTP aliasing engine now ensures that: o the segment preceding a PORT/227 segment terminates with a \r\n; o the IP address in the PORT/227 matches the source IP address of the packet; o the port number in the PORT command or 277 reply is greater than or equal to 1024. Submitted by: Erik Salander Reviewed by: ru --- lib/libalias/alias_local.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libalias/alias_local.h') diff --git a/lib/libalias/alias_local.h b/lib/libalias/alias_local.h index ca93151..783f6b2 100644 --- a/lib/libalias/alias_local.h +++ b/lib/libalias/alias_local.h @@ -140,6 +140,8 @@ int GetDeltaSeqOut(struct ip *, struct alias_link *); void AddSeq(struct ip *, struct alias_link *, int); void SetExpire(struct alias_link *, int); void ClearCheckNewLink(void); +void SetLastLineCrlfTermed(struct alias_link *, int); +int GetLastLineCrlfTermed(struct alias_link *); #ifndef NO_FW_PUNCH void PunchFWHole(struct alias_link *); #endif -- cgit v1.1