Honeypots mailing list archives

honeyd - routing interfaces


From: Filip Wantuch <filipw () hot pl>
Date: Mon, 28 Mar 2005 16:58:34 +0200

Hi, maybe somebody can help me with that... I'm writing diploma thesis about honeypots - especially honeyd and I have a problem with routing. I mean everything is working fine, but I have a "theoretical" problem. Pease guys - give me some clues.

Is there any way to bind 2 or more IP addresses to router. In real network, router needs to have at least 2 interfaces (each interface with its own IP) to route between two networks. That's the whole point of routing... right? I don't know how to do that in honeyd. I have a virtual routing topology and it's working fine - I can ping the routers, hosts and so on. But I would like to create something that looks like a real network. For example I would like to be able to do a ping from a host_1(IP:10.0.1.5) to host_2(IP:10.0.6.5). But this packet has to go through a router (of course hosts are in different networks) - so it's entering router on interface_1(IP:10.0.1.1) and living router on interface_2(IP:10.0.6.1). It should look like that:

host_1[10.0.1.5] ----- router-eth0[10.0.1.1]-eth1[10.0.6.1] ----- host_2[10.0.6.5]

And of course I would like to be able to ping both router interfaces. Is that possible in honeyd?

regards
Filip Wantuch


Current thread: