Ticket #167 (closed defect: wontfix)
debathena-lert-server binds only to localhost
Reported by: | broder | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | The Distant Future |
Component: | -- | Keywords: | |
Cc: | Fixed in version: | ||
Upstream bug: |
Description (last modified by broder) (diff)
debathena-lert-server uses gethostbyname(uname().nodename) as the address to bind to. Unfortunately, on most Ubuntu systems, this works out to being 127.0.1.1 instead of the actual IP address, thanks to Ubuntu's /etc/hosts hacks.
More fun, the krb4 code needs the destination address of incoming packets for the encryption of the reply, so we can't simply switch to listening on INADDR_ANY with no other changes.
I see two options:
- Change the code to use recvmsg instead of recvfrom, in which case you can get at the destination address of the incoming packets at the expense of substantially increased complexity. See http://tinyurl.com/d79x9r for an example of how to do this.
- Tear out the krb4 code. The krb5 protocol was introduced in 2002, and it seems pretty unlikely that krb4 clients are still around. It's already nicely conditionalized out so that it'll build on squeeze.
Change History
comment:2 Changed 16 years ago by broder
- Keywords proposed added
- Description modified (diff)
- Summary changed from debathena-lert-server is completely dysfunctional to debathena-lert-server binds only to localhost
debathena-lert 10.0.2-0debathena1 fixes the paths that debathena-lert-server uses, and includes an init script. It's going into -proposed with everything else.
There is one remaining issue, and I've updated the description to document that.
comment:3 Changed 16 years ago by broder
- Keywords proposed removed
There's not a fix for the remaining issue here in -proposed.
(Marked as low priority because nobody actually cares about this package)