summaryrefslogtreecommitdiffstats
path: root/avahi-autoipd
Commit message (Collapse)AuthorAgeFilesLines
* gcc: minor enum issues gcc 4.5 discoveredLennart Poettering2010-07-131-1/+1
|
* autoipd: fix debian's dhcp pathLennart Poettering2010-06-281-2/+2
| | | | As discussed with mbiebl on IRC
* daemons: drop unnecessary setsid() callsLennart Poettering2010-06-251-61/+39
|
* autoipd: don't consider packets with out own MAC as source as conflicting. ↵Nathaniel McCallum2010-06-251-3/+8
| | | | See #265
* avahi-autopid: set metric for default route in action scriptLennart Poettering2010-06-252-7/+18
|
* get rid of a lot of old svn cruftLennart Poettering2010-06-259-21/+3
|
* from now on we enforce a strict whitespace regimeLennart Poettering2010-06-253-38/+38
|
* autoipd: also use <dev>:avahi when using ifconfig in linux action scriptPeter Korsgaard2009-11-141-2/+2
| | | | | | | | avahi-autoipd.action.linux creates <dev>:3 aliases when using ifconfig instead of the <dev>:avahi aliases used when ip is used. Fix it to always use <dev>:avahi for consistency. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Fix --force-bind logicLennart Poettering2008-12-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Quoting Cocagne: "line 1280 of autoipd's main.c: "else if (event == EVENT_ROUTABLE_ADDR_CONFIGURED)" is missing '&& !force_bind' in the conditional. The lack of this condition causes the local link IP to be released even if the --force-bind arugment is passed. The problem was noticed when attempting to use avahi-autoipd acquire a link-local address during the early-userspace in a Linux initramfs. Immediately after the call-out script assinged the ll-address to the device, the daemon released the address via this conditional. It's suspicious that the daemon would consider this address "routable" but, even if it were, --force-bind should prevent the address from being released. After adding the && !force_bind to the conditional the daemon appeard to behave as expected." Closes #209.
* guarantee that we never calculate an invalid ip address from the mac addressLennart Poettering2008-08-051-0/+4
|
* add .gitignore filesLennart Poettering2008-06-181-0/+9
|
* fix detection whether an interface has a routable address assigned on BSD. ↵Lennart Poettering2007-12-161-270/+294
| | | | | | Patch from zml. Closes #166 git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1591 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* work around a couple of issues in BSD libpcap. Closes #160 #161. Patches ↵Lennart Poettering2007-12-161-284/+310
| | | | | | from zml git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1589 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Copyediting / spelling / grammarTed Percival2007-09-282-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1547 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Print the right default script file in `avahi-autoipd --help`Ted Percival2007-09-281-1/+1
| | | | | | | when pkgsysconfdir != /etc/avahi git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1545 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Spelling/grammar corrections (all trivial)Ted Percival2007-09-281-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1544 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix build on old freebsd, patch from zmi (Closes #158)Lennart Poettering2007-08-191-0/+8
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1523 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* make gcc even more shut upLennart Poettering2007-08-122-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1510 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Fix autoipd on Linux, bug fix from Pauline YeungLennart Poettering2007-08-081-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1503 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* avahi-autoipd: allow specifying the action script to run on the command ↵Lennart Poettering2007-06-211-2/+14
| | | | | | line. Patch from dcbw. Closes #147 git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1488 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Reset umask before writing files to /var/lib/avahi-autoipd. Fix for ubuntu ↵Lennart Poettering2007-05-091-3/+7
| | | | | | bug 83521 git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1468 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Don't pick the first 256 and the last 256 IP addresses from the IPv4LL ↵Lennart Poettering2007-05-081-4/+4
| | | | | | range, as required by section 2.1 of the ipv4ll spec. (Noticed by grinsbalu) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1456 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Use nodist for scripts that are created at build time, else it may happen thatLennart Poettering2007-04-211-3/+3
| | | | | | | we bundle them and cause problems on the target systems. (Patch from Sven Wegener) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1451 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* kill avahi autoipd when dhclient enters RELEASE state. (following debian bug ↵Lennart Poettering2007-04-192-4/+4
| | | | | | 419794) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1443 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Fix error message when passing invalid command line arguments. I admit ↵Lennart Poettering2007-04-141-2/+0
| | | | | | defeat, tedp wins, merging his patch. (Closes #88) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1424 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* increase netlink buffer size (hopefully closes #106)Lennart Poettering2007-04-121-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1421 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix a badly chosen log level. patch from tedp. closes #108Lennart Poettering2007-04-121-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1419 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* update EXTRA_DISTLennart Poettering2007-04-121-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1404 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* port avahi-autoipd to FreeBSD (original patch from Bruce M Simpson)Lennart Poettering2007-04-125-42/+787
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1402 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Use SCM_CREDENTIALS for authentication of netlink data from kernelLennart Poettering2007-02-041-2/+36
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1381 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Fix error message when passing an invalid command line option (Closes #88)Lennart Poettering2006-12-311-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1358 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Also fix < 2.6.19 builds for avahi-autoipd.Trent Lloyd2006-12-111-1/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1338 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Revert previous patch to check nlmsg_pid as it is bogus and breaksTrent Lloyd2006-12-111-0/+9
| | | | | | | | | | | in many cases, notably when using NetworkManager * Replace with new SO_PASSCRED-based check of the sending UID, which seems to work better * Apply for for 2.6.19+ where IFA_RTA / IFLA_RTA is no longer defined * Mild fix to some doxygen docs for avahi-common/address.h git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1336 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix --helpLennart Poettering2006-09-041-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1320 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* use alias interfaces for network configuration if only ifconfig is availableLennart Poettering2006-09-041-10/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1319 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* do not remove the interface address if an UNBIND event is recieved. This ↵Lennart Poettering2006-09-031-1/+8
| | | | | | might accidently remove a manually configured address, hence better don't touch it. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1317 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* configure broadcast address explicitlyLennart Poettering2006-09-031-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1316 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix "make distcheck"Lennart Poettering2006-09-021-2/+6
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1315 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* remove "set -e" from the hook scripts since this apparently breaks stuff in ↵Lennart Poettering2006-09-022-5/+1
| | | | | | the main hook script git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1313 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* remove a bogus warningLennart Poettering2006-09-021-1/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1312 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* ship dhclient hook scripts for using ipv4ll as fallback solution where DHCP ↵Lennart Poettering2006-09-023-1/+97
| | | | | | is not available. Only installed on Debian for now, since only Debian provides the necessary hook directories. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1311 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * ship avahi-autopid.action in the tarballLennart Poettering2006-09-011-2/+10
| | | | | | | * remove dependency on libavahi-common git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1308 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* remove remnants of a todo listLennart Poettering2006-09-011-6/+0
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1307 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * don't allow 169.254.0.0 and 169.254.255.255 as valid addressesLennart Poettering2006-08-311-8/+92
| | | | | | | * automaticaly save and restore addresses git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1306 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* implement chroot()ing and dropping of privilegesLennart Poettering2006-08-312-24/+177
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1305 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* change process title to work with pidof/killallLennart Poettering2006-08-311-6/+6
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1304 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* install avahi-autoipd.actionLennart Poettering2006-08-311-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1303 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add support for interface configuration with user supplied event scriptLennart Poettering2006-08-313-24/+233
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1301 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* avahi_set_proc_title(): change the process name with prctl() if availableLennart Poettering2006-08-311-8/+19
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1300 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add new option --force-bindLennart Poettering2006-08-311-5/+18
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1292 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe