Reseller Hosting, Shared Hosting, Dedicated Hosting by Vortech Inc.

Go Back   Reseller Hosting, Shared Hosting, Dedicated Hosting by Vortech Inc. > >>Network Information & News and Announcements > Network / Server Status
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Network / Server Status Please check often for network / Server updates here!

Reply
 
Thread Tools Display Modes
  #1  
Old 05-13-2003, 01:13 PM
alan
Guest
 
05/13/03 Ftp With Firewall in Place

As of 1:30 this afternoon the firewall is in place and i think I'm about done changing the configuration. As such you will have to use port ftp, not passive ftp to use this service. Passive is now disabled because of the range of ports it was using. We will now have a more secure network with real time tracking of all logs .
Reply With Quote
  #2  
Old 05-13-2003, 04:19 PM
gu10214's Avatar
gu10214 gu10214 is offline
Another Designer, *Slap
Junior Member
 
Does this have anything to do with this?

All my sites for all my clients are loading extramly fast (which I love) also when using CuteFTP it's faster as well. Throughout the time I hosted with you guys this has been the fastest... ever.

Kudos and keep up the great work.

(Did the firewall upgrade contribute to this?)
Reply With Quote
  #3  
Old 05-13-2003, 04:29 PM
Garreg's Avatar
Garreg Garreg is offline
Resident Optimist
Vortech Inc. Customer
 
Location: UK - Mon to Fri. Mars - all Weekend
Yep - Thanks for the work and keeping us updated Alan..... It's appreciated
__________________
Regards to all
Reply With Quote
  #4  
Old 05-13-2003, 04:39 PM
admin's Avatar
admin admin is offline
Vortech Inc. Owner
Owner
 
Location: Orlando FL
Send a message via ICQ to admin
It should make things faster as we keep tweaking the firewall getting all the bad stuff coming on to the network and really help speed things up..
__________________
Brad Pugh
http://www.vortechhosting.com
------

Local System/Network Monitor
http://nagios.hsphere.cc/
Login:guest Pass:guest
XML FEED http://nagios.hsphere.cc/feed.xml
------

My Other Life:
Reply With Quote
  #5  
Old 05-13-2003, 05:27 PM
Silverbug's Avatar
Silverbug Silverbug is offline
Custom Built Solutions
Vortech Inc. Customer
 
Location: AK, New Zealand
Send a message via ICQ to Silverbug Send a message via MSN to Silverbug Send a message via Skype to Silverbug
hmm im having big trouble getting my ftp client to connect now, i have changed it off passive mode but when ever i try and connect now i get a 500 invalid port command. im using bullet proof ftp (bpftp) if that helps. is anyone else using it, and has got it to work?
__________________
Paul Foley
Sniper Systems Ltd

Reply With Quote
  #6  
Old 05-13-2003, 05:36 PM
ramjet's Avatar
ramjet ramjet is online now
I'm fine thank you.
Vortech Inc. Customer
 
Location: Waiheke Island, New Zealand
is your port set to 21?
Reply With Quote
  #7  
Old 05-13-2003, 05:55 PM
Silverbug's Avatar
Silverbug Silverbug is offline
Custom Built Solutions
Vortech Inc. Customer
 
Location: AK, New Zealand
Send a message via ICQ to Silverbug Send a message via MSN to Silverbug Send a message via Skype to Silverbug
yep

heres the ftp log:

Connecting to nt18.sniper.co.nz port 21
Connected, waiting for response...
220 nt18 Microsoft FTP Service (Version 5.0).
USER Sniperad
331 Password required for Sniperad.
PASS ********
230 User Sniperad logged in.
pwd
257 "/Sniperad" is current directory.
TYPE A
200 Type set to A.
PORT 192,168,1,142,5,103
500 Invalid PORT Command.
LIST
150 Opening ASCII mode data connection for /bin/ls.

and then it just stops. Hmm actually now that i look at it, it could be something to do with my firewall settings. opps
__________________
Paul Foley
Sniper Systems Ltd


Last edited by Silverbug : 05-13-2003 at 06:07 PM.
Reply With Quote
  #8  
Old 05-13-2003, 06:32 PM
Brangwyn Brangwyn is offline
T3CHN0 STUD
Vortech Inc. Customer
 
Location: New Zealand (Wellington)
Alan not everyone will be able to use FTP in active mode this could annoy a few people behind firewalls that do not have the knowledge or access to open those ports up.

Also don't forget port 20 and 21 are used for FTP.

For those who are unclear what all this Active/Passive stuff means

Active
In active mode FTP the client connects from a random unprivileged port (N > 1024) to the FTP server's command port, port 21. Then, the client starts listening to port N+1 and sends the FTP command PORT N+1 to the FTP server. The server will then connect back to the client's specified data port from its local data port, which is port 20.

From the server-side firewall's standpoint, to support active mode FTP the following communication channels need to be opened:

FTP server's port 21 from anywhere (Client initiates connection)
FTP server's port 21 to ports > 1024 (Server responds to client's control port)
FTP server's port 20 to ports > 1024 (Server initiates data connection to client's data port)
FTP server's port 20 from ports > 1024 (Client sends ACKs to server's data port)

Passive
In order to resolve the issue of the server initiating the connection to the client a different method for FTP connections was developed. This was known as passive mode, or PASV, after the command used by the client to tell the server it is in passive mode.

In passive mode FTP the client initiates both connections to the server, solving the problem of firewalls filtering the incoming data port connection to the client from the server. When opening an FTP connection, the client opens two random unprivileged ports locally (N > 1024 and N+1). The first port contacts the server on port 21, but instead of then issuing a PORT command and allowing the server to connect back to its data port, the client will issue the PASV command. The result of this is that the server then opens a random unprivileged port (P > 1024) and sends the PORT P command back to the client. The client then initiates the connection from port N+1 to port P on the server to transfer data.

From the server-side firewall's standpoint, to support passive mode FTP the following communication channels need to be opened:

FTP server's port 21 from anywhere (Client initiates connection)
FTP server's port 21 to ports > 1024 (Server responds to client's control port)
FTP server's ports > 1024 from anywhere (Client initiates data connection to random port specified by server)
FTP server's ports > 1024 to remote ports > 1024 (Server sends ACKs (and data) to client's data port)

Active FTP is beneficial to the FTP server admin, but detrimental to the client side admin. The FTP server attempts to make connections to random high ports on the client, which would almost certainly be blocked by a firewall on the client side. Passive FTP is beneficial to the client, but detrimental to the FTP server admin. The client will make both connections to the server, but one of them will be to a random high port, which would almost certainly be blocked by a firewall on the server side.

Last edited by Brangwyn : 05-13-2003 at 06:35 PM.
Reply With Quote
  #9  
Old 05-13-2003, 06:40 PM
admin's Avatar
admin admin is offline
Vortech Inc. Owner
Owner
 
Location: Orlando FL
Send a message via ICQ to admin
Brangwyn we have 20 and 21 we just can't open all them high ports or the firewall would almost be usless..
__________________
Brad Pugh
http://www.vortechhosting.com
------

Local System/Network Monitor
http://nagios.hsphere.cc/
Login:guest Pass:guest
XML FEED http://nagios.hsphere.cc/feed.xml
------

My Other Life:
Reply With Quote
  #10  
Old 05-13-2003, 06:41 PM
admin's Avatar
admin admin is offline
Vortech Inc. Owner
Owner
 
Location: Orlando FL
Send a message via ICQ to admin
I just tested bullet proof ftp and did not have any issues..
__________________
Brad Pugh
http://www.vortechhosting.com
------

Local System/Network Monitor
http://nagios.hsphere.cc/
Login:guest Pass:guest
XML FEED http://nagios.hsphere.cc/feed.xml
------

My Other Life:
Reply With Quote
  #11  
Old 05-13-2003, 06:48 PM
Silverbug's Avatar
Silverbug Silverbug is offline
Custom Built Solutions
Vortech Inc. Customer
 
Location: AK, New Zealand
Send a message via ICQ to Silverbug Send a message via MSN to Silverbug Send a message via Skype to Silverbug
yeah, i know but its the firewall in this building that giving me grief
__________________
Paul Foley
Sniper Systems Ltd

Reply With Quote
  #12  
Old 05-13-2003, 07:45 PM
Brangwyn Brangwyn is offline
T3CHN0 STUD
Vortech Inc. Customer
 
Location: New Zealand (Wellington)
The issue though Brad is for people who can't open those ports becuase they are behind a firewall that they have no control of .. e.g a company firewall, these people are not going to be able to connnect at all, I do not see this is neccesarily going to do anything but cause us resellers some grief which was the whole rational behind PASV being implemented in the first place, I kind of feel like we've just stepped back 10 years.

Opening 1024 > is not actually a great risk. Many well known firewall installations do this by default, DDoS attacks are rarely on ports over 1024 as they normally attack defined applicaitons which run all run in the < 1024 space. Trojans and a few nasties like that do (one DDoS I can think of does hit ICQ on port 5xxx or so and of course good ole SQL Slammer) but any IDS implemented could trap and reject this for you to. It would be fair to say though that many of the "tools" used by DDoS hackers run on high ports e.g Trinoo, TFN, TFN2K though these really fall under the "trojan" category and have required some form of priviledged exeution attack to have already occured to have first gotten these programs installed on the Server.

I'm interested in Wonderers comments there about the router in another thread too
Quote:
Question and this firewall. Can i rightly assume that your using the PIX Series or better? If so i fail to see why passive ftp would be an issue as long as your utilizing SPI. While posting the config would be bad for obvious reasons, could you please verify if you are using SPI?

Configuring rate limiting for SYN packets could provide a level of protection as well

"rate-limit {input | output} [access-group [rate-limit] acl-index] bps burst-normal burst-max conform-action action exceed-action action"

You might need to do a bit of work determining what your % should be at ( I think cisco normally recommend somewhere between 30 and 50 percent of your burst rate??? but I've not touched any cisco gear for quite some time)

Last edited by Brangwyn : 05-13-2003 at 07:57 PM.
Reply With Quote
  #13  
Old 05-14-2003, 06:13 AM
dwhite dwhite is offline
Vortech Inc. Customer
Vortech Inc. Customer
 
Quote:
Originally posted by admin
I just tested bullet proof ftp and did not have any issues..


Well Brad, I just tested my FTP connection through Dreamweaver and WS_FTP Pro, and I CANNOT get through. I have work to do and a deadline of today to do it in, so would very much appreciate an answer and resolution to this problem that your company has created. Please pay attention to what Branwyn and the rest of us are telling you and don't just tell us everything is OK because YOU can get through.
__________________
Regards,

Dan W.

Sign over a SysAdmin's desk: "Just because you are paranoid, doesn't mean they are not out to get you!!"
Reply With Quote
  #14  
Old 05-14-2003, 07:40 AM
zye zye is offline
Registered User
Junior Member
 
same here - my customers already comply - i cant connect via ftp

500 Illegal PORT command.


- and also ip range 65.57.228.17X to 65.57.228.2XX is down -
already send support ticket -

and also i am running ssh on port 8XXX - i am not able to connect to my shell anymore - please correct this

!!!!!!!!!!!!!!!!!!!!!!!!!
Reply With Quote
  #15  
Old 05-14-2003, 07:47 AM
NetPublicist NetPublicist is offline
Internet Consultant
Vortech Inc. Customer
 
Location: Sanford, FL
Send a message via AIM to NetPublicist
cpanel.nocspeed.com is down at this time also.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone have experience with Win2003 Firewall? Scroller Chit Chat Public 7 09-15-2004 09:44 PM
Firewall or Network Issues? Brangwyn Chit Chat Public 10 04-09-2004 09:33 AM


All times are GMT -5. The time now is 05:05 AM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Vortech Inc. ©2005
Page generated in 0.81977 seconds with 21 queries
[Output: 118.72 Kb. compressed to 109.61 Kb. by saving 9.11 Kb. (7.68%)]