DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Security

OpenBSD Security Functionally paranoid!

Reply
 
Thread Tools Display Modes
Old 11th September 2009
revzalot's Avatar
revzalot revzalot is offline
Shell Scout
 
Join Date: May 2008
Posts: 123
Thanked 1 Time in 1 Post
Default

Ok finally fixed it. It was the case of wrong pass out rules that caused 'no route to host' when i either ftp'd, ping, etc.

Wrong pass out rule:
pass out quick on $ext_if proto tcp to any port $tcp_services
pass out quick on $ext_if proto udp to any port $udp_services



Correct pass out rule:
pass out on $ext_if proto tcp from any to any flags S/SA modulate state
pass out on $ext_if proto { udp, icmp } from any to any keep state


Case closed.
Reply With Quote
Old 12th September 2009
revzalot's Avatar
revzalot revzalot is offline
Shell Scout
 
Join Date: May 2008
Posts: 123
Thanked 1 Time in 1 Post
Default

And I was able to run my dump script and ftp'd a copy to .200 last night with pf enabled, here's the cron output emailed my mail server this morning. Awesome!

Code:
Begin dump of root

  DUMP: Date of this level 0 dump: Sat Sep 12 00:05:01 2009
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rwd0a (/) to standard output
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 46442 tape blocks.
  DUMP: Volume 1 started at: Sat Sep 12 00:05:02 2009
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: 46821 tape blocks
  DUMP: Date of this level 0 dump: Sat Sep 12 00:05:01 2009
  DUMP: Volume 1 completed at: Sat Sep 12 00:05:31 2009
  DUMP: Volume 1 took 0:00:29
  DUMP: Volume 1 transfer rate: 1614 KB/s
  DUMP: Date this dump completed:  Sat Sep 12 00:05:31 2009
  DUMP: Average transfer rate: 1614 KB/s
  DUMP: level 0 dump on Sat Sep 12 00:05:01 2009
  DUMP: DUMP IS DONE
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0 20.8M    0     0    0 16384      0   400k  0:00:53 --:--:--  0:00:53  400k 10 20.8M    0     0   10 2268k      0  9445k  0:00:02 --:--:--  0:00:02 10.9M 64 20.8M    0     0   64 13.3M      0  10.7M  0:00:01  0:00:01 --:--:-- 11.1M100 20.8M    0     0  100 20.8M      0  10.8M  0:00:01  0:00:01 --:--:-- 11.1M

Begin dump of usr

  DUMP: Date of this level 0 dump: Sat Sep 12 00:05:33 2009
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rwd0g (/usr) to standard output
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 1996300 tape blocks.
  DUMP: Volume 1 started at: Sat Sep 12 00:05:34 2009
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: 21.11% done, finished in 0:18
  DUMP: 52.85% done, finished in 0:08
  DUMP: 70.01% done, finished in 0:06
  DUMP: 88.62% done, finished in 0:02
  DUMP: 2137335 tape blocks
  DUMP: Date of this level 0 dump: Sat Sep 12 00:05:33 2009
  DUMP: Volume 1 completed at: Sat Sep 12 00:30:13 2009
  DUMP: Volume 1 took 0:24:39
  DUMP: Volume 1 transfer rate: 1445 KB/s
  DUMP: Date this dump completed:  Sat Sep 12 00:30:13 2009
  DUMP: Average transfer rate: 1445 KB/s
  DUMP: level 0 dump on Sat Sep 12 00:05:33 2009
  DUMP: DUMP IS DONE
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0  537M    0     0    0 16384      0   233k  0:39:14 --:--:--  0:39:14  233k  0  537M    0     0    0  544k      0  2153k  0:04:15 --:--:--  0:04:15 2854k  1  537M    0     0    1 8604k      0  6892k  0:01:19  0:00:01  0:01:18 7278k  3  537M    0     0    3 19.3M      0  8795k  0:01:02  0:00:02  0:01:00 9060k  5  537M    0     0    5 30.3M      0  9569k  0:00:57  0:00:03  0:00:54 9767k  7  537M    0     0    7 41.5M      0   9.7M  0:00:55  0:00:04  0:00:51  9.9M  9  537M    0     0    9 51.8M      0   9.8M  0:00:54  0:00:05  0:00:49 10.2M 11  537M    0     0   11 63.0M      0  10.0M  0:00:53  0:00:06  0:00:47 10.9M 13  537M    0     0   13 73.6M      0  10.1M  0:00:52  0:00:07  0:00:45 10.8M 15  537M    0     0   15 84.8M      0  10.2M  0:00:52  0:00:08  0:00:44 10.8M 17  537M    0     0   17 95.9M      0  10.3M  0:00:51  0:00:09  0:00:42 10.8M 19  537M    0     0   19  106M      0  10.3M  0:00:51  0:00:10  0:00:41 10.8M 21  537M    0     0   21  117M      0  1
 0.4M  0:00:51  0:00:11  0:00:40 10.8M 23  537M    0     0   23  128M      0  10.4M  0:00:51  0:00:12  0:00:39 10.9M 25  537M    0     0   25  139M      0  10.5M  0:00:51  0:00:13  0:00:38 10.9M 27  537M    0     0   27  150M      0  10.5M  0:00:50  0:00:14  0:00:36 10.9M 29  537M    0     0   29  160M      0  10.5M  0:00:50  0:00:15  0:00:35 10.9M 31  537M    0     0   31  171M      0  10.5M  0:00:50  0:00:16  0:00:34 10.9M 34  537M    0     0   34  182M      0  10.6M  0:00:50  0:00:17  0:00:33 10.9M 36  537M    0     0   36  194M      0  10.6M  0:00:50  0:00:18  0:00:32 10.9M 38  537M    0     0   38  205M      0  10.6M  0:00:50  0:00:19  0:00:31 10.9M 40  537M    0     0   40  215M      0  10.6M  0:00:50  0:00:20  0:00:30 10.9M 42  537M    0     0   42  226M      0  10.6M  0:00:50  0:00:21  0:00:29 10.9M 44  537M    0     0   44  237M      0  10.6M  0:00:50  0:00:22  0:00:28 10.9M 46  537M    0     0   46  248M      0  10.6M  0:00:50  0:00:23  0:00:27 10.9M 48
   537M    0     0   48  259M      0  10.7M  0:00:50  0:00:24  0:00:26 10.8M 50  537M    0     0   50  269M      0  10.6M  0:00:50  0:00:25  0:00:25 10.8M 52  537M    0     0   52  280M      0  10.7M  0:00:50  0:00:26  0:00:24 10.8M 54  537M    0     0   54  292M      0  10.7M  0:00:50  0:00:27  0:00:23 10.9M 56  537M    0     0   56  303M      0  10.7M  0:00:50  0:00:28  0:00:22 10.9M 58  537M    0     0   58  314M      0  10.7M  0:00:50  0:00:29  0:00:21 10.9M 60  537M    0     0   60  324M      0  10.7M  0:00:50  0:00:30  0:00:20 10.9M 62  537M    0     0   62  335M      0  10.7M  0:00:50  0:00:31  0:00:19 10.9M 64  537M    0     0   64  346M      0  10.7M  0:00:49  0:00:32  0:00:17 10.9M 66  537M    0     0   66  357M      0  10.7M  0:00:49  0:00:33  0:00:16 10.9M 68  537M    0     0   68  369M      0  10.7M  0:00:49  0:00:34  0:00:15 10.9M 70  537M    0     0   70  379M      0  10.7M  0:00:49  0:00:35  0:00:14 10.8M 72  537M    0     0   72  390M      0  10.7
 M  0:00:49  0:00:36  0:00:13 10.8M 74  537M    0     0   74  401M      0  10.7M  0:00:49  0:00:37  0:00:12 10.8M 76  537M    0     0   76  412M      0  10.7M  0:00:49  0:00:38  0:00:11 10.7M 78  537M    0     0   78  422M      0  10.7M  0:00:49  0:00:39  0:00:10 10.7M 80  537M    0     0   80  434M      0  10.7M  0:00:49  0:00:40  0:00:09 10.9M 82  537M    0     0   82  445M      0  10.7M  0:00:49  0:00:41  0:00:08 10.9M 84  537M    0     0   84  455M      0  10.7M  0:00:49  0:00:42  0:00:07 10.9M 86  537M    0     0   86  466M      0  10.7M  0:00:49  0:00:43  0:00:06 10.9M 88  537M    0     0   88  477M      0  10.7M  0:00:49  0:00:44  0:00:05 10.9M 90  537M    0     0   90  488M      0  10.8M  0:00:49  0:00:45  0:00:04 10.9M 92  537M    0     0   92  499M      0  10.8M  0:00:49  0:00:46  0:00:03 10.9M 95  537M    0     0   95  510M      0  10.8M  0:00:49  0:00:47  0:00:02 11.0M 97  537M    0     0   97  521M      0  10.8M  0:00:49  0:00:48  0:00:01 10.9M 99  5
 37M    0     0   99  532M      0  10.8M  0:00:49  0:00:49 --:--:-- 10.9M100  537M    0     0  100  537M      0  10.8M  0:00:49  0:00:49 --:--:-- 10.9M

Begin dump of var

  DUMP: Date of this level 0 dump: Sat Sep 12 00:31:02 2009
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rwd0e (/var) to standard output
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 1469622 tape blocks.
  DUMP: Volume 1 started at: Sat Sep 12 00:31:08 2009
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: 53.78% done, finished in 0:04
  DUMP: 102.34% done, finished in 0:00
  DUMP: 1541239 tape blocks
  DUMP: Date of this level 0 dump: Sat Sep 12 00:31:02 2009
  DUMP: Volume 1 completed at: Sat Sep 12 00:41:22 2009
  DUMP: Volume 1 took 0:10:14
  DUMP: Volume 1 transfer rate: 2510 KB/s
  DUMP: Date this dump completed:  Sat Sep 12 00:41:22 2009
  DUMP: Average transfer rate: 2510 KB/s
  DUMP: level 0 dump on Sat Sep 12 00:31:02 2009
  DUMP: DUMP IS DONE
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0  446M    0     0    0 16384      0   729k  0:10:26 --:--:--  0:10:26  729k  2  446M    0     0    2 9400k      0  10.5M  0:00:42 --:--:--  0:00:42 10.8M  4  446M    0     0    4 20.3M      0  10.8M  0:00:41  0:00:01  0:00:40 11.0M  7  446M    0     0    7 31.4M      0  10.9M  0:00:40  0:00:02  0:00:38 11.0M  9  446M    0     0    9 42.6M      0  11.0M  0:00:40  0:00:03  0:00:37 11.0M 12  446M    0     0   12 53.7M      0  11.0M  0:00:40  0:00:04  0:00:36 11.0M 14  446M    0     0   14 64.0M      0  10.9M  0:00:40  0:00:05  0:00:35 10.9M 16  446M    0     0   16 74.5M      0  10.8M  0:00:41  0:00:06  0:00:35 10.8M 19  446M    0     0   19 85.5M      0  10.8M  0:00:41  0:00:07  0:00:34 10.8M 21  446M    0     0   21 96.5M      0  10.8M  0:00:40  0:00:08  0:00:32 10.7M 24  446M    0     0   24  107M      0  10.9M  0:00:40  0:00:09  0:00:31 10.7M 26  446M    0     0   26  118M      0  10.8M  0:00:41  0:00:10  0:00:31 10.8M 28  446M    0     0   28  129M      0  1
 0.8M  0:00:41  0:00:11  0:00:30 10.9M 31  446M    0     0   31  140M      0  10.9M  0:00:40  0:00:12  0:00:28 10.9M 33  446M    0     0   33  151M      0  10.9M  0:00:40  0:00:13  0:00:27 10.9M 36  446M    0     0   36  162M      0  10.9M  0:00:40  0:00:14  0:00:26 10.9M 38  446M    0     0   38  173M      0  10.9M  0:00:40  0:00:15  0:00:25 10.9M 41  446M    0     0   41  184M      0  10.9M  0:00:40  0:00:16  0:00:24 10.9M 43  446M    0     0   43  195M      0  10.9M  0:00:40  0:00:17  0:00:23 10.9M 46  446M    0     0   46  206M      0  10.9M  0:00:40  0:00:18  0:00:22 10.9M 48  446M    0     0   48  217M      0  10.9M  0:00:40  0:00:19  0:00:21 10.9M 51  446M    0     0   51  227M      0  10.9M  0:00:40  0:00:20  0:00:20 10.9M 53  446M    0     0   53  238M      0  10.9M  0:00:40  0:00:21  0:00:19 10.9M 55  446M    0     0   55  249M      0  10.9M  0:00:40  0:00:22  0:00:18 10.9M 58  446M    0     0   58  260M      0  10.9M  0:00:40  0:00:23  0:00:17 10.9M 60
   446M    0     0   60  271M      0  10.9M  0:00:40  0:00:24  0:00:16 10.9M 63  446M    0     0   63  282M      0  10.9M  0:00:40  0:00:25  0:00:15 10.9M 65  446M    0     0   65  293M      0  10.9M  0:00:40  0:00:26  0:00:14 10.9M 68  446M    0     0   68  304M      0  10.9M  0:00:40  0:00:27  0:00:13 10.9M 70  446M    0     0   70  315M      0  10.9M  0:00:40  0:00:28  0:00:12 10.9M 73  446M    0     0   73  326M      0  10.9M  0:00:40  0:00:29  0:00:11 10.8M 74  446M    0     0   74  333M      0  10.8M  0:00:41  0:00:30  0:00:11 10.2M 77  446M    0     0   77  345M      0  10.8M  0:00:41  0:00:31  0:00:10 10.3M 79  446M    0     0   79  356M      0  10.8M  0:00:41  0:00:32  0:00:09 10.3M 82  446M    0     0   82  367M      0  10.8M  0:00:41  0:00:33  0:00:08 10.3M 84  446M    0     0   84  377M      0  10.8M  0:00:41  0:00:34  0:00:07 10.2M 87  446M    0     0   87  388M      0  10.8M  0:00:41  0:00:35  0:00:06 10.8M 89  446M    0     0   89  399M      0  10.8
 M  0:00:41  0:00:36  0:00:05 10.8M 91  446M    0     0   91  410M      0  10.8M  0:00:41  0:00:37  0:00:04 10.8M 94  446M    0     0   94  421M      0  10.8M  0:00:41  0:00:38  0:00:03 10.8M 96  446M    0     0   96  432M      0  10.8M  0:00:41  0:00:39  0:00:02 10.9M 99  446M    0     0   99  443M      0  10.8M  0:00:41  0:00:40  0:00:01 11.0M100  446M    0     0  100  446M      0  10.8M  0:00:41  0:00:41 --:--:-- 11.0M

Begin tar of etc

tar: Removing leading / from absolute path names in the archive
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  1  834k    0     0    1 16384      0   908k --:--:-- --:--:-- --:--:--  908k100  834k    0     0  100  834k      0  8805k --:--:-- --:--:-- --:--:-- 10.3M

Begin tar of home

tar: Removing leading / from absolute path names in the archive
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  4  333k    0     0    4 16384      0   947k --:--:-- --:--:-- --:--:--  947k100  333k    0     0  100  333k      0  6612k --:--:-- --:--:-- --:--:-- 9629k

Begin tar of vmail

tar: Removing leading / from absolute path names in the archive
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 14947    0     0  100 14947      0   554k --:--:-- --:--:-- --:--:--  554k100 14947    0     0  100 14947      0   366k --:--:-- --:--:-- --:--:--     0
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pkg_add - can't resolve <packagename> nihonto OpenBSD Packages and Ports 11 28th January 2009 10:03 PM
Sun Java System Web Server - Active Server Pages (yes ASP) hopla FreeBSD General 0 26th September 2008 08:22 AM


All times are GMT. The time now is 10:35 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick