CPUG

The Check Point User Group

A Resource For The Check Point Community.  Fast.  Useful.  Independent.

1. Come to CPUG CON 2008 EUROPE in Switzerland on September 8th - 9th!
    Two days full of technical content for Check Point administrators in the beautiful Swiss Alps!
    We already have sign-ups from twelve different countries!
2. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 7/14, 8/25, 10/6, 11/3, 12/8, (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8.
3. Corrent S3500 SecureXL Turbocards For Sale - Last Six Remaining - Get Your Spares!
4. Join Us On LinkedIn - We now have a CPUG group.


Go Back   CPUG: The Check Point User Group > Check Point Firewall-1/VPN-1 And Related Products > Services
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2007-04-30
neily neily is offline
Junior Member
 
Join Date: 2007-04-02
Posts: 1
Rep Power: 0
neily has an average reputation (10+)
Default .NET FTP client problem with NGX R61

Hi there
I have a problem with a .NET FTP client accessing a Microsoft FTP server.
The error messages we get are: -

Without SSL enabled: (this tries to connect but the callback response from the endpoint is full of trash)



<add key="ssl" value="0"/> // no SSL

<add key="ftpServer" value="ftp://x.x.x.a/"/>

<add key="ftpun" value="username"/>

<add key="ftppw" value="password"/>

<add key="fileName" value="test.TXT"/>



The underlying connection was closed: The server committed a protocol violation.



at System.Net.FtpWebRequest.SyncRequestCallback(Objec t obj)

at System.Net.FtpWebRequest.RequestCallback(Object obj)

at System.Net.CommandStream.Abort(Exception e)

at System.Net.FtpWebRequest.FinishRequestStage(Reques tStage stage)

at System.Net.FtpWebRequest.GetRequestStream()









SSL enabled: (this seems to connect to the server – the callback response from the endpoint is well formed)



<add key="ssl" value="1"/> // SSL

<add key="ftpServer" value="ftp://x.x.x.a/"/>

<add key="ftpun" value="username"/>

<add key="ftppw" value="password"/>

<add key="fileName" value="test.TXT"/>





The remote server returned an error: (500) Syntax error, command unrecognized.

at System.Net.FtpWebRequest.SyncRequestCallback(Objec t obj)

at System.Net.FtpWebRequest.RequestCallback(Object obj)

at System.Net.CommandStream.Abort(Exception e)

at System.Net.FtpWebRequest.FinishRequestStage(Reques tStage stage)

at System.Net.FtpWebRequest.GetRequestStream()

The client source y.y.y.a connects to x.x.x.a and is natted on a router to destination x.x.x.b source stays as original.
This then hits our firewall "A" IP390 in a cluster running NGX R61 hotfix 01
The firewall NATes the source to y.y.y.b (this is the internal cluster IP for Firewall "A") with the destination as before x.x.x.b.The rule allows FTP and I have tried any any.

Next the process hits an internal firewall "B" where there is no NAT and the destination server sits behind this x.x.x.b. This firewall is running NG with AI

If the origianlclient ftp's using I.E there is no problem so you see the routing and NATTING is ok.

This previously worked when Firewal "A" was a Raptor.
If on the internal network you use the .NET FTP client to go to host x.x.x.b through Firewall "A" and not going through Firewall "B" there is no problem.



I have seen in the SmartDefence/FTP Security Server/Blocked FTP commands
that there are allowed FTP commands, Inotice there are no commands ftpServer, ftpun, ftppw, fileName. Is this the problem and how can these commands be added

Any ideas please.

Thanks Neil
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 16:40.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0