Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums

Go Back   Code Forums > Code Newbie > Lounge

Reply
 
LinkBack Thread Tools Display Modes
Old 11-26-2003, 06:16 PM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
getting into a linksys router

i wrote a program which monitors your external ip address from behind a firewall. the purpose is so that if your ip is dhcp, and it changes, an email will be sent with your new ip addy. ( so you can still remote in )

well the problem is that currently i have to rely on an external web server to report back the external ip.

i thought another way to go about this is somehow log into the router's web control panel, and read the page. then use a simple regex to filter out the external ip.

when you open the web control panel, you get one of those popup authentication boxes. i'm wondering what type of header data would i have to send to the page for this to authenticate and allow me to read the pages.

any ideas?
__________________
Mike
sde is offline   Reply With Quote
Old 11-26-2003, 08:15 PM   #2 (permalink)
joe_bruin
LOAD "*",8,1
 
Join Date: Feb 2003
Location: la.ca.us
Posts: 254
joe_bruin is on a distinguished road
it's probably just simple http-auth. you're going to need a base64 encoder, but that's about it.

remember, netcat is your friend.
joe_bruin is offline   Reply With Quote
Old 11-27-2003, 10:45 AM   #3 (permalink)
Admin
$_['Your_Mom'];
 
Admin's Avatar
 
Join Date: May 2002
Location: Santee
Posts: 627
Admin is on a distinguished road
why dont you just use dynamic dns?
__________________


Urban Clothing
Admin is offline   Reply With Quote
Old 11-27-2003, 11:15 AM   #4 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
dynamic dns?

i'm not sure i totally understand, but regardless if i have my interal network setup dynamic or static, .. i still need a way to find out my external ip.

i run remote admin, and some other remote utilities that allow me to get into my network from work. so if my external ip changes, then i would not know my ip, until i got home to check it.

i have a version of this app that works, i would just be out of luck if the web server that prints the ip was down at the same time the ip changed.
__________________
Mike
sde is offline   Reply With Quote
Old 11-27-2003, 11:29 AM   #5 (permalink)
bdl
Senior Contributor
 
Join Date: May 2002
Location: vta.ca.usa
Posts: 555
bdl is on a distinguished road
dyndns.org

BTW, check Adelphia's TOS. You're not even supposed to be running a server.
bdl is offline   Reply With Quote
Reply

Bookmarks

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hacking your Linksys WRT54G sde Linux / BSD / OS X 18 04-20-2005 03:37 PM
home network Ilya020 Lounge 4 05-26-2003 04:28 AM
Router troubles!!! M3GAPL3X Lounge 5 03-29-2003 10:05 AM
Recommended router M3GAPL3X Lounge 7 03-11-2003 07:31 AM
my router experience sde Lounge 0 10-30-2002 10:14 PM


All times are GMT -8. The time now is 12:57 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting