-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not binding to specified MAC address #92
Comments
I should point out, I am not using farpd. |
Hi there, I've the same trouble... I've tried with DataSoft version and the last from debian squeeze repos for testing purposes, it doesn't change anything... My logical network architecture (very simplified) looks like this: My configuration file (i.e. /etc/honeypot/honeyd.conf):
honeyd daemon configuration file (i.e. /etc/default/farpd):
farpd daemon configuration file (i.e. /etc/default/honeyd):
Log:
As you can see, the arp reply doesn't match the configuration file. Otherwise, maybe you know how to fix the last printed error? PS: It seems to be the same problem as in this post. |
It looks like honeyd is only using the vendor octets for MAC generation (the first three), if I had to guess. It's probably just something related to first time node generation, it's been long enough since I've looked at it that I can't be sure though. It could be that it has the right address in memory and then randomizes it when it's provisioning the node, which would be a bug. I would shoot the Nova support guys an email saying that honeyd is doing this and see what they say. Otherwise it's time to dive deep into honeyd.c and see where it would be happening. I imagine it's just an operation ordering issue. On Feb 16, 2016, 06:54, at 06:54, Baptiste MOINE [email protected] wrote:
|
Any update on this? |
Hello,
After some punching around, I managed to get "honeyd" mostly working the way that I want. One thing that I have noticed is that I am unable to "set" the MAC address as per the documentation. For example, my configuration looks like this:
----
create windows
set windows personality "Microsoft Windows XP Professional SP1"
set windows default tcp action reset
add windows tcp port 135 open
add windows tcp port 139 open
add windows tcp port 445 open
set windows ethernet "00:1a:e2:bc:a0:01"
bind 10.55.5.200 windows
----
I can ping 10.55.5.200 and nmap it just fine. However, it appear to not be using the specified MAC address of "00:1a:e2:bc:a0:01". Below is the output.
From the workstation I am pinging from:
----
root@ubuntu:~# ping 10.55.5.200
PING 10.55.5.200 (10.55.5.200) 56(84) bytes of data.
64 bytes from 10.55.5.200: icmp_seq=1 ttl=128 time=20.1 ms
64 bytes from 10.55.5.200: icmp_seq=2 ttl=128 time=10.3 ms
----
From the Honeyd -d output:
----
honeyd[7531]: started with -P -d -f /etc/honeyd/champ.conf
honeyd[7531]: listening promiscuously on ens3: (arp or ip proto 47 or (udp and src port 67 and dst port 68) or (ip )) and not ether src 00:e0:4c:12:7e:93
honeyd[7531]: switching to polling mode
honeyd[7531]: Demoting process privileges to uid 65534, gid 65534
honeyd[7531]: Sending ICMP Echo Reply: 10.55.5.200 -> 10.55.5.250
honeyd[7531]: arp_send: who-has 10.55.5.250 tell 10.55.5.200
honeyd[7531]: arp_recv_cb: 10.55.5.250 at 00:e0:4c:12:7e:92
honeyd[7531]: Sending ICMP Echo Reply: 10.55.5.200 -> 10.55.5.250
honeyd[7531]: arp reply 10.55.5.200 is-at 00:1a:e2:be:cc:99
----
(Note the last line).
From the arp table of the "pinging" machine:
10.55.5.200 ether 00:1a:e2:be:cc:99 C eth0
The MAC is successful with "00:1a:e2:be:cc:99", but I would expect this to be "00:1a:e2:bc:a0:01" as per my template.
Is there any reason it's only using "part" of my specified MAC address?
Hopefully this makes sense. Thank you.
The text was updated successfully, but these errors were encountered: