FTP proxy authentication

German support forum

Moderators: Hacker, Stefan2, white

Post Reply
Alcatel SEL AG
Junior Member
Junior Member
Posts: 5
Joined: 2003-05-22, 08:16 UTC

FTP proxy authentication

Post by *Alcatel SEL AG »

Ich versuche über einen Gateway-PC beim Kunden auf einen Server zu kommen, um dort Daten abzuholen. Muss aber dabei über eine Firewall (mit Token) gehen. Leider ist das Anmelden auf der Firewall nur mit den Kommandos "quote authenticate username" und "quote response value" möglich. Im TC kann ich aber nur auf "USER Benutze@Maschinennamen" zurückgreifen. Auf dem Gateway ist aber auch ein User mit Passw. zu nutzen.

Hier eine andere Übersicht:

- Büro-PC
Hier wird TC gestartet
Nun wird eine FTP-Verbindung zur Firewall aufgebaut.
Anmeldung mit Token:
- quote authenticate Token-Username
- quote response Token-Value
Jetzt zum Gateway mit
- USER Gatewayuser@GatewayIP
- PASS Gatewaypassword
Und jetzt zum betroffenem Server auch wieder mit User und Password.

- Ist es möglich, das Kommando "USER Benutze@Maschinennamen" im TC auf "quote authenticate Token-Username / quote response Token-Value" zu ändern und dann das hopping in einem Verbindungsaufbau zu kombinieren?


Anbei ein Auszug aus wcftplog.txt mit einem nicht erfolgreichen Versuch:
----------
Connect to: (20.05.2003 12:32:59)
hostname=<GatewayIP>
username=<Gatewayuser>
startdir=
Firewall=<FirewallIP>
220-Welcome to the FTP proxy.
220-
220-To connect to a remote FTP server enter your name as:
220-user@server.serverdomain (e.g. anonymous@host.cs.mumble.edu)
220-
220-This proxy supports user authentication.
220-
220-The FTP proxy supports user authentication. You must authenticate
220-yourself before you can connect to the target system.
220-
220-Use the command below to authenticate yourself. The proxy
220-displays a challenge. Provide the correct response to the
220-challenge issued by the proxy.
220-
220-Depending on the authentication method that you use, you must
220-generate the response to the challenge in different ways. For
220-example, if you are using a handheld authentication card, use
220-the card to calculate the response. If you are using a once-off
220-password, simply type in the password.
220-
220-Authentication commands:
220-
220- quote authenticate - determine your current
220- authentication status
220- quote authenticate username - authenticate yourself
220- quote response value - respond to challenge
220-
220-Clients that support authentication may omit the quote keyword
220-from the command.
220-
220
USER <Gatewayuser@gateway>
331 Password required for <Gatewayuser>
PASS ***********
230 Please authenticate first.
SYST
555 Command Rejected by gateway
FEAT
555 Command Rejected by gateway
Connect ok!
quot authenticate <Tokenname>
555 Command Rejected by gateway
PWD
555 Command Rejected by gateway
XPWD
555 Command Rejected by gateway
PWD
555 Command Rejected by gateway
XPWD
555 Command Rejected by gateway
PWD
555 Command Rejected by gateway
XPWD
555 Command Rejected by gateway
Verzeichnis einlesen
TYPE A
555 Command Rejected by gateway
PORT
555 Command Rejected by gateway
Post Reply