udp-ports

Archived discussion about features (predating the use of Bugzilla as a bug and feature tracker)

Moderator: Moderators

Locked
Zam
Posts: 8
Joined: 2003-09-12 01:13
Location: Finland
Contact:

udp-ports

Post by Zam » 2004-10-20 07:46

any possibilities to make those ports constant? So not every 1 ms my computer tries to get through NAT from udp:11012 or something.. there's no mind what port it uses. 412 it's quite often but why not always? I won't open more ports, what happens?

ivulfusbar
Posts: 506
Joined: 2003-01-03 07:33

Post by ivulfusbar » 2004-10-20 07:51

I have no idea what you mean. ;))

Do you mean on the sending or recving side? ;))

(i do understand how things works, and what UDP et.c. but i don't understand what your problem/issue is.)
Everyone is supposed to download from the hubs, - I don´t know why, but I never do anymore.

Zam
Posts: 8
Joined: 2003-09-12 01:13
Location: Finland
Contact:

Re: udp-ports

Post by Zam » 2004-10-20 08:15

Zam wrote:...my computer tries to get through NAT...
So I think this should tell everyone this is outgoing.

Log:
Image

There's the actual problem. Some traffic is blocked but is it anything important? Some people can't get my list and that troubles me coz some ops can be pain in the arse. I know my friend stopped using:
Poor, bad written, non-functioning software
.. because of this. He's using Torrent now... :roll:

Because I can't code a thing, would it be possible to make it use only predefined ports? Not any random ports..

Todi
Forum Moderator
Posts: 699
Joined: 2003-03-04 12:16
Contact:

Post by Todi » 2004-10-20 08:21

Outgoing UDP traffic = searchresults in Active mode. It's your computer sending searchresults to other users, on the port specified in your DC++ Settings.. If you leave the Port setting blank, DC++ will use a random port.

Zam
Posts: 8
Joined: 2003-09-12 01:13
Location: Finland
Contact:

Post by Zam » 2004-10-20 08:33

Ok, I have port 5995 and it's portforwarded alright.
I guessed search also coz apparently some ppl can't get my list where some can. Don't understand where it depends (I have port 412 open though).

My firewall settings are at high level which means there won't be any traffic that I don't allow.

I'm just waiting when some ops can't get my list and kick me off.

Interesting problem and I really don't want to
- stop using DC
- start using Torrent (even though much faster that dc)
- open all udp-ports above 1024 (that should help but... nah.)

PseudonympH
Forum Moderator
Posts: 366
Joined: 2004-03-06 02:46

Post by PseudonympH » 2004-10-21 15:52

Incoming can be restricted, but outgoing you must allow every port because people can use whatever listening port they wish.

Todi
Forum Moderator
Posts: 699
Joined: 2003-03-04 12:16
Contact:

Post by Todi » 2004-10-21 16:06

Hrm, user error, ignore my post.

Zam
Posts: 8
Joined: 2003-09-12 01:13
Location: Finland
Contact:

Post by Zam » 2004-10-22 02:22

PseudonympH wrote:Incoming can be restricted, but outgoing you must allow every port because people can use whatever listening port they wish.
That's my point! Why the heck dc uses whatever port for outgoing when it could use just 1 port? I know incoming port is what I want it to be but outbound just doesn't work right.

Do you understand my point?

Let's start from another direction. Someone who really coded dc++ could explain me why it's not possible to use only 1 port for outgoing traffic. Let's say 100 different users search something simultaneously and all of them find something from my share. So dc sends them all some kind of a response. Why it uses (does it?) 100 different ports to send those results? Can't be done via one port? That's the problem.My goal is to keep my Lan as restricted as possible. In and out.

10-4
-z-

Sedulus
Forum Moderator
Posts: 687
Joined: 2003-01-04 09:32
Contact:

Post by Sedulus » 2004-10-22 02:59

Zam wrote:That's my point! Why the heck dc uses whatever port for outgoing when it could use just 1 port? I know incoming port is what I want it to be but outbound just doesn't work right.
uh.. why are the results not sent on the port _you_ specify? because your peers aren't listening on every port for search results.
why aren't your peers all listening to the same port? because it's configurable, and luckily it is, otherwise many people wouldn't have been on DC, because their network admins have blocked the default ports.
Zam wrote:Let's start from another direction. Someone who really coded dc++ could explain me why it's not possible to use only 1 port for outgoing traffic. Let's say 100 different users search something simultaneously and all of them find something from my share. So dc sends them all some kind of a response. Why it uses (does it?) 100 different ports to send those results? Can't be done via one port? That's the problem.My goal is to keep my Lan as restricted as possible. In and out.
now that we have the you-can't-restrict-outbound-traffic issue cleared up, I'd like to point out that the same holds true for TCP.
I'd like to keep my router as restricted possible too.. that's why I don't bow to you and listen on all UDP and TCP ports, because you think you have the right to decide which port it should be.

on a sidenote: if your lan is small, which I suspect it is.. blocking outbound traffic is no replacement for a virus scanner and similar tools.
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)

Zam
Posts: 8
Joined: 2003-09-12 01:13
Location: Finland
Contact:

Post by Zam » 2004-10-22 03:03

Is it even possible to make it use only one outgoing udp-port?
-z-

Sedulus
Forum Moderator
Posts: 687
Joined: 2003-01-04 09:32
Contact:

Post by Sedulus » 2004-10-22 03:10

no, read my post.

the only thing that might be possible, is to have a small range of _source_ ports that could be defined and let your firewall check for those. but this would involve some coding which serves no purpose to most people (and isn't fun to code).
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)

Zam
Posts: 8
Joined: 2003-09-12 01:13
Location: Finland
Contact:

Post by Zam » 2004-10-22 03:11

ok
-z-

Zam
Posts: 8
Joined: 2003-09-12 01:13
Location: Finland
Contact:

Post by Zam » 2004-10-22 03:15

I like coding... on my level.
-z-

Sedulus
Forum Moderator
Posts: 687
Joined: 2003-01-04 09:32
Contact:

Post by Sedulus » 2004-10-22 03:22

so.. you want source ports to be definable?
post a RFE on the bugtracker (dcplusplus.sf.net/bugs) or write your own and send a patch to arnetheduck.
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)

Zam
Posts: 8
Joined: 2003-09-12 01:13
Location: Finland
Contact:

Post by Zam » 2004-10-22 03:28

I already loaded sources ;)

Like I understand any of it. Though havent yet checked. I'll keep that bugtracker in mind.

Thanks for your patience. :wink:
-z-

Locked