Need some help building bootcrunch

2012-05-30 Thread Rick Miller
Hi All,

I am attempting to build a bootcrunch file that I will inject into an
mfsroot.  I'm unable to get it built completely and hoping someone
might be able to help me identify the issue.

crunchgen runs and exits without issue.  Running make fails with the
following error indicating it's not able to find, presumably, libmd
which exists.

/usr/lib/libfetch.a(http.o)(.text+0x8c0): In function
`http_authorize':: undefined reference to `MD5Init'
/usr/lib/libfetch.a(http.o)(.text+0x8d5): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0x8e7): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0x8fc): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0x90e): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0x923): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0x933): In function
`http_authorize':: undefined reference to `MD5Final'
/usr/lib/libfetch.a(http.o)(.text+0x991): In function
`http_authorize':: undefined reference to `MD5Init'
/usr/lib/libfetch.a(http.o)(.text+0x9a3): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0x9b5): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0x9ca): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0x9f9): In function
`http_authorize':: undefined reference to `MD5Final'
/usr/lib/libfetch.a(http.o)(.text+0xa11): In function
`http_authorize':: undefined reference to `MD5Init'
/usr/lib/libfetch.a(http.o)(.text+0xa21): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xa33): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xa48): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xa5a): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xa88): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xa93): In function
`http_authorize':: undefined reference to `MD5Final'
/usr/lib/libfetch.a(http.o)(.text+0xcc0): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xcd2): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xd1c): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xd2e): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xd47): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xd59): more undefined references to
`MD5Update' follow
/usr/lib/libfetch.a(http.o)(.text+0xdaa): In function
`http_authorize':: undefined reference to `MD5Init'
/usr/lib/libfetch.a(http.o)(.text+0xdbf): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xdd1): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xdea): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xdfc): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xe46): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xe56): In function
`http_authorize':: undefined reference to `MD5Final'
*** Error code 1

Stop in bootcrunch.

This is the bootcrunch.conf (as you can see, -lmd exists on the libs lines):

buildopts -DRELEASE_CRUNCH -Dlint

srcdirs /usr/src/bin
progs hostname
progs pwd
progs rm
progs sh
progs ls
progs test
progs cat
progs df
progs sleep
ln sh -sh
ln test [

srcdirs /usr/src/sbin
#progs camcontrol
progs dhclient
progs fsck_ffs
progs ifconfig
progs mount_nfs
progs newfs
progs route
progs rtsol
progs tunefs
progs kenv
progs sysctl
progs mdmfs
progs dmesg
ln fsck_ffs fsck_4.2bsd
ln fsck_ffs fsck_ufs

srcdirs /usr/src/usr.bin
progs uname
progs cpio
progs find
progs minigzip
progs sed
progs awk
progs fetch
progs ifconfig
ln minigzip gzip
ln minigzip gunzip
ln minigzip zcat

srcdirs /usr/src/usr.sbin
progs arp
progs sysinstall
progs usbconfig

srcdirs /usr/src/gnu/usr.bin
progs grep

libs -ll -ledit -lutil -lmd -lcrypt -lftpio -lz -lnetgraph
libs -ldialog -lncurses -ldisk -lcam -lsbuf -lutil -lufs -ldevinfo -lkvm
libs -lbsdxml -larchive -lbz2 -lusb -lgnuregex -lz -llzma
libs -lfetch -lmd -lssl -lcrypto -ljail -lm

-- 
Take care
Rick Miller
___
freebsd-questions@freebsd.org mailing list

Re: Need some help building bootcrunch

2012-05-30 Thread Rick Miller
I changed some things around in the bootcrunch.conf and got it to
work.  It was building 'fetch'.  I moved -lfetch before -lmd and it
compiled fine.

On Wed, May 30, 2012 at 10:36 AM, Rick Miller vmil...@hostileadmin.com wrote:
 Hi All,

 I am attempting to build a bootcrunch file that I will inject into an
 mfsroot.  I'm unable to get it built completely and hoping someone
 might be able to help me identify the issue.

 crunchgen runs and exits without issue.  Running make fails with the
 following error indicating it's not able to find, presumably, libmd
 which exists.

 /usr/lib/libfetch.a(http.o)(.text+0x8c0): In function
 `http_authorize':: undefined reference to `MD5Init'
 /usr/lib/libfetch.a(http.o)(.text+0x8d5): In function
 `http_authorize':: undefined reference to `MD5Update'
 /usr/lib/libfetch.a(http.o)(.text+0x8e7): In function
 `http_authorize':: undefined reference to `MD5Update'
 /usr/lib/libfetch.a(http.o)(.text+0x8fc): In function
 `http_authorize':: undefined reference to `MD5Update'
 /usr/lib/libfetch.a(http.o)(.text+0x90e): In function
 `http_authorize':: undefined reference to `MD5Update'
 /usr/lib/libfetch.a(http.o)(.text+0x923): In function
 `http_authorize':: undefined reference to `MD5Update'
 /usr/lib/libfetch.a(http.o)(.text+0x933): In function
 `http_authorize':: undefined reference to `MD5Final'
 /usr/lib/libfetch.a(http.o)(.text+0x991): In function
 `http_authorize':: undefined reference to `MD5Init'
 /usr/lib/libfetch.a(http.o)(.text+0x9a3): In function
 `http_authorize':: undefined reference to `MD5Update'
 /usr/lib/libfetch.a(http.o)(.text+0x9b5): In function
 `http_authorize':: undefined reference to `MD5Update'
 /usr/lib/libfetch.a(http.o)(.text+0x9ca): In function
 `http_authorize':: undefined reference to `MD5Update'
 /usr/lib/libfetch.a(http.o)(.text+0x9f9): In function
 `http_authorize':: undefined reference to `MD5Final'
 /usr/lib/libfetch.a(http.o)(.text+0xa11): In function
 `http_authorize':: undefined reference to `MD5Init'
 /usr/lib/libfetch.a(http.o)(.text+0xa21): In function
 `http_authorize':: undefined reference to `MD5Update'
 /usr/lib/libfetch.a(http.o)(.text+0xa33): In function
 `http_authorize':: undefined reference to `MD5Update'
 /usr/lib/libfetch.a(http.o)(.text+0xa48): In function
 `http_authorize':: undefined reference to `MD5Update'
 /usr/lib/libfetch.a(http.o)(.text+0xa5a): In function
 `http_authorize':: undefined reference to `MD5Update'
 /usr/lib/libfetch.a(http.o)(.text+0xa88): In function
 `http_authorize':: undefined reference to `MD5Update'
 /usr/lib/libfetch.a(http.o)(.text+0xa93): In function
 `http_authorize':: undefined reference to `MD5Final'
 /usr/lib/libfetch.a(http.o)(.text+0xcc0): In function
 `http_authorize':: undefined reference to `MD5Update'
 /usr/lib/libfetch.a(http.o)(.text+0xcd2): In function
 `http_authorize':: undefined reference to `MD5Update'
 /usr/lib/libfetch.a(http.o)(.text+0xd1c): In function
 `http_authorize':: undefined reference to `MD5Update'
 /usr/lib/libfetch.a(http.o)(.text+0xd2e): In function
 `http_authorize':: undefined reference to `MD5Update'
 /usr/lib/libfetch.a(http.o)(.text+0xd47): In function
 `http_authorize':: undefined reference to `MD5Update'
 /usr/lib/libfetch.a(http.o)(.text+0xd59): more undefined references to
 `MD5Update' follow
 /usr/lib/libfetch.a(http.o)(.text+0xdaa): In function
 `http_authorize':: undefined reference to `MD5Init'
 /usr/lib/libfetch.a(http.o)(.text+0xdbf): In function
 `http_authorize':: undefined reference to `MD5Update'
 /usr/lib/libfetch.a(http.o)(.text+0xdd1): In function
 `http_authorize':: undefined reference to `MD5Update'
 /usr/lib/libfetch.a(http.o)(.text+0xdea): In function
 `http_authorize':: undefined reference to `MD5Update'
 /usr/lib/libfetch.a(http.o)(.text+0xdfc): In function
 `http_authorize':: undefined reference to `MD5Update'
 /usr/lib/libfetch.a(http.o)(.text+0xe46): In function
 `http_authorize':: undefined reference to `MD5Update'
 /usr/lib/libfetch.a(http.o)(.text+0xe56): In function
 `http_authorize':: undefined reference to `MD5Final'
 *** Error code 1

 Stop in bootcrunch.

 This is the bootcrunch.conf (as you can see, -lmd exists on the libs lines):

 buildopts -DRELEASE_CRUNCH -Dlint

 srcdirs /usr/src/bin
 progs hostname
 progs pwd
 progs rm
 progs sh
 progs ls
 progs test
 progs cat
 progs df
 progs sleep
 ln sh -sh
 ln test [

 srcdirs /usr/src/sbin
 #progs camcontrol
 progs dhclient
 progs fsck_ffs
 progs ifconfig
 progs mount_nfs
 progs newfs
 progs route
 progs rtsol
 progs tunefs
 progs kenv
 progs sysctl
 progs mdmfs
 progs dmesg
 ln fsck_ffs fsck_4.2bsd
 ln fsck_ffs fsck_ufs

 srcdirs /usr/src/usr.bin
 progs uname
 progs cpio
 progs find
 progs minigzip
 progs sed
 progs awk
 progs fetch
 progs ifconfig
 ln minigzip gzip
 ln minigzip gunzip
 ln minigzip zcat

 srcdirs /usr/src/usr.sbin
 progs arp
 progs sysinstall
 progs usbconfig

 srcdirs /usr/src/gnu/usr.bin
 progs grep

 libs -ll -ledit -lutil -lmd -lcrypt -lftpio -lz -lnetgraph
 

System crashed need some help troubleshooting

2009-09-09 Thread Graeme Dargie
Hi All,

 

 

I have a server in the house that has been running away fine, I noticed
today that it had rebooted 17hours or so ago, looking a little further
it also looks like it had rebooted around 23hours previously.

 

 

 

panic: kmem_malloc(131072): kmem_map too small: 505761792 total
allocated

cpuid = 0

Uptime: 23h56m0s

Physical memory: 4017 MB

Dumping 1149 MB: 1134 1118 1102 1086 1070 1054 1038 1022 1006 990 974
958 942 926 910 894 878 862 846 830 814 798 782 766 750 734 718 702 686
670 654 638 622

 

I found the above in the /var/log/dmesg.yesterday 

 

 

I could use some advice on how to troubleshoot on what is going on with
this machine.

 

 

Regards

 

Graeme

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


IPFW: Need some help

2009-06-28 Thread Anton

   Hello all,

   I'm new to *nix and now, while configuring IPFW Firewall on FreeBSD
   7.2 = has stuck in a problem:

   After packet from my network is passed to natd demon - it is returning
   t= o firewall (it is normal, as I think ;-) ), but I see another
   abnormal thin= g: when it is returned to firewall, it does not come
   under rule which state= s to allow packet from some host in my
   network, and goes under rule which a= llows packets from FreeBSD box.

   I.e.: packet from 192.168.0.2, directed to 86.57.250.18 comes to
   freebsd= box. First, it comes to rule, which NATs it to interface ng0.
   Then, after = NAT rule, there is rule, which allows packet flow from
   192.168.0.2 to 86.57= .250.18 out via ng0. But, IPFW does not show,
   that any packet is allowed by= this rule - is rather shows that
   packets are allowed by another rule: allo= w all from me to any.

   Need help in explaining in this problem, and how to alter the things
   in = the way i need it (if it is real)

   --

   --

   Best regards,

Anton= ;[1]mailto:an...@sng.by

Administrator

   Feel free to contact me

   via ICQ 363780596

   via Skype dobryak47

   via phone +375 29 3320987

References

   1. 3Dmailto:an...@sng.by;
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: IPFW: Need some help

2009-06-28 Thread Neal Hogan
2009/6/28 Anton an...@sng.by:

   Hello all,

   I'm new to *nix and now, while configuring IPFW Firewall on FreeBSD
   7.2  has stuck in a problem:

   After packet from my network is passed to natd demon - it is returning
   t o firewall (it is normal, as I think ;-) ), but I see another
   abnormal thin g: when it is returned to firewall, it does not come
   under rule which state s to allow packet from some host in my
   network, and goes under rule which a llows packets from FreeBSD box.

   I.e.: packet from 192.168.0.2, directed to 86.57.250.18 comes to
   freebsd box. First, it comes to rule, which NATs it to interface ng0.
   Then, after  NAT rule, there is rule, which allows packet flow from
   192.168.0.2 to 86.57 .250.18 out via ng0. But, IPFW does not show,
   that any packet is allowed by this rule - is rather shows that
   packets are allowed by another rule: allo w all from me to any.


I'm no IPFW expert, but it seems to me that the packets are already in
and NAT'd. Then they're being redirected internally. Thus being
allowed from 'you' to any (Don't take this explanation as true. It's
merely my understanding from the brief look at the link Mr, Barber
sent you, which you read . . . right?)

   Need help in explaining in this problem, and how to alter the things
   in  the way i need it (if it is real)

Two suggestions for getting more specific help:

1) Look around on the web. There appear to be many discussion about
IPFW and NAT. (eg.,
http://freebsd.rogness.net/redirect.cgi?basic/nat.html).

2) Post your ruleset. This way, folk will know what to alter.



   --

   --

   Best regards,

    Anton             ;                [1]mailto:an...@sng.by

    Administrator

   Feel free to contact me

   via ICQ 363780596

   via Skype dobryak47

   via phone +375 29 3320987

 References

   1. 3Dmailto:an...@sng.by;
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: IPFW: Need some help

2009-06-28 Thread Ruben de Groot
On Sun, Jun 28, 2009 at 02:14:00PM +0300, Anton typed:
 
Hello all,
 
I'm new to *nix and now, while configuring IPFW Firewall on FreeBSD
7.2 = has stuck in a problem:
 
After packet from my network is passed to natd demon - it is returning
t= o firewall (it is normal, as I think ;-) ), but I see another
abnormal thin= g: when it is returned to firewall, it does not come
under rule which state= s to allow packet from some host in my
network, and goes under rule which a= llows packets from FreeBSD box.

This is normal.

That's because the source address has allready been rewritten by natd, so 
your rule about a specific host in your network doesn't apply anymore.
Try moving this rule before the divert rule in your ipfw config.

Ruben

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


php4 compile errors - need some help

2007-07-27 Thread Andreas Widerøe Andersen
I need some help identifying what causes this error and how to fix it:

#portupgrade php4

[snip]
mv -f ext/standard/base64.o ext/standard/base64.lo
/bin/sh /usr/ports/lang/php4/work/php-4.4.7/libtool --preserve-dup-deps
--mode=compile cc  -Iext/standard/
-I/usr/ports/lang/php4/work/php-4.4.7/ext/standard/
-DPHP_ATOM_INC -I/usr/ports/lang/php4/work/php-4.4.7/include
-I/usr/ports/lang/php4/work/php-4.4.7/main -I/usr/ports/lang/php4/work/php-
4.4.7 -I/usr/ports/lang/php4/work/php-4.4.7/TSRM
-I/usr/ports/lang/php4/work/php-4.4.7/Zend-pipe -g -Wall
-prefer-non-pic -c
/usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c
-o ext/standard/basic_functions.lo
cc -Iext/standard/ -I/usr/ports/lang/php4/work/php-4.4.7/ext/standard/
-DPHP_ATOM_INC -I/usr/ports/lang/php4/work/php-4.4.7/include
-I/usr/ports/lang/php4/work/php-4.4.7/main -I/usr/ports/lang/php4/work/php-
4.4.7 -I/usr/ports/lang/php4/work/php-4.4.7/TSRM
-I/usr/ports/lang/php4/work/php-4.4.7/Zend -pipe -g -Wall -c
/usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c -o
ext/standard/basic_functions.o
/usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:71:
getopt.h: No such file or directory
/usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1479:
warning: `struct option' declared inside parameter list
/usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1479:
warning: its scope is only this definition or declaration, which is probably
not what you want.
/usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c: In
function `free_longopts':
/usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1484:
dereferencing pointer to incomplete type
/usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1484:
increment of pointer to unknown structure
/usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1484:
arithmetic on pointer to an incomplete type
/usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1485:
dereferencing pointer to incomplete type
/usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c: In
function `zif_getopt':
/usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1560:
sizeof applied to an incomplete type
/usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1572:
dereferencing pointer to incomplete type
/usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1576:
dereferencing pointer to incomplete type
/usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1579:
dereferencing pointer to incomplete type
/usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1584:
dereferencing pointer to incomplete type
/usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1585:
dereferencing pointer to incomplete type
/usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1586:
dereferencing pointer to incomplete type
/usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1589:
increment of pointer to unknown structure
/usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1589:
arithmetic on pointer to an incomplete type
/usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1607:
warning: implicit declaration of function `getopt_long'
/usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1619:
arithmetic on pointer to an incomplete type
/usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1619:
dereferencing pointer to incomplete type
/usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1651:
warning: passing arg 1 of `free_longopts' from incompatible pointer type
*** Error code 1

Stop in /usr/ports/lang/php4/work/php-4.4.7.
*** Error code 1

Stop in /usr/ports/lang/php4.
*** Error code 1

Stop in /usr/ports/lang/php4.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade84922.0
make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! lang/php4 (php4-4.4.4_1)  (missing header)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed

System FreeBSD 4.11 STABLE (yes, this will be the final update before the
machine is taken offline in a month).

Thanks,
Andreas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need some help with PF rule letting two machines access each other

2006-06-09 Thread Erik Norgaard

Pat Maddox wrote:

12.34.56.78 runs a server on port 1234
87.65.43.21 should connect to this

Both of them have PF rulesets that block off most traffic, keeping
open the publically available ports I need open.  In this case though,
any traffic over this port should only be between these two machines.
I've tried to set this up, but I keep getting operation not permitted,
connection refused, and connection reset by peer errors.  Thanks for
any info.


It's quite difficult to tell which rule catches your packets without the 
ruleset. Try this:


1) Add log to all block rules
2) Check you have keep state in pass rules
3) Check you have quick in your pass rules

If you have a default block policy, then you should generally have quick 
in pass rules or you might have packets marked for passing being caught 
later by a block rule.


I generally prefer having the default policy at top without quick, and 
then set quick on rules taking an explicit action.


Cheers, Erik

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need some help with PF rule letting two machines access each other

2006-06-09 Thread Pat Maddox

On 6/9/06, Erik Norgaard [EMAIL PROTECTED] wrote:

Pat Maddox wrote:
 12.34.56.78 runs a server on port 1234
 87.65.43.21 should connect to this

 Both of them have PF rulesets that block off most traffic, keeping
 open the publically available ports I need open.  In this case though,
 any traffic over this port should only be between these two machines.
 I've tried to set this up, but I keep getting operation not permitted,
 connection refused, and connection reset by peer errors.  Thanks for
 any info.

It's quite difficult to tell which rule catches your packets without the
ruleset. Try this:

1) Add log to all block rules
2) Check you have keep state in pass rules
3) Check you have quick in your pass rules

If you have a default block policy, then you should generally have quick
in pass rules or you might have packets marked for passing being caught
later by a block rule.

I generally prefer having the default policy at top without quick, and
then set quick on rules taking an explicit action.

Cheers, Erik




Okay, I got it working.  On the client, the rule is
pass out quick on $EXT_IF inet proto tcp from $EXT_IF to $SERVER port
7721 keep state

and on the server, it's just the opposite
pass in quick on $EXT_IF inet proto tcp from $CLIENT to $EXT_IF port
7721 keep state

The only difference between that rule and the one I had earlier
includes a flags S/SA directive on each.  Of course now I just tried
adding the flags and it works...I'm guessing because the state was
already made.

If I add flags S/SA is there any reason that'd cause problems.  It
seems to work fine right now, but didn't earlier - though perhaps I
had a typo or something.

Pat
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Need some help with PF rule letting two machines access each other

2006-06-08 Thread Pat Maddox

12.34.56.78 runs a server on port 1234
87.65.43.21 should connect to this

Both of them have PF rulesets that block off most traffic, keeping
open the publically available ports I need open.  In this case though,
any traffic over this port should only be between these two machines.
I've tried to set this up, but I keep getting operation not permitted,
connection refused, and connection reset by peer errors.  Thanks for
any info.

Pat
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need some help with PF rule letting two machines access each other

2006-06-08 Thread Mikhail Goriachev
Pat Maddox wrote:
 12.34.56.78 runs a server on port 1234
 87.65.43.21 should connect to this
 
 Both of them have PF rulesets that block off most traffic, keeping
 open the publically available ports I need open.  In this case though,
 any traffic over this port should only be between these two machines.
 I've tried to set this up, but I keep getting operation not permitted,
 connection refused, and connection reset by peer errors.  Thanks for
 any info.


Hi,

This'll do:

EIF=eif # external interface
HOSTA=12.34.56.78   # host A
HOSTB=87.65.43.21   # host B

# These lines go on host A
pass in  quick on $EIF from $HOSTB to $EIF port 1234
pass out quick on $EIF from $EIF to $HOSTB port 1234

# These lines go on host B
pass in  quick on $EIF from $HOSTA to $EIF port 1234
pass out quick on $EIF from $EIF to $HOSTA port 1234


Put those lines somewhere at the beginning of your pf.conf files. Also,
if I may add, this is very basic and you should consult/read/learn PF's
guide.


Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Need some Help

2005-08-20 Thread Everett Batey
Currently have a not too successful install of FBSD 5.4.  Tried both
XFree and Xorg for a GUI to replace my obsolete earlier installs for
Qmail, Apache Web, DNS and X-Windows.

Looking for some budget tech assist at getting X-Windows on a computer
here in Ventura County, CA.

Any takers?  

AMD Sempron, native VGA, little luck except with Win2K (ughhh) and Knoppix.  

-- 
Ev Batey -- [EMAIL PROTECTED]
  805 340-6471  / 800 545-6998
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need some Help

2005-08-20 Thread albi

 Currently have a not too successful install of FBSD 5.4.  Tried both
 XFree and Xorg for a GUI to replace my obsolete earlier installs for
 Qmail, Apache Web, DNS and X-Windows.
-- cut --
 AMD Sempron, native VGA, little luck except with Win2K (ughhh) and
 Knoppix.

whenever i have problems with configuring X i take a knoppix-3.8-cdrom,
boot it, and then save the /etc/X11/XF86Config-4, copy it to my
FreeBSD (5.x or 6.x) as /etc/X11/xorg.conf

comment out the line
# Option  XkbRules  xfree86

change the mouse-section into this :

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
Option  CorePointer
Option  Device/dev/sysmouse
Option  Protocol  SysMouse
# OptionEmulate3Buttons   true
Option  ZAxisMapping  4 5

and ... that always does it! :)



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBsd , I REALLY need some help :-)

2003-11-04 Thread Nic Bergen
Hi,

I'm trying to install freebsd on an old i486 (75mhz) with 40mb ram
I have two harddrives 260 and 349mb.
I am booting with the kern and mfsroot floppies.
I can get everything right and working following the documentation on 
the site up to making the root,swap,...etc.
But when I finish this and the installation begins I get an error about 
no such device or media.
It appears that the program can't find my cd-rom drive.
It is a rather old 24x mitsumi cd-rom drive and it is set as slave to 
the primary harddrive.

I cannot find a solution on this site.
What should I do,where do I begin.
Have you got any other suggestion considering my pc.

By the way what kind of userinterface will I get with a minimum install??

Cheers

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBsd , I REALLY need some help :-)

2003-11-04 Thread Peter Ulrich Kruppa
On Tue, 4 Nov 2003, Nic Bergen wrote:

 Hi,

 I'm trying to install freebsd on an old i486 (75mhz) with 40mb ram
 I have two harddrives 260 and 349mb.
First of all: it is absolutely possible to install a basic
FreeBSD on this kind of hardware. I never had any problems with
mitsumi cd-drives.
Do you have a possibility to check if the cd drive still works
correctly? (Perhaps with windows or on a different machine?)

Regards,

Uli.

 I am booting with the kern and mfsroot floppies.
 I can get everything right and working following the documentation on
 the site up to making the root,swap,...etc.
 But when I finish this and the installation begins I get an error about
 no such device or media.
 It appears that the program can't find my cd-rom drive.
 It is a rather old 24x mitsumi cd-rom drive and it is set as slave to
 the primary harddrive.

 I cannot find a solution on this site.
 What should I do,where do I begin.

 Have you got any other suggestion considering my pc.

 By the way what kind of userinterface will I get with a minimum install??

 Cheers

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBsd , I REALLY need some help :-)

2003-11-04 Thread Garance A Drosihn
At 1:47 PM +0100 11/4/03, Nic Bergen wrote:
Hi,

I'm trying to install freebsd on an old i486 (75mhz) with
40mb ram I have two harddrives 260 and 349mb.
Which version of FreeBSD are you trying to install?

--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Need some help =(

2003-08-03 Thread Eric Murphy
Hi! I am pretty new to FreeBSD, however, I do really enjoy useing it, its a GREAT 
server platform.  Anyway, on to my question.  I for the life of me can't figure out 
how to update my system.  Everything I read REALLY confuses me.  I was hopeing it 
would be something as simple as emerge world or system like in Gentoo Linux.  Anyway, 
If you could give me a step by step newbie install guide, that would help VERY much!  
Thanks


-Eric
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need some help =(

2003-08-03 Thread Jonas Anderson
On Sun, 3 Aug 2003, Eric Murphy wrote:

 Hi! I am pretty new to FreeBSD, however, I do really enjoy useing it,
 its a GREAT server platform.  Anyway, on to my question.  I for the life
 of me can't figure out how to update my system.  Everything I read
 REALLY confuses me.  I was hopeing it would be something as simple as
 emerge world or system like in Gentoo Linux.  Anyway, If you could give
 me a step by step newbie install guide, that would help VERY much!
 Thanks

Hi Eric,

Reading the FreeBSD handbook on the FreeBSD website should give you a
fairly comprehensive walk-through of upgrading your system.

The exact link is this:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

Hope this helps.


 -Eric

-- 
-Jonas
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need some help =(

2003-08-03 Thread Joey Mingrone
Hi! I am pretty new to FreeBSD, however, I do really enjoy useing it, its a 
GREAT server platform.
It makes a pretty darn good desktop too.  :-)

Anyway, on to my question.  I for the life of me can't figure out how to 
update my system.  Everything I read REALLY confuses me.  I was hopeing it 
would be something as simple as emerge world or system like in Gentoo Linux. 
 Anyway, If you could give me a step by step newbie install guide, that 
would help VERY much!  Thanks


-Eric
Have you read 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html 
?  It's pretty close to a step-by-step guide to updating your system.  It's 
only a few pages long and quite well written.

Joey

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need some help =(

2003-08-03 Thread Bob Hall
On Sun, Aug 03, 2003 at 10:47:36PM -0500, Joey Mingrone wrote:
 Hi! I am pretty new to FreeBSD, however, I do really enjoy useing it, its 
 a GREAT server platform.
 It makes a pretty darn good desktop too.  :-)
 
 Anyway, on to my question.  I for the life of me can't figure out how to 
 update my system.  Everything I read REALLY confuses me.  I was hopeing it 
 would be something as simple as emerge world or system like in Gentoo 
 Linux. Anyway, If you could give me a step by step newbie install guide, 
  that would help VERY much!  Thanks
 
 
 -Eric
 
 Have you read 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html 
 ?  It's pretty close to a step-by-step guide to updating your system.  It's 
 only a few pages long and quite well written.

In addition, FreeBSD Unleashed and Annalise Anderson's FBSD book both 
contain good step-by-step guides. I prefer Anderson's instructions to 
the other two, but only by a very small margin. I wouldn't hesitate to 
use either the handbook or FreeBSD Unleashed. 

Bob Hall
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mars NWE - need some help please

2003-03-10 Thread Troy
Hello,
I  have  the  following  set up and cannot see the freebsd box from the network.
Samba  works fine on this machine however mars_nwe just isn't working for me, of
course I am positive it is something that I am doing since this is the first time I
have set it up. Any help would be appreciated.

Thanks,

Troy

***
** Added to kernel
options IPX
options NCP

** rc.conf entries
ifconfig_xl0f0_ipx=ipx 010A
ifconfig_xl0f1_ipx=ipx 020A
ifconfig_xl0f2_ipx=ipx 030A
ifconfig_xl0f3_ipx=ipx 040A
ipxrouted_flags=/tmp/ipx.log

** loader.conf line
if_ef_load=YES

* nwserv.conf *

1   SYS /vola/sys   kr  711 600
1   VOL01   /vola/vol01 k   775 775
2   MASSH
3   auto1
4   0x0 *   AUTO 1
5   0x0
6   2   0x0
7   0
8   0x0
9   07510640
10  65534
11  65534
12  SUPERVISOR  trllc   passwd
13  IMAGE3  image3  passwd
13  GUEST   nobody  -   0x1
15   0 top-secret
16  1
17   0x0
18   0x0
#21 LP  -   lpr -
#21 LP_PS
#22 PS_NWE  LP_PS   1
#30 0x20000x2000
31  0x0
40  /var/spool/nwserv/.volcache
41  /var/spool/nwserv/.locks
42  /var/spool/nwserv
45  /var/nwserv/db
46  /var/nwserv/attrib
47  /var/nwserv/trustees
# 80  50  # max_dir_search_handles (namspace.c)
100 0   # debug IPX KERNEL (0 | 1)
101 1   # debug NWSERV
102 0   # debug NCPSERV
103 0   # debug NWCONN
104 0   # debug (start) NWCLIENT, should *always* be '0' !
105 0   # debug NWBIND
106 1   # debug NWROUTED
200 1   # 0 = no logfile and dont daemonize nwserv/nwrouted
201 /var/log/nw.log # filename of logfile
202 0x1 # flag in hex notation
210 10  # 1 .. 600  (default 10) seconds after server
211 60  # 10 .. 600 (default 60) broadcasts every x seconds
300 1   #  0 print routing info to file every x broadcasts.
301 /var/log/nw.routes #  filename of logfile
302 0x1 # flags will be interpreted as hex value.
310 7   # send wdog's only to device net  x ticks.
400  /etc/nwserv.stations  # for syntax see file in the examples directory.
401 0   # 0 = ignore entry 400, get nearest response always enabled.
402 0   # 0 = ignore entry 400, create connection always enabled.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Mars NWE - need some help please

2003-03-10 Thread Igor B. Bykhalo
[...]
 
 ***
 ** Added to kernel
 options IPX
 options NCP
 
 ** rc.conf entries
 ifconfig_xl0f0_ipx=ipx 010A
 ifconfig_xl0f1_ipx=ipx 020A
 ifconfig_xl0f2_ipx=ipx 030A
 ifconfig_xl0f3_ipx=ipx 040A

You forgot lo0?

ifconfig_lo0_ipx=ipx 0x.1

 ipxrouted_flags=/tmp/ipx.log

I have also -s flag for IPXrouted:

ipxrouted_flags=-s   # Flags for IPX routing daemon.

And i don't see lines

ipxgateway_enable=YES# Set to YES to enable IPX routing.
ipxrouted_enable=YES # Set to YES to run the IPX routing daemon.

in your rc.conf. Are they there?

 
 ** loader.conf line
 if_ef_load=YES
 
 * nwserv.conf *
 
 1   SYS /vola/sys   kr  711 600
 1   VOL01   /vola/vol01 k   775 775
 2   MASSH
 3   auto1

Why? Must match IPX network number on lo0

3   0x

 4   0x0 *   AUTO 1

You don't need this line... Read /usr/local/share/doc/mars_nwe/README.FREEBSD
Look also at Boris Popov's pages at

http://people.freebsd.org/~bp/

HTH,
Igor

[...]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: I need some help...

2002-09-28 Thread Nathan Kinkade

On Sat, 28 Sep 2002 21:02:50 -0700 (PDT)
Rick Hamell [EMAIL PROTECTED] wrote:

 
  console basesd machines then a lower spec may work for you.  In any
  case, if you plan to run X and any sort of browser you probably
  don't want to go below a P100, and even this is pushing it a bit. 
  I've talked to a few people at FreeGeek about getting FreeBSD on
  some of the boxes, but they are too firmly entrenched in Linux.
 
   Yep... which is why I don't volunteer down there. I don't want
   to
 have to learn ANOTHER operating system... :( Though I'd love the
 chance to scrounge through the storage room back there.
 
   Rick


In my mind, it would really make sense for FreeGeek to standardize on
FreeBSD.  I use the word standardize in both a figurative and literal
sense.  Right now they are migrating from Mandrake to Debian and it has
been a long and arduous change.  Further, it appears to me that
virtually nothing is consistent between the two distros.  The little I
knew about Mandrake can now safely be tossed out the window as I try
vainly to learn the new Debian way of doing things.  I volunteer in the
build area, so I don't deal as much with the software as I do the
hardware.  Thus I am able to get by with a minimal amount of Linux
knowledge, and I make up for the rest with common *nix knowledge. 
However, I will say that I'm always glad to learn something new and I
hope that what I learn from Mandrake and/or Debian will be useful at
some point.  In a broader sense, I enjoy volunteering at FreeGeek, as
I'm always learning some interesting new tid-bit - whether it be
hardware or software.  To top it off, I generally feel good about they
work they doing down there and the part that I play in the organization.
Re: the storage room - yes, it is a very interesting place to poke
around and if you were ardent enough about (old) hardware you could
preen a few fun toys from the recycling area.

Nathan

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



I need some help...

2002-09-27 Thread C T

To whom it may concern,

My name is Craig and I am in the process of forming a non-profit 
organization that takes old computers (286's etc...), setting them up for 
email, word processing, internet browsing, spread sheets, and them giving 
them to people who can't afford computers.

One of my obstacles is finding an OS package similar to MS-DOS, but doesn't 
cost money.

Does FreeBSD distribute something simple that would operate on older 
machines?

Thank you,
Craig



_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message