<feed xmlns='http://www.w3.org/2005/Atom'>
<title>propellor/src/Propellor/Property/Firewall.hs, branch master</title>
<subtitle>gnusosa's centralized propellor repository for hosts spin-up.
</subtitle>
<id>https://git.gnusosa.net/propellor/atom?h=master</id>
<link rel='self' href='https://git.gnusosa.net/propellor/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/'/>
<updated>2018-04-30T13:03:46Z</updated>
<entry>
<title>fix broken SemigroupMonoid transition &lt;&lt;loop&gt;&gt;</title>
<updated>2018-04-30T13:03:46Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2018-04-30T13:03:46Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=14fe4c4d6b5a29be94ecfc0572e0f9a9a081e795'/>
<id>urn:sha1:14fe4c4d6b5a29be94ecfc0572e0f9a9a081e795</id>
<content type='text'>
Turns out that with ghc 8.2.2, the instructions given on the page don't
work. And the cppless variant that I had compiles, but into effectively
mappend = mappend so it loops.

The only way I can see to make it work without cpp is to use
mappend = (Sem.&lt;&gt;)
which is ugly and a land mine waiting to explode if someone changes it
to a nicer mappend = (&lt;&gt;) with a newer version of ghc which will compile
it and work ok, while breaking it with 8.2.2. Sigh.

I posted to haskell-cafe about this.
</content>
</entry>
<entry>
<title>semigroup monoid change fallout; drop ghc 7 support</title>
<updated>2018-04-23T17:20:13Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2018-04-23T17:20:13Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=9228bda32f0a3f6d52e7cc5eb444376e7b024d8c'/>
<id>urn:sha1:9228bda32f0a3f6d52e7cc5eb444376e7b024d8c</id>
<content type='text'>
Fix build with ghc 8.4, which broke due to the Semigroup Monoid change.
See https://prime.haskell.org/wiki/Libraries/Proposals/SemigroupMonoid

Dropped support for building propellor with ghc 7 (as in debian
oldstable), to avoid needing to depend on the semigroups transitional
package, but also because it's just too old to be worth supporting.

If we indeed drop ghc 7 support entirely, some code to support "jessie"
can be removed; concurrent-output can be de-embedded, and the Singletons
code can be simplified.

This commit was sponsored by Jack Hill on Patreon.
</content>
</entry>
<entry>
<title>Move table and target to before the other rule arguments</title>
<updated>2018-03-20T21:08:17Z</updated>
<author>
<name>Russell Sim</name>
<email>russell.sim@gmail.com</email>
</author>
<published>2018-03-19T19:06:46Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=16cf95d7200dd5e042ac96505d4f3eede84ceb87'/>
<id>urn:sha1:16cf95d7200dd5e042ac96505d4f3eede84ceb87</id>
<content type='text'>
Some commands in IPTables are order dependent. In particular, I have seen this
with the --to-dest and the --to-source arguments for DNAT and SNAT respectively.

Below is an example rule which demonstrates the issue.

$ iptables -A PREROUTING -p tcp -i eth0 --dport 4000 \
    --to-dest 10.3.0.6:4000 -t nat -j DNAT
iptables v1.6.0: unknown option "--to-dest"

$ iptables -A PREROUTING -p tcp -i eth0 --dport 4000 \
    -j DNAT --to-dest 10.3.0.6:4000 -t nat

Signed-off-by: Russell Sim &lt;russell.sim@gmail.com&gt;
</content>
</entry>
<entry>
<title>convert fromIPAddr to val</title>
<updated>2017-02-26T20:48:26Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-02-26T20:48:26Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=aa225472fb586486b5839e5362a555a476e9a45d'/>
<id>urn:sha1:aa225472fb586486b5839e5362a555a476e9a45d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>convert from* in Firewall to val</title>
<updated>2017-02-26T20:45:33Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-02-26T20:45:33Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=ae7359a0b0cf58ec83a7ea80fc51d4e6f5be72bf'/>
<id>urn:sha1:ae7359a0b0cf58ec83a7ea80fc51d4e6f5be72bf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use ConfigurableValue where applicable</title>
<updated>2017-02-26T20:17:19Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-02-26T20:11:38Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=55ed8e8743e861e2230e40670a56034353cf4e32'/>
<id>urn:sha1:55ed8e8743e861e2230e40670a56034353cf4e32</id>
<content type='text'>
* Removed fromPort (use val instead). (API change)
* Removed several Show instances that were only used for generating
  configuration, replacing with ConfigurableValue instances. (API change)

It's somewhat annoying that IsInfo requires a Show instance.
That's needed to be able to display Info in ghci, but some non-derived Show
instances had to be kept to support that.
</content>
</entry>
<entry>
<title>add GroupOwner and NotDestination iptables Rules</title>
<updated>2016-05-19T05:25:09Z</updated>
<author>
<name>Sean Whitton</name>
<email>spwhitton@spwhitton.name</email>
</author>
<published>2016-05-19T05:25:09Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=50a361209b218483f5162d41b90ce0045a852f37'/>
<id>urn:sha1:50a361209b218483f5162d41b90ce0045a852f37</id>
<content type='text'>
</content>
</entry>
<entry>
<title>more porting</title>
<updated>2016-03-26T18:28:38Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2016-03-26T18:28:38Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=3218e344d117701066ced6c13927318ea2938ad4'/>
<id>urn:sha1:3218e344d117701066ced6c13927318ea2938ad4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Firewall: add NatDestination to Rules</title>
<updated>2016-03-07T20:32:03Z</updated>
<author>
<name>Félix Sipma</name>
<email>felix.sipma@no-log.org</email>
</author>
<published>2016-03-07T13:41:19Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=c9dbae56a34775b6e4e49b24535a8e6bacb0e7ce'/>
<id>urn:sha1:c9dbae56a34775b6e4e49b24535a8e6bacb0e7ce</id>
<content type='text'>
(cherry picked from commit df40046fd65bc07eced41adb73c7e227d2b54cd1)
</content>
</entry>
<entry>
<title>add fromPort function</title>
<updated>2016-03-07T20:31:52Z</updated>
<author>
<name>Félix Sipma</name>
<email>felix.sipma@no-log.org</email>
</author>
<published>2016-03-07T13:29:07Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=85e58f49ca676a3cfb34c6bfb27bb5d0b39e83f4'/>
<id>urn:sha1:85e58f49ca676a3cfb34c6bfb27bb5d0b39e83f4</id>
<content type='text'>
(cherry picked from commit c3a23f89092d1ef8367c37ab8993ea7031124f4b)
</content>
</entry>
</feed>
