[ Accueil | Présentation du site | Pages tech. | Pages éxpéri. | Carte FPDL | Page de l'ARP2A ]




Voici une déscription d'une configuration de serveur



La Jnos utilisé ici est une compilation de f5nlg pour 386 vous pouvez recuperer ce "package" ICI

Cet éxécutable tourne sur la meme machine que le node f5kdw et "communique" avec le flex grace a un driver special qui s'apelle axpddrvr.exe c'est un packet driver ici il utilise l'interuption 64

Je vous propose de passer en revue les differents fichiers important qui la compose et principalement l'autoexec.nos

Si vous désirez plus de documentation je vous conseille de charger le fichier nosguide.zip disponible dans le repertoire public

de lire l'aide en ligne ou la doc html vous pouvez également la récupérer au format ZIP dans le repertoire public (dochtml.zip)



AUTOEXEC.NOS

# ================= Parametres Generaux ===================== # le host est kdwnos car je forward vers un bbs ax25 qui a le meme # call ( f5kdw-1 ) et le forward ne marche que dans le sens BBS AX25 =>NOS # de cette façon le forward marche dans les 2 sens ! il faut par contre # dedoubler dans le domain.txt la ligne concernant votre serveur voila ce que # ca donne ici : # # f5kdw.ampr.org. IN A 44.151.49.1 # f5kdw. IN CNAME f5kdw.ampr.org. # # kdwnos.ampr.org. IN A 44.151.49.1 # kdwnos. IN CNAME kdwnos.ampr.org. ip address [44.151.49.1] hostname kdwnos.ampr.org ax25 mycall f5kdw-9 ax25 bbsc f5kdw-8 ax alias tcpip isat on watchdog on remote -s toto # ================== Parametres AX.25 ======================= ax25 version 2 ax25 maxframe 4 ax25 maxwait 20000 ax25 paclen 250 ax25 pthresh 80 ax25 blimit 15 ax25 retr 15 ax25 hsize 6 ax25 timertype linear ax25 irtt 4000 ax25 T4 0 ax25 T3 300000 ax25 T2 0 ax25 window 1000 # ================== Parametres TCP/IP ======================= ip hsize 10 ip ttl 20 ip rtimer 500 tcp irtt 60000 tcp maxwait 500000 tcp mss 951 tcp window 1902 tcp retr 12 tcp syndata off tcp timertype expon ip rt 500 tcp blim 6 at now+0005 "tcp clean" # ============== Interface packet driver Ax25 port flx ======== # SI MAXFRAME = 4 : # MTU = MAXFRAME * PACLEN - 3octets ( fragmentation ) - 2 octets par packet => # 4 * 250 -3 -6 = 991 ( suivant ) # MSS = MTU - 40 = 951 # # WINDOW = 2 * MSS = 1902 # Pour un port Serie ( com1 ) # attach asy 0x3f8 4 ax25 flx 512 250 9600 # Pour un driver Packet attach packet 0x64 flx 5 991 mode flx vc ax25 digipeat flx off ifc flx netmask 0xff000000 ifc flx broadcast 255.255.255.255 # les paramettres si dessous ne servent que pour un port com # TXD # param flx 1 0 # PERSIST # param flx 2 255 # SLOTTIME # param flx 3 1 # TXTAIL # param flx 4 1 # DUPLEX # param flx 5 1 # DTR # param flx 8 0 # RTS # param flx 9 0 # ===================== Route AX25 via FLEX Par defaut============== ax25 route add qst flx f5kdw-0 ax25 route add id flx f5kdw-0 ax25 route add mail flx f5kdw-0 # ========================== TELNET ================================ echo refuse eol null # ============================ LZW ================================= ftpclzw on ftpslzw on lzw bits 9 lzw mode compact smtp reclzw on smtp sendlzw on # ============================ FTP =================================== ftptdisc 3600 ftpmax 5 ftype i # ============================ HTTP ================================== #http abs #http always #http multihomed #http simult http maxcli 5 #============================ SMTP ================================== smtp maxcli 4 smtp usemx off smtp batch on smtp hopper on smtp mode route smtp timer 3600 smtp trace 1 smtp gateway 44.151.49.1 # =========================== Domain ================================= domain suffix ampr.org. domain dns on domain cache size 5 domain cache wait 300 domain maxwait 120 domain cache clean on domain translate off domain verbose on domain update on # ======================== Start processes ========================= start ax25 start forward start ftp start telnet start http 80 d \gopher start remote start convers start smtp start nntp start pop3 start tty start finger start rip #=============================== NNTP =============================== # je vais chercher les NEWS sur les serveur suivant : # LAVAL nntp add 44.151.53.2 3600 nntpf ref jnos tcpip linux # F1EUC nntp add 44.151.91.37 3600 nntpf ref jnos tcpip linux # LE MANS nntp add 44.151.72.1 3600 nntpf ref jnos tcpip linux nntp acces off # ============================= CONVERS ============================= convers host Angers convers mycall f5kdw-5 convers interface flx on convers link 44.151.96.51 3600 # ============================ Mail Box ============================= third on mbox tdisc 3600 mbox tmsg "Utilisez votre call comme 'user' et votre prenom comme 'password'" mbox newmail on mbox send off mbox show on mbox alias smtp "@smtp list" mbox alias axr "@ax25 route" mbox alias arp @arp mbox alias BBS "C flx f5KDW-1 F5KDW" mbox hadd fpdl.fra.eu mbox qth"Angers 49" mbox zip 49460 mbox header on mbox timer 7500 mbox kick attended off bull return on bull date on bull check on # ========================== Function keys =============================== # f1-59 | sf1-84 | cf1-94 | af1-104 | pgup-73 # f2-60 | sf2-85 | cf2-95 | af2-105 | pgdn-81 # f3-61 | sf3-86 | cf3-96 | af3-106 | home-71 # f4-62 | sf4-87 | cf4-97 | af4-107 | end -79 # f5-63 | sf5-88 | cf5-98 | af5-108 | arup-72 # f6-64 | sf6-89 | cf6-99 | af6-109 | ardn-80 # f7-65 | sf6-90 | cf7-100 | af7-110 | ar l-75 # f8-66 | sf8-91 | cf8-101 | af8-111 | ar r-77 # f9-67 | sf9-92 | cf9-102 | af9-112 | ins -82 # | sf10-93 | cf10-103 | af10-113 | del -83 # f11-133 | sf11-135 | cf11-137 | af11-139 | # f12-134 | sf12-136 | cf12-138 | af12-140 | # # (the "~" forces it into the command session) # # ======================== Parametrage des sessions ============== # session f1 … f4 ; f7 bbs interne ; f12 exit fkey 59 "~S 1^M" fkey 60 "~S 2^M" fkey 61 "~S 3^M" fkey 62 "~S 4^M" fkey 65 "~bbs^M" fkey 134 "~exit^M" # ================================ Sources ======================= source /etc/nodes.rou source /etc/nodes.arp source /etc/nodes.axr source /etc/beacon source /etc/rip.cfg



FTPUSERS



# CE FICHIER DEFINI LES DROITS DES UTILISATEURS
#
# xxxxxxxxxxxxxxxx1 0x00001      1  = File read permission
# xxxxxxxxxxxxxxx1x 0x00002      2  = Non-destructive file write permission
# xxxxxxxxxxxxxx1xx 0x00004      4  = Del and overwrite file permission
# xxxxxxxxxxxxx1xxx 0x00008      8  = Mbox AX.25 gateway permission
# xxxxxxxxxxxx1xxxx 0x00010     16  = Mbox telnet permission
# xxxxxxxxxxx1xxxxx 0x00020     32  = Mbox Netrom permission
# xxxxxxxxxx1xxxxxx 0x00040     64  = Mbox Remote control permission (Sysop)
# xxxxxxxxx1xxxxxxx 0x00080    128  = Disallow this user access
# xxxxxxxx1xxxxxxxx 0x00100    256  = Used by PPP
# xxxxxxx1xxxxxxxxx 0x00200    512  = Used by PPP
# xxxxxx1xxxxxxxxxx 0x00400   1024  = No Send command
# xxxxx1xxxxxxxxxxx 0x00800   2048  = No Read command
# xxxx1xxxxxxxxxxxx 0x01000   4096  = No 3rd Party
# xxx1xxxxxxxxxxxxx 0x02000   8192  = Is BBS
# xx1xxxxxxxxxxxxxx 0x04000  16384  = Is Expert
# x1xxxxxxxxxxxxxxx 0x08000  32768  = No Convers
# 1xxxxxxxxxxxxxxxx 0x10000  65536  = No Escape
#
# voici le mot de passe Generique pour l'acces en lecture seule ( ftp ) 
* * /gopher/public 59
anonymous * /gopher/public 59
univperm * /gopher/public 59
guest * /gopher/public 59
#
# ici on defini les droits pour les adjacents vers lesquels on forward
f5kdw f5kdw /public 24603
f1euc f1euc /public 24603
f6kus f6kus /public 24603
f6ksu f6ksu /public 24603
#
# voici les mots de passe pour les sysop
f5nlg xxxx c:/;/ 127
f5jpa xxxx / 127
f1gyg xxxx / 127
#


ALIAS

# ce fichier defini les alias utilisable 
patrice f5jpa@f5kdw.fpdl.fra.eu
f5ove f5ove@f5kdw.fpdl.fra.eu
# cette partie du fichier permets de passer les mail =} news
ref ref !ref
nntpf nntpf !nntpf
jnos jnos !jnos
tcpip tcpip !tcpip
linux linux !linux
technic technic !technic
brpl brpl !brpl
fra fra !fra
eu eu !eu
ww ww !ww


POPUSERS

# Ce fichier permets aux autres d'utiliser POP3 pour retirer les messages 
# du serveur JNOS
# le format: (login):(password):
#f5kdw:xxxx:
f5nlg:xxxx:
f5jpa:xxxx:
f5nyy:phil:
f6djc:f6djc:
f1gsr:f1gsr:
f9yb:f9yb:
f6dfe:f6dfe:

/ETC/NODES.*

# ============================= NODES.ARP ==========================
# Entrees ARP
arp eaves flx on
# gateway tcpip
arp add 44.151.44.100 ax25 F5KEQ-9 flx
arp add 44.151.53.2 ax25 F6KSU-4 flx
arp add 44.151.72.1 ax25 F6KUS-4 flx
arp add 44.151.96.1 ax25 F1EUC-2 flx
#
# utilisateurs locaux
arp add 44.151.49.2 ax25 F1GSR flx
arp add 44.151.49.3 ax25 F9YB flx
arp add 44.151.49.4 ax25 F5TRO flx
arp add 44.151.49.5 ax25 F6DJC flx
arp add 44.151.49.6 ax25 F5JPA-9 flx
arp add 44.151.49.7 ax25 F6DFE-9 flx
arp add 44.151.49.100 ax25 F5NLG flx
arp add 44.151.49.101 ax25 F5NLG-9 flx
# end


# =============================== NODES.AXR ==========================
#Fichier de routes ax25 (hard)

# route permanente :

# LE MANS
ax route perm F6KUS-4 flx F5KDW 

# LAVAL
ax route perm F6KSU-4 flx F5KDW 

# NANTES
ax route perm F5KEQ-9 flx F5KDW 

# ISSY LES MOULINEAUX 
ax route add F1EUC-2 flx F5KDW F6PTT-9   

# UTILISATEURS LOCAUX 
ax route add f1gsr flx f5kdw-0		#49.2
ax route add f9yb flx f5kdw-0		#49.3	
ax route add f5tro flx f5kdw f8pec-0	#49.4
ax route add f6djc flx f5kdw-0		#49.5
ax route add f5jpa-9 flx f5kdw f5jpa    #49.6
ax route add f6dfe flx f5kdw f8ref-2	#49.7
ax route add f5nlg flx f5kdw-6	
ax route add f5nlg-9 flx f5kdw-6
#end


#=============================== NODES.ROU ===========================
#                                                                        
#                                                                        
#               
#           Ce fichier de routage tcp/ip est TRES important           
#               
# par defaut le trafic 44.151.xxx.xxx passe par l'interface flx

# 44.0.0.0/8     => toutes les adresses commencent par 44
# 44.151.0.0/16  => toutes les adresses commencent par 44.151
# 44.151.49.0/24 => toutes les adresses commencent par 44.151.49
                          
route add 44.151.0.0/16 flx direct 1

###====route vers gateway ip via flexnet
# premiere ligne = serveur IP servant de GATEWAY
# ligne suivante = routage des stations de la zone de couverture 
# on considere que le dept est une zone de couverture par exemple si 
# 44.151.44.1 (f1jln) veux se connecter sur F5KDW il passera par 44.151.49.100
# (f5keq) et les trames ip seront acheminee par le reseau

# DEPT 44 (F5KEQ) ZONE D'INFLUENCE 56
route add 44.151.44.100 flx direct 1
route add 44.151.44.0/24 flx 44.151.44.100 1
route add 44.151.56.0/24 flx 44.151.44.100 1

# DEPT 53 (F6KSU) ZONE D'INFLUENCE 35 , 22 & 61
route add 44.151.53.2 flx direct 1     
route add 44.151.53.0/24 flx 44.151.53.2 1
route add 44.151.22.0/24 flx 44.151.53.2 1
route add 44.151.35.0/24 flx 44.151.53.2 1
route add 44.151.61.0/24 flx 44.151.53.2 1

# DEPT 72 (F6KUS) ZONE D'INFLUENCE 41 & 45
route add 44.151.72.1 flx direct 1
route add 44.151.72.0/24 flx 44.151.72.1 1
route add 44.151.41.0/24 flx 44.151.72.1 1
route add 44.151.45.0/24 flx 44.151.72.1 1

# REGION PARISIENNE (F1EUC) ZONE D'INFLUENCE 60,75,77,78,91,92,93,94,95 & 96 
route add 44.151.96.1 flx direct 1     
route add 44.151.60.0/24 flx 44.151.96.1 1
route add 44.151.75.0/24 flx 44.151.96.1 1
route add 44.151.77.0/24 flx 44.151.96.1 1
route add 44.151.78.0/24 flx 44.151.96.1 1
route add 44.151.91.0/24 flx 44.151.96.1 1
route add 44.151.92.0/24 flx 44.151.96.1 1
route add 44.151.93.0/24 flx 44.151.96.1 1
route add 44.151.94.0/24 flx 44.151.96.1 1
route add 44.151.96.0/24 flx 44.151.96.1 1

# Utilisateur LOCAUX ZONE D'INFLUENCE 49, 85 & 79
route add 44.151.49.2 flx direct 0	# f1gsr
route add 44.151.49.3 flx direct 0	# f9yb
route add 44.151.49.4 flx direct 0      # f5tro
route add 44.151.49.5 flx direct 0      # f6djc
route add 44.151.49.6 flx direct 0      # f5jpa
route add 44.151.49.7 flx direct 0      # f6dfe
route add 44.151.49.100 flx direct 0  	# f5nlg
route add 44.151.49.101 flx direct 0	# f5nlg-9
# end


/ETC/RIP.CFG

# Fichier de routage rip
ifc flx broad 44.151.255.255 
arp add 44.151.255.255 ax25 qst-0 flx
rip filter on
rip add 44.151.255.255 600 0x00 2
rip request 44.151.53.2
rip request 44.151.72.1
rip request 44.151.91.37
rip ttl 240
#


/SPOOL/AREAS


-------------------------------------------<-Messages----Publics->----------------|
ref	   --    Les bulletins du ref                      |
amsat	   --    Les News des satellites amateurs          |
jnos       --    Les recueils de discussions autour de NOS |
tcpip      --    Informations internationales sur TCPIP    |
technic    --    Messages concernant la technique          |
linux      --    Message concernant cet OS                 |
nntpf      --    "NEWS" concernant le TCPIP en France      |    
fra        --    Bulletins divers @FRA                     |
brpl       --    Bulletins divers @BRPL                    |
eu         --    Bulletins divers @EU                      |
ww         --    Bulletins divers @WW                      |		
-----------------------------------------------------------|


/SPOOL/REWRITE

sysop f5nlg
*@*.bbs refuse
*@*.amp* $1@$2.ampr.org
*@*.f* bbsfwd
10m technic@kdwnos.ampr.org
50m technic@kdwnos.ampr.org
9* technic@kdwnos.ampr.org
atv* technic@kdwnos.ampr.org
ax2* technic@kdwnos.ampr.org
ami* technic@kdwnos.ampr.org
ali* technic@kdwnos.ampr.org
atar* technic@kdwnos.ampr.org
bay* technic@kdwnos.ampr.org
bbs* technic@kdwnos.ampr.org
bpq* technic@kdwnos.ampr.org
deca* technic@kdwnos.ampr.org
dem* technic@kdwnos.ampr.org
drak* technic@kdwnos.ampr.org
dig* technic@kdwnos.ampr.org
fax* technic@kdwnos.ampr.org
wefax* technic@kdwnos.ampr.org
fbb* technic@kdwnos.ampr.org
gp* technic@kdwnos.ampr.org
hard* technic@kdwnos.ampr.org
hddig* tcpip@kdwnos.ampr.org
ibm* technic@kdwnos.ampr.org
kenw* technic@kdwnos.ampr.org
linu* linux@kdwnos.ampr.org
yae* technic@kdwnos.ampr.org
os* technic@kdwnos.ampr.org
jno* jnos@kdwnos.ampr.org
nos* tcpip@kdwnos.ampr.org
tnos* tcpip@kdwnos.ampr.org
ref* ref@kdwnos.ampr.org
nntp* nntpf@kdwnos.ampr.org
rose* technic@kdwnos.ampr.org
sstv* technic@kdwnos.ampr.org
fpac* technic@kdwnos.ampr.org
rmnc* technic@kdwnos.ampr.org
fle* technic@kdwnos.ampr.org
resea* technic@kdwnos.ampr.org
sat* technic@kdwnos.ampr.org
tcp* tcpip@kdwnos.ampr.org
techni* technic@kdwnos.ampr.org
tvsat* technic@kdwnos.ampr.org
vhf* technic@kdwnos.ampr.org
uhf* technic@kdwnos.ampr.org
unix* linux@kdwnos.ampr.org
win* technic@kdwnos.ampr.org
dos* technic@kdwnos.ampr.org
*@fpdl.* brpl@kdwnos.ampr.org
*@fbre.* brpl@kdwnos.ampr.org
*@brpl.* brpl@kdwnos.ampr.org
*@fra.* fra@kdwnos.ampr.org
*@franca.* fra@kdwnos.ampr.org
*@eu ww@kdwnos.ampr.org
*@ww ww@kdwnos.ampr.org
*@*.*.*.*.* bbsfwd
*@*.*.*.* bbsfwd
*@*.*.* bbsfwd
*@*.* bbsfwd r

/SPOOL/FORWARD.BBS

--------
F5KDW
ax25 flx F5KDW-1 F5KDW F5JPA 
jnos
tcpip
technic
linux
nntpf
bbsfwd
brpl
fra
eu
ww
--------
F6KSU
tcp f6ksu
.f5kdw
.f5kdw
jnos
tcpip
technic
linux
nntpf
brpl
--------
F6KUS
tcp f6kus
.f5kdw
.f5kdw
ref
jnos
tcpip
technic
linux
nntpf
brpl
fra
---------
F1EUC
tcp f1euc
.f5kdw
.f5kdw
ref
jnos
tcpip
technic
linux
nntpf
---------
===================================  END =============================