/[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.12 - (show annotations) (download)
Fri Mar 5 06:49:34 2021 UTC (3 years, 3 months ago) by jpp
Branch: MAIN
Changes since 1.11: +3 -3 lines
* Thu Mar 04 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme
- move ulogd to systemd [SME: 11426]
- require ulogd 2 [SME: 11426]

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

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