3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking
Peter Simons 0f3fa64430 wicd: integrate with upstart events
quite some services need to be started/restarted when a connection is
established/teared down. Also, some services are optional depending on
the connected access point. For example: use a vpn on an untrusted
network.

these small trigger scripts don't change any behaviour by themselves,
but allow you to hook in to them if you need.

example use:

  jobs.gw6c.startOn = pkgs.lib.mkForce "started  openvpn-dcsOffice";
  jobs.gw6c.stopOn  = pkgs.lib.mkForce "stopping openvpn-dcsOffice";
  jobs."openvpn-dcsOffice".startOn        = pkgs.lib.mkForce "wicd-postconnect";
  jobs."openvpn-dcsOffice".stopOn         = pkgs.lib.mkForce "stopping network-interfaces or wicd-predisconnect";

In the example, I use 3 layers. When a physical connection is
available (wifi connect), I setup a vpn connection, and setup an ipv6
tunnel on top of that. When disconnecting, they are automatically shut
down in the right order as well.

svn path=/nixpkgs/trunk/; revision=31662
2012-01-18 20:38:34 +00:00
..
aircrack-ng aircrack-1.0-rc2 -> 1.1-1859 (current trunk) 2011-02-14 22:40:51 +00:00
altermime Taking a patch from ArchLinux to fix altermime build 2011-09-26 04:48:35 +00:00
aria
aria2 aria2: 1.9.3 -> 1.10.8 2011-01-11 13:42:49 +00:00
atftp Moving debian patch to fetchurl 2011-08-29 13:17:44 +00:00
autossh added autossh 1.4b. 2010-05-27 19:43:57 +00:00
axel update to 2.4 2010-04-04 14:44:14 +00:00
bsd-finger * Get rid of many instances of "args: with args;", and other coding 2010-07-28 11:55:54 +00:00
cksfv * cksfv 1.3.14. 2009-08-11 13:49:13 +00:00
cntlm added support for cntlm on nixos! 2011-10-09 22:28:41 +00:00
curl * curl updated to 7.22.0. Dropped the connect timeout patch because 2011-11-05 01:55:53 +00:00
ddclient ddclient 2009-09-16 11:27:18 +00:00
dhcp * Make sure that dhclient properly sets the hostname after reboots. 2011-04-01 15:04:20 +00:00
dhcpcd * dhcpcd, another DHCP client (not tested). Hopefully it works better 2009-07-17 11:41:19 +00:00
dnsmasq * dnsmasq updated to 2.57. 2011-03-10 13:35:19 +00:00
dnstop Adding dnstop 2011-11-03 18:43:48 +00:00
dropbear Now yes allowing the sftp server path in dropbear. I commit too early, clearly. 2011-04-25 15:04:56 +00:00
eggdrop added eggdrop, iftop 2009-10-08 07:01:55 +00:00
fdm fdm: remove -I- from GNUmakefile. Fixes build on i686 2011-09-25 23:16:16 +00:00
flvstreamer added flvstreamer 2010-11-26 20:04:07 +00:00
fuppes Fuppes: Fix support of faad2, backward compatibility macros were not 2011-04-17 08:27:22 +00:00
getmail * Bazaar: update to 2.3.1. 2011-03-28 15:47:50 +00:00
gftp * More cleanup. 2010-07-28 15:35:01 +00:00
gupnp-tools
gvpe Fix /sbin/ reference. On Linux just replace it with an "ip link" reference 2009-09-01 22:42:05 +00:00
host
hyenae Adding hyenae - patch by MarcWeber 2011-09-24 09:14:21 +00:00
iftop Making iftop build on the fuloong (config.guess.) 2010-10-03 09:18:55 +00:00
imapproxy Adding imapproxy 2011-11-09 18:25:55 +00:00
imapsync Adding imapsync, with the two needed perl packages. 2009-06-15 18:37:42 +00:00
inadyn Adding inadyn, a dynamic dns client. 2011-04-07 20:26:26 +00:00
inetutils GNU Inetutils 1.8. 2010-05-17 09:31:43 +00:00
iodine iodine-0.6.0-rc1 2011-09-21 20:05:38 +00:00
iperf * Get rid of many instances of "args: with args;", and other coding 2010-07-28 11:55:54 +00:00
isync isync: add recursive imap patch 2011-08-09 20:09:17 +00:00
jnettop
jwhois Making jwhois connect fine for those without ipv6 network. 2011-09-28 07:25:59 +00:00
knetworkmanager knetworkmanager: fix license 2011-03-26 18:14:28 +00:00
lftp Advance lftp to version 4.3.1 2011-07-02 19:19:48 +00:00
lsh lsh: Fix typo. 2009-09-08 10:31:07 +00:00
mailutils GNU Mailutils 2.2. 2010-09-10 11:50:11 +00:00
miniupnpc Updating bitcoin to version 0.5.0. 2011-11-24 19:48:20 +00:00
miniupnpd * Install the manpage. 2010-05-20 23:06:10 +00:00
modemmanager Fix tarball 2012-01-06 16:14:02 +00:00
mtr Adding mtr. 2011-01-10 15:57:23 +00:00
mu0 Adding mu0, maildir utils. 2011-10-24 16:36:03 +00:00
nbd nbd: updated to version 2.9.24 2011-10-13 17:00:46 +00:00
nc6 * ltrace: updated to 0.5.3. 2010-07-29 18:55:16 +00:00
ncat
ncftp ncftp: Get the source from Debian. 2010-11-11 17:32:53 +00:00
ndisc6 * ndisc6: use /var for rdnssd. 2011-03-24 16:03:43 +00:00
netboot Fixing tarball build 2011-08-29 10:31:10 +00:00
netcat
netkit/tftp Adding netkit tftp client and server. 2009-08-19 20:19:27 +00:00
netselect
network-manager Add NetworkManager-pptp 2011-09-14 15:50:14 +00:00
network-manager-applet nm-applet-0.9.0 2011-09-14 16:52:06 +00:00
networkmanagement Add kde4.networkmanagement 2012-01-03 13:39:09 +00:00
nss-mdns nss-mdns: Fix the path to the `avahi-daemon' socket. 2010-10-07 20:07:59 +00:00
ntp Updating ntp 2011-11-07 15:07:19 +00:00
nylon
nzbget * Added libpar2 and nzbget. 2011-04-19 20:35:24 +00:00
offlineimap * Build those Python modules in the Python distribution that require 2011-01-03 16:25:11 +00:00
openssh * OpenSSH 5.8p2. 2011-05-11 13:44:18 +00:00
openvpn openvpn: use iproute2 instead of net-tools 2012-01-18 20:38:27 +00:00
p2p pkgs/tools/networking/p2p/rtorrent/default.nix: avoid use of "install -D" to make FreeBSD happy 2011-12-06 20:44:31 +00:00
par2cmdline
pdnsd Adding pdnsd 2011-09-22 11:28:56 +00:00
pdsh pdsh: don't try to build this tool on Cygwin 2011-09-19 17:00:37 +00:00
philter Adding philter mail sorter 2010-10-18 05:33:31 +00:00
ppp * rp-pppoe requires a version attribute in ppp. 2012-01-04 19:04:09 +00:00
pptp Add pptp client 2011-09-14 08:39:51 +00:00
privoxy Adding inputs to privoxy, so it gets more features (zlib, documentation, pcre) 2010-05-16 22:14:02 +00:00
proxychains
radvd * radvd updated to 1.8.1. 2011-09-09 13:16:35 +00:00
ripmime Add ripmime - MIME attachment extractor tool 2010-10-18 09:43:17 +00:00
rp-pppoe big breaking change: renaming lib.getAttr to lib.attrByPath 2009-05-24 10:57:41 +00:00
s3cmd * Added s3cmd. 2011-08-13 11:49:23 +00:00
s3sync * Added s3sync. 2010-03-09 15:12:15 +00:00
siege Adding siege HTTP load tester 2011-06-07 16:15:05 +00:00
sitecopy * Doh. 2010-08-26 13:18:47 +00:00
slimrat Adding slimrat (not the gui, but at least the cli) 2010-04-10 10:47:30 +00:00
smbldaptools Adding smbldap-tools. And some CPAN packages as bonus. 2011-12-27 21:35:50 +00:00
socat * socat updated to 1.7.1.2. 2010-06-14 08:01:38 +00:00
ssmtp * ssmtp updated to 2.64. Also get rid of the cyclic symlink $out/lib/sendmail. 2011-04-06 11:41:36 +00:00
stun * Get rid of many instances of "args: with args;", and other coding 2010-07-28 11:55:54 +00:00
stunnel
swec Add SWEC (Simple Web Error Checker). 2010-01-24 19:07:16 +00:00
tcng * More cleanup. 2010-07-28 18:01:17 +00:00
tcpdump * tcpdump 4.1.1. 2010-11-29 15:25:07 +00:00
telnet
tftp-hpa Adding TFTP-HPA 2011-08-30 07:02:01 +00:00
unbound Updating unbound. 2011-11-01 22:33:40 +00:00
uwimap Adding prayer. It builds on linux x86_64, but I've not tried to run it. 2011-11-08 21:07:57 +00:00
vde2 * vde2 updated to 2.3.2. 2011-12-09 11:14:02 +00:00
vlan * Added vlan, which provides the vconfig command. 2011-03-31 11:10:00 +00:00
vpnc
vtun Adding vtun. 2009-05-20 17:51:41 +00:00
wakelan Adding 'wakelan', to use UDP wake on lan on ethernet. 2011-04-20 20:55:46 +00:00
wavemon Adding wavemon 2011-06-29 09:53:35 +00:00
webalizer Updating webalizer. 2011-12-26 17:27:30 +00:00
wget GNU Wget: Prepare for cross-compilation of a stripped-down version. 2011-11-16 14:48:27 +00:00
wicd wicd: integrate with upstart events 2012-01-18 20:38:34 +00:00
x11-ssh-askpass pkgs/tools/networking/x11-ssh-askpass: capitalize first letter of meta.description 2010-10-07 14:05:19 +00:00