router

USB modem device software in cisco routers using C

HI all, I am a final year computer science student; my project for final year is to develop a software using C or Tcl, for a CISCO router. In the latest series of routers, cisco has given a USB port for mass storage. Now I want that if I plug-in a wireless modem like Idea netsetter (a modem available in India with this name), the router...

Router Latency, when network have different bandwidth

I have a question: I have a 4Mbit Connection on the one side (call it Side A) and a 1Gbit connection on the other side (side B) of a router. If now a packet of 1500 bytes is coming in on Side A. Does the router wait until it received everything of the packet (all the 1500 bytes) on Side A until it forwards it to Side B, or is it sending ...

Zend framework router problem - strange routing behavior

I've set the following routes for in Zf: $router->addRoute( 'page', new Zend_Controller_Router_Route('stranka/:niceuri/:id', array('controller' => 'page', 'action' => 'index')) ); $router->addRoute( 'cat', new Zend_Controller_Router_Route('kategoria/:niceuri/:id', array('controller' => 'category', 'action' => 'index')) )...

Zend framework - Where to Initialize session when the router needs access to it

Hi. I work in a project which uses the session a lot. We have a db handler (the standard one from Zend) and currently i have this initialization (db handler + session start) in a plugin for the preDispatchLoop. Previously it was in preDispatch but because of it being called for each action (included those in the 'forwarded' action, it ca...

frameset htaccess index.php url routing

hello, My question ist about htaccess redirecting everything to bootstrap.php. My index.php is just pure html about a frameset (i know frames are uncool, but I must). So I redirected everything in the htaccess to bootstrap.php and now am trying to build a URL-Router. But somehow, it does not work. When i request an URL like f.e. http:/...

Banning MAC address from accessing certain port - C++

Hello, I want to stop someone with a certain MAC address from accessing a certain port on my server, I'm using this as a sort of hardware ban for a private server a friend of mine runs. I am looking to do this in C++, and would like to know what I would need to research in order to do it. The server runs Windows. Also, how would I fin...

Mule: What's the difference between a multicasting-router and a static-recipient-list-router?

I can't really see a difference between a multicasting-router and a static-recipient-list-router. Why would I use one over the other? According to Mule-2.x user guide Recipient List the Recipient list router can be used to send the same event to multiple endpoints over the same endpoint or to implement routing-slip beha...

Is it possible to log all the ssh events that would have happened with the router?

i have a router and two systems . From one system i have logged into the router through hyper terminal . Will it be possible to log the even in the router and view it from my system if someone else tries to log into the same router from the other system using ssh ? ...

LAN->LAN IP translation for Buffalo router?

Here's my scenario: I've got a VisualSVN server on my main dev box @ home. I'm also using a Visual Studio 2010, TortoiseSVN, VisualSVN client (for source control), and Versioned 'Artifacts' (for bug tracking). I've got my Buffalo AirStation WHR-HP-G300N router properly configured so my business partner can connect to the SVN server. I ...

Time of Day Lockout By User Proxy Server Router

I currently have the Astaro Security Gateway ISO loaded on a beige box and it does what I want: Blocks direct access to the Internet making it's proxy server (with authentication) the only path to the Internet. Then, each user is subject to a different set of rules, for instance don't allow user "A" to connect after 11pm on a school nig...

Python - telnet on routers and list full result (hitting space bar)

import telnetlib def telNetCall(): host = "10.200.1.23" user = "me" password = "matrix" telnet = telnetlib.Telnet(host) telnet.read_until('Username: ', 3) telnet.write(user + '\r') telnet.read_until('Password: ', 3) telnet.write(password + '\r') telnet.write("sh log"+ "\r\n") telnet.write(...

PHP MVC + Router and Redirect issue

I have an odd issue that I can not for the life of me figure out. First of all I have developed a PHP MVC framework from scratch. The problem I am having is that I am getting a header redirect execution after an exit() call. Here is a high level view of the routing process: REQUEST_URI is stripped apart and the requested controller, m...

Ruby on rails: singular resource and form_for

I want user to work with only one order connected to user's session. So I set singular resource for order routes.rb: resource :order views/orders/new.html.erb: <%= form_for @order do |f| %> ... <% end %> But when I open the new order page I get an error: undefined method `orders_path` I know, that I can set :url => order_pat...

WCF 4 Router Service configuration issue

I've created a WCF 4 Router Service and am hosting it in IIS7. It works fine on my development machine, but when I deploy to the QA server is returns the following message: The configuration section 'routing' cannot be read because it is missing a section declaration The section it's complaining about is the standard WCF4 routing sect...

WCF - How to do Load Balance with WCF 4.0 Router Service

Hi, Have you ever learned about WCF Router Service 4.0 ? I know that this new feature has a lot of advantages, but i have some questions about it... First of all, i can't find any documentation about it! How to implement a logic for Load Balance over WCF Router Service 4.0 ? How does WCF Router Service deal with services that has callb...

Objective-c iphone programming with cisco routers?

I've seen some apps that connect to routers via ssh. Can anyone recommend any documentation on interacting with Cisco IOS configs and notifications? I'd love to write some custom in-house code! ...

How to make 'www' optional in a Hostname Route in Zend ?

Hello, Let's say I have the domain "example.com" I would like to add a route such as when the URL is "example.com/whatever/follows" it redirects to "http://www.example.com/whatever/follows" (forwarding the query strings too). Basically I would like to translate into Zend the following Apache Rewrite rule: RewriteCond %{HTTP_HOST} ^exa...

How to redirect to an action in Magento?

HI, I am trying to create a router for my custom module. I would like to access index controller's hotsale action by url/hotsale. So I create the following router xml in my module's config.xml. <hotsale> <use>standard</use> <args> <module>Moon_Products</module> <frontName>hotsale</frontName> </args> </hotsale> when I access u...

Accessing Router Config Page (Web UI/HTTP) in Code? How to?

Basically, i want to change settings in a routers settings page as found in common soho routers and i am unable to even get past the first step! that is, going to the page without prompting the user for their username and password (this is a must), you can assume i have the user/pass details. so i tried to access this page for instance....

How to configure ZTE ZXVE10 W300 router as a proxy server

Hello, I need to configure my ZTE ZVE10 W300 router as a proxy server. I need the users connect to router (with real ip) and use internet through it. Is there any way to do it ? I dont want to setup web proxy server or something else behind the router, but want to do that exactly on the router. Regards, Levon ...