18.07.2013 Views

Sidewinder G2 6.1.2 Administration Guide - Glossary of Technical ...

Sidewinder G2 6.1.2 Administration Guide - Glossary of Technical ...

Sidewinder G2 6.1.2 Administration Guide - Glossary of Technical ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 9: Configuring Proxies<br />

Notes on selected proxy configurations<br />

258<br />

Changing the FTP server response configuration<br />

By default, <strong>Sidewinder</strong> <strong>G2</strong> restricts which FTP servers responses it will accept.<br />

Accepted FTP server response codes range from 100 to 599. To alter which<br />

codes are accepted or to turn <strong>of</strong>f server response checking, do the following:<br />

Caution: Only experienced administrators should edit configuration files.<br />

1 Log into the <strong>Sidewinder</strong> <strong>G2</strong> and enter the following command to switch to<br />

the admin role:<br />

srole<br />

2 Using a file editor, open /etc/sidewinder/proxy/pftp.conf.<br />

3 If you want to turn <strong>of</strong>f server response checking, find the following line:<br />

validate_server_response[yes]<br />

and change [yes] to [no].<br />

4 If you want to limit which FTP server responses <strong>Sidewinder</strong> <strong>G2</strong> accepts,<br />

edit the following lines:<br />

min_server_response_code[100]<br />

max_server_response_code[599]<br />

Valid values are between 000 and 999, and must be continuous.<br />

5 Save your changes.<br />

6 Restart the proxy to apply the changes by doing the following:<br />

a List the burbs in which the ftp proxy is enabled by entering the following<br />

command:<br />

cf proxy ftp q<br />

b Disable the ftp proxy in all burbs where it is enabled by entering the<br />

following command for each burb name listed in the previous step:<br />

cf proxy ftp disable protocol=tcp burb=burbname<br />

c Enable the ftp proxy in the same burbs by using the following command:<br />

cf proxy ftp enable protocol=tcp burb=burbname<br />

The FTP proxy has now been restarted and is using the updated configuration<br />

file.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!