/[smeserver]/rpms/e-smith-packetfilter/sme10/e-smith-packetfilter.spec
ViewVC logotype

Contents of /rpms/e-smith-packetfilter/sme10/e-smith-packetfilter.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.14 - (show annotations) (download)
Wed Apr 7 20:07:51 2021 UTC (3 years, 2 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-packetfilter-2_6_0-7_el7_sme
Changes since 1.13: +9 -2 lines
* Wed Apr 07 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-7.sme
- fix dropin file not expanded on initial installation [SME: 11528]
- fix noise on logrotate, doing a restart instead of reload [SME: 11451]

1 # $Id: e-smith-packetfilter.spec,v 1.13 2021/03/05 07:03:44 jpp Exp $
2
3 Summary: e-smith server and gateway - packetfilter add-on
4 %define name e-smith-packetfilter
5 Name: %{name}
6 %define version 2.6.0
7 %define release 7
8 Version: %{version}
9 Release: %{release}%{?dist}
10 License: GPL
11 Group: Networking/Daemons
12 Source: %{name}-%{version}.tar.xz
13 Patch0: e-smith-packetfilter-2.6.0-bz11122-bz11089-systemd-event.patch
14 Patch1: e-smith-packetfilter-2.6.0-bz11251-drop-pptpd.patch
15 Patch2: e-smith-packetfilter-2.6.0-bz11420.patch
16 Patch3: e-smith-packetfilter-2.6.0bz11426-ulogd.patch
17 Patch4: e-smith-packetfilter-2.6.0-bz11528-bz11451.patch
18
19 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
20 BuildArchitectures: noarch
21 Requires: e-smith-base >= 5.8.0-49
22 Requires: ulogd >= 2
23 Requires: daemontools
24 Requires: iptables
25 BuildRequires: e-smith-devtools
26 Obsoletes: e-smith-ipmasq
27 AutoReqProv: no
28 Requires(pre): /usr/sbin/useradd
29
30 %description
31 e-smith server and gateway software - packetfilter add-on
32
33 %changelog
34 * Wed Apr 07 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-7.sme
35 - fix dropin file not expanded on initial installation [SME: 11528]
36 - fix noise on logrotate, doing a restart instead of reload [SME: 11451]
37
38 * Thu Mar 04 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme
39 - move ulogd to systemd [SME: 11426]
40 - require ulogd 2 [SME: 11426]
41
42 * Wed Mar 03 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme
43 - remove pptpd last references [SME: 11420]
44
45 * Fri Feb 12 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme
46 - remove /usr/lib/systemd/system-preset/80-koozali-packetfilter.preset [SME: 10958]
47
48 * Fri Dec 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
49 - drop pptpd support [SME: 11251]
50
51 * Tue Nov 10 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme
52 - launch masq using systemd unit [SME: 11089]
53 - create event to avoid reboot on update [SME: 11122]
54
55 * Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme
56 - Initial release to sme10
57
58 * Thu Feb 28 2013 Ian Wells <esmith@wellsi.com> 2.4.0-3.sme
59 - Prevent multiple instances of the masq script running,
60 patch by Charlie Brady [SME: 7415]
61
62 * Tue Feb 19 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-2.sme
63 - Use extrapositioned negation (Credits to John Crisp) [SME: 7262]
64
65 * Wed Feb 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme
66 - Roll new stream for sme9
67
68 * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
69 - Roll new stream to separate sme7/sme8 trees [SME: 4633]
70
71 * Fri May 18 2007 Shad L. Lords <slords@mail.com> 1.18.0-6
72 - Use correct lib for modules
73
74 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
75 - Clean up spec so package can be built by koji/plague
76
77 * Fri Apr 09 2007 Stephen Noble <support@dungog.net> 1.18.0-5
78 - Fix masq error in server only mode (cannot open UDPPort) [SME: 2812]
79
80 * Fri Apr 06 2007 Shad L. Lords <slords@mail.com> 1.18.0-4
81 - Fix perms for ulogd.conf file [SME: 2722]
82
83 * Mon Mar 19 2007 Shad L. Lords <slords@mail.com> 1.18.0-3
84 - Update ulogd.conf to new format [SME: 2744]
85
86 * Fri Feb 09 2007 Shad L. Lords <slords@mail.com> 1.18.0-2
87 - Fix sorting for Ports properties [SME: 56]
88
89 * Fri Jan 26 2007 Shad L. Lords <slords@mail.com> 1.18.0-1
90 - Roll stable stream. [SME: 2328]
91
92 * Thu Jan 18 2007 Shad L. Lords <slords@mail.com> 1.17.0-7
93 - Move last masq fragments from e-smith-base.
94
95 * Wed Jan 17 2007 Shad L. Lords <slords@mail.com> 1.17.0-6
96 - Use both {TCP,UDP}Port and {TCP,UDP}Ports for masq template [SME: 56]
97
98 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
99 - Update to new release naming. No functional changes.
100 - Make Packager generic
101
102 * Fri Nov 23 2006 Gordon Rowell <gordonr@gormand.com.au> 1.17.0-04
103 - Remove TCPMinimizeDelay default for ssh [SME: 2083]
104
105 * Mon Aug 28 2006 Charlie Brady <charlie_brady@mitel.com> 1.17.0-03
106 - Ensure that $OUTERNET is an IP address. [SME: 1815]
107
108 * Sun Aug 13 2006 Charlie Brady <charlie_brady@mitel.com> 1.17.0-02
109 - Merge in masq fragments from e-smith-base.
110
111 * Sun Aug 13 2006 Charlie Brady <charlie_brady@mitel.com> 1.17.0-01
112 - Roll new development stream.
113
114 * Wed Jul 26 2006 Gordon Rowell <gordonr@gormand.com.au> 1.16.0-05
115 - Remove redundant auto-generated service-specific denylog rules from
116 90InboundTCP10filter_{tcp,udp} [SME: 1776]
117
118 * Tue Jul 18 2006 Charlie Brady <charlie_brady@mitel.com> 1.16.0-04
119 - Bundle fragments from e-smith-ipmasq and obsolete that RPM. [SME: 1002]
120
121 * Tue Jun 20 2006 Filippo Carletti <carletti@mobilia.it> 1.16.0-03
122 - No longer drop UDP packets in serveronly mode [SME: 1002]
123
124 * Thu Apr 6 2006 Gavin Weight <gweight@gmail.com> 1.2.0-02
125 - Make ident TCP reject configurable, based on oidentd status.
126 If oidentd{status} is enabled, allow ident, otherwise REJECT it [SME: 85]
127
128 * Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.0-01
129 - Roll stable stream version. [SME: 1016]
130
131 * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.15.1-12
132 - Bump release number only
133
134 * Wed Sep 21 2005 Charlie Brady <charlieb@e-smith.com>
135 - [1.15.1-11]
136 - Remove force/masq/status fragment, and fix "masq adjust" so
137 that it is harmless if firewall is disabled. This leaves unsolved
138 the problem of whether to toggle disabled->enabled during upgrades.
139 [SF: 1261356]
140
141 * Wed Sep 7 2005 Charlie Brady <charlieb@e-smith.com>
142 - [1.15.1-10]
143 - Fix location of force/status fragment for masq service. [SF: 1261356]
144
145 * Tue Aug 30 2005 Charlie Brady <charlieb@e-smith.com>
146 - [1.15.1-09]
147 - Add force/status fragment for masq service, to force enabled.
148 This ensures that firewall is running after a system upgrade,
149 to avoid various panel failure modes. Solution to be reviewed
150 for alternatives later. [SF: 1261356]
151
152 * Fri Aug 26 2005 Charlie Brady <charlieb@e-smith.com>
153 - [1.15.1-08]
154 - Remove filtering of outbound ICMP - it's blocking legitimate ICMP
155 redirects. [MN00093544]
156
157 * Tue Aug 2 2005 Shad Lords <slords@email.com>
158 - [1.15.1-07]
159 - Add default $masq{Stealth} db entry
160
161 * Tue Aug 2 2005 Gordon Rowell <gordonr@gormand.com.au>
162 - [1.15.1-06]
163 - Rejct IDENT with a TCP reset [SF: 1240659]
164 - Add support for UDPPort (c.f. TCPPort) property to allow
165 filtered UDP [SF: 1241398]
166 - Add support for DenyHosts property (see 1.15.0-02 for AllowHosts)
167 [SF: 1241398]
168
169 * Mon Jul 18 2005 Charlie Brady <charlieb@e-smith.com>
170 - [1.15.1-05]
171 - Tidy up path reference to networks db. [SF: 1216546]
172
173 * Tue Jun 7 2005 Charlie Brady <charlieb@e-smith.com>
174 - [1.15.1-04]
175 - Fix ulogd logging to stdout not being captured by multilog.
176
177 * Mon May 2 2005 Charlie Brady <charlieb@e-smith.com>
178 - [1.15.1-03]
179 - Add requires headers for ulogd and daemontools.
180
181 * Sun May 1 2005 Charlie Brady <charlieb@e-smith.com>
182 - [1.15.1-02]
183 - Switch to logging via ulogd and multilog.
184
185 * Sun May 1 2005 Charlie Brady <charlieb@e-smith.com>
186 - [1.15.1-01]
187 - Roll new development stream - 1.15.1
188
189 * Wed Mar 30 2005 Charlie Brady <charlieb@e-smith.com>
190 - [1.15.0-15]
191 - Set $OUTERNET to equal $LocalIP in masq script in serveronly mode,
192 so that masq script (if enabled) does not block allowed public access.
193 - Remove various 45Allow* fragments as TCPPort properties of services
194 will allow access if public access is enabled.
195
196 * Fri Nov 12 2004 Tony Clayton <apc@e-smith.com>
197 - [1.15.0-14]
198 - More cleanup for iptables-trace [tonyc]
199
200 * Fri Nov 12 2004 Tony Clayton <apc@e-smith.com>
201 - [1.15.0-13]
202 - update to latest iptables-trace [tonyc] :
203 - add logging for default chain policy fallback
204 - fix stop() bug causing _any_ rules with --log-prefix to be removed
205
206 * Fri Apr 30 2004 Michael Soulier <msoulier@e-smith.com>
207 - [1.15.0-12]
208 - Made TOS settings configurable, with just ssh set by default.
209 [msoulier dpar-28993]
210
211 * Wed Feb 25 2004 Michael Soulier <msoulier@e-smith.com>
212 - [1.15.0-11]
213 - Tightened rules for remote vpn subnets. [msoulier dpar-21836]
214
215 * Wed Jan 28 2004 Michael Soulier <msoulier@e-smith.com>
216 - [1.15.0-10]
217 - Fixed iptables-trace "stop" removing rules from the denylog chain.
218 [msoulier 10955]
219
220 * Wed Jan 28 2004 Michael Soulier <msoulier@e-smith.com>
221 - [1.15.0-09]
222 - Added a toggle of the trace option during adjust, so adjusts work with trace
223 enabled. [msoulier 8117]
224
225 * Mon Dec 1 2003 Michael Soulier <msoulier@e-smith.com>
226 - [1.15.0-08]
227 - Changed multicast DROP target to denylog, so it toggles. [msoulier 9450]
228
229 * Mon Dec 1 2003 Michael Soulier <msoulier@e-smith.com>
230 - [1.15.0-07]
231 - Changed the toggle property name to DenylogTarget. [msoulier 9450]
232
233 * Mon Dec 1 2003 Michael Soulier <msoulier@e-smith.com>
234 - [1.15.0-06]
235 - Added firewall-wide toggle for denylog DROP/REJECT. [msoulier 9450]
236
237 * Sat Nov 29 2003 Charlie Brady <charlieb@e-smith.com>
238 - [1.15.0-05]
239 - Ensure that masq script expands without error in serveronly mode.
240 [charlieb 10162]
241
242 * Sat Oct 4 2003 Michael Soulier <msoulier@e-smith.com>
243 - [1.15.0-04]
244 - Fixed error in masq fragment with stealth enabled. [msoulier 10165]
245
246 * Thu Sep 25 2003 Gordon Rowell <gordonr@e-smith.com>
247 - [1.15.0-03]
248 - Add masq to 0.0.0.0/0 for public, unrestricted [gordonr 10050]
249
250 * Tue Sep 23 2003 Gordon Rowell <gordonr@e-smith.com>
251 - [1.15.0-02]
252 - New fragment 90InboundTCP10filter_tcp, a further step towards
253 auto-generation of rules, removing the 45Allow* fragments:
254
255 For all services which have a TCPPort property defined:
256 If the service is 'enabled' and the service is 'public',
257 generate iptables rules as follows:
258 If an AllowHosts property is defined, allow only those hosts
259 Otherwise allow all hosts
260
261 AllowHosts is comma separated, and can contain IPs, IP/mask and CIDR
262
263 This will generate duplicate rules until the 45Allow* fragments
264 are removed, which can happen once the TCPPort property is defined
265 for a service.
266
267 QUERY: Should this be TCPPort (singular) or TCPPorts (plural)?
268 TODO: Create db defaults fragments to deprecate the 45Allow* fragments
269 TODO: Possibly add DenyHosts processing [gordonr 10050]
270
271 * Tue Sep 23 2003 Gordon Rowell <gordonr@e-smith.com>
272 - [1.15.0-01]
273 - Changing version to development stream number - 1.15.0
274 - Dev stream [gordonr 10050]
275
276 * Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com>
277 - [1.14.0-01]
278 - Changing version to stable stream number - 1.14.0
279
280 * Tue Jun 17 2003 Tony Clayton <apc@e-smith.com>
281 - [1.13.0-27]
282 - Again [tonyc 8578]
283
284 * Tue Jun 17 2003 Tony Clayton <apc@e-smith.com>
285 - [1.13.0-26]
286 - Add lo->lo ACCEPT rule back to 90local_chk00Start fragment [tonyc 8578]
287
288 * Mon Jun 16 2003 Tony Clayton <apc@e-smith.com>
289 - [1.13.0-25]
290 - Split 90AllowLocal masq fragment into 90local_chk* [tonyc 8578]
291
292 * Mon Jun 2 2003 Michael Soulier <msoulier@e-smith.com>
293 - [1.13.0-24]
294 - Explicitely blocking multicast not from a local network.
295 [msoulier 6031]
296
297 * Thu May 1 2003 Michael Soulier <msoulier@e-smith.com>
298 - [1.13.0-23]
299 - Added chain creation during adjust. What a thought. [msoulier 7695]
300
301 * Thu May 1 2003 Michael Soulier <msoulier@e-smith.com>
302 - [1.13.0-22]
303 - Added support for a PPPconn chain to track rules to permit PPTP connections.
304 [msoulier 7695]
305
306 * Fri Apr 25 2003 Michael Soulier <msoulier@e-smith.com>
307 - [1.13.0-21]
308 - Refactored the 90adjustUDP template into multiple fragments. [msoulier 8505]
309
310 * Fri Apr 25 2003 Michael Soulier <msoulier@e-smith.com>
311 - [1.13.0-20]
312 - Refactored the 90adjustTCP template into multiple fragments. [msoulier 8505]
313
314 * Tue Apr 22 2003 Michael Soulier <msoulier@e-smith.com>
315 - [1.13.0-19]
316 - Accepting all traffic from the loopback interface. [msoulier 8299]
317
318 * Mon Apr 21 2003 Michael Soulier <msoulier@e-smith.com>
319 - [1.13.0-18]
320 - Removed acceptance of anything not from the external interface. The local
321 networks list should be sufficient. [msoulier 8299]
322
323 * Mon Apr 21 2003 Michael Soulier <msoulier@e-smith.com>
324 - [1.13.0-17]
325 - Added handling of local_chk chain in adjustment. [msoulier 8299]
326
327 * Mon Apr 14 2003 Gordon Rowell <gordonr@e-smith.com>
328 - [1.13.0-16]
329 - Flag pptp masq as on by default [gordonr 6694]
330
331 * Tue Apr 8 2003 Michael Soulier <msoulier@e-smith.com>
332 - [1.13.0-15]
333 - Added iptables-trace in /etc/rc.d/init.d. [msoulier 7613]
334
335 * Tue Apr 1 2003 Gordon Rowell <gordonr@e-smith.com>
336 - [1.13.0-14]
337 - Added denylog: prefix to denied packet logs [gordonr 6852]
338
339 * Tue Mar 25 2003 Michael Soulier <msoulier@e-smith.com>
340 - [1.13.0-13]
341 - Portforwarding still had problems, fixed here. [msoulier 7284]
342
343 * Tue Mar 25 2003 Michael Soulier <msoulier@e-smith.com>
344 - [1.13.0-12]
345 - Added ForwardedTCP and ForwardedUDP, as well as supporting code to
346 permit certain ports to be opened for forwarded traffic inbound. Required
347 for portforwarding. [msoulier 7284]
348
349 * Fri Mar 7 2003 Charlie Brady <charlieb@e-smith.com>
350 - [1.13.0-11]
351 - Add "use esmith::util" to 01localNetworks fragment. Needed if
352 esmith::templates form of processTemplate is used. [charlieb 5650]
353
354 * Fri Feb 21 2003 Gordon Rowell <gordonr@e-smith.com>
355 - [1.13.0-10]
356 - Remove quotes around 'Name' - not required [gordonr 7343]
357
358 * Fri Feb 21 2003 Gordon Rowell <gordonr@e-smith.com>
359 - [1.13.0-09]
360 - Make use of ExternalInterface definition in 00Definitions [gordonr 7343]
361 - Update dependency on e-smithbase [gordonr 7343]
362
363 * Mon Feb 3 2003 Mark Knox <markk@e-smith.com>
364 - [1.13.0-08]
365 - Open port 443 when either web server is enabled [markk 6428]
366
367 * Fri Jan 24 2003 Charlie Brady <charlieb@e-smith.com>
368 - [1.13.0-07]
369 - Fix one last broken here document. [charlieb 6651]
370
371 * Thu Jan 23 2003 Charlie Brady <charlieb@e-smith.com>
372 - [1.13.0-06]
373 - Fix a few typos in previous round of masq fragment changes. [charlieb]
374
375 * Thu Jan 23 2003 Charlie Brady <charlieb@e-smith.com>
376 - [1.13.0-05]
377 - formatting changes in masq/00Functions template fragment [charlieb]
378 - Use connection tracking on both INPUT and FORWARD tables [charlieb 6651]
379 - Allow any local traffic on INPUT and FORWARD chains. Local traffic
380 is currently defined as all traffic which didn't come in via the
381 external interface. That definition can easily change, as there is
382 a special chain for accepting local traffic. [charlieb 6709]
383 - Remove explicit allow of multicast traffic, as it is a subset of "local"
384 traffic [charlieb 6031, 6709]
385 - Move ICMP type checking into "adjust" part of masq script [charlieb 6709]
386
387 * Sat Jan 18 2003 Michael Soulier <msoulier@e-smith.com>
388 - [1.13.0-04]
389 - Permitting multicast traffic to and from the internal interface.
390 [msoulier 6031]
391
392 * Wed Jan 15 2003 Gordon Rowell <gordonr@e-smith.com>
393 - [1.13.0-03]
394 - Put back non-redundant DROP lines, but add a comment as to why
395 they are there [gordonr 6580]
396
397 * Wed Jan 15 2003 Gordon Rowell <gordonr@e-smith.com>
398 - [1.13.0-02]
399 - Remove redundant DROP lines from denylog chain [gordonr 6580]
400
401 * Thu Jan 9 2003 Mark Knox <markk@e-smith.com>
402 - [1.13.0-01]
403 - Forced version update by co2rpm to 1.13.0
404
405 * Mon Dec 16 2002 Charlie Brady <charlieb@e-smith.com>
406 - [1.12.0-01]
407 - Roll to stable version to 1.12.0
408
409 * Fri Nov 29 2002 Michael Soulier <msoulier@e-smith.com>
410 - [1.11.0-07]
411 - Added a get_safe_id function, to factor out firewall rule scanning code, and
412 prevent chain name clashes in the extreme case. [msoulier 5696]
413
414 * Thu Nov 28 2002 Michael Soulier <msoulier@e-smith.com>
415 - [1.11.0-06]
416 - Removed specific tcp_in and udp_in chains in favour of the InboundTCP_$$ and
417 InboundUDP__$$ chains. They are far, far easier to manage, especially for
418 the portforwarding blade. [msoulier 5696]
419
420 * Wed Nov 20 2002 Charlie Brady <charlieb@e-smith.com>
421 - [1.11.0-05]
422 - Make sure that --numeric is used with any --list command, to avoid
423 reverse lookup delays. [charlieb 5644]
424
425 * Wed Nov 13 2002 Charlie Brady <charlieb@e-smith.com>
426 - [1.11.0-04]
427 - Peel off ICMP for checking after packets for ESTABLISHED and RELATED
428 connections are allowed. This allows outbound ping to work. [charlieb 5423]
429
430 * Mon Nov 11 2002 Charlie Brady <charlieb@e-smith.com>
431 - [1.11.0-03]
432 - Apply UDP filtering only on traffic entering via external
433 interface. [charlieb 5644]
434
435 * Mon Nov 11 2002 Charlie Brady <charlieb@e-smith.com>
436 - [1.11.0-02]
437 - Add UDP input filter setup and adjust rules.
438 Re-arrange 00Functions a bit so that perl block is
439 shorter and the rest is in-line [charlieb 5644]
440 - Move adjustEnd to 92, to allow 91 hole for any adjustments
441 needing to be done after input filter rules are adjusted
442 (e.g. port forwarding).
443
444 * Mon Nov 11 2002 Charlie Brady <charlieb@e-smith.com>
445 - [1.11.0-01]
446 - rolling development stream to 1.11.0
447
448 * Sat Oct 19 2002 Charlie Brady <charlieb@e-smith.com>
449 - [1.10.0-08]
450 - Send default packets on the FORWARD filter to denylog, rather than
451 DROP. [charlieb 5246]
452 - Revert 2) from 1.10.0-05 checkin. 5.5 ipchains forwarding rules do not allow
453 IP masqueraded packets. [charlieb 5246]
454
455 * Fri Oct 18 2002 Charlie Brady <charlieb@e-smith.com>
456 - [1.10.0-07]
457 - Commit new file 42CheckTCPInput which was missed in last checkin.
458 [charlieb 5246]
459
460 * Fri Oct 18 2002 Charlie Brady <charlieb@e-smith.com>
461 - [1.10.0-06]
462 - Create a new intermediate TCP input chain, and create a new temporary
463 TCP input chain whenever we run "masq adjust". This ensures that
464 new TCP input checking rules occur at the same place during input
465 checking as existing rules, and also means that rules previously created
466 by now-removed packages disappear. [charlieb 4501, 5246]
467
468 * Thu Oct 17 2002 Charlie Brady <charlieb@e-smith.com>
469 - [1.10.0-05]
470 - Fix to the previous change 1) to restore some commented out rules,
471 and 2) to fix those rules so that they match the 5.5 ipchains
472 version. [charlieb 5246]
473
474 * Thu Oct 17 2002 Charlie Brady <charlieb@e-smith.com>
475 - [1.10.0-04]
476 - Changes so that local networks can be added/deleted and "masq adjust"
477 will correctly re-adjust the filters. [charlieb 5246]
478
479 * Tue Oct 15 2002 Charlie Brady <charlieb@e-smith.com>
480 - [1.10.0-03]
481 - Change 00Functions so that "tcp_in" function can create chains as required
482 during "masq adjust", so that new modules can add rules and still avoid
483 "masq restart". [charlieb 4501]
484
485 * Tue Oct 15 2002 Mark Knox <markk@e-smith.com>
486 - [1.10.0-02]
487 - Re-add echo-reply support (doesn't work with conntrack) [markk 5213]
488
489 * Sat Oct 12 2002 Charlie Brady <charlieb@e-smith.com>
490 - [1.10.0-01]
491 - Roll to maintained version number to 1.10.0
492 - Remove "perl createlinks" from %build section, since we no longer
493 have a createlinks file.
494
495 * Fri Oct 11 2002 Gordon Rowell <gordonr@e-smith.com>
496 - [1.9.15-07]
497 - Check the correct configDB entry for public POP [gordonr 5181]
498
499 * Tue Oct 8 2002 Mark Knox <markk@e-smith.com>
500 - [1.9.15-06]
501 - Use denylog target for dropped ICMP packets [markk 5095]
502 - Remove explicit echo-reply support (we use conntrack now) [markk 5095]
503
504 * Mon Oct 7 2002 Mark Knox <markk@e-smith.com>
505 - [1.9.15-05]
506 - Drop ICMP echo-requests on ext i/f when in private s/g mode or if Stealth
507 property is set. General cleanup of ICMP rules. [markk 5095]
508
509 * Wed Sep 11 2002 Gordon Rowell <gordonr@e-smith.com>
510 - [1.9.15-04]
511 - Added extra slosh in tcp_in as one gets gobbled by template evaluation
512 and we need one in the final output. Reformatted the lines and moved
513 proto/port together on first line of pair for readability [gordonr 4792]
514
515 * Thu Sep 5 2002 Charlie Brady <charlieb@e-smith.com>
516 - [1.9.15-03]
517 - Fix tcp_in function - it doesn't work too well without the jump to the
518 newly defined rule. Change DROP to denylog in the placeholder rule,
519 even though it is short-lived. [charlieb 4792]
520
521 * Mon Sep 2 2002 Charlie Brady <charlieb@e-smith.com>
522 - [1.9.15-02]
523 - Remove createlinks script and network-{create,delete} event directories -
524 the required change was made in e-smith-base, and this shouldn't have
525 been checked in. [charlieb 4501]
526
527 * Wed Aug 28 2002 Charlie Brady <charlieb@e-smith.com>
528 - [1.9.15-01]
529 - Rolling minor version number to work around wrinkle in co2rpm [charlieb 3700]
530
531 * Wed Aug 28 2002 Charlie Brady <charlieb@e-smith.com>
532 - [1.9.14-04]
533 - Remove 45AllowAUTH masq fragment - moved to e-smith-oidentd package.
534 [charlieb 4435]
535
536 * Tue Aug 27 2002 Charlie Brady <charlieb@e-smith.com>
537 - [1.9.14-03]
538 - Fix iptables syntax in AdjustTOS fragment [charlieb 1268]
539
540 * Mon Aug 26 2002 Charlie Brady <charlieb@e-smith.com>
541 - [1.9.14-02]
542 - Fix AllowICMPfromLAN template error [charlieb 1268]
543
544 * Thu Aug 22 2002 Charlie Brady <charlieb@e-smith.com>
545 - [1.9.14-01]
546 - Use full iptables path in status fragment - allows "service masq status" to
547 work. [charlieb 1268]
548 - Fix local networks list [charlieb 1268]
549
550 * Tue Aug 20 2002 Charlie Brady <charlieb@e-smith.com>
551 - [1.9.13-01]
552 - Fix syntax in 30adjustTOS fragment. Move definitions to start of masq
553 script where they can be used in functions. [charlieb 4501]
554
555 * Mon Aug 19 2002 Charlie Brady <charlieb@e-smith.com>
556 - [1.9.12-01]
557 - Add 90adjustDenyLog fragment missed in last commit. [charlieb 4501]
558
559 * Mon Aug 19 2002 Charlie Brady <charlieb@e-smith.com>
560 - [1.9.11-01]
561 - Further re-arrangement to facilitate non-disruptive update of filtering
562 rules. [charlieb 4501]
563
564 * Fri Aug 16 2002 Charlie Brady <charlieb@e-smith.com>
565 - [1.9.10-01]
566 - Remove 98adjust, and split it into 49adjustStart, 50adjustTCP and 51adjustEnd
567 fragments. Migrate network stack tuning stuff to sysctl.conf templates.
568 Add TOS adjustment stuff. [charlieb 4501]
569
570 * Thu Aug 15 2002 Charlie Brady <charlieb@e-smith.com>
571 - [1.9.9-01]
572 - Change masq template fragments to allow non-disruptive modification.
573 Add "masq adjust" verb. [charlieb 4501]
574
575 * Thu Aug 8 2002 Charlie Brady <charlieb@e-smith.com>
576 - [1.9.8-01]
577 - Remove deprecated split in masq template fragment, and add FIXME comment
578 to code which looks to be wrong. [charlieb 1268]
579
580 * Wed Jul 31 2002 Charlie Brady <charlieb@e-smith.com>
581 - [1.9.7-01]
582 - Use iptables state tracking to allow return traffic. Remove special
583 rules set up to allow the return traffic. [charlieb 4499]
584
585 * Tue Jul 23 2002 Charlie Brady <charlieb@e-smith.com>
586 - [1.9.6-01]
587 - Allow local and masqueraded traffic on forward chain. Fix syntax for denylog
588 chain. [charlieb 1268]
589
590 * Thu Jul 18 2002 Charlie Brady <charlieb@e-smith.com>
591 - [1.9.5-01]
592 - Avoid a perl warning from use of ${httpd-e-smith}{status} -
593 change to ${'httpd-e-smith'}{status}. [charlieb 1268]
594
595 * Wed Jul 17 2002 Charlie Brady <charlieb@e-smith.com>
596 - [1.9.4-01]
597 - Change syntax from ipchains (2.2 kernel) to iptables (2.4 kernel).
598 [charlieb 1268]
599 - Add "status" option to list tables.
600 - Miscellaneous syntax cleanups.
601
602 * Tue Jul 2 2002 Charlie Brady <charlieb@e-smith.com>
603 - [1.9.3-01]
604 - Add "modprobe ipchains" to allow firewall to work with 2.4 kernel
605 [charlieb 4223]
606
607 * Fri Jun 21 2002 Mark Knox <markk@e-smith.com>
608 - [1.9.2-01]
609 - Allow ICMP from all "local" networks, not just physical LAN [markk 3698]
610
611 * Fri Jun 21 2002 Mark Knox <markk@e-smith.com>
612 - [1.9.1-01]
613 - Allow ICMP on internal interface [markk 3698]
614
615 * Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com>
616 - [1.9.0-01]
617 - Changing version to maintained stream number to 1.9.0
618
619 * Fri May 31 2002 Charlie Brady <charlieb@e-smith.com>
620 - [1.8.0-01]
621 - Changing version to maintained stream number to 1.8.0
622
623 * Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com>
624 - [1.7.3-01]
625 - RPM rebuild forced by cvsroot2rpm
626
627 * Fri May 10 2002 Charlie Brady <charlieb@e-smith.com>
628 - [1.7.2-01]
629 - Remove 45AllowSMTP - moved to e-smith-mailfront. [charlieb 3419]
630
631 * Fri May 10 2002 Charlie Brady <charlieb@e-smith.com>
632 - [1.7.1-01]
633 - No change. Test build of CVS conversion.
634
635 * Fri May 10 2002 Charlie Brady <charlieb@e-smith.com>
636 - [1.7.0-01]
637 - rollRPM: Rolled version number to 1.7.0-01. Includes patches up to 1.6.0-02.
638
639 * Wed Dec 19 2001 Charlie Brady <charlieb@e-smith.com>
640 - [1.6.0-02]
641 - Restore run time lookup of ExternalIP by /etc/rc.d/init.d/masq.
642 - Make sure that OUTERNET is set to a valid IP address, even if
643 ExternalIP is not set in config db, to avoid syntax errors in
644 ipchains command in masq script.
645
646 * Tue Dec 11 2001 Jason Miller <jay@e-smith.com>
647 - [1.6.0-01]
648 - rollRPM: Rolled version number to 1.6.0-01. Includes patches up to 1.5.0-05.
649
650 * Thu Dec 06 2001 Charlie Brady <charlieb@e-smith.com>
651 - [1.5.0-05]
652 - Add support for ippp0 as the external interface - if sync ISDN is used.
653
654 * Wed Nov 21 2001 Adrian Chung <adrianc@e-smith.com>
655 - [1.5.0-04]
656 - Add $OUT = "" to 01localNetworks so that '1' isn't output
657 into template when 01localNetworks generates no output.
658
659 * Wed Nov 21 2001 Adrian Chung <adrianc@e-smith.com>
660 - [1.5.0-03]
661 - Splitting @locals and $primaryLocalNet generation out of
662 40AllowLocals into 01localNetworks.
663 - transproxy fragment from e-smith-proxy needs these variables in
664 35transproxy.
665
666 * Tue Nov 06 2001 Charlie Brady <charlieb@e-smith.com>
667 - [1.5.0-02]
668 - Fix variable naming error in setting up @locals array.
669 - Remove forwarding rules from stopmasq section - and remove the 'stop'
670 alias for this case - there is a separate stop section of the script.
671 - Add bidirectional forwarding rules for each local network to our network.
672 This both enables the forwarded traffic, and also prevents masquerading
673 of the local traffic.
674
675 * Mon Nov 5 2001 Charlie Brady <charlieb@e-smith.com>
676 - [1.5.0-01]
677 - Rolled version number to 1.5.0-01. Includes patches upto 1.4.0-02.
678
679 * Mon Oct 29 2001 Charlie Brady <charlieb@e-smith.com>
680 - [1.4.0-02]
681 - Allow packet forwarding from localnet to localnet in serveronly mode -
682 this is necessary for PPTP VPN termination.
683
684 * Thu Aug 23 2001 Gordon Rowell <gordonr@e-smith.com>
685 - [1.4.0-01]
686 - Rolled version number to 1.4.0-01. Includes patches upto 1.3.0-08.
687
688 * Fri Aug 17 2001 gordonr
689 - [1.3.0-08]
690 - Autorebuild by rebuildRPM
691
692 * Mon Aug 13 2001 Adrian Chung <adrianc@e-smith.com>
693 - [1.3.0-07]
694 - Apply the patch. :)
695
696 * Fri Aug 10 2001 Adrian Chung <adrianc@e-smith.com>
697 - [1.3.0-06]
698 - Multicast range is 224.0.0.0 to 239.255.255.255 which
699 is 224.0.0.0/4 not 224.0.0.0/3.
700 224.0.0.0/3 covers 255.255.255.255 which denies DHCP traffic
701
702 * Mon Apr 21 2001 Gordon Rowell <gordonr@e-smith.com>
703 - [1.3.0-05]
704 - Putback Charlie's change to add Stealth property to masq service, defaulting
705 to "no". If set to "yes", external ICMP echo packets are ignored.
706
707 * Sat Apr 07 2001 Gordon Rowell <gordonr@e-smith.com>
708 - [1.3.0-04]
709 - Forward port patches from 1.2.0-01 to 1.2.0-06
710
711 * Sun Mar 25 2001 Gordon Rowell <gordonr@e-smith.com>
712 - [1.2.0-06]
713 - Two new properties of masq service - PermitHighUDP and PermitHighTCP.
714 Both default to "yes", but provide an easy way to block unprivileged
715 TCP/UDP or both.
716
717 * Fri Mar 23 2001 Gordon Rowell <gordonr@e-smith.com>
718 - [1.2.0-05]
719 - Default auth/smtp/http[s] to public for backwards compatability
720
721 * Fri Mar 23 2001 Gordon Rowell <gordonr@e-smith.com>
722 - [1.2.0-04]
723 - masq service now has an optional property Logging, defaulting to "none"
724 - Only log denied packets if Logging is other than "none" - this stops
725 logging of the SMB chatter on cable and other shared networks
726 - Ignore SMB and RIP packets unless Logging is "all"
727
728 * Thu Mar 22 2001 Gordon Rowell <gordonr@e-smith.com>
729 - [1.2.0-03]
730 - Check access property for httpd-e-smith/smtpd/identd
731
732 * Wed Mar 7 2001 Adrian Chung <adrianc@e-smith.com>
733 - [1.3.0-03]
734 - set rp_filter to 0 for 'all' interface as well.
735
736 * Wed Mar 7 2001 Adrian Chung <adrianc@e-smith.com>
737 - [1.3.0-02]
738 - set rp_filter to 0 for 'default' interface, explicitly set
739 it to 1 for eth0, eth1.
740 - ipsec-restart will set eth1 to '0'.
741
742 * Wed Mar 7 2001 Adrian Chung <adrianc@e-smith.com>
743 - [1.3.0-01]
744 - branching to development stream.
745
746 * Thu Feb 8 2001 Adrian Chung <adrianc@e-smith.com>
747 - [1.2.0-02]
748 - Rolling release number for GPG signing.
749
750 * Thu Jan 25 2001 Peter Samuel <peters@e-smith.com>
751 - [1.2.0-01]
752 - Rolled version number to 1.2.0-01. Includes patches upto 1.1.0-16.
753
754 * Thu Jan 25 2001 Adrian Chung <adrianc@e-smith.com>
755 - [1.1.0-16]
756 - removed 35DenyUnrouteable fragment, since it affects
757 us, and anyone else using a provider who masquerades
758 connections.
759
760 * Wed Jan 24 2001 Charlie Brady <charlieb@e-smith.com>
761 - [1.1.0-15]
762 - Remove AllowFTP fragment - moved to e-smith-proftpd.
763
764 * Thu Jan 18 2001 Adrian Chung <adrianc@e-smith.com>
765 - [1.1.0-14]
766 - adjusted 45AllowFTP to follow value of FTP accessLimits instead
767 of service status.
768
769 * Mon Dec 18 2000 Gordon Rowell <gordonr@e-smith.com>
770 - [1.1.0-13]
771 - Added use esmith::db
772
773 * Mon Dec 18 2000 Gordon Rowell <gordonr@e-smith.com>
774 - [1.1.0-12]
775 - Backed out -11 patch - not required
776 - Reordered fragments
777
778 * Mon Dec 18 2000 Gordon Rowell <gordonr@e-smith.com>
779 - [1.1.0-11]
780 - Added source/destination to icmp rules
781
782 * Fri Dec 15 2000 Gordon Rowell <gordonr@e-smith.com>
783 - [1.1.0-10]
784 - Added protocol option to icmp fragments
785 - Removed masqstart/masqstop
786 - Allowed icmp echo-request and echo-reply
787
788 * Fri Dec 15 2000 Gordon Rowell <gordonr@e-smith.com>
789 - [1.1.0-9]
790 - Rearranged fragments
791 - Split some rules into new chains
792 - Added extra ICMP rules
793
794 * Fri Dec 15 2000 Charlie Brady <charlieb@e-smith.com>
795 - [1.1.0-8]
796 - Move AllowSSH template fragment to e-smith-openssh.
797 - Fix uninitialised value problem in 15Definitions.
798
799 * Tue Dec 12 2000 Gordon Rowell <gordonr@e-smith.com>
800 - [1.1.0-7]
801 - Normalised AUTH template and fixed HTTP[S] templates
802
803 * Tue Dec 12 2000 Gordon Rowell <gordonr@e-smith.com>
804 - [1.1.0-6]
805 - Used hard-quote form of HERE documents to avoid $ expansions
806
807 * Tue Dec 12 2000 Gordon Rowell <gordonr@e-smith.com>
808 - [1.1.0-5]
809 - Normalised structure of 45Allow* fragments
810 - Moved 45AllowIONonPriv to 46AllowIONonPriv
811
812 * Tue Dec 12 2000 Gordon Rowell <gordonr@e-smith.com>
813 - [1.1.0-4]
814 - Fixed service name in templates - imapd -> imap
815 - Changed mode -> access
816
817 * Tue Dec 12 2000 Gordon Rowell <gordonr@e-smith.com>
818 - [1.1.0-3]
819 - Rewrote 15definitions and 45* fragments which checked services entries
820
821 * Tue Dec 05 2000 Gordon Rowell <gordonr@e-smith.com>
822 - [1.1.0-2]
823 - Determine ExternalIP at run time
824 - Modified templates to check services entries
825 - Added COPYING file and GPL Copyright
826
827 * Tue Dec 05 2000 Gordon Rowell <gordonr@e-smith.com>
828 - [1.1.0-1]
829 - Rolled version and tarball including patches to 0.1-4
830 - Used e-smith-devtools
831
832 * Thu Nov 30 2000 Gordon Rowell <gordonr@e-smith.com>
833 - [0.1-4]
834 - Changes to match change to pppoe service
835
836 * Wed Nov 29 2000 Gordon Rowell <gordonr@e-smith.com>
837 - Handle ppp0 as external interface for PPPoE setups
838
839 * Tue Nov 21 2000 Charlie Brady <charlieb@e-smith.com>
840 - Remove extraneous } in 15definitions
841
842 * Sun Nov 19 2000 Charlie Brady <charlieb@e-smith.com>
843 - initial release
844
845 %prep
846 %setup
847 %patch0 -p1
848 %patch1 -p1
849 %patch2 -p1
850 %patch3 -p1
851 rm -rf root/var/service/ulogd
852 mkdir -p root/run/ulog
853 %patch4 -p1
854
855
856 %build
857 perl createlinks
858
859 %install
860 rm -rf $RPM_BUILD_ROOT
861
862 for file in masq
863 do
864 mkdir -p root/etc/e-smith/templates/etc/rc.d/init.d/$file
865 ln -s /etc/e-smith/templates-default/template-begin-shell \
866 root/etc/e-smith/templates/etc/rc.d/init.d/$file/template-begin
867 done
868
869 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
870 mkdir -p $RPM_BUILD_ROOT/var/log/iptables
871 mkdir -p $RPM_BUILD_ROOT/service
872 #ln -s /var/service/ulogd $RPM_BUILD_ROOT/service/ulogd
873 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
874 --dir /var/log/iptables 'attr(0755,ulog,ulog)' \
875 --dir /run/ulog 'attr(2755,ulog,ulog)' \
876 > e-smith-%{version}-filelist
877 echo "%doc COPYING" >> e-smith-%{version}-filelist
878 # --dir /var/service/ulogd 'attr(1755,root,root)' \
879 # --file /var/service/ulogd/run 'attr(0755,root,root)' \
880 # --dir /var/service/ulogd/log 'attr(0755,root,root)' \
881 # --file /var/service/ulogd/log/run 'attr(0755,root,root)' \
882
883 %clean
884 rm -rf $RPM_BUILD_ROOT
885
886 %pre
887 if [ $1 -gt 1 ] ; then
888 if [ -e /var/service/ulogd/run ] ; then
889 /usr/bin/sv d ulogd
890 /usr/bin/sv d ulogd/log
891 fi
892 fi
893
894 /usr/sbin/groupadd \
895 -g 1010 -o ulog 2>/dev/null || :
896
897 /usr/sbin/useradd \
898 -u 1010 -g 1010 -c 'ulogd user' -d /var/log/ulogd \
899 -M -s /bin/false ulog || :
900
901 %files -f e-smith-%{version}-filelist
902 %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed