router

Merb Router: how to return a 406 error

Is it possible to have the router return an error code (or an entire rack response) in response to a matched route? E.g. I have move from WordPress to a home grown blogging solution. Search engines are hitting URLs like '/?tag=ruby' that need to return a 406 error. Instead, the router dutifully routes them to the same place as '/' I c...

Adding sub domain based routes in Zend framework

Hi, I am newbie to Zend framework, I am using .ini file to add routes in my application. I have 2 routes for different modules which resources.router.routes.news_view.type = "Zend_Controller_Router_Route_Regex" resources.router.routes.news_view.route = "([0-9\-]+)/([a-zA-Z0-9\-]+)\.html" resources.router.routes.news_view.defaults.mo...

How to make parameter optional in Zend Framework Router

Hi, I would like to know the .ini config file setup to make a route wherein the page number parameter is optional so that http://news.mysite.com/national http://news.mysite.com/national/1 point to the same page. I have the code as follows resources.router.routes.news_list.type = "Zend_Controller_Router_Route_Regex" resources.route...

Dynamics CRM v4 monitor mailbox for a queue

Hi I want to set up Microsoft Dynamics CRM to monitor a single mailbox using pop3 and then have any mails in that mailbox added as email activities to a queue in CRM. I have set up the pop3 mail box and I know that it works. I have set up the email router with an incoming profile for the mailbox. I have a queue called "inbound" in CRM...

AirPort Express Router Remote URL and default username/password

I am using the apple router, i think it is called the AirPort Express. It is the rounded one. Basically I would like to access it to configure my eMule connection. Question is simple: 1) What is the url for remove administration of this router? 2) What is the default username and password? Thanks, -Sergio ...

Server to server communication over NAT/router

I have two servers that need to be able to send requests to each other, and I need them to be able to communicate over a NAT or router. One server has a registered domain, and it is always waiting for connections. The other server sends the first request (the login request) to the first server when it starts. What is the best way to allo...

Need to mimic a router to test a SNMP monitor

I just picked up a job where I'm to make some changes to a custom built SNMP monitoring daemon and test it. The code changes to the daemon are quite simple, the trick is going to be testing it. Are there any tools out there that will mimic an SNMP enabled router? I'm only tracking traffic usage, so I'd suspect that I could write somet...

C#, socket through router.

Hello. I made a remote engine for a game which must be able to works in P2P. It perfectly works in LAN, but there's a problem when computers are behind router(s) and want to communicate through internet. Is there any solution to this, which doesn't need to manipulate the router configuration? Because since most of my gamers may not be...

In order for Udp multicast to work, router must support it?

I am wondering for the udp multicast to work, router must support it? ...

Add Page Parameter in Zend Framework Doesn't Work

Hello guys, I've been trying to figure this out these days. I got a problem when I want to add 'page' parameter in my URL for my pagination. This is my router ->addRoute('budi',new Zend_Controller_Router_Route(':lang/budi',array('controller' => 'budi', 'action' => 'index', 'page' => 1), array('lang'=>$s, 'page' => '\d+'))) ...

Lightweight network visualization tool

I've been trying to find a tool for monitoring my home network. Before I go into the details, I've looked at a ton of different software and they're either an overkill or don't have what I'm looking for. Hopefully the community can help me with some advice. My network is quite small. It consists of a modem connected to a D-Link DI-524 r...

pexpect parse router output

I've got a couple of pexpect lines to log onto a cisco router, and issue the show arp command. I then exit the router, having stored the data into the variable myARP (myARP=child.before) When I then try and loop over the object (for lines in myARP: print(lines), the info is displayed 1 character per line l i k e t h i s Apologies...

Skype call routing program - Multiple instances?

I'm using Python's library Skype4Py to take two phone numbers, at the command line, and create a conference call between the two numbers and the client making the call. The code works and the conference call works. The problem I'm having with it is, I can't create multiple calls at once. The computer Skype is running on is more of a ser...

Question about using Bonjour or other methods to secure a connection with a non computer device

So I have a project I am working on, and I would basically like to send a basic yes/no command from the iPhone to a wifi enabled device that is also connectedto the network on the same router. This other device is not a computer, so I am wondering if I can still use Bonjour? In order to use Bonjour, do both of the communicating devices n...

nettop acting as wireless router

With all these nettops (especially ones with nvidia ion) i was thinking about getting one as a HTPC but to use it as a server with IIS,SQL etc. I would like to use it as a wireless router too, instead of my old Linksys. What wifi card do I need, what does it have to support so it can act as an access point? As a nettop i wanted to buy ...

Zend Route with subdomain yahoo like.

Hi, I would like to use Zend Route to treat URI like, http:/US.video.yahoo.com and also http://video.yahoo.com with the same route. For the second proposition i would like that the system tell me that the country that was to "US" in the first one, is now at NULL. But i don't arrive to have Zend Route Hostname doing regex like stuffs. H...

key value routing in Zend Framework Route

Hello, I'm using a Hostname route to capture a subdomain and use as a category. I then chain a Router route for the controller, action and key/value pairs. $hostnameRoute = new Zend_Controller_Router_Route_Hostname( ':customer.ddc.:domain', array( 'customer' => ':customer' ) ); $routerRoute = new Zend_Controller_Router_Route( ':c...

c# HttpListener behind router

I have a web sever embebed in an application, very similar to this. But i have problems with i try access behind a router. I think code is right because if i change host file, all is working. Can anybody explain what is the problem? ...

[iPhone] Objective-C : How to fetch the router address?

Hey there! I tried to fetch the router address this way. - (NSString *) routerIp { NSString *address = @"error"; struct ifaddrs *interfaces = NULL; struct ifaddrs *temp_addr = NULL; int success = 0; // retrieve the current interfaces - returns 0 on success success = getifaddrs(&interfaces); if (success == 0) { // ...

Wireless router - configuring for low-latency, high traffic environment

Hey all, I have a few questions about configuring a router to achieve low-latency, high speed throughput on a local area network that is not connected to the network. I've read up on some stuff, but thought I would solicit some opinions here on what I've found and what I want to know.... Turn off SSID broadcast - it produces extraneous...