Re: freesco

Page principale

Répondre à ce message
Auteur: Yannick PIROD
Date:  
À: De.Dianous.Herve
CC: guilde
Sujet: Re: freesco
Ouaip je sais, mais c'est ce que j'ai trouvé de plus simple à paramétrer, et qui face autant de chose à la fois (server web, ftp, dhcp, impression, et routeur nat)dans aussi peu de poids (une disquette) sur un vieux 486DX2, constitué de bout de chandelle gratos, récupéré ça et là, avec 8 Mo de ram passé à 32 et 500Mo de dd, ça le fait! Si t'as qqchose de mieux pour un newbee comme moi, pa ni problem je prends.

En attendant j'ai pas résolu mon pb pour autant.

Ci-joint le fichier report.txt de ma config.
Si tu vois qqchose de louche fais signe.

J'ai depuis un autre problème avec mon syslog qd je me connecte à mon freesco control panel par le web, il ne prend pas en compte mon login et pwd, c'est un problème connu apparemment dans les FAQ.

Y a un début de solution à la page :

http://halplant.com:88/server/thttpd_FAQ.html#Problems

Syslog on Linux not logging
Linux versions of syslog after 1.3 fail to log messages from thttpd because by default syslogd does not listen for syslog messages over a network interface. thttpd's syslog messages use this method in order to work when chrooted.

The easy solution is to start syslogd with the -r switch so it listens for network connections. This does open up the potential for abuse.
Alternatively, if you don't chroot, you can make thttpd use a unix domain protocol instead of a network one by commenting line 44 in thttpd's syslog.c, ie.

        /* #define USE_INET */


Mais je sais pas ds quel fichier je trouve la ligne à modifier. Dans mon syslog.conf perso y a pas grd chose.

Je me demandait si en téléchargeant une version plus récente et en la montant ça corrigerait mon blem...

Re merçi d'avance pour tte aide.

@+
tiyann





>Messsage du 26/05/2002 15:05
>De : hervé de Dianous <De.Dianous.Herve@???>
>A : Yannick PIROD <Yannick.Pirod@???>
>Copie à :
>Objet : Re: freesco
>
> Si tu trouve les sources de freesco fais moi signe !
> il est freeware, mais pas open-source :(
> Moi je préfère savoir comment tourne mon firewall, méfi !
> A+ Hervé
>
> Yannick PIROD wrote:
>
> > qqu'un sait-il quels paramètres et dans quels fichiers je
> > dois rentrer afin que je puisse naviguer sur le web sans
> > problème par le biais d'un server dhcp router nat
> > firewalling freesco avec un client win2K. Je n'ai pas une
> > fois sur deux accès au pages que je souhaite atteindre.
> > Certaine s'ouvre tjrs et sans aucu problème, d'autre tel
> > www.yahoo.fr jamais. Je suis connecté par modem adsl
> > ethernet speed touch home alcatel chez netissimo1. Les
> > modifs pour PPPOE ont été effectué. mes interface ethernet
> > sont ttes correctes. Merçi d'avance...
> > tiyann
> >
> >
> >
> >
>
>
>
FREESCO v0.2.7 System Report. Generated - Sun May 26 15:09:57 2002


----- clock -----
Sun May 26 15:09:59 2002


----- cat /etc/system.cfg -----
# [System]
ROUTER=ethernet            #  0.dialup/leased/ethernet/bridge
HOSTNAME=freesco            #711.Router name
DOMAIN=namaste            #712.(Local) domain name
ENAMSQ=y              # 11.Enable NAT and firewall
ENABRG=n             # 12.Enable bridging mode? DONT TOUCH!!!
BIGMEM=n             # 13.If 16+MB RAM start ppp bsd compression
SAVERS=0,0              # 14.Savers - screen(min),hdd(x5 sec) 0 -off
SWPSIZE=12            # 15.Swap size in Kb on boot device. 0 - off
LOGSIZE=50000,5000        # 16.System_log,logins_log sizes (bytes)
DEFISP=            #  6.Default dialup ISP


# [Services]             #    y - worldwide/s - local/n - disable
ENADNS=s             #411.Enable caching DNS server
LOGDNS=n            #412.Enable debug info
ENADHCP=s             #421.Enable DHCP server
WINSADDR=            #422.    WINS address (for DHCP server)
LIZTIME=604800,604800        #423.    default-lease-time,max-lease-time
ENAWWW=y             #431.Enable Public HTTP Server
WWWPORT=80             #432.    on port
ENAWWA=y             #441.Enable Time Server  and control via HTTP
WWAPORT=82             #442.    on port
TIMADDR=        #443.Host timeserver address, empty - disable
TIMZONE=+0400            #444.    Offset to UTC (-1200 -:- +1200)
ENALPD=n             #451.Enable Print Server
LPPORT1=515            #452.    on port
LPDEV1=lp1            #453.    on output device
LPPORT2=516            #454.Second lp server on port, empty - disable
LPDEV2=lp2            #455.    on output device
ENATEL=y            # 46.Enable telnet server



# [Security]
TRUSTLN=p             #211.Trust local nets y/n/p{artual}
TRUSTMD=y            #212.Modem links have access to local networks
RINGS=2,7            #220.Rings before answer at login,nologin time
MonTIM=""            #221.Nologin times for modem users
TueTIM=""            #222
WedTIM=""            #223
ThuTIM=""            #224
FriTIM=""            #225
SatTIM=""            #226
SunTIM=""            #227



# [Modems]
MODEM0=             # 51.1st modem
MSPEED0=            # 52.port's speed
MINIT0=""            # 53.init string
MTU0=                #541.Maximum Transmit Unit
MRU0=                #542.Maximum Receive Unit
MADDR0=192.168.168.2        # 55.ppp link remote addr (for dialin purpose)


MODEM1=             # 61
MSPEED1=            # 62
MINIT1=""            # 63
MTU1=                #641
MRU1=                #642
MADDR1=192.168.168.3        # 65.I said for dialin purpose.



# [leased line router]
ADRTYPE=dynamic              #921.if ISP supplies us with dynamic IP, then:
LOCAL=127.0.0.2          #922.fake local side ppp IP addr
REMOTE=127.0.0.3         #923.fake remote addr



# [ethernet/leased/printer/ras router]
GATEWAY=            #911.Default gateway, if exist.
DNSADDR=193.252.19.3        #912.Primary DNS address for ethernet connection
DNSADDR1=193.252.19.4        #913.Secondary DNS address for ethernet connection
PROXY=""        #914.HTTP proxy addr[:port]



# [Hardware]
IO0=0x300            #811.1st ethernet card I/O address
IRQ0=10                #812.IRQ line
IO1=0x210            #821
IRQ1=11                #822
IO2=0            #831
IRQ2=0                #832



# [Networks]
USEDHCP0=n            #720.Use DHCP client to config this interface
INTNAME0=eth0            #721.Interface name (eth0|arc0e|arc0)
DHCPLOG=y            #722.Enable DHCP client messages in the log
DHCPDNS=y            #723 Enable auto configuration of DNS via DHCP
IPADDR0=192.168.0.1        #724.IP adress of this interface
NETMASK0=255.255.255.0         #725.Network mask
NETWORK0=192.168.0.0        #    Network address
BRDCAST0=192.168.0.255        #    Broadcast address
                #726.IP pool, empty disables DHCP on this interface
IPRANGE0=""


INTNAME1=eth1            #731.Interface name (eth1|eth0:1|arc0e|arc0 etc)
IPADDR1=10.0.0.1        #732. Second network
NETMASK1=255.255.255.0
NETWORK1=10.0.0.0
BRDCAST1=10.0.0.255
IPRANGE1="10.0.0.2 10.0.0.6"


INTNAME2=            #74x. Third network
IPADDR2=
NETMASK2=
NETWORK2=
BRDCAST2=
IPRANGE2=""


PPPOE=y

----- cat /etc/live.cfg -----
VER=0.2.7
bootdev=hda1
UPTIME="Sun May 26 14:06:24 2002"
DONE="echo Done"


----- cat /etc/dhcpc/dhcpcd-eth0.info -----


----- cat /etc/forward.cfg -----
#_47x._[Port_forwarding_AKA_export_services]
#_
#_tcp|udp,incoming_port,local_computer_IP_addr/port
#_
#_Example:_t,80,192.168.168.2/80
#_this_will_open_worldwide_web_server_on_local_computer_192.168.168.2
#_
#_Example:_t,21,192.168.168.3/21
#_this_will_open_worldwide_ftp_server_on_local_computer_192.168.168.2
#_
#_Comment_must_be_on_separate_line_start_with_"#_"_and_should_not_have_spaces



----- cat /etc/banlist.cfg -----
#_23._[List_of_banned_hosts/nets_one_record_per_line]
#_
#_local|external,IP_addr[/netmask_or_netbits_if_baning_a_whole_net]
#_
#_Example:_l,123.124.125.0/24_ban_local_net
#_Example:_e,123.124.125.0/255.255.255.0_ban_external_net
#_Example:_l,10.0.0.123_ban_local_host
#_
#_Comment_must_be_on_separat_lines_start_with_"#_"_and_should_not_have_spaces



----- sed -n 1,/AUTH/P /etc/chat.pwd -----


----- lsmod -----
Module        Pages        Used by
/tmp/net/3c509.o.C 2        2
ip_masq_ftp        1        1
ip_masq_irc        1        0
ip_masq_quake      1        0
ip_masq_vdolive    1        0
ip_masq_raudio     1        0
ip_masq_icq        1        0
ip_masq_cuseeme    1        0
8390               2        0



----- dmesg | grep eth -----
eth0: 3c509 at 0x210 tag 1, 10baseT port, address 00 60 97 12 06 3c, IRQ 11.
eth1: 3c509 at 0x300 tag 2, 10baseT port, address 00 a0 24 eb 7d 88, IRQ 10.
eth0: Setting Rx mode to 1 addresses.
eth1: Setting Rx mode to 0 addresses.
eth1: Setting Rx mode to 1 addresses.


----- ifconfig -----
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
          RX packets:22 errors:0 dropped:0 overruns:0
          TX packets:22 errors:0 dropped:0 overruns:0


eth0      Link encap:10Mbps Ethernet  HWaddr 00:60:97:12:06:3C
          inet addr:255.255.255.255  Bcast:255.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9599 errors:0 dropped:0 overruns:0
          TX packets:7678 errors:0 dropped:0 overruns:0
          Interrupt:11 Base address:0x210 


eth1      Link encap:10Mbps Ethernet  HWaddr 00:A0:24:EB:7D:88
          inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7796 errors:0 dropped:0 overruns:0
          TX packets:9600 errors:0 dropped:0 overruns:0
          Interrupt:10 Base address:0x300 


ppp0      Link encap:Point-Point Protocol  
          inet addr:80.15.15.44  P-t-P:80.15.15.1  Mask:255.0.0.0
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:9598 errors:0 dropped:0 overruns:0
          TX packets:7676 errors:0 dropped:0 overruns:0




----- cat /proc/interrupts -----
 0:     382998   timer
 1:        104   keyboard
 2:          0   cascade
 8:          1 + rtc
10:       7765   3c509
11:       9497   3c509
13:          0   math error
14:       2804 + ide0



----- cat /proc/ioports -----
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-009f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : npu
01f0-01f7 : ide0
0210-021f : 3c509
02f8-02ff : serial(auto)
0300-030f : 3c509
03bc-03be : lp
03c0-03df : vga+
03f0-03f5 : floppy
03f6-03f6 : ide0
03f7-03f7 : floppy DIR
03f8-03ff : serial(auto)


----- route -n -----
Kernel routing table
Destination     Gateway         Genmask         Flags MSS    Window Use Iface
255.255.255.255 *               255.255.255.255 UH    1500   0        0 eth1
80.15.15.1      *               255.255.255.255 UH    1492   0        0 ppp0
10.0.0.0        *               255.255.255.0   U     1500   0        5 eth1
127.0.0.0       *               255.0.0.0       U     3584   0        2 lo
default         80.15.15.1      *               UG    1492   0      171 ppp0



----- cat /etc/dhcpd.leases -----
lease 10.0.0.3 {
    starts 0 2002/05/26 13:55:05;
    ends 0 2002/06/02 13:55:05;
    hardware ethernet 00:04:76:e2:6b:b3;
    uid 01:00:04:76:e2:6b:b3;
    client-hostname "Sarah";
}
lease 10.0.0.2 {
    starts 0 2002/05/26 13:42:17;
    ends 0 2002/06/02 13:42:17;
    hardware ethernet 00:01:03:8a:a0:af;
    uid 01:00:01:03:8a:a0:af;
    client-hostname "Portable";
}



----- free -----
        total:    used:    free:  shared: buffers:  cached:
Mem:  31678464 11337728 20340736  4669440  4329472  1265664
Swap: 12578816        0 12578816
MemTotal:     30936 kB
MemFree:      19864 kB
MemShared:     4560 kB
Buffers:       4228 kB
Cached:        1236 kB
SwapTotal:    12284 kB
SwapFree:     12284 kB


Mounted FS:
/dev/root / ext2 rw 0 0
/proc /proc proc rw 0 0
/dev/hda1 /mnt umsdos rw 0 0

Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/ram0               2548    1614      934     63%   /
/dev/hda1            1054272  929188   125084     88%   /mnt



----- ps -----
  Pid    Stat   Parent    Name    Command
  1     S    0    init    init
  2     S    1    kflushd    
  3     S    1    kswapd    
  4     S    1    logrotate    sh/bin/logrotate
  6     S    1    syslogd    syslogd-r-h-m0
  8     S    1    klogd    klogd
  19     S    1    daemon    sh/bin/daemon-agetty 9600 tty2
  24     S    19    agetty    agetty9600tty2
  152     S    1    pppd    pppddefaultrouteptypppoe -I eth0
  155     S    152    sh    sh-cpppoe -I eth0
  159     S    155    pppoe    pppoe-Ieth0
  185     S    1    named    named
  210     S    1    dhcpd    dhcpd-qeth1
  360     S    1    thttpd    thttpd-p82-uroot-d/wwa-l/dev/null
  364     S    1    thttpd    thttpd-p80-unobody-d/www-l/dev/null
  369     S    1    daemon    sh/bin/daemon-telnetd -debug
  372     S    369    telnetd    telnetd-debug
  413     S    1    daemon    sh/bin/daemon-agetty 9600 tty1
  415     S    413    sh    -sh
  1929     S    4    sleep    sleep10
  1930     S    415    report    sh/bin/report
  1957     R    1930    ps    sh/bin/ps



----- cat /etc/ppp/opt* -----
persist
connect /bin/true
name "fti/e3pcbuv@fti"persist
connect /bin/true
name "fti/e3pcbuv@fti"


----- setserial -bg /dev/cua? -----
/dev/cua0 at 0x03f8 (irq = 4) is a 16550A
/dev/cua1 at 0x02f8 (irq = 3) is a 16550A

-----------------------------7d22862b60664--
#
# I'm too lazy to do something with this file.
# Should you need nice logging tune it yourself.
#

auth.*        /dev/tty4
auth.*        /var/log/login


*.*        /dev/tty3
*.*        /var/log/log
-----------------------------7d26a1bb0168--