Astaro User Bulletin Board
Go Back   Astaro User Bulletin Board > Astaro Gateway Products > Network Security: Firewall, NAT, QoS, IPS and more

Welcome to the Astaro User Bulletin Board.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-09-2010, 02:46 AM
Junior Member
 
Join Date: Dec 2009
Location: Mechanicsburg, PA
Posts: 27
Default uTorrent still generating portscan messages

Hello ASG Gurus,
I need some help on this issue again. I am runng ASG 7.502. I have a Windows Home Server on which I have installed uTorrent client. Here is my ASG setup to allow uTorrent to connect on port 6890. The uTorrent client has a port setting which I have fixed to 6890.

I have arrived at this setup after lot of research on various websites about how to configure uTorrent but something is still not right and my head is spinning looking at the setup.

When uTorrent is running, it frequently causes portscan messages to be sent out by ASG. I am at a loss to explain why portscan messages are being generated since the port is fixed. Please guide me in the right direction.

Network (host):
homeserver: 192.168.200.10
Bound to Internal

Services:
BT_In: TCP/UDP 1024:65535->6890
BT_Services: TCP/UDP 1:65535->6890

DNAT:
Traffic Selector: Any->/BT_In/->External (WAN) (Address)
Destination Translation: homeserver ->/BT_Services/
No automatic filter rule
No Initial packet logging

Packet Filter:
Any ->/BT_Services/-> homeserver
homeserver ->/Any/-> Any


Thanks...
Arun Gupta
Reply With Quote
  #2 (permalink)  
Old 01-09-2010, 11:16 PM
RFCat_vk's Avatar
Wizard
 
Join Date: Aug 2005
Location: Victoria, Australia
Posts: 2,533
Default

Hi Arun,
I suspect that the utorrent is trying to find additional ports to use.

Have a look at the live security display or the log and review what is happening.

Ian M
__________________
Home Power User unlimited licence - v7.50x - AMD X2 5050e with 2gb,1 intel NIC, the onboard NIC and netgear gs108t with vlans.
Reply With Quote
  #3 (permalink)  
Old 01-10-2010, 12:21 AM
Junior Member
 
Join Date: Dec 2009
Location: Mechanicsburg, PA
Posts: 27
Default

Thanks for reply. I looked at the live log and several dropped packets caught my attention:

80.216.82.60:50 → <My_WAN_IP>:6890

I am confused as to why incoming packets to port 6890 are being dropped? I have NAT and packet filter rules to allow these packets to port 6890. Otherwise I cannot see many dropped packets.

Thanks...
Arun Gupta
Reply With Quote
  #4 (permalink)  
Old 01-10-2010, 01:02 AM
RFCat_vk's Avatar
Wizard
 
Join Date: Aug 2005
Location: Victoria, Australia
Posts: 2,533
Default

Hi Arun,
I suspect that the issue is going to be the 1024:65535 for incoming packets.

You can use that for outgoing, but you have no control over what the far end generates for incoming to you.

Ian M
__________________
Home Power User unlimited licence - v7.50x - AMD X2 5050e with 2gb,1 intel NIC, the onboard NIC and netgear gs108t with vlans.
Reply With Quote
  #5 (permalink)  
Old 01-10-2010, 07:40 PM
BAlfson's Avatar
Moderator
 
Join Date: Mar 2007
Location: Oklahoma City
Posts: 5,304
Default

If that doesn't solve your problem, please post the complete line from the packet filter log (not the live log) showing that such a packet was dropped. Also, please show a picture of the PF rule that should allow the packet.

Cheers - Bob
__________________
ACE V7 - Astaro Preferred Partner since V3
Addicted to my iPhone!
Reply With Quote
  #6 (permalink)  
Old 01-10-2010, 09:37 PM
stuartbe's Avatar
Member
 
Join Date: Oct 2007
Location: Luton, UK
Posts: 63
Default

Just a simple question but have you removed the Utorrent machine from the IDS ? There is the ability to stop it generating alarms and blocking the trafic.

It may well be the IDS is blocking the client, If the client tries a series of ports before if finds the open one it may be blocking it.
__________________
There are only 10 types of people in the world. Those that understand binary and those that dont.
Reply With Quote
  #7 (permalink)  
Old 01-10-2010, 11:11 PM
Junior Member
 
Join Date: Dec 2009
Location: Mechanicsburg, PA
Posts: 27
Default

Here is my final configuration which works and does not generate port scan messages:

Network:
Host: homeserver <My internal IP address of Windows Home Server>

Service:
BT_In: TCP/UDP Dport 6890 SrcPort 1:65535

NAT:
Traffic selector: Any BT_In External WAN address
Dest Translation: homeserver
No automatic packet filter rule
No logging

Packet Filter rules:
Any BT_In homeserver
homeserver Any Any

Intrusion Prevention:
Exceptions: Skip Anti-portscan Source Network homeserver

I have tested this configuration with uTorrent client 2.0 build 17668 and everything works fine. Thanks to stuartbe for pointing out the IDS exception.

The willingness to help newcomers is just exceptional in this forum and I am extremely thankful for this. It inspires me a lot to learn about the ASG product.
Reply With Quote
  #8 (permalink)  
Old 01-11-2010, 02:04 AM
Wizard
 
Join Date: May 2003
Location: Brunswick, Maryland, USA
Posts: 2,638
Default

setup a dnat to the workstation and tell utorrent to use that port. torrent programs by default can your firewalls to try to find something open for two-way communication. This behavior is not unexpected given Astaro's default configuration and the program involved.
__________________
50 user home license:ASL 7.5x p-4 celey 2.53 2 gigs ram 80 gig hdd intel/3com nics
50 user home license:ASL 7.5x p-4 xeon 2.8 ghz HT, 2 gigs ram, 250 gig HDD, 2 x Intel gig-e, 3com 3c905B

Registered Microsoft Partner
Emmanuel Computer Consulting, L.L.C.
http://www.emmanuelcomputerconsulting.com
Reply With Quote
  #9 (permalink)  
Old 01-11-2010, 02:43 AM
Junior Member
 
Join Date: Dec 2009
Location: Mechanicsburg, PA
Posts: 27
Default

Thanks William. I guess that is what I ended up doing. The problem I next ran into was that ASG was generating mass scale port scan messages (1200+ e-mail messages in about 18 hours).

Looking at the IDS log, I saw that whenever uTorrent was trying to rapidly open 4-6 connections to external servers on port 6890, ASG was generating port scan messages. I had allowed communication on port 6890 but I guess ASG still treats rapid successive connection attempts on any given port as port scan.
Reply With Quote
  #10 (permalink)  
Old 01-11-2010, 03:47 AM
Moderator
 
Join Date: Jul 2001
Location: southern California
Posts: 5,116
Default

Yes. Best to disable PortScan detection for the IP of your P2P pc.

Barry
__________________
http://DealBert.net
Home & business end-user since v1.x
  • ASL 6.3x, HP DL145 Dual Opteron, 1GB RAM, 6 gigE NICs, 50-IP Platinum License
  • ASL 7.3x, Dell PE1550 Dual PIII 1GHz, 1GB RAM, 2 NICs, 50-IP Platinum License
  • ASL 7.5x, 17-watt fanless mini-ITX system: MSI IM-945GSE-A Atom n270, 2GB RAM, Morex T3310 case. 2 Intel GigE, 3 VLANs. 80G 5200rpm 2.5" HD
    Netgear GS108T gigE VLAN switch & Linksys WRT54G WAP
    Total network infrastructure: 27 watts. 100-IP Home User. FiOS 10mb/2mb
Reply With Quote
Reply

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:56 AM.

 

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.


These pages are specifically maintained for the discussion of firewall issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases. issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases.