Re: Network Problem in FreeBSD 6.2-RELEASE-p5

2007-06-25 Thread ExTaZyTi

ammm I don't have checked any log files.. just test with my portscan
program.. and too when I have blocked when used BitCommet..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network Problem in FreeBSD 6.2-RELEASE-p5

2007-06-24 Thread ExTaZyTi

I've already checket with sockstat.
Yes net.inet.tcp.blackhole: 0 this is my net.inet.tcp.blackhole value
0..

I don't know how ti fix this.. I try to migrate to FreeBSD 5.5 but when
build the kernel of fbsd-5.5 I have some errors and back again to the
6.2...backup kernel..

2007/6/24, Lowell Gilbert [EMAIL PROTECTED]:


Please don't top-post.

ExTaZyTi [EMAIL PROTECTED] writes:

 Is the FreeBSD machine performing NAT for the Windows box?
 extazyti: yes with PF firewall. (But I don't have this problem before
 re-build my world+kernel (my last fbsd was fbsd6.2-STABLE. But this
problem
 exist again in fbsd6.2-STABLE when I have build option ot drop TCP+SYN
and
 have some bug..I donk know what exactly))

 Are you saying that this is a second problem?
 extazyti: YES. because I think limmiting my connectins is normal when I
have
 net.inet.tcp.blackhole=2 but Now I haven't this sysctl option and this
is
 problem again.

 How are you doing the scan, and how do you know the ports are not
 really open?
 extazyti: I use PortScan with a delay MS - 20 (He sends TCP4-sockets)
and
 ports It's not really open because there is no program to open random
ports
 with this values and I use the netstat command. Aslo this problem was
again
 before time when I have bugged again my kernel with TCP_DROP SYN+FIN in
my
 kernel.

netstat isn't the best way to figure this out.  It can be confusing.
Try sockstat(1).

 Which sysctl?
 extazyti: ALL, I put # before all texts in my sysctl.conf and reboot
my
 system.

Check them after the reboot, using the sysctl(8) command and the
particular sysctl.

 Are you sure that the sysctl value changed?
 extazyti: I think yes..after restart and I changed special
 net.inet.tcp.blackhole to 0.

So check it:
$ sysctl  net.inet.tcp.blackhole
net.inet.tcp.blackhole: 0
$


 Did you look at it after changing it to make sure it really shows up
 as different?
 extazyti: No. But I think reboot changes to default this options when
have
 # before all texts in /etc/sysctl.conf

If nothing else affects it, yes.  But check to be sure.

 2007/6/22, Lowell Gilbert [EMAIL PROTECTED]:

 [lists trimmed to just -questions]

 ExTaZyTi [EMAIL PROTECTED] writes:

  I have a serious problem with my network.
  I have connected 2 PC's, 1 - FreeBSD, 2 - Windows XP.
 
  The problem is follow - My FreeBSD limmiting connections , I cannot
open
  more 224 TCP4-Sockets in my Windows Box.
  When I downloading torrent file, I cannot create more connections to
the
  web, and while this time I can't open for example - web sites.

 Is the FreeBSD machine performing NAT for the Windows box?

  Tow problem who worry myself is when I scan a my freebsd box or other
  server for open ports its FAKE show me: 81 82 ,83 ,465,463 and
other
 ports
  open.. but It's FAKE .. it's not really open..

 Are you saying that this is a second problem?

 How are you doing the scan, and how do you know the ports are not
 really open?

  I Cleared my sysctl, and test, cleared my firewall and test, re-build
my
  kernel with any options changed and test again.. Just don't Work :((

 Which sysctl?

  I have use PF firewall and FreeBSD 6.2-RELEASE-p5.
 
  I Think this problem is from net.inet.tcp.blackhole=2 in my sysctl
 because
  it's work before i do sysctl -w net.inet.tcp.blackhole=2..
  but when back this option to value = 0 this problem is stay there..
and
 no
  restarts or re-build my kernel can fix this..or maybe be wrong to
  this supposition. Sorry for my english.

 Are you sure that the sysctl value changed?
 Did you look at it after changing it to make sure it really shows up
 as different?

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


--
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/


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


Re: Network Problem in FreeBSD 6.2-RELEASE-p5

2007-06-22 Thread ExTaZyTi

Is the FreeBSD machine performing NAT for the Windows box?
extazyti: yes with PF firewall. (But I don't have this problem before
re-build my world+kernel (my last fbsd was fbsd6.2-STABLE. But this problem
exist again in fbsd6.2-STABLE when I have build option ot drop TCP+SYN and
have some bug..I donk know what exactly))

Are you saying that this is a second problem?
extazyti: YES. because I think limmiting my connectins is normal when I have
net.inet.tcp.blackhole=2 but Now I haven't this sysctl option and this is
problem again.

How are you doing the scan, and how do you know the ports are not
really open?
extazyti: I use PortScan with a delay MS - 20 (He sends TCP4-sockets) and
ports It's not really open because there is no program to open random ports
with this values and I use the netstat command. Aslo this problem was again
before time when I have bugged again my kernel with TCP_DROP SYN+FIN in my
kernel.

Which sysctl?
extazyti: ALL, I put # before all texts in my sysctl.conf and reboot my
system.

Are you sure that the sysctl value changed?
extazyti: I think yes..after restart and I changed special
net.inet.tcp.blackhole to 0.

Did you look at it after changing it to make sure it really shows up
as different?
extazyti: No. But I think reboot changes to default this options when have
# before all texts in /etc/sysctl.conf

2007/6/22, Lowell Gilbert [EMAIL PROTECTED]:


[lists trimmed to just -questions]

ExTaZyTi [EMAIL PROTECTED] writes:

 I have a serious problem with my network.
 I have connected 2 PC's, 1 - FreeBSD, 2 - Windows XP.

 The problem is follow - My FreeBSD limmiting connections , I cannot open
 more 224 TCP4-Sockets in my Windows Box.
 When I downloading torrent file, I cannot create more connections to the
 web, and while this time I can't open for example - web sites.

Is the FreeBSD machine performing NAT for the Windows box?

 Tow problem who worry myself is when I scan a my freebsd box or other
 server for open ports its FAKE show me: 81 82 ,83 ,465,463 and other
ports
 open.. but It's FAKE .. it's not really open..

Are you saying that this is a second problem?

How are you doing the scan, and how do you know the ports are not
really open?

 I Cleared my sysctl, and test, cleared my firewall and test, re-build my
 kernel with any options changed and test again.. Just don't Work :((

Which sysctl?

 I have use PF firewall and FreeBSD 6.2-RELEASE-p5.

 I Think this problem is from net.inet.tcp.blackhole=2 in my sysctl
because
 it's work before i do sysctl -w net.inet.tcp.blackhole=2..
 but when back this option to value = 0 this problem is stay there.. and
no
 restarts or re-build my kernel can fix this..or maybe be wrong to
 this supposition. Sorry for my english.

Are you sure that the sysctl value changed?
Did you look at it after changing it to make sure it really shows up
as different?


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


Network Problem in FreeBSD 6.2-RELEASE-p5

2007-06-21 Thread ExTaZyTi

Hi,

I have a serious problem with my network.
I have connected 2 PC's, 1 - FreeBSD, 2 - Windows XP.

The problem is follow - My FreeBSD limmiting connections , I cannot open
more 224 TCP4-Sockets in my Windows Box.
When I downloading torrent file, I cannot create more connections to the
web, and while this time I can't open for example - web sites.

Tow problem who worry myself is when I scan a my freebsd box or other
server for open ports its FAKE show me: 81 82 ,83 ,465,463 and other ports
open.. but It's FAKE .. it's not really open..

I Cleared my sysctl, and test, cleared my firewall and test, re-build my
kernel with any options changed and test again.. Just don't Work :((

I have use PF firewall and FreeBSD 6.2-RELEASE-p5.

I Think this problem is from net.inet.tcp.blackhole=2 in my sysctl because
it's work before i do sysctl -w net.inet.tcp.blackhole=2..
but when back this option to value = 0 this problem is stay there.. and no
restarts or re-build my kernel can fix this..or maybe be wrong to
this supposition. Sorry for my english.

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


Re: Problem with installworld in FreeBSD 6.2-RELEASE-p5

2007-06-15 Thread ExTaZyTi

kern.securelevel: -1  and the permessions on /bin and / is the correct :[

2007/6/15, Jeremy Chadwick [EMAIL PROTECTED]:


On Fri, Jun 15, 2007 at 12:07:40AM +0300, ExTaZyTi wrote:
  My problem is with the installing new world in my system, this is the
error

  === bin (install)
  === bin/cat (install)
  install -s -o root -g wheel -m 555   cat /bin
  strip: /bin/sthZDAzl: Operation not permitted
  install: wait: Operation not permitted
  *** Error code 70

Could be caused by some filesystem mount options you've got set, maybe
incorrect permissions on /bin (no execute bit?), or possibly a secure
runlevel setting (which I believe was the cause of your last issue you
reported here).

--
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |



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


Re: Problem with installworld in FreeBSD 6.2-RELEASE-p5

2007-06-15 Thread ExTaZyTi

I do chflags noschg /bin and its work :)

2007/6/15, ExTaZyTi [EMAIL PROTECTED]:


kern.securelevel: -1  and the permessions on /bin and / is the correct :[

2007/6/15, Jeremy Chadwick [EMAIL PROTECTED]:

 On Fri, Jun 15, 2007 at 12:07:40AM +0300, ExTaZyTi wrote:
   My problem is with the installing new world in my system, this is the
 error
 
   === bin (install)
   === bin/cat (install)
   install -s -o root -g wheel -m 555   cat /bin
   strip: /bin/sthZDAzl: Operation not permitted
   install: wait: Operation not permitted
   *** Error code 70

 Could be caused by some filesystem mount options you've got set, maybe
 incorrect permissions on /bin (no execute bit?), or possibly a secure
 runlevel setting (which I believe was the cause of your last issue you
 reported here).

 --
 | Jeremy Chadwickjdc at parodius.com|
 | Parodius Networking   http://www.parodius.com/|
 | UNIX Systems Administrator  Mountain View, CA, USA
 |
 | Making life hard for others since 1977.  PGP: 4BD6C0CB
 |




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


Problem with installworld in FreeBSD 6.2-RELEASE-p5

2007-06-14 Thread ExTaZyTi

Hi,

My problem is with the installing new world in my system, this is the error

=== bin (install)
=== bin/cat (install)
install -s -o root -g wheel -m 555   cat /bin
strip: /bin/sthZDAzl: Operation not permitted
install: wait: Operation not permitted
*** Error code 70

Stop in /usr/src/bin/cat.
*** Error code 1

Stop in /usr/src/bin.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

If someone can help me. Thanks in advance.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Period Reboots Without Any Reason

2007-03-29 Thread ExTaZyTi

Hi again,

My FreeBSD (6.2-STABLE) reboots without any reason for more times in the
month.
Last reboots block the system for 10-20 seconds and then reboots.. i have
set this is my previous posts.
My PC is Intel Pentium3 866 MHz, 192 MB of RAM and 20 GB HDD. Using flavour
i386, without X, and don't have a monitor.

I have added dumpdev=auto in my /etc/rc.conf ..and now reboots again my
computer without any reason..

Mar 28 18:53:54 extremebg kernel: acd0: CDROM HL-DT-ST CD-ROM
GCR-8520B/1.00 at ata1-master PIO4
Mar 28 18:53:54 extremebg kernel: Trying to mount root from ufs:/dev/ad0s1a
Mar 28 18:53:54 extremebg kernel: WARNING: / was not properly dismounted
Mar 28 18:53:54 extremebg savecore: no dumps found

this is in /var/log/messages

in dir /var/crash:

%cd /var/crash
%ls
minfree
%cat minfree
2048
%

this is in my log files .. i can't find dump info .. only Mar 28 18:53:54
extremebg savecore: no dumps found ..
please help to fix this problem. I using FreeBSD for more 3 years and work
fine but this is serious error :(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Please Help, My natd/firewall Not Work :(

2006-09-23 Thread ExTaZyTi

Hi again,

I have problem with my network, I use 2 Network Cards in my FreeBSD computer
and 1 Network Cards in WinXP Prof sp2,
one of the network card - rl0 is my real static ip address with DHCP, 2
network card is - rl1 is my local gateway ip: 192.168.0.1,
I don't set the gateway for the rl1, just ip: 192.168.0.1, DNS from the ISP,
mask: 255.255.255.0,..
I precompiled my kernel with options FIREWALL, IPDIVER,
IPFIREWALL_DEFAULT_TO_ACCEPT, IPFIREWALL_VERBOSE.
-
my /etc/rc.conf is:
-
gateway_enable=YES
firewall_enable=YES
firewall_script=/etc/firewall.sh
natd_enable=YES
natd_interface=rl1
natd_flags=
sendmail_enable=NONE
hostname=root.extremebg.biz
ifconfig_rl0=DHCP
linux_enable=YES
sshd_enable=YES
usbd_enable=YES
inetd_enable=NO
ifconfig_rl1=inet 192.168.0.1  netmask 255.255.255.0
hostname=root.extremebg.biz
-
my /etc/firewall.sh is:
-
#!/bin/sh
/sbin/ipfw -f flush
/sbin/ipfw add 1000 pass all from any to any via lo0
/sbin/ipfw add 1100 deny all from any to 127.0.0.0/8
/sbin/ipfw add 1200 deny icmp from any to any frag
/sbin/ipfw add 1300 deny icmp from any to any in icmptype 5,9,13,14,15,16,17
/sbin/ipfw add 1400 deny tcp from any to any not established tcpflags fin
/sbin/ipfw add 1500 deny tcp from any to any tcpflags
fin,syn,rst,psh,ack,urg
/sbin/ipfw add 1600 deny tcp from any to any tcpflags
!fin,!syn,!rst,!psh,!ack,!urg
/sbin/ipfw add 4000 deny udp from any 137-139 to any via rl0
/sbin/ipfw add 4100 deny udp from any to any 137-139 via rl0
/sbin/ipfw add 5000 divert natd ip from 192.168.0.0:255.255.255.128 to any
out xmit rl1
/sbin/ipfw add 5100 divert natd ip from any to 192.168.0.1
/sbin/ipfw add 5500 deny all from 192.168.0.0/24 to not 192.168.0.0/2480,21,443
/sbin/ipfw add 600 allow all from any to any
-
my ifconfig is:
-
rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=8VLAN_MTU
   inet6 fe80::2c0:26ff:fe5e:72a4%rl0 prefixlen 64 scopeid 0x1
   inet 85.239.153.142 netmask 0xff80 broadcast 85.239.153.255
   ether 00:c0:26:5e:72:a4
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
rl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=8VLAN_MTU
   inet6 fe80::2e0:4cff:fe3c:f2f%rl1 prefixlen 64 scopeid 0x2
   inet 192.168.0.1 netmask 0xff80 broadcast 192.168.0.127
   ether 00:e0:4c:3c:0f:2f
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
   inet 127.0.0.1 netmask 0xff00
-
my /etc/sysctl.conf is:
-
net.inet.ip.forwarding=1
-
My network ISP gateway is: 85.239.153.129, submask: 255.255.255.128, my
static real ip is: 85.239.153.142, my ISP DNS server is:
85.239.155.1.
-

my pc start natd successfully, and other services ..
--

my WinXP network configuration is:

DNS 85.239.155.1, gateway: 192.168.0.1, mask: 255.255.255.0, ip addess:
192.168.0.2.

I connected my computers in LAN, but not going traffic from my freebsd to
the windows :(
I don't know how to route traffic from FreeBSD to the windows :(
please help
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Please Help with my kernel

2006-09-17 Thread ExTaZyTi

Hi,

I'm new in FreeBSD, I want to conf and re-build my kernel but the directory
/usr/src is empty.
I'm with FreeBSD 6.1-STABLE, PLEASE HELP :(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]