Username: 
Password: 
Restrict session to IP 

Port binding problem  Go to the Training: Net Ports challenge

1 2
Global Rank: 130
Totalscore: 138616
Posts: 6
Thanks: 2
UpVotes: 4
Registered: 11y 142d
wasmaro`s Avatar



The User is Offline
Port binding problem
Google/translate0Thank You!0Good Post!0Bad Post! link
Hi,

I can't bind to source (local) port 5 and any below 20 (1-19) -- "Connection timed out".
Maybe my ISP blocking these ports, because on my localhost (MyIP:5 -> MyIP:80) is working correctly.

So what can I do?
Global Rank: 403
Totalscore: 59169
Posts: 12
Thanks: 4
UpVotes: 6
Registered: 11y 56d
m0ngrel`s Avatar
The User is Offline
RE: Port binding problem
Google/translate0Thank You!0Good Post!0Bad Post! link
Try using curl. Smile
Global Rank: 130
Totalscore: 138616
Posts: 6
Thanks: 2
UpVotes: 4
Registered: 11y 142d
wasmaro`s Avatar



The User is Offline
RE: Port binding problem
Google/translate0Thank You!0Good Post!0Bad Post! link
With curl also not working local port range: 1-19.
$ <censorship>
curl: (7) Failed to connect to www.wechall.net port 80: Connection timed out
Last edited by gizmore - Sep 16, 2014 - 20:51:10
Global Rank: 252
Totalscore: 87267
Posts: 1635
Thanks: 1336
UpVotes: 885
Registered: 16y 43d




Last Seen: 11h 23m
The User is Offline
RE: Port binding problem
Google/translate1Thank You!1Good Post!0Bad Post! link
Censored and changed the challenge to port 42 Smile
The geeks shall inherit the properties and methods of object earth.
Global Rank: 1066
Totalscore: 23651
Posts: 2
Thanks: 1
UpVotes: 1
Registered: 9y 84d
akaryuu`s Avatar


Last Seen: 6y 129d
The User is Offline
RE: Port binding problem
Google/translate0Thank You!0Good Post!0Bad Post! link
Hi Gizmore, I used curl and managed to get the right port on my side but I can read in the curl output that your script doesnt recognize my userid, in the top of the output I can see I am logged in with my userid but at the table that solves the challenge it prints the following:

</div>
<div class="cl"></div>
<div class="box">
<div class="box_t">Training: IP Ports</div>
<div class="box_c">Hello Guest,<br/>
<br/>
Welcome to another training challenge.<br/>
<br/>
Simply connect here with remote-port <b>42</b>.<br/>
Your current remote-port is <i>42</i>.<br/>
<br/>
Good Luck!<br/>
gizmore
</div>

I am quite sure I am not logged as a guest, I already passed my user, pass and even cookie as parameters of curl, may you point me in the right direction please?, thank you!!
Global Rank: 1066
Totalscore: 23651
Posts: 2
Thanks: 1
UpVotes: 1
Registered: 9y 84d
akaryuu`s Avatar


Last Seen: 6y 129d
The User is Offline
RE: Port binding problem
Google/translate1Thank You!1Good Post!0Bad Post! link
Nevermind, I was passing the cookie without its name, already done, thanks!
Global Rank: 22
Totalscore: 363888
Posts: 8
Thanks: 3
UpVotes: 3
Registered: 9y 341d






The User is Offline
RE: Port binding problem
Google/translate0Thank You!0Good Post!0Bad Post! link
My ISP maybe block these ports.I tried as follows:
love0day@warchall ~ $ [CENSORED]
curl: (45) bind failed with errno 13: Permission denied
but love0day@warchall ~ $ [CENSORED]
will be ok.return like this:
<br/>
Simply connect here with remote-port <b>42</b>.<br/>
Your current remote-port is <i>4200</i>.<br/>
<br/>
So I know how to solve this chall,but I can't compete it.Can you change the port to 4200? thanks very much.
Last edited by dloser - Mar 25, 2016 - 15:35:43
Global Rank: 1
Totalscore: 760035
Posts: 431
Thanks: 491
UpVotes: 456
Registered: 14y 246d












The User is Offline
RE: Port binding problem
Google/translate0Thank You!0Good Post!0Bad Post! link
"Permission denied" is not an error that is the result of an ISP blocking stuff. So I'd say you actually don't really know how to solve it. ;)
Global Rank: 22
Totalscore: 363888
Posts: 8
Thanks: 3
UpVotes: 3
Registered: 9y 341d






The User is Offline
RE: Port binding problem
Google/translate0Thank You!0Good Post!0Bad Post! link
but why I can control my local port to 4200 use that curl command ? 4200 and 42 do have some difference?
I have to login to love0day@warchall by SSH then execute that command to bypass the ISP's blocking.but I haven't the permission to use 42.
that is the bug of this chall.
Global Rank: 1
Totalscore: 760035
Posts: 431
Thanks: 491
UpVotes: 456
Registered: 14y 246d












The User is Offline
RE: Port binding problem
Google/translate0Thank You!0Good Post!0Bad Post! link
Try researching a bit. Then make sure your ISP is really blocking it.
1 2
Cube, Redknee, MeC, tunelko, silenttrack, n0tHappy, quangntenemy, TheHiveMind, Z, balicocat, Ge0, samuraiblanco, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89, braddie0, SwolloW, dangarbri have subscribed to this thread and receive emails on new posts.
1 people are watching the thread at the moment.
This thread has been viewed 233523 times.