Username: 
Password: 
Restrict session to IP 

Port binding problem  Go to the Training: Net Ports challenge

1 2
Global Rank: 113
Totalscore: 152267
Posts: 6
Thanks: 2
UpVotes: 4
Registered: 8y 27d
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: 393
Totalscore: 57216
Posts: 12
Thanks: 4
UpVotes: 6
Registered: 7y 305d
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: 113
Totalscore: 152267
Posts: 6
Thanks: 2
UpVotes: 4
Registered: 8y 27d
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: 234
Totalscore: 85384
Posts: 1392
Thanks: 1225
UpVotes: 740
Registered: 12y 292d




Last Seen: 5d 2h
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: 989
Totalscore: 23524
Posts: 2
Thanks: 1
UpVotes: 1
Registered: 5y 333d
akaryuu`s Avatar


Last Seen: 3y 14d
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: 989
Totalscore: 23524
Posts: 2
Thanks: 1
UpVotes: 1
Registered: 5y 333d
akaryuu`s Avatar


Last Seen: 3y 14d
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: 17
Totalscore: 377896
Posts: 8
Thanks: 3
UpVotes: 3
Registered: 6y 226d






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: 748678
Posts: 408
Thanks: 457
UpVotes: 405
Registered: 11y 131d












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: 17
Totalscore: 377896
Posts: 8
Thanks: 3
UpVotes: 3
Registered: 6y 226d






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: 748678
Posts: 408
Thanks: 457
UpVotes: 405
Registered: 11y 131d












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, TheHiveMind, Z, Ge0, samuraiblanco, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89, braddie0 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 230098 times.