I'm having a problem running an win app through a ip masq  gateway box, and 
was  pointed to ipautofw. I tried to contact the author, but it bounced. I 
am running red hat 5.2 w/ stock 2.0.36 kernel.

Since I will have to recompile my kernel to use this, I have a basic 
question to ask, but would also like to know if you think this will fix my 
problem based on the tcpdump output below.

Ok, the basic and probably stupid question is, will this support multiple 
win machines through the ip masq box, all running this app and talking to 
the same server? This is the whole point of the exercise, and if this is not 
going to do it, I'll stop right here. I think the answer is yes, but want to 
make sure.

Now my specific problem has me stumped. I can successfully ping, telnet and 
ftp to the server from the pc through the ip masq gateway. For the telnet 
and ftp, I just get as far as the login prompts since I don't have accounts, 
but I believe this is enough to show that the masqerading and routing is 
setup correctly.

When I use the app, ( basically a front end to an oracle database I 
believe), it just times out with a variety of socket errors.

Can you tell from this dump output is ipautofw will solve my problem? I 
don't fully understand this output, but I don't see the server trying to 
respond to s different port than the client is actually using.

I'm really desperate to get this working.

tia
charles

additional info:
client install added service ih2000     2005/tcp to the services file
It is using sql/net oracle7. I believe this is just straight tcp/ip
server is aix v4

Here is the tcpdump output,  (tcpdump -i ppp0 -l -n > /tmp/tcpdump.out)
first showing a successful ping, telnet and ftp, then the failed attempt to 
use the client, followed by a successful ping. Ip's disguised to protect the 
innocent

# ping server from winbox (90.0.0.2)
21:09:01.262923 ppp_local_ip > server_ip: icmp: echo request
21:09:01.492923 server_ip > 90.0.0.2: icmp: echo reply
21:09:02.282923 ppp_local_ip > server_ip: icmp: echo request
21:09:02.442923 server_ip > 90.0.0.2: icmp: echo reply
21:09:03.302923 ppp_local_ip > server_ip: icmp: echo request
21:09:03.462923 server_ip > 90.0.0.2: icmp: echo reply

# telnet from winbox to server
21:09:11.912923 ppp_local_ip.61001 > server_ip.23: S 1001572:1001572(0) win 
8192 <mss 1460,nop,wscale 0,nop,nop,timestamp 0 0,nop,nop,sackOK> (DF) [tos 
0x60]
21:09:12.082923 server_ip.23 > 90.0.0.2.1027: S 2109978113:2109978113(0) ack 
1001573 win 65535 <mss 4096,nop,wscale 2,nop,nop,timestamp 921879044 0>
21:09:12.092923 ppp_local_ip.61001 > server_ip.23: . ack 2109978114 win 8760 
<nop,nop,timestamp 9070 921879044> (DF) [tos 0x60]
21:09:12.252923 server_ip.23 > 90.0.0.2.1027: . ack 1 win 65160 
<nop,nop,timestamp 921879044 9070>
21:09:12.312923 server_ip.23 > 90.0.0.2.1027: P 1:4(3) ack 1 win 65160 
<nop,nop,timestamp 921879044 9070>
21:09:12.322923 ppp_local_ip.61001 > server_ip.23: P 0:3(3) ack 4 win 8757 
<nop,nop,timestamp 9072 921879044> (DF) [tos 0x60]
21:09:12.472923 server_ip.23 > 90.0.0.2.1027: P 4:10(6) ack 4 win 65160 
<nop,nop,timestamp 921879044 9072>
21:09:12.482923 ppp_local_ip.61001 > server_ip.23: P 3:13(10) ack 10 win 
8751 <nop,nop,timestamp 9073 921879044> (DF) [tos 0x60]
21:09:12.692923 server_ip.23 > 90.0.0.2.1027: P 10:16(6) ack 14 win 65160 
<nop,nop,timestamp 921879045 9073>
21:09:12.702923 ppp_local_ip.61001 > server_ip.23: P 13:23(10) ack 16 win 
8745 <nop,nop,timestamp 9075 921879045> (DF) [tos 0x60]
21:09:12.872923 server_ip.23 > 90.0.0.2.1027: P 16:60(44) ack 24 win 65160 
<nop,nop,timestamp 921879045 9075>
21:09:12.882923 ppp_local_ip.61001 > server_ip.23: P 23:26(3) ack 60 win 
8701 <nop,nop,timestamp 9077 921879045> (DF) [tos 0x60]
21:09:13.182923 server_ip.23 > 90.0.0.2.1027: . ack 27 win 65160 
<nop,nop,timestamp 921879046 9077>
21:09:13.192923 ppp_local_ip.61001 > server_ip.23: P 26:38(12) ack 60 win 
8701 <nop,nop,timestamp 9080 921879046> (DF) [tos 0x60]
21:09:13.232923 server_ip.23 > 90.0.0.2.1027: P 60:187(127) ack 27 win 65160 
<nop,nop,timestamp 921879046 9077>
21:09:13.392923 server_ip.23 > 90.0.0.2.1027: P 187:196(9) ack 39 win 65160 
<nop,nop,timestamp 921879046 9080>
21:09:13.392923 ppp_local_ip.61001 > server_ip.23: . ack 187 win 8574 
<nop,nop,timestamp 9082 921879046> (DF) [tos 0x60]
21:09:13.392923 ppp_local_ip.61001 > server_ip.23: P 38:41(3) ack 196 win 
8565 <nop,nop,timestamp 9082 921879046> (DF) [tos 0x60]
21:09:13.602923 server_ip.23 > 90.0.0.2.1027: . ack 42 win 65160 
<nop,nop,timestamp 921879047 9082>
21:09:13.612923 ppp_local_ip.61001 > server_ip.23: P 41:44(3) ack 196 win 
8565 <nop,nop,timestamp 9083 921879047> (DF) [tos 0x60]
21:09:13.822923 server_ip.23 > 90.0.0.2.1027: . ack 45 win 65160 
<nop,nop,timestamp 921879047 9083>
21:09:14.562923 ppp_local_ip.61001 > server_ip.23: P 44:45(1) ack 196 win 
8565 <nop,nop,timestamp 9092 921879047> (DF) [tos 0x60]
21:09:14.722923 server_ip.23 > 90.0.0.2.1027: P 196:198(2) ack 46 win 65160 
<nop,nop,timestamp 921879049 9092>
21:09:14.742923 server_ip.23 > 90.0.0.2.1027: F 198:198(0) ack 46 win 65160 
<nop,nop,timestamp 921879049 9092>
21:09:14.752923 ppp_local_ip.61001 > server_ip.23: . ack 199 win 8563 
<nop,nop,timestamp 9094 921879049> (DF) [tos 0x60]
21:09:16.012923 ppp_local_ip.61001 > server_ip.23: F 45:45(0) ack 199 win 
8563 <nop,nop,timestamp 9106 921879049> (DF) [tos 0x60]
21:09:16.202923 server_ip.23 > 90.0.0.2.1027: . ack 47 win 65160 
<nop,nop,timestamp 921879052 9106>


# ftp from client to server
21:09:25.862923 ppp_local_ip.61002 > server_ip.21: S 1015527:1015527(0) win 
8192 <mss 1460,nop,wscale 0,nop,nop,timestamp 0 0,nop,nop,sackOK> (DF) [tos 
0xa]
21:09:26.022923 server_ip.21 > 90.0.0.2.1028: S 2113434113:2113434113(0) ack 
1015528 win 65535 <mss 4096,nop,wscale 2,nop,nop,timestamp 921879071 0>
21:09:26.032923 ppp_local_ip.61002 > server_ip.21: . ack 2113434114 win 8760 
<nop,nop,timestamp 9204 921879071> (DF) [tos 0xa]
21:09:26.182923 server_ip.21 > 90.0.0.2.1028: . ack 1 win 65160 
<nop,nop,timestamp 921879071 9204>
21:09:29.412923 server_ip.21 > 90.0.0.2.1028: P 1:81(80) ack 1 win 65160 
<nop,nop,timestamp 921879078 9204> [tos 0x10]
21:09:29.612923 ppp_local_ip.61002 > server_ip.21: . ack 81 win 8680 
<nop,nop,timestamp 9237 921879078> (DF) [tos 0xa]
21:09:30.972923 ppp_local_ip.61002 > server_ip.21: R 1015528:1015528(0) win 
0 (DF) [tos 0xa]

# trying to login via client app. uses server port 2005
21:10:01.502923 ppp_local_ip.61003 > server_ip.2005: S 1051176:1051176(0) 
win 8192 <mss 1460,nop,wscale 0,nop,nop,timestamp 0 0,nop,nop,sackOK> (DF) 
[tos 0xb]
21:10:01.662923 server_ip.2005 > 90.0.0.2.1029: S 2119194113:2119194113(0) 
ack 1051177 win 65535 <mss 4096,nop,wscale 2,nop,nop,timestamp 921879141 0>
21:10:01.672923 ppp_local_ip.61003 > server_ip.2005: . ack 2119194114 win 
8760 <nop,nop,timestamp 9539 921879141> (DF) [tos 0xb]
21:10:01.682923 ppp_local_ip.61003 > server_ip.2005: P 0:22(22) ack 1 win 
8760 <nop,nop,timestamp 9539 921879141> (DF) [tos 0xb]
21:10:01.822923 server_ip.2005 > 90.0.0.2.1029: . ack 1 win 65160 
<nop,nop,timestamp 921879141 9539>
21:10:01.942923 server_ip.2005 > 90.0.0.2.1029: P 1:21(20) ack 23 win 65154 
<nop,nop,timestamp 921879142 9539>
21:10:01.972923 ppp_local_ip.61003 > server_ip.2005: P 22:23(1) ack 21 win 
8740 <nop,nop,timestamp 9541 921879142> (DF) [tos 0xb]
21:10:02.122923 server_ip.4646 > ppp_local_ip.1030: S 
2119322113:2119322113(0) win 65535 <mss 4096,nop,wscale 3,nop,nop,timestamp 
921879142 0>
21:10:02.132923 ppp_local_ip.1030 > server_ip.4646: R 0:0(0) ack 2119322114 
win 0
21:10:02.232923 server_ip.2005 > 90.0.0.2.1029: . ack 24 win 65154 
<nop,nop,timestamp 921879142 9541>
21:11:45.052923 ppp_local_ip.61003 > server_ip.2005: R 1051200:1051200(0) 
win 0 (DF) [tos 0xb]
21:11:58.262923 ppp_local_ip.61004 > server_ip.2005: S 1167966:1167966(0) 
win 8192 <mss 1460,nop,wscale 0,nop,nop,timestamp 0 0,nop,nop,sackOK> (DF) 
[tos 0xd]
21:11:58.412923 server_ip.2005 > 90.0.0.2.1031: S 2137498113:2137498113(0) 
ack 1167967 win 65535 <mss 4096,nop,wscale 2,nop,nop,timestamp 921879370 0>
21:11:58.412923 ppp_local_ip.61004 > server_ip.2005: . ack 2137498114 win 
8760 <nop,nop,timestamp 10607 921879370> (DF) [tos 0xd]
21:11:58.422923 ppp_local_ip.61004 > server_ip.2005: P 0:22(22) ack 1 win 
8760 <nop,nop,timestamp 10607 921879370> (DF) [tos 0xd]
21:11:58.562923 server_ip.2005 > 90.0.0.2.1031: . ack 1 win 65160 
<nop,nop,timestamp 921879371 10607>
21:11:58.642923 server_ip.2005 > 90.0.0.2.1031: . ack 23 win 65154 
<nop,nop,timestamp 921879371 10607>
21:11:58.652923 server_ip.2005 > 90.0.0.2.1031: P 1:21(20) ack 23 win 65154 
<nop,nop,timestamp 921879371 10607>
21:11:58.702923 ppp_local_ip.61004 > server_ip.2005: P 22:23(1) ack 21 win 
8740 <nop,nop,timestamp 10609 921879371> (DF) [tos 0xd]
21:11:58.862923 server_ip.4647 > ppp_local_ip.1032: S 
2137690113:2137690113(0) win 65535 <mss 4096,nop,wscale 3,nop,nop,timestamp 
921879371 0>
21:11:58.872923 ppp_local_ip.1032 > server_ip.4647: R 0:0(0) ack 2137690114 
win 0
21:11:59.062923 server_ip.2005 > 90.0.0.2.1031: . ack 24 win 65154 
<nop,nop,timestamp 921879371 10609>
21:12:53.782923 ppp_local_ip.61004 > server_ip.2005: R 1167990:1167990(0) 
win 0 (DF) [tos 0xd]

# another ping to verify we are still connected ok
21:13:16.212923 ppp_local_ip > server_ip: icmp: echo request
21:13:16.362923 server_ip > 90.0.0.2: icmp: echo reply
21:13:17.232923 ppp_local_ip > server_ip: icmp: echo request
21:13:17.382923 server_ip > 90.0.0.2: icmp: echo reply
21:13:18.242923 ppp_local_ip > server_ip: icmp: echo request
21:13:18.392923 server_ip > 90.0.0.2: icmp: echo reply
21:13:19.262923 ppp_local_ip > server_ip: icmp: echo request
21:13:19.442923 server_ip > 90.0.0.2: icmp: echo reply





_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
http://tiffany.indyramp.com/mailman/listinfo/masq
Admin requests can be handled by web (above) or [EMAIL PROTECTED]

Reply via email to