Pastebin
Paste #1938: None
< previous paste - next paste>
Pasted by tdn@malbec
/etc/metaconfig/res # [pts/0 - 4863H 0J 0R - 2011-02-03 19:53:46 - 0+08:06 - 1.86 1.71 1.47]
spye metaconfig update-machine
[E] Could not compile [/etc/hostapd/wifi]: Error generating file [/etc/hostapd/wifi]
[*] Would change file [/etc/apache2/ports.conf]:
## THIS FILE IS AUTOMATICALLY GENERATED.
## DO NOT EDIT. ALL CHANGES WILL BE LOST.
## ------------------------------------------
-
Listen 80
-
-<IfModule mod_ssl.c>
- Listen 443
-</IfModule>
+Listen 443
[*] Would change file [/etc/hostapd/wifi]:
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
+
[*] Would change file [/etc/spye/firewall/start]:
## THIS FILE IS AUTOMATICALLY GENERATED.
## DO NOT EDIT. ALL CHANGES WILL BE LOST.
## ------------------------------------------
-reset input=drop nat
+reset input=drop
for input
-on icmp any accept
-on state connected accept
+
+on tcp not syn accept
+
on in-int lo accept
-on in-int eth0 accept
-on in-int br0 accept
-on tcp dport 22 accept
-on tcp dport 80 accept
-on tcp dport 8080 in-int eth1 accept
-on tcp dport 9999 in-int eth1 accept
-on tcp dport ident reject
-on udp dport 53 accept
-nat in POSTROUTING on out-int eth1 do MASQUERADE
-nat tcp dport 4100:4199 in-int eth1 forward 10.0.0.1
-nat tcp dport 4200:4299 in-int eth1 forward 10.0.0.2
-nat udp dport 4300:4399 in-int eth1 forward 10.0.0.3
-nat udp dport 4400:4499 in-int eth1 forward 10.0.0.4
-nat udp dport 4500:4599 in-int eth1 forward 10.0.0.5
-nat tcp dport 4800:4899 in-int eth1 forward 10.0.0.1
+on icmp any accept
+
+on tcp dport 22 syn accept
+
+
+
+on udp src 78.109.215.66/32 sport 53 accept
+on udp src 78.109.223.3/32 sport 53 accept
+on udp dport 1024: sport 53 accept
+
+
+on src 78.109.215.64/26 accept
+
+on tcp syn reject
+
+on udp drop
[*] Would have run trigger ["invoke-rc.d", "spye-firewall", "force-restart"] with mask [/etc/spye/firewall/start] for files [/etc/spye/firewall/start]
[*] Would have run trigger ["invoke-rc.d", "apache2", "restart"] with mask [/etc/apache2/*.conf] for files [/etc/apache2/ports.conf]
[*] Plan finished
(root@syrah) (11-02-03 19:54) (P:0 L:1) [0]
/etc/metaconfig/res # vi /etc/hostapd/wifi
(root@syrah) (11-02-03 19:55) (P:0 L:1) [0]
/etc/metaconfig/res # cd /etc/metaconfig/node/
(root@syrah) (11-02-03 19:55) (P:0 L:1) [0]
/etc/metaconfig/node # svn st [pts/0 - 4866H 0J 0R - 2011-02-03 19:55:10 - 0+08:07 - 1.40 1.59 1.45]
? config.dist
M files/etc/hostapd/wifi
M config
(root@syrah) (11-02-03 19:55) (P:0 L:1) [0]
/etc/metaconfig/node # ll files/etc/hostapd/wifi
-rw-r--r-- 1 root root 0 Feb 3 19:38 files/etc/hostapd/wifi
(root@syrah) (11-02-03 19:55) (P:0 L:1) [0]
/etc/metaconfig/node # cd ../res/service/hostapd/
(root@syrah) (11-02-03 19:55) (P:0 L:1) [0]
/etc/metaconfig/res/service/hostapd # ll files/etc/hostapd/wifi
-rw-r--r-- 1 root root 225 Feb 3 19:41 files/etc/hostapd/wifi
(root@syrah) (11-02-03 19:55) (P:0 L:1) [0]
/etc/metaconfig/res/service/hostapd # vi files/etc/hostapd/wifi
(root@syrah) (11-02-03 19:55) (P:0 L:1) [0]
/etc/metaconfig/res/service/hostapd # vi /etc/metaconfig/node/files/etc/hostapd/wifi
(root@syrah) (11-02-03 19:55) (P:0 L:1) [0]
/etc/metaconfig/res/service/hostapd # [pts/0 - 4872H 0J 0R - 2011-02-03 19:55:57 - 0+08:08 - 1.26 1.53 1.43]
spye metaconfig update-machine
[*] Would change file [/etc/hostapd/wifi]:
## THIS FILE IS AUTOMATICALLY GENERATED.
## DO NOT EDIT. ALL CHANGES WILL BE LOST.
## ------------------------------------------
-interface=wlan0
-bridge=br0
-driver=nl80211
-ssid=wifi-secure3
-channel=11
-macaddr_acl=0
-auth_algs=1
-ignore_broadcast_ssid=0
[*] Plan finished
(root@syrah) (11-02-03 19:56) (P:0 L:1) [0]
/etc/metaconfig/res/service/hostapd #
New Paste
Go to most recent paste.