9bd1db420e
Scapy packet filtering is slow and blocking. Pcap filtering can be used in same thread, this allows us to use higher timeout for dhcp offer waiting Setup proper logger for dhcp_checker app. ERROR level logs will be redirected to stderr DEBUG level to /var/log/dhcp_checker.log Change-Id: I7d9a0f1b8e3082637bc2474302fc0f7c17e0adb8 Closes-Bug: #1247284 |
||
---|---|---|
.. | ||
dhcp_checker | ||
test_env | ||
MANIFEST.in | ||
README.md | ||
setup.py | ||
tox.ini | ||
Vagrantfile |
FIND DHCP SERVER IN NETWORK
=Install vagrant= wget http://files.vagrantup.com/packages/7ec0ee1d00a916f80b109a298bab08e391945243/vagrant_1.2.7_x86_64.deb
dpkg -i vagrant_1.2.7_x86_64.deb
=Get code= git clone git@github.com:dshulyak/test_roque_dhcp.git cd test_roque_dhcp & vagrant up
=Use cli= DEFAULT TIMEOUT 5 sec dhcpcheck discover --ifaces eth0 eth1 eth2 dhcpcheck discover --ifaces eth0 --timeout=10
=Usefull stuff= Also you could make dhcpchecks from your host dhcpcheck discover --ifaces vboxnet4
I sugest to look at trafic with wireshark or tcpdump writing to .pcap file