View Full Version : LnS and Making Rules....?
dja2k
September 2nd, 2005, 02:02 AM
Can anyone explain how to make a rule for shareaza so I can use port fowarding with my router. I use port 6346 in both TCP and UDP if that helps.
dja2k
§à†áÑ
September 2nd, 2005, 11:34 AM
Hello,
You might want to try this link so you can get a better understanding of just how the rules work,good luck
http://www.looknstop.com/En/rules/rules.htm
§à†áÑ
dja2k
September 2nd, 2005, 05:37 PM
Okay seen that before, helped me a little, but I need someone showing me how to specifically set up one. I mean I know how to do rules in outpost and zonealarm, but this LnS has more items I don't understand when you click add to the ruleset to create your own. Also I heard that it matters where you set it up in terms of position being at the top, middle, or end of the rule list.
dja2k
Defenestration
September 2nd, 2005, 11:02 PM
-{ Quote: "I mean I know how to do rules in outpost and zonealarm, but this LnS has more items" }-And that's the beauty of LnS - Greater configurability (ie. down to a finer level)
-{ Quote: "I don't understand when you click add to the ruleset to create your own. Also I heard that it matters where you set it up in terms of position being at the top, middle, or end of the rule list.
dja2k" }-The basic idea when adding new rules is to add them as close the bottom as the rule will allow. This way, you will not affect rules which are more important than it (ie. the rules above it).
Anyway, that's the LnS rule system simplified. I will try to respond withimn the next couple of days with a (hopefully) suitable rule for your needs.
Regards,
Mr. D
Phant0m
September 2nd, 2005, 11:47 PM
Rule positioning is important, and placing rules close to the bottom could be an issue if you trying to create rule to apply to initiating connections from remote machines, (applications acting as server). :)
dja2k
September 4th, 2005, 01:45 AM
So um then, where does a rule go to allow shareaza as a server using specific ports?
dja2k
dja2k
September 5th, 2005, 11:16 PM
Since LnS is real confusing in setting rules for p2p port fowarding using a router and not getting enough help on the subject, might just have to look for an alternative firewall, but thanks for trying to help guys.
dja2k
CrazyM
September 5th, 2005, 11:33 PM
Have you not been able to get a working rule at all?
Did you try importing one of the P2P rules off the site and modify it for your requirements? Do the logs indicate what all is being blocked and have you tried making your rule from there?
-{ Quote: "So um then, where does a rule go to allow shareaza as a server using specific ports?" }-
Above anything else that may block it. You mention it requires both TCP and UDP so you would require two rules, one for each section of your rule set for that protocol.
Regards,
CrazyM
dja2k
September 6th, 2005, 02:13 AM
Okay I got this much as seen in the uploaded picture, the UDP was set the same way This rules were set on the very top since I don't know specifically were they go. This gives me a green lite on both UDP and TCP ports using the shareaza connection test found here http://shareaza.crucial-torrents.com/connectiontest/ . I don't know if they are right, I just copied from the rule Winmx in the LnS website.
dja2k
CrazyM
September 6th, 2005, 03:53 AM
Well that rule defines the source port (remote computer) but has ALL for destination port (your PC). Not having used the program, do the ports vary depending on inbound or outbound connections? Or is it consistent on both ends all the time (6346)? (ie. you have 6346 in both source and destination port)
Regards,
CrazyM
dja2k
September 6th, 2005, 04:30 AM
Well I don't really know, but here is what I used to put in zonealarm to use port fowarding.
I would put source (my computer) destination (internet zone) ports (udp and tcp 6346) I have my firewall allowing my ip address to use tcp and udp port 6346 as well.
That was about it. That would give me green on the test connection too.
dja2k
CrazyM
September 6th, 2005, 05:03 AM
Do you get the green light with the test if you have 6346 in both source and destination? You could always enable logging on your existing rule to see what it is really using.
Regards,
CrazyM
dja2k
September 6th, 2005, 01:15 PM
It is only using port 6346 and well the incoming vary, though is it safe to have the rules at the very top or should I move them little by little trying to see where they go?
dja2k
dja2k
September 12th, 2005, 02:59 AM
Okay deleted the rules I made and found these here on Wilders. The thing is I keep getting blocks with Type 3, Code 3 when shareaza is running and when shareaza is closed, I get some Type 3, Code 1 on some blocks. After closeing shareaza, I do see the firewall logging blocked attacts to a close shareaza port, but I don't know why it gives the Type 3, Code 1 on some.
I also imported the rules right before +TCP block incoming connections as Phantom suggested to do on another post. This seems to give me a green light on TCP and UDP in the connection test as well.
dja2k
CrazyM
September 12th, 2005, 04:11 AM
ICMP Types/Codes (http://www.iana.org/assignments/icmp-parameters)
Internet Control Message Protocol (ftp://ftp.rfc-editor.org/in-notes/rfc792.txt)
ICMP is basically used for error messages and notification of other conditions. The type 3, Destination Unreachable, would not be unusual to see in the circumstances you describe. If a system/destination is unable to process or is unavailable you may see these. In your case code 3 - port unreachable and code 1 - host unreachable.
Regards,
CrazyM
dja2k
September 12th, 2005, 04:43 AM
-{ Quote: "ICMP Types/Codes (http://www.iana.org/assignments/icmp-parameters)
Internet Control Message Protocol (ftp://ftp.rfc-editor.org/in-notes/rfc792.txt)
ICMP is basically used for error messages and notification of other conditions. The type 3, Destination Unreachable, would not be unusual to see in the circumstances you describe. If a system/destination is unable to process or is unavailable you may see these. In your case code 3 - port unreachable and code 1 - host unreachable.
Regards,
CrazyM" }-
But is it okay to be logging all thiese type 3, code 3 unreachable, wouldn't that make the log real big? I mean I think I remember in outpost, turning the port unreachable off or something.
dja2k
vBulletin® Copyright ©2000-2012, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2012, Wilders Security Forums