chiark / gitweb /
preload-hacks
11 months agonoip.c: Allow PF_NETLINK sockets. master 1.0.8
Mark Wooding [Tue, 13 Mar 2012 21:30:14 +0000]
noip.c: Allow PF_NETLINK sockets.

Anything fiddling with them probably knows what its doing.  Chromium
fails unless it can get one.

11 months agodebian/rules: Switch to using debhelper 9 directly.
Mark Wooding [Tue, 13 Mar 2012 21:29:51 +0000]
debian/rules: Switch to using debhelper 9 directly.

11 months agonoip.c: Shut up some GCC warnings.
Mark Wooding [Tue, 13 Mar 2012 21:28:39 +0000]
noip.c: Shut up some GCC warnings.

I have no idea what fixup_p was meant to mean, but it's gone now.

20 months agowithlib.in: Fix bashism (`export VAR=VALUE'). 1.0.7
Mark Wooding [Fri, 10 Jun 2011 20:00:07 +0000]
withlib.in: Fix bashism (`export VAR=VALUE').

For some reason, under `dash', this causes (say) `noip' to work
correctly for exactly one level of nesting.  An attempt to invoke a
nested `noip' results in

export: 4: noip.so: bad variable name

This appears to be a result of `dash' doing word splitting too early.

2 years agoRelease 1.0.6. 1.0.6
Mark Wooding [Mon, 14 Jun 2010 00:27:44 +0000]
Release 1.0.6.

2 years agonoip.c: Remove hints that we might intercept close(2).
Mark Wooding [Sat, 5 Jun 2010 13:45:58 +0000]
noip.c: Remove hints that we might intercept close(2).

We don't because glibc makes it too hard.

2 years agonoip.c: Make sure it's an AF_UNIX address before counting the length.
Mark Wooding [Sat, 5 Jun 2010 13:45:01 +0000]
noip.c: Make sure it's an AF_UNIX address before counting the length.

2 years agoMakefile: Cardboard cutout silent rules build.
Mark Wooding [Sat, 5 Jun 2010 10:53:59 +0000]
Makefile: Cardboard cutout silent rules build.

2 years agonoip.c: Silence GCC warnings about unused return values.
Mark Wooding [Sat, 5 Jun 2010 10:53:37 +0000]
noip.c: Silence GCC warnings about unused return values.

Actually act on errors from fgets while skipping the header on
/proc/net/unix, even though it's unlikely to be bad and we'll fail
later anyway.  The write in printerr is not worth worrying about.

2 years agonoip.c: Boring whitespace fixes.
Mark Wooding [Sat, 5 Jun 2010 10:52:11 +0000]
noip.c: Boring whitespace fixes.

3 years agoRelease 1.0.5. 1.0.5
Mark Wooding [Sat, 26 Dec 2009 12:17:10 +0000]
Release 1.0.5.

3 years agoMerge branch 'master' of metalzone:public-git/preload-hacks
Mark Wooding [Sat, 26 Dec 2009 12:16:09 +0000]
Merge branch 'master' of metalzone:public-git/preload-hacks

* 'master' of metalzone:public-git/preload-hacks:
  Version 1.0.4.
  noip (decode_inet_addr): Be more careful when converting addresses.
  noip: Don't try to support families other than AF_UNIX and AF_INET.

3 years agonoip.c: Only fiddle with `errno' from `connect' if we faked things.
Mark Wooding [Sat, 26 Dec 2009 12:15:34 +0000]
noip.c: Only fiddle with `errno' from `connect' if we faked things.

Otherwise some programs get confused.

3 years agoREADME: Add some more notes about how useful `noip' is.
Mark Wooding [Sat, 26 Dec 2009 12:15:11 +0000]
README: Add some more notes about how useful `noip' is.

4 years agoVersion 1.0.4. 1.0.4
Mark Wooding [Mon, 12 Jan 2009 17:57:54 +0000]
Version 1.0.4.

4 years agonoip (decode_inet_addr): Be more careful when converting addresses.
Mark Wooding [Mon, 12 Jan 2009 17:53:35 +0000]
noip (decode_inet_addr): Be more careful when converting addresses.

The old version of decode_inet_addr would convert empty Unix-domain
addresses to wildcard Internet addresses, which is erroneous in a number
of situations.  In particular, this causes problems in some servers
which maintain parallel Unix-domain and Internet listening sockets, and
use the address family reported by accept(2) to decide what to do: if
the incoming connection is from an unbound (but real) Unix-domain
socket, it gets misinterpreted.

This fixes decode_inet_addr to be more selective about its decoding of
empty addresses.  It must do the decoding when swapping in a genuine IP
socket, but when called via return_fake_name it's wrong to do this: a
remote socket which ought to be decoded will have been bound either
explicitly by the peer or implicitly by do_implicit_bind.  (Actually,
getsockname might now be wrong when called on an unbound socket, but
that's probably a small price to pay -- and there's no way of returning
the right answer in this case anyway.)

4 years agonoip: Don't try to support families other than AF_UNIX and AF_INET.
Mark Wooding [Mon, 12 Jan 2009 17:21:58 +0000]
noip: Don't try to support families other than AF_UNIX and AF_INET.

If there's demand, I might try to hack in IPv6 later.  But not now.

4 years agoVersion 1.0.3. 1.0.3
Mark Wooding [Mon, 22 Dec 2008 01:24:48 +0000]
Version 1.0.3.

4 years agodebian: Add lintian-overrides.
Mark Wooding [Mon, 22 Dec 2008 01:23:12 +0000]
debian: Add lintian-overrides.

The libraries we ship aren't for linking against, so they don't need
sonames.

4 years agonoip.c, uopen.c: Add commentary and GPL notices.
Mark Wooding [Mon, 22 Dec 2008 01:23:12 +0000]
noip.c, uopen.c: Add commentary and GPL notices.

This makes the whole package look much more palatable.

4 years agoMakefile: Spruce up considerably.
Mark Wooding [Mon, 22 Dec 2008 01:23:10 +0000]
Makefile: Spruce up considerably.

It's now more maintainable, and much easier to read.

4 years agouopen.1: Reports wrong section in .TH line.
Mark Wooding [Sun, 21 Dec 2008 22:20:55 +0000]
uopen.1: Reports wrong section in .TH line.

Spotted by lintian.

4 years agoDebian 1.0.2. 1.0.2
Mark Wooding [Sun, 21 Dec 2008 20:31:41 +0000]
Debian 1.0.2.

4 years agoBuild: Use auto-version to discover the version number.
Mark Wooding [Sun, 21 Dec 2008 20:30:27 +0000]
Build: Use auto-version to discover the version number.

4 years agoREADME: Provide a handy overview and tutorial.
Mark Wooding [Sun, 21 Dec 2008 20:28:01 +0000]
README: Provide a handy overview and tutorial.

It could probably do with building instructions and stuff.

4 years agodebian: Switch to CDBS.
Mark Wooding [Sun, 21 Dec 2008 19:35:33 +0000]
debian: Switch to CDBS.

This involves hacking the Makefile a little to separate CFLAGS and
LDFLAGS into things the Debian build system can mess with and things
which will screw the build.

It also involves messing with the debian/*.install files in obvious
ways.  And the build leaves a bunch of cruft which needs ignoring.

4 years agonoip: Fix error reporting. 1.0.1
Mark Wooding [Thu, 15 May 2008 18:53:09 +0000]
noip: Fix error reporting.

Previously, noip would report a connection failure to an unbound socket
as ENOENT (no such file or directory).  This confuses Sage (among
others, probably) which expect ECONNREFUSED.

Bump the version to 1.0.1 as a result.

4 years agoFix trailing whitespace.
Mark Wooding [Wed, 14 May 2008 07:50:26 +0000]
Fix trailing whitespace.

7 years agonoip: Fix ACL parsing bug in port ranges.
Mark Wooding [Wed, 1 Mar 2006 00:36:31 +0000]
noip: Fix ACL parsing bug in port ranges.

The code failed to skip past the `-' separating the parts of the port
range, so the max port always got forced to zero.  Less than useful,
really.

7 years agomanual: Various tweaks.
Mark Wooding [Wed, 8 Feb 2006 20:04:32 +0000]
manual: Various tweaks.

  * Fix author email addresses.

  * Fix terrible wording mistake in noip manual, and correct the DNS
    port number (presumably typoed).

Also sneak COPYING into the .gitignore file.

7 years agoinfra: Add a copy of the GPL.
Mark Wooding [Wed, 8 Feb 2006 18:56:13 +0000]
infra: Add a copy of the GPL.

7 years agoExtract Subversion ignore data.
Mark Wooding [Mon, 6 Feb 2006 19:10:39 +0000]
Extract Subversion ignore data.

7 years agodebian: Fix maintainer address.
mdw [Mon, 6 Feb 2006 19:10:15 +0000]
debian: Fix maintainer address.

7 years agoManual fix. 1.0.0
mdw [Mon, 23 May 2005 17:17:29 +0000]
Manual fix.

7 years agoVarious bug fixes.
mdw [Mon, 23 May 2005 10:49:04 +0000]
Various bug fixes.

7 years agoCheck the proposed socket directory before trusting its contents.
mdw [Fri, 6 May 2005 20:31:51 +0000]
Check the proposed socket directory before trusting its contents.

7 years agoAllow user control over autobinding. Also try ports at random to start
mdw [Fri, 6 May 2005 15:02:59 +0000]
Allow user control over autobinding.  Also try ports at random to start
off with, falling back to linear search.

7 years agonoip: set ACLs from environment variables.
mdw [Fri, 6 May 2005 14:25:06 +0000]
noip: set ACLs from environment variables.

7 years agoDebianize.
mdw [Fri, 6 May 2005 09:56:28 +0000]
Debianize.

7 years agoIt seems to work!
mdw [Thu, 5 May 2005 23:32:05 +0000]
It seems to work!

7 years agoNew project.
mdw [Thu, 5 May 2005 23:30:55 +0000]
New project.