router

What makes an effective URL Mapping implementation and why?

I am looking at implementing URLMapping for a personal project. I am already aware that solutions exist so please do not answer suggesting I should use one. What I want is to harvest the opinions of fellow developers and web users on URL mapping implementations. Specially I would like you to answer: Which is your favourite implementa...

Obtain MAC Address of Devices in range of router

Is it possible for a router to obtain the MAC address of nearby devices that have not connected to it? I want to write an app that notifies me somehow (email or something) when a specific MAC address comes within range of a router that I have (the app is much more specific than that so I cannot use prebuilt tools but if they are open sou...

How feasible/difficult is it to run an application that runs on a router?

In my example, I want to build an application that sends users who join a network some kind of interface and manage this at a central station (possibly the router, or a central server). The new user's input to this interface will be sent back to the central station and controlled. How plausible is this? Is sending something to a newl...

one router instead of two. Kohana 3

Hi. I meet kohana 3. I would like to know the answer to my question. In general, there are 4 url that I would like to handle one router. Namely: / news / / news/11-02-2009 / / news / butik / / news/butik/11-02-2009 / Where date 11/02/2009 News. Can be any correct date. A butik a string [a-zA-Z_] + I made such a router: Rout...

Is it possible to program iphone to alter wireless router settings?

I want to use my iphone to set alter my wireless router settings, and I don't want to go through 192.168.1.1 - is there any security restrictions or SDK limitations I should be aware of starting off? -- t ...

Intercept page request behind firewall return altered content with php and apache

I'm providing free wifi service and need an ad to be added to all page requests. Currently I have a router forwarding all http requests to an apache server, which redirects all requests to an index.php page. The index.php page reads the request, fetches the content from the appropriate site, and edits the content to include the ad. The...

Destroying nested resources in restful way

I'm looking for help destroying a nested resource in Merb. My current method seems near correct, but the controller raise an InternalServerError during the destruction of the nested object. Here comes all the details concerning the request, don't hesitate to ask for more :) Thanks, Alex I'm trying to destroy a nested resources usin...

PHP - Is possible to find if user is browsing from beind a Router and get Router Info

Hello guys. I think it isn't possible just using PHP, but just to be sure. Is it possible for PHP to know if the user is accessing the web from behind a Router? And if yes, how can i get some information about that router, like: Router Name, Brand, Serial Number, ... Users connected in the same network. Can PHP also find the Local I...

Zend Framework Router Getting /module/VALUE/controller/action

I've been googling around and I can't seem to find anything which explains the use of ZF router well. I've read the documentation on the site, which seems to only talk about re-routing. I am trying to make the format: /module/value/controller/action give /module/controller/action passing on value as a parameter e.g. /store/johnsmithbig...

Identify machines behind a router uniquely based on ipaddress

Some background first. I have a .net client agent installed on each of the machines in the lan. They are interacting with my central server [website] also on the same lan. It is important for my website to figure out which of the machines can talk to each other. For example, machines of one subnet cannot directly talk to machines of ano...

VirtualBox Port Forwarding Not Working

I have an Ubuntu 10.04 Host running VirtualBox with a Guest Ubuntu Server 10.04 set up. My host machine is behind a linksys router. I would like to use the VM as a web server (to the outside world). I have NAT networking between the host and guest machines, and used port forwarding (guide here) to foward port 8888 on the host to port 80...

Slow 'unknown host' response to networked macs from router? (Suddenly!)

Some IOError response tests in my unit test suite suddenly started failing. Have passed several times daily for months, only started failing today - they had a time out of 2 seconds. Chasing this up I found that it was taking over 30 seconds for the IOError to be produced. We're accessing the web (BT broadband DSL) via a wireless router...

Optional param Zend Route Regex

Hello, How to make route regex parameters optionals with Zend ? I try to make well formatted URLs ("search?s=mp&t=w" instead of "search/index/s/mp/t/w") for search filters, ex. : Popularity Most popular (s=mp) Most viewed (s=mv, default) Top rated (s=tr) Most commented (s=mc) Period All period (t=a, default) Today...

Drupal 6 fails to build menu router and links

When I enable a new menu in Drupal (for example, mymodule), Drupal should be able to get the menu items from mymodule_menu (hook_menu), process the items and insert the menu items to menu_router and menu_links table. However, my Drupal fails to do so. Each time I enable a module (written by me or modules contributed by others, or core m...

Programmatically changing wireless router settings - Netgear ideally

Is it possible to programmatically change settings on a Netgear wireless router using C#? I have settings that I change often and I would like to create my own interface for making those changes. Currently I navigate to the admin web page (10.0.0.1) and it prompts me for a username and password. After I authenticate I can use the web ...

How do BitTorrents connect with eachother?

Hey guys, I was just downloading a new distro of linux using uTorrent, and started to wonder how uTorrent (and other bittorrents) send files to eachother through NAT routers? They obviously use the trackers to get introduced, but how do they pass info to eachother? Is there a whitepaper on this? I couldn't find one :/ Thanks, Max ...

What's the correct way to use Cakephp urls?

Hello all, it's my first post here :) I'm having some difficulties with dealing with urls and parameters. I've gone through the router class api documentation over and over again and found nothing useful. First of all, I'd like to know if there is any 'universal' format in CakePHP(1.3) for handling urls. I'm currently handling all my u...

Running scripts on DD-WRT enabled router

Hello guys, is there a way to program a simple code and run it on a wireless router with the dd-wrt firmware? Thanks ...

server's default gateway for communication between network hosts

The correct answer to question [1] below is: Configure SrvA with no default gateway address What I cannot understand - 1) Why would it prevent the hosts on subnet B to connect to hosts on subnet A and through them to SrvA (since they, according to the task solved and correct answer, would continue to have access to SrvA)? 1a) ...

Is it a good idea to allow the router to look up controllers from a database?

In most of the tutorials for PHP MVC design structures, a router class is used to take user input and look up the right controller in order to process that input accurately. The input normally takes the form of a url. For example http://example.com/foo/bar/ would ask the router to find the controller named foo and fire the method bar. P...