HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: [hylafax-users] remote clients cannot send fax
Hi,
alex@iwebpacific.com schrieb:
>
> > On Wed, 18 Jul 2001 12:39:36 +0800 (HKT), you wrote:
> > Maybe you don't have a firewall on the server, but you have it on the
> > client (or in any device between the server and the client)?
> > HylaFAX protocol is like ftp, where the server opens a connection to
> > the client (data connection).
> >
> > --
> > giulioo@pobox.com
>
> I'm sure I don't have any firewall between the server and the clients.
> I can use ftp as normal.
>
> Now I find something really strange...
> On the fax server, I tried 'sendfax -vv' and then followed with a
> telnet session...
> ====== START sendfax ========================================
> $ sendfax -vv -n -d 12345789 /etc/group
> Trying localhost (127.0.0.1) at port 4559...
> Connected to localhost.localdomain.
> 220 xxx.xxx.com server (HylaFAX (tm) Version 4.1) ready.
> -> USER foo
> 230 User foo logged in.
> match against (..., 494)
> rule: offset 0 string = "%!" -- failed (comparison)
>
> [--chopped--]
>
> CONVERT "/usr/sbin/textfmt -B -f Courier-Bold -Ml=0.4in -p 11 -s default
> >/tmp
> //sndfaxNrNTne </etc/group"
> Apply DisplayNumber rules to "12345789"
> --> return result "12345789"
> -> TYPE I
> 200 Type set to Image.
> SEND compressed data, 6376 bytes
> -> PORT 127,0,0,1,8,3
> 200 PORT command successful.
> -> MODE Z
> 200 Mode set to ZIP.
> -> STOT
> 150 FILE: /tmp/doc2150.ps (Opening new data connection).
> SEND 2399 bytes transmitted (2.7x compression)
> 226 Transfer complete (FILE: /tmp/doc2150.ps).
> -> JNEW
> 200 New job created: jobid: 2110 groupid: 2110.
>
> [--chopped--]
>
> 200 Job 2110 submitted.
> request id is 2110 (group id 2110) for host localhost (1 file)
> ============= END sendfax ===================================
>
> OK, the job is created. Now I follow the commands in the telnet
> session...
>
> ============= START telnet ==================================
> $ telnet localhost 4559
> Trying 127.0.0.1...
> Connected to localhost.localdomain.
> Escape character is '^]'.
> 220 xxx.xxx.com server (HylaFAX (tm) Version 4.1) ready.
> user foo
> 230 User foo logged in.
> type i
> 200 Type set to Image.
> port 127,0,0,1,8,3
> 200 PORT command successful.
> mode z
> 200 Mode set to ZIP.
> stot
> 425 Cannot build data connection: Connection refused.
> ============= END telnet =====================================
>
> What's going on here!?
let it say in in big bold words:
!!!!! you can not check the hylafax-protocol with telnet. !!!!!
telnet is a protokol using one tcp-connection to transfer all
information, session-control and data.
hylafax uses a modified ftp-protocol. FTP uses multiple connections:
one control-connection ( the one you can connect to with telnet)
and another for data-transfer. you will never be able to open this
data-chanel with a telnet-client, as it does not support it.
!!!!! you have to use an ftp-client which supports remote-execution !!!!
!!!!! of commands to do hylafax-protocol. !!!!
> Thanks for your attentions.
>
> Best regards,
> Alex
>
> ____________________ HylaFAX(tm) Users Mailing List _______________________
> To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
____________________ HylaFAX(tm) Users Mailing List _______________________
To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null