Sponsored Content
Full Discussion: dhcpd-related questions
Special Forums IP Networking dhcpd-related questions Post 302352684 by NESter on Saturday 12th of September 2009 09:32:13 PM
Old 09-12-2009
dhcpd-related questions

I have two items, only related because they are both regarding dhcpd.

First of all, I keep seeing dhcpd responding to DHCPREQUESTs on eth1 which is my cable modem. For example:

Sep 12 21:00:09 plague dhclient: DHCPREQUEST on eth1 to 204.186.xxx.xxx port 67
Sep 12 21:00:09 plague dhcpd: DHCPREQUEST for 24.229.xxx.xxx from 00:50:8b:XX:XX:XX via eth1: unknown lease 24.229.xxx.xxx.


this repeats over and over, wasting space with pointless logs. I don't want dhcpd listening to eth1 at all. I tried using iptables to block port 67 on eth1, but I'm guessing this isn't working because the requests are being generated and (unwantedly) answered by the same box. Can I somehow tell dhcpd to only bind to eth0? I'm sure I must be overlooking something simple here; maybe I just haven't searched the right terms to find an answer.

My other issue is, I want to be notified whenever dhcpd gives out a dynamic IP. I have swatch running, and it matches perfectly when a DHCPOFFER of one of an address from the dynamic range is made, but the mail swatch sends out only shows up much later... as long as an hour after the unknown client connected to my network. The idea is, if a friend is using my network or I am testing a new device that I haven't yet assigned a static IP to, I will ignore the notification (a SMS sent to my cell), but if I am not expecting it, I want to know because someone might have broken my wifi encryption (or broken into my garage and plugged into the LAN outside or whatever). It's technically functioning as-is, but not hearing about possible intrusions for up to an hour gives the bad guys a lot of time to download kiddie porn or pirated software under my identity. Anyone have a better solution or know a way to tweak swatch to text me instantly? I know it's not a delay in the mail, because I have other warnings sent to me (ssh from outside the LAN, for example) that have warned me of intruders within 30 seconds and had them banned and passwords changed before any real damage could be done.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

dhcpd

(GNU/Linux) Ain't it possible to force dhcpd to NOT send any DHCP Offers on a specific interface? I dont want dhcpd to answer on eth0 but do answer on eth1. best regards /Esaia (2 Replies)
Discussion started by: Esaia
2 Replies

2. Linux

dhcpd.conf

I have intall a REdhat 9.0 as a server and Ive configure to act as a DHCP however Im having technical problems b/c the file /etc/dhcpd.conf does not exists. I went to the text edit and I created : subnet 192.192.168.100.0 netmask 255.255.255.0 { range 192.168.100.10 192.168.100.150;... (1 Reply)
Discussion started by: keliy1
1 Replies

3. UNIX for Dummies Questions & Answers

few new bie questions related to gdb , telnet

Hi All, 1. how to what is the current line we are executing. List command will display the 10 lines by default. 2. how to put a pointer to the current excuting line when executing the list. 2. if i have set one break point and i want to set 2nd break point do i need to delete the first break... (1 Reply)
Discussion started by: gauri
1 Replies

4. UNIX for Advanced & Expert Users

dhcpd password

I want to change the password for dhcpd so I can give it to the dhcp operator to handle dhcp server. however, when I use passwd to change the password, it prompt me with changing password for dhcpd. old password: my question is that I have never set dhcpd password before, so what is the old... (1 Reply)
Discussion started by: fredao
1 Replies

5. UNIX for Advanced & Expert Users

dhcpd - range parameter

Hi All, I'm curious about what this community would think about this portion of a dhcpd.conf file: subnet 192.168.1.0 netmask 255.255.255.0 { ... ...other parameters/options... ... range 192.168.1.3 192.168.1.253 range 172.16.0.2 172.16.0.50 } I tested this and dhcpd did not barf... (2 Replies)
Discussion started by: Keene44
2 Replies

6. Solaris

Questions related to ndd commands

Hello Gurus I would like to know more about ndd commands related to ethernet(NIC) like how to set link_status, link_speed & link_mode as I know how to check these value. And I also would like to know how to make these setting permanents after reboot as I know that these setting will vanish... (5 Replies)
Discussion started by: amity
5 Replies

7. UNIX for Dummies Questions & Answers

Access file ownership related questions

I have two issues; any help regarding this would be highly appreciated. We deployed a file abc using pqr id. So the owner is of abc file (shell script) is ‘pqr'. However, abc file is executed by ESP event and uses the id ‘xyz'. When the file abc is executed the owner of... (9 Replies)
Discussion started by: clearC
9 Replies

8. Shell Programming and Scripting

need downloading related help...but its not related to unix

Hi All, I am trying to dowmload the zip file "zkManageCustomers.zip " but i dont have access. Can anyone help me to download this file See the below link- http://www.ibm.com/developerworks/opensource/library/wa-aj-open/index.html?ca=drs- Please help me as early as... (1 Reply)
Discussion started by: aish11
1 Replies

9. Red Hat

General questions related to patching and servers

Hi, Can you answer the following ? How to identify server is physical or virtual server ? Why often patching is done in servers ?What is the purpose of doing OS patching in servers. ? Regards, Maddy (5 Replies)
Discussion started by: Maddy123
5 Replies

10. Shell Programming and Scripting

Questions related to if in awk context and if without awk context

I wrote this code, questions follow #! /bin/bash -f # Purpose - to show how if syntax is used within an awk clear; ls -l; echo "This will print out the first two columns of the inputted file in this directory"; echo "Enter filename found in this directory"; read input; ... (11 Replies)
Discussion started by: Seth
11 Replies
dhclient.leases(5)						File Formats Manual						dhclient.leases(5)

NAME
dhclient.leases - DHCP client lease database DESCRIPTION
The Internet Systems Consortium DHCP client keeps a persistent database of leases that it has acquired that are still valid. The database is a free-form ASCII file containing one valid declaration per lease. If more than one declaration appears for a given lease, the last one in the file is used. The file is written as a log, so this is not an unusual occurrence. The format of the lease declarations is described in dhclient.conf(5). FILES
DBDIR/dhclient.leases SEE ALSO
dhclient(8), dhcp-options(5), dhclient.conf(5), dhcpd(8), dhcpd.conf(5), RFC2132, RFC2131. AUTHOR
dhclient(8) was written by Ted Lemon under a contract with Vixie Labs. Funding for this project was provided by Internet Systems Consor- tium. Information about Internet Systems Consortium can be found at https://www.isc.org. dhclient.leases(5)
All times are GMT -4. The time now is 04:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy