Search results

  1. B

    kqueue socket stream

    @ta0kira, this looks good! Will use this approach. @nslay, this is a quite big dependency for someone who just wants to test out some C programming. But thank you for the recommendation.
  2. B

    kqueue socket stream

    @DutchDaemon, there is no system development OS X forum. kqueue is traditionally FreeBSD. @expl, thank you for correcting the source code! I am currently not 100% happy with int c_n = 1; if (changes[1].ident) { c_n = 2; } to filter socket events. I tried to use separate event lists for...
  3. B

    kqueue socket stream

    Hello, I am currently breaking my head on a TCP socket stream with kqueue. My problems are: It does not work (nothing happens) I have no idea how I could manage multiple clients #include <netdb.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/event.h>...
  4. B

    FreeBSD for BeagleBoard Black

    Hello, The BeagleBoard Black is a development board which allows you to program ports for technical devices (dc engines, leds, sensors, ...). Unfortunately most development hardware is sold with high-level libraries which hide a lot of you. Because of this reason I want to show up all relating...
  5. B

    Cron doesn't create snapshot (zfSnap)

    Yes, this was the issue :) Thank you works now again ;)
  6. B

    Cron doesn't create snapshot (zfSnap)

    Hi, I followed DutchDaemon's advice using root's crontab instead of the system one: crontab -e SHELL=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin # #minute hour mday month wday who command # # storage 58 8 * * *...
  7. B

    Information about vimage in jail

    Does qjail support ZFS and what are the benefits to ezjail? Found some other threads asking something like this but with no answer :O
  8. B

    multiple rules fail

    Question is what is missing :) I thought that this happens while parsing the config because the values in the lists are getting executed like a foreach loop? Ah ok, the ftp port was mainly a placeholder but I will remind me if I have to fallback from http to ftp. Thank you for your help...
  9. B

    multiple rules fail

    Yes, when I disable pf I can log in :) But why do I get a syntax error when adding another rpf rule? There different ports (80,443 vs 21,22) So something like a wildcard? Regards
  10. B

    multiple rules fail

    Hi, thank you for the template! This helps me a lot and also others who look after a current example. ext_if="em0" #int_if="em1" # because server is no router, only a normal server :) jail_if="lo111" pub_ip="192.168.178.10" pub_ports="50000" #custom ssh port jbuild="10.0.0.1" jwww="10.0.0.2"...
  11. B

    multiple rules fail

    Hi, Thank you for the rescuing answer! Which macro name do you suggest? This should forward all webserver ports from the jails to the Internet or at least to the ext_if. So rdr redirects from em0 to lo111 (jail) and nat redirects from lo111 (jail) to em0. This makes sense. But how would a...
  12. B

    multiple rules fail

    1 # general 2 EXT_IF="{ em0 }" 3 INT_IF="{ lo111 }" 4 HOST_IP="192.168.178.10" 5 HOST_PORTS="{ 50000 }" 6 7 # jails 8 JAIL_NET="{ 10.0.0.0/24 }" 9 JAIL_IP_BUILD="10.0.0.1" 10 JAIL_IP_WWW="10.0.0.2" 11 JAIL_PORTS_WWW="{ 80,443 }" 12...
  13. B

    multiple rules fail

    Any suggestions?
  14. B

    multiple rules fail

    So, I now handled the basic firewall for the system. I only fail with the nat for the jails. I used the OpenBSD PF FAQ for configuring it. I am just confused about the difference to the tutorial. Any one an idea how I: 1. Map the internal network for the jails (10.0.0.0/24) 2. Open Ports for...
  15. B

    multiple rules fail

    ext_if="em0" IP_PUB="192.168.178.10" NET_JAIL="{ 10.0.0.0/24 }" IP_JAIL_WWW="10.0.0.1" IP_JAIL_BUILD="10.0.0.2" PORT_WWW="{ 80,443 }" PORT_BUILD="" #when no port don't mention in rule with port keyword scrub in all nat pass on $ext_if from $NET_JAIL to any -> ($ext_if) rdr pass on $ext_if...
  16. B

    multiple rules fail

    Hello, I want to route my jails internal with pf like descriped in: http://forums.freebsd.org/showthread.php?t=30063 pf.conf ext_if="em0" #jail_if="lo111" #because no use in pf.conf IP_PUB="192.168.178.10" NET_JAIL="10.0.0.0/24" IP_JAIL_WWW="10.0.0.1" IP_JAIL_BUILD="10.0.0.2"...
  17. B

    Information about vimage in jail

    Hello, Has somebody managed this with FreeBSD-9.0-RELEASE? I never get network access in the jails; furthermore I get a kernel panic when stopping the jails.
  18. B

    vimage for jails

    Yes, this truly is a problem. I have written a message to two who already managed to bring this up. I also will write a small howto if I succeed. The main issue seems to be the jail parameters which have to get set when starting the jail the rest would only be some ifconfig binding the epair...
  19. B

    VLANs for jail

    Ok, this makes sense. I thought all the time that it's just an easy way of creating an internal network. Then I would say back trying to fix the vimage thing :(
  20. B

    VLANs for jail

    I don't think so: # ifconfig em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC> ether 00:1b:21:c5:fa:f4 inet 192.168.178.10 netmask 0xffffff00 broadcast 192.168.178.255 inet6...
Back
Top