Commit Graph

90 Commits

Author SHA1 Message Date
Patrick J Cherry
e0aae9c67c re-tidied up warnings. 2014-01-21 09:51:37 +00:00
Patrick J Cherry
e96601981b Tidied up warnings in nlsocket 2014-01-18 07:08:19 +00:00
Patrick J Cherry
8bbb45af33 Added tag 0.14 for changeset b75625aab29e 0.14 2013-11-14 11:50:06 +00:00
nick
d86d0c8408 Automated merge with ssh://dev.bytemark.co.uk/netlinkrb 2013-11-13 17:52:55 +00:00
nick
0281a5e4eb VlanInfo: Parse the new protocol attribute 2013-11-13 17:52:32 +00:00
Patrick J Cherry
84c0414550 Added tag 0.13 for changeset 2344803abef0 2013-11-13 16:19:11 +00:00
nick
610a70fe12 upstream: Add constants we're interested in to Linux kernel 3.12 2013-11-13 16:11:33 +00:00
Patrick J Cherry
2e47380c9e Added tag 0.12 for changeset f95fbb61dafc 2013-09-12 14:21:24 +01:00
Patrick J Cherry
b0f17ca852 Version bump 0.13 2013-09-12 14:21:20 +01:00
Patrick J Cherry
72c0711c98 Added new constants to IFInfo struct 2013-09-12 11:38:30 +00:00
Patrick J Cherry
0448e47a69 Added more IFLA constants 2013-09-12 11:22:59 +00:00
Patrick J Cherry
a16a66ccdd More test robustification 2013-09-11 15:44:25 +00:00
Patrick J Cherry
1772341df6 Robustification of tests. 2013-09-11 16:16:22 +01:00
Patrick J Cherry
32309e4797 Updated test to fall back to eth0 when trying to create a dummy interface 2013-09-11 14:37:40 +00:00
Patrick J Cherry
f2657674aa updated gemspec 2013-07-16 16:49:15 +01:00
Patrick J Cherry
796724e012 Foo 0.12 2013-07-16 16:28:40 +01:00
Patrick J Cherry
d8a9da0521 Removed debian packaging from upstream branch 2013-07-05 13:53:59 +01:00
Patrick J Cherry
1b599fe046 Added upstream branch 2013-07-05 13:53:21 +01:00
Patrick J Cherry
ef2a7b1f56 Added squeeze branch 2013-07-05 13:53:09 +01:00
Patrick J Cherry
87ad5d9c75 version bump 0.11-1+squeeze1 2013-07-05 13:52:42 +01:00
Patrick J Cherry
3a2d9e8bef Added tag 0.11 for changeset 65d439b0d689 2013-07-05 13:51:58 +01:00
Patrick J Cherry
a712e651a7 Version bump 0.11 2013-07-05 13:51:54 +01:00
Patrick J Cherry
760b973303 Updated tests to operate on a dummy interface, rather than lo. 2013-07-05 13:51:48 +01:00
Patrick J Cherry
f8ffbb09c5 Updated LinkHandler#change to retry commands with SETLINK when they fail with NEWLINK 2013-07-05 13:48:22 +01:00
Patrick J Cherry
55c38a4877 Added new constants for linux3.5 2013-07-05 13:45:51 +01:00
nick
88369d914d pkg: Fix the metapackage Depends: 2013-06-26 09:40:07 +01:00
nick
f9166d1d8a Add ip rule support 2012-07-05 15:21:39 +01:00
nick
9d9cd3b70b netlink: Add ip rule support 2012-07-05 14:54:42 +01:00
Patrick J Cherry
38f4f48968 Updated changelog 2012-06-11 10:54:08 +01:00
Patrick J Cherry
0e0385018d Updated link handler to handle new attributes. 2012-06-11 10:53:31 +01:00
Patrick J Cherry
c6b0554361 Updated changelog. 2012-06-11 10:40:34 +01:00
Patrick J Cherry
2438a43c31 Updated contstants to be down with linux 3.2. 2012-06-11 10:38:46 +01:00
Patrick J Cherry
3184759135 Made "missing attribute" message more informative. 2012-06-11 10:38:29 +01:00
Patrick J Cherry
888f9f5156 Removed need for gcc as a dependency for debian packages. 2012-01-24 15:59:30 +00:00
Steve Kemp
f0775b2a9e Updated version number. 2012-01-12 12:01:19 +00:00
nick
8f8b0b040c Add a mising rtattr 2011-07-11 10:36:30 +01:00
mbloch
d31c521fdb Merge 2011-06-30 17:58:38 +01:00
mbloch
f160308a81 Fixed dependencies to include gcc (mutter). 2011-06-30 17:57:27 +01:00
mbloch
cd58b64499 Added working NLSocket.open and scope handling. 2011-05-18 15:26:53 +01:00
Alex Young
30d633cf09 Add a gemspec and support loading ffi as a gem 2011-05-16 11:29:07 +01:00
Patrick J Cherry
68d82cdf0b Updated build-deps 2011-05-12 18:10:40 +01:00
Patrick J Cherry
7f1cee61b7 Added Debian packaging. 2011-05-12 17:48:55 +01:00
Brian Candler
73f4339082 Update README 2011-05-08 11:58:02 +01:00
Brian Candler
aeed00a5d5 Fix for Errno::EOPNOTSUPP when adding vlan with Ubuntu 10.04 (32 or 64 bit) 2011-05-08 11:50:04 +01:00
Brian Candler
57b011b4cf Note about vlan problem on 10.04 2011-05-08 11:22:30 +01:00
Brian Candler
0df9fc6b32 Convenience tweaks to FFI::Struct 2011-05-08 11:21:58 +01:00
Brian Candler
c0cb310761 Start of test suite 2011-05-06 21:43:19 +01:00
Brian Candler
40fbefa06b Experiment: try using FFI::Struct for iptables instead of CStruct
FFI::Struct handles nested structs and nested arrays much better, and avoids
duplicating logic about structure alignment (which it probably does more
correctly that CStruct)

However it's awkward to use in other ways. e.g. no accessor methods;
no proper #inspect; no ntohl for in_addr; no zero-sized arrays at end
of struct; no hooks to convert int32 <-> IPAddr as far as I can see.
2011-05-06 17:01:50 +01:00
Brian Candler
7d3671e9d1 Read list of tables/targets/matches 2011-05-06 15:23:01 +01:00
Brian Candler
15d26f5595 Apply dest_sockaddr in sendmsg 2011-05-06 14:48:15 +01:00